ENUM AT91_ADC_TS_CLB_IDX(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum at91_adc_ts_clb_idx

okay so bestie, this is a kernel API manual page β€” specifically the one for enum at91_adc_ts_clb_idx(9), and no cap, the whole entire point of it is just... calibration indexes in an NVMEM buffer. that's it. that's the vibe. πŸŽ€


✨ NAME ✨

enum at91_adc_ts_clb_idx β€” calibration indexes in NVMEM buffer

like, literally just the index constants you use to go rummaging around in the NVMEM buffer for calibration data. slay. πŸ¦‹


✨ SYNOPSIS ✨

okay brace yourself, here's the whole enum, copied exactly, not one character touched:

enum at91_adc_ts_clb_idx {
    AT91_ADC_TS_CLB_IDX_P1 ,
    AT91_ADC_TS_CLB_IDX_P4 ,
    AT91_ADC_TS_CLB_IDX_P6 ,
    AT91_ADC_TS_CLB_IDX_MAX

};

four members, all of them iconic, all of them in that order. periodt. πŸ’…


✨ CONSTANTS ✨

these are the members, one by one, no skips, we don't do skips here:

  • AT91_ADC_TS_CLB_IDX_P1 β€” index for P1 πŸ’–
  • AT91_ADC_TS_CLB_IDX_P4 β€” index for P4 🧚
  • AT91_ADC_TS_CLB_IDX_P6 β€” index for P6 🌸
  • AT91_ADC_TS_CLB_IDX_MAX β€” max index for temperature calibration packet in OTP πŸ‘‘

so like, three actual indexes and then the MAX one at the end doing its main character thing as the boundary. iykyk. ✨


🌈 SEE ALSO 🌈

go read these next, bestie, they're all linked from the kernel file ./drivers/iio/adc/at91-sama5d2_adc.c:

  • struct at91_adc_platform(9)
  • struct at91_adc_temp_sensor_clb(9)
  • struct at91_adc_soc_info(9)
  • struct at91_adc_dma(9)
  • struct at91_adc_touch(9)
  • struct at91_adc_temp(9)

all of them documented, all of them waiting for you, a whole little friend group of structs fr fr. 🫢


lowkey reminder that this page lives in ./drivers/iio/adc β€” that's the directory, not a suggestion. go touch grass there. πŸ’€

okay that's the whole page, we ate and left literally zero crumbs β€” this was enum at91_adc_ts_clb_idx(9) from the Kernel API Manual, dated October 2026, sourced from ./drivers/iio/adc. mwah, go read the structs, ily, bye πŸ“πŸ’œ

πŸ“¦ where this page comes from