ti_bandgap_..._irq_handler(9)
π ti_bandgap_..._irq_handler(9) π
okay so bestie, welcome to the Kernel API Manual πΈ β yes this page is literally named ti_bandgap_..._irq_handler(9) up top, and the star of the show inside is ti_bandgap_talert_irq_handler. buckle up, it's a thermal one π«Ά
β¨ NAME β¨
ti_bandgap_talert_irq_handler β the girl who handles Temperature alert IRQs π
β¨ SYNOPSIS β¨
irqreturn_t ti_bandgap_talert_irq_handler (int irq , void *data );
that's the whole signature, no notes, iconic π
β¨ ARGUMENTS β¨
irqβ the IRQ number π that's it, that's the whole vibedataβ private data, and by private we mean it's astruct ti_bandgap *π
β¨ DESCRIPTION β¨
okay so this is the Talert handler π‘οΈ β the temperature-alert girlie. big caveat though: use it only if the bandgap device actually features HAS(TALERT) β like, do not come here if your device doesn't have that, fr fr.
so what does she actually do? she goes over all the sensors π₯ checks their conditions, and acts accordingly β very "I'm checking on everyone in the group chat" energy, no cap.
in case there are events pending, she'll reset the event mask so she can wait for the opposite event (the next event) π« iykyk. and every single time there's a new event? it gets reported to the thermal layer π periodt. nothing slips past her, literally.
β¨ RETURN β¨
IRQ_HANDLED π that's it. that's the return. she handled it.
β¨ SEE ALSO β¨
the kernel file where all this lives, in all its glory:
./drivers/thermal/ti-soc-thermal/ti-bandgap.c
and the whole extended friend group π:
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_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_set_continuous_mode(9)ti_bandgap_get_trend(9)ti_bandgap_tshut_init(9)ti_bandgap_talert_init(9)ti_bandgap_build(9)
ngl bestie, these are (9) man pages β kernel API section, so they're for the devs writing the code, not for your terminal panic moment π§
mwah, that's the page! π
this lil creation came from ./drivers/thermal/ti-soc-thermal, dated October 2026, and she's filed under ti_bandgap_..._irq_handler(9) π go be iconic with your IRQs, ily π
π¦ 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