STRUCT AB8500_GPADC(9)
πΈ NAME πΈ
struct ab8500_gpadc β okay bestie, this is literally the AB8500 GPADC device information struct β¨ (yes, the whole manual is the Kernel API Manual, we're in the kernel-API-manual girlies now π
)
π SYNOPSIS π
struct ab8500_gpadc {
struct device *dev;
struct ab8500 *ab8500;
struct ab8500_gpadc_chan_info *chans;
unsigned int nchans;
struct completion complete;
struct regulator *vddadc;
int irq_sw;
int irq_hw;
struct ab8500_adc_cal_data cal_data[AB8500_CAL_NR];
};
Like, that's the whole shape of her π no cap, and every field is about to get its own little moment β
π Members π
devβ pointer to the containing device π«Ά the whole "who do I belong to" of it allab8500β pointer to the parent AB8500 device π her parent, literally her main character origin storychansβ internal per-channel information container π internal! per-channel! the little filing cabinet of vibesnchansβ number of channels π like, how many channels we even dealing withcompleteβ pointer to the completion that indicates the completion of an gpadc conversion cycle π yes bestie it says "completion" twice, that's not me being extra, that's the actual doc, and honestly? the way that a gpadc conversion cycle gets to be completed... obsessed πβ¨vddadcβ pointer to the regulator supplying VDDADC π₯ the power supply, the literal sustainer of life, the it-girlirq_swβ interrupt number that is used by gpadc for software ADC conversion π¦ software conversion interrupt, iykykirq_hwβ interrupt number that is used by gpadc for hardware ADC conversion π hardware conversion interrupt, her sister, equally iconiccal_dataβ array of ADC calibration data structs π it's an array, she contains multitudes,AB8500_CAL_NRof them to be exact
π¦ SEE ALSO π¦
Kernel file ./drivers/iio/adc/ab8500-gpadc.c struct ab8500_adc_cal_data(9), struct ab8500_gpadc_chan_info(9), ab8500_gpadc_ad_to_voltage(9), ab8500_bm_gpadcconvend_handler(9), ab8500_gpadc_parse_channel(9), ab8500_gpadc_parse_channels(9)
Like the whole friend group fr fr π«Ά go say hi:
struct ab8500_adc_cal_data(9)struct ab8500_gpadc_chan_info(9)ab8500_gpadc_ad_to_voltage(9)ab8500_bm_gpadcconvend_handler(9)ab8500_gpadc_parse_channel(9)ab8500_gpadc_parse_channels(9)
π And that's the tea, bestie. This page lives in./drivers/iio/adc, it's dated October 2026, and it's filed understruct ab8500_gpadc(9). Slay, ate, periodt. β¨ππ·
π¦ 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