STRUCT THS7303_PLATFORM_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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. No ch_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