STRUCT BCM6358_LED(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this is struct bcm6358_led(9), bestie β€” from the Kernel API Manual, no cap. It's the state container for bcm6358 based LEDs ✨. That's the whole vibe: it holds the state for those LEDs, and we're about to meet every little member like it's a group chat roll call πŸ’….


✨ SYNOPSIS ✨

       struct bcm6358_led {
           struct led_classdev cdev;
           void __iomem *mem;
           spinlock_t *lock;
           unsigned long pin;
           bool active_low;
        };

πŸŽ€ Members πŸŽ€

okay bestie, here's the cast of this struct β€” every single one, periodt 🫢:

  • cdev β€” LED class device for this LED
  • mem β€” memory resource
  • lock β€” memory lock
  • pin β€” LED pin number
  • active_low β€” LED is active low

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/leds/leds-bcm6358.c β€” that's the source-file bestie you wanna peek at πŸ‘€

mwah πŸ’‹ this page is brought to you by ./drivers/leds, dated October 2026, and signed off with struct bcm6358_led(9) energy β€” iconic, honestly πŸŒˆπŸ‘‘.

πŸ“¦ where this page comes from