ti_bandgap_set_sensor_data(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so we're in the Kernel API Manual, and the page is ti_bandgap_set_sensor_data(9) β€” and yes, bestie, it's giving "small helper, big thermal-framework responsibilities" πŸ’…βœ¨

πŸ’– NAME πŸ’–

ti_bandgap_set_sensor_data β€” a helper function to store thermal framework related data. literally that's the whole gig 🫢

✨ SYNOPSIS ✨

int ti_bandgap_set_sensor_data (struct ti_bandgap *bgp , int id , void
       *data );

🫢 ARGUMENTS 🫢

  • bgp β€” pointer to bandgap instance. this is the main-character struct, no cap πŸ‘‘
  • id β€” sensor id. yes bestie, you gotta say which sensor πŸŽ€
  • data β€” thermal framework related data to be stored. tuck that data in, periodt πŸ’Ύβœ¨

πŸŽ€ RETURN πŸŽ€

0 on success or the proper error code. that's it β€” success vibes or the correct error, fr fr 🌈

🌸 SEE ALSO 🌸

okay the whole squad is linked here, so let's give them their flowers πŸ’:


mwah πŸ’‹ β€” source/version: ./drivers/thermal/ti-soc-thermal; date: October 2026. that's the footer tea, bestie πŸ«–βœ¨

πŸ“¦ where this page comes from