ti_bandgap_readl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, this is ti_bandgap_readl(9) from the Kernel API Manual and it’s literally the simplest little read helper πŸ’…βœ¨

🌸 NAME 🌸

ti_bandgap_readl β€” your simple read helper function. iconic behavior only 🫢

✨ SYNOPSIS ✨

u32 ti_bandgap_readl (struct ti_bandgap *bgp , u32 reg );

πŸŽ€ ARGUMENTS πŸŽ€

  • bgp β€” pointer to ti_bandgap structure. the main character struct, fr fr.
  • reg β€” desired register (offset) to be read. yes bestie, that exact one πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

So this is a helper function to read bandgap registers. it uses the io remapped area. that’s the whole vibe. lowkey tiny, highkey useful πŸ’–

🌈 RETURN 🌈

It returns the register value. that’s it. that’s the tea. πŸ“

πŸ’œ SEE ALSO πŸ’œ


okay bye bestie! footer energy: source/version ./drivers/thermal/ti-soc-thermal Β· date October 2026 Β· page ti_bandgap_readl(9) πŸ«ΆπŸ’–πŸŽ€

πŸ“¦ where this page comes from