ti_bandgap_w...ounter_delay(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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 is ti_bandgap_w...ounter_delay(9). so like... that's her full legal name πŸ’…βœ¨
πŸ“¦ where this page comes from