ti_bandgap_s...tinuous_mode(9)
β¨ ti_bandgap_s...tinuous_mode(9) β¨
okay bestie, welcome to the Kernel API Manual π this one's a lil function from the thermal squad and honestly? she's short but she matters. let's get into it π«Ά
πΈ NAME πΈ
ti_bandgap_set_continuous_mode β one time enabling of continuous mode. yes bestie, one time. it's giving "set it and forget it" energy β¨
π SYNOPSIS π
int ti_bandgap_set_continuous_mode (struct ti_bandgap *bgp );
π¦ ARGUMENTS π¦
bgpβ pointer tostruct ti_bandgap. that's it. that's the whole arg list. she's low maintenance π
π DESCRIPTION π
β οΈ bestie, read this first: call this function only if HAS(MODE_CONFIG) is set. no cap. that's the vibe check and you gotta pass it before you call her π
so here's the reasoning, and it's actually kind of iconic: this driver may be used for junction temperature monitoring, and because of that it's desirable that the sensors are operational all the time, so that alerts get generated properly. like, the whole point is she's always on duty ππ₯
basically: continuous mode on, sensors stay awake, alerts don't ghost you. periodt.
β RETURN β
0 β that's it. zero. a perfect little clean return, no drama, no error codes, just a happy lil 0 π
π§ SEE ALSO π§
the kernel file herself lives at ./drivers/thermal/ti-soc-thermal/ti-bandgap.c β go say hi π«
and here's the whole friend group, no one gets left out:
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_set_sensor_data(9)ti_bandgap_get_sensor_data(9)ti_bandgap_force_single_read(9)ti_bandgap_get_trend(9)ti_bandgap_tshut_init(9)ti_bandgap_talert_init(9)ti_bandgap_build(9)
π that's the whole page bestie, go forth and enable continuous mode responsibly (after checking HAS(MODE_CONFIG), obviously) π«Ά
mwah π β this lil page came from ./drivers/thermal/ti-soc-thermal, dated October 2026, and the version tag is literally the title itself: ti_bandgap_s...tinuous_mode(9). slay, stay cozy, read your manpages πβ¨
π¦ 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