ti_bandgap_w...ounter_delay(9)
π ti_bandgap_w...ounter_delay(9) β Kernel API Manual β¨
okay so bestie, welcome to the glow-up guide for ti_bandgap_write_counter_delay π β one lil kernel function from the Kernel API Manual, and she is literally the one who sets the counter_delay, no cap. sit down, grab a strawberry drink π, and let's get into it.
β¨ NAME β¨
ti_bandgap_write_counter_delay β set the counter_delay π
like. that's the whole job. she sets the counter delay. iconic behavior, honestly.
πΈ SYNOPSIS πΈ
int ti_bandgap_write_counter_delay (struct ti_bandgap *bgp , int id ,
u32 interval );
return type is int, she takes three things, and yes the spacing is exactly like that because that's how she came into this world π
π¦ ARGUMENTS π¦
bgpβ pointer to the bandgap instance π like, the actual bandgap object you're working with.idβ the sensor id π which sensor are we talking about, bestie? that one.intervalβ the desired update interval in miliseconds β±οΈ (spelled exactly like that in the original and we respect it, periodt).
β RETURN β
0 on success, or the proper error code π so like... check it. don't just vibe and assume it worked. (this is the respect-your-return-value part of the group chat.)
π SEE ALSO π
okay this list is LONG and she ate, ngl π₯ here's the whole crew:
- Kernel file
./drivers/thermal/ti-soc-thermal/ti-bandgap.cβ the home base, the main character's house π ti_bandgap_readl(9)ti_bandgap_writel(9)macro to update bits.(9)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_counter_delay(9)ti_bandgap_read_update_interval(9)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)
fr fr that's the whole friend group, go say hi to all of them π«Ά
ok and one last thing bestie β this page lives under./drivers/thermal/ti-soc-thermal, dated October 2026, and the manual name isti_bandgap_w...ounter_delay(9). so like... that's her full legal name π β¨
π¦ 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