STRUCT LPG_CHANNEL_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

struct lpg_channel_data β€” the per channel initialization data, bestie. Yep, you're on the struct lpg_channel_data(9) page, and it's literally all about getting each channel set up. πŸ’…

✨ SYNOPSIS ✨

       struct lpg_channel_data {
           unsigned int sdam_offset;
           unsigned int base;
           u8 triled_mask;
        };

🫢 Members 🫢

  • sdam_offset β€” Channel offset in LPG SDAM. That's the spot, no cap. πŸ“
  • base β€” base address for PWM channel registers. The main-character address of the channel, fr fr. 🏠
  • triled_mask β€” bitmask for controlling this channel in TRILED. Mask on, bestie. 🎭

πŸ‘€ SEE ALSO πŸ‘€

  • Kernel file ./drivers/leds/rgb/leds-qcom-lpg.c β€” plus the whole friend group: struct lpg_channel(9), struct lpg_led(9), struct lpg(9), and struct lpg_data(9). Go read those too, iykyk. πŸ’–

Source/version: ./drivers/leds/rgb Β· date: October 2026. That's the cute little sign-off, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from