BANDGAP DRIVER DATA STRUCTURE(9)
π bandgap driver data structure π
okay bestie, welcome to the bandgap driver data structure(9) page from the Kernel API Manual β¨. this one is lowkey just a map of the bandgap data structures, and the diagram is doing a lot of the talking, so let it cook:
βββββββββββββββββββββββββββββββββ
β struct temp_sensor_regval β
βββββββββββββββββββββββββββββββββ
β’ (Array of) | |
βββββββββββββββββββββββββββββββββββββββββββββββββ
β struct ti_bandgap --> struct device * β
βββββββββββββββββββββββββββββββββββββββββββββββββ
| | V
ββββββββββββββββββββββββββββββ
β struct ti_bandgap_data β
ββββββββββββββββββββββββββββββ
| |
β’ (Array of)
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β +----------+------------+ +-------------------------+ β
β β
β +-----------------------+ +------------+------------+ β
β β
β + β
β V β
β +----------+-------------------+ β
β β
β +------------------------------+ β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
so yeah, that diagram above is literally a simple little diagram describing how the data structures below are organized. no cap. for each bandgap device there should be a ti_bandgap_data containing the device instance configuration, as well as, an array of sensors, representing every sensor instance present in this bandgap. that's the vibe: one config data situation per device, plus a sensor array holding every sensor instance for that bandgap. periodt π
πΈ SEE ALSO πΈ
- Kernel file
./drivers/thermal/ti-soc-thermal/ti-bandgap.h struct temp_sensor_registers(9)struct temp_sensor_data(9)struct temp_sensor_regval(9)struct ti_bandgap(9)struct ti_temp_sensor(9)ti bandgap feature types(9)struct ti_bandgap_data(9)
mwah π that's the whole page. the source/version is ./drivers/thermal/ti-soc-thermal, the date is October 2026, and the footer is serving bandgap dri...ta structure(9). periodt. πβ¨
π¦ 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