STRUCT THS7303_PLATFORM_DATA(9)
β¨ NAME β¨
struct ths7303_platform_data β the platform-dependent data bestie π
(yes that's the whole vibe, it's giving "just the config bits")
So this is a page from the Kernel API Manual β struct ths73...latform_data(9), if you're being formal about it π β and it's honestly a little baby page. Three fields. That's it. But we're gonna read it properly because every field matters, periodt.
πΈ SYNOPSIS πΈ
Here's the whole struct, copied exactly, no cap:
struct ths7303_platform_data {
u8 ch_1;
u8 ch_2;
u8 ch_3;
};
Three u8 fields, one per channel. That's the entire shape of it. Iconic in its minimalism, honestly π¦
π MEMBERS π
ch_1β the bias value for channel one π©·ch_2β the bias value for channel two πch_3β the bias value for channel three π
Like. That's the whole thing. Three channels, three bias values, each one stashed in its own u8. If you need channel four, bestie, you're on the wrong struct β this one stops at three, and it stops at three with confidence π₯
Lowkey obsessed with how symmetrical this is.ch_1,ch_2,ch_3. Noch_0, no surprises, no funny business. Main character energy from a config struct π
π SEE ALSO π
- Kernel file
./include/media/i2c/ths7303.hβ go look at the actual header if you want the real source-of-truth vibes β
And that's the page!! π§ The header calls it struct ths73...latform_data(9) from the Kernel API Manual, and the footer's giving source ./include/media/i2c with a date of October 2026 β so go forth, set your three bias values, and slay π
πβ¨
π¦ 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