ti_bandgap_set_sensor_data(9)
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 π:
- Kernel file:
./drivers/thermal/ti-soc-thermal/ti-bandgap.c 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_delay(9)ti_bandgap_write_counter(9)ti_bandgap_write_update_interval(9)ti_bandgap_read_temperature(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)
mwah π β source/version: ./drivers/thermal/ti-soc-thermal; date: October 2026. that's the footer tea, bestie π«β¨
π¦ 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