ti_bandgap_...ounter_delay(9)
π ti_bandgap_read_counter_delay β Kernel API Manual β¨
okay so bestie, welcome to the glow-up of the kernel API manual page ti_bandgap_...ounter_delay(9) β yes the header got a little truncated by the terminal gremlins, we're not gonna talk about it π. This one's a tiny little function from the thermal bandgap world and she's lowkey iconic for how small she is. Let's go π«Ά
πΈ NAME πΈ
ti_bandgap_read_counter_delay β the girl whose whole job is reading the sensor counter delay. that's it. that's her whole personality and she ate π
β¨ SYNOPSIS β¨
void ti_bandgap_read_counter_delay(struct ti_bandgap *bgp, int id,
int *interval);
so she returns void (no return value, she gives you nothing back directly, she's mysterious like that π) and takes three things. three! a whole little trio. besties fr fr.
π ARGUMENTS π
bgpβ pointer to the bandgap instance π like, the actual bandgap object you're working with. you gotta hand her the whole vibe, not just a name.idβ sensor id π which sensor we're talking about, bestie. gotta be specific.intervalβ the resulting update interval inmilisecondsβ (yes that's how it's spelled in the docs, we're keeping it, we don't fix what's iconic π«Ά). this is the output β she writes the answer in here for you.
ngl it's a read function, so the fun stuff lands in interval. that's the whole point. that's the main character of this call π₯
π¦ SEE ALSO π¦
the whole friend group π β and yes, we're listing every single one of them because nobody gets left behind:
- Kernel file
./drivers/thermal/ti-soc-thermal/ti-bandgap.cβ that's where she lives π ti_bandgap_readl(9)ti_bandgap_writel(9)macro to update bits.(9)β literally just that, that's the whole name, we love a mysterious queen πti_bandgap_power(9)ti_errata814_bandgap_read_temp(9)ti_bandgap_read_temp(9)ti_bandgap_talert_irq_handler(9)ti_bandgap_tshut_irq_handler(9)ti_bandgap_adc_to_mcelsius(9)ti_bandgap_validate(9)ti_bandgap_read_counter(9)ti_bandgap_read_update_interval(9)ti_bandgap_write_counter_delay(9)β the sibling who writes instead of reads, we stan both πti_bandgap_write_counter(9)ti_bandgap_write_update_interval(9)ti_bandgap_read_temperature(9)ti_bandgap_set_sensor_data(9)ti_bandgap_get_sensor_data(9)ti_bandgap_force_single_read(9)ti_bandgap_set_continuous_mode(9)ti_bandgap_get_trend(9)ti_bandgap_tshut_init(9)ti_bandgap_talert_init(9)ti_bandgap_build(9)
okay that's the whole page, no cap ππ. dish served, facts intact, vibe immaculate. this little manual page came out of ./drivers/thermal/ti-soc-thermal, it's the October 2026 edition, and the header on top says ti_bandgap_...ounter_delay(9) in case you forgot where you were. slay, go read a counter delay, 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