STRUCT TWL4030_MADC_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct_twl4030_madc_data β€” NAME

okay bestie, welcome to the Kernel API Manual page for struct twl4030_madc_data(9) ✨ β€” literally just a container for madc info. that's it. that's the whole vibe. it holds stuff, it's a struct, she's serving pure storage realness πŸŽ€


✨ SYNOPSIS ✨

struct twl4030_madc_data {
    struct device *dev;
    struct mutex lock;
    struct regulator *usb3v1;
    struct twl4030_madc_request requests[TWL4030_MADC_NUM_METHODS];
    bool use_second_irq;
    u8 imr;
    u8 isr;
 };

like… look at her. so defined. so structured. no cap πŸ’…


🫢 Members 🫢

  • dev β€” pointer to the device structure for madc, i.e. who she actually belongs to πŸ¦‹
  • lock β€” a mutex protecting this data structure. yes bestie she's guarded, do NOT touch her without the lock, that's undefined-behaviour territory and we don't do that here πŸ’€
  • usb3v1 β€” pointer to the bias regulator for madc 🌸
  • requests β€” array of request struct corresponding to SW1, SW2 and RT. three moods, one array, iconic honestly πŸ‘‘
  • use_second_irq β€” IRQ selection (main or co-processor). pick your fighter ✨
  • imr β€” interrupt mask register of MADC πŸŽ€
  • isr β€” interrupt status register of MADC ⭐

🌈 SEE ALSO 🌈

ok real talk: go read those too, they're the friends she keeps in her group chat, iykyk πŸ’œ

and that's the whole page, bestie!! fr fr you now know everything about her πŸ’– this lil cutie lives over in ./drivers/iio/adc and the manual's dated October 2026 β€” mark your calendars, periodt πŸ”₯ 🧚

πŸ“¦ where this page comes from