STRUCT ASCOT2E_CONFIG(9)
π struct ascot2e_config(9) π
okay bestie, welcome to the Kernel API Manual β¨ β this is the page for struct ascot2e_config, and it's literally the entire configuration vibe of the Ascot2E tuner driver. no cap, that's the whole thing. let's get into it π«Ά
πΈ NAME πΈ
struct ascot2e_config β the configuration of Ascot2E tuner driver π
like, THE config struct. the one that tells the Ascot2E tuner driver how to be itself. main character energy fr fr π
π¦ SYNOPSIS π¦
struct ascot2e_config {
u8 i2c_address;
u8 xtal_freq_mhz;
void *set_tuner_priv;
int (*set_tuner_callback)(void *, int);
};
look at her. four fields. absolutely iconic. every single one matters, so let's go through them π
π Members π
i2c_addressβ the I2C address of the tuner π― that's where you find her on the bus, iykyk.xtal_freq_mhzβ the oscillator frequency, in MHz β° (yes the field name says mhz, yes it's MHz, we stay consistent with the code bestie).set_tuner_privβ the private context for the callback function π aka the lil bag of stuff that gets handed to the callback so it knows what's up.set_tuner_callbackβ the callback function that notifies the parent driver which tuner is active right now π£ it'sint (*)(void *, int)and honestly? she's the messenger of the whole struct. the way that she just tells the parent driver the truth. slay.
π₯ SEE ALSO π₯
- Kernel file
./drivers/media/dvb-frontends/ascot2e.hπ ascot2e_attach(9)β go read this one next, bestie, it's the whole point π
β friendly reminder: those paths and the function name are exactly as written β don't go typo-ing them, the kernel will not be forgiving π
okay that's the page!! mwah π this gem is from ./drivers/media/dvb-frontends, dated October 2026 π β go forth and configure your tuner, queen ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms