STRUCT ARCXCNN_PLATFORM_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct arcxcnn_platform_data(9) πŸ¦‹

okay bestie, real talk β€” this is a page out of the Kernel API Manual, and it's the whole glow-up guide for struct arcxcnn_platform_data. she's a platform data struct for the arcxcnn backlight driver and she's literally the main character of your backlight config. let's get into it πŸ’…


✨ NAME ✨

struct arcxcnn_platform_data β€” and then a dash, and then… nothing. that's it. that's the name. the dash is doing SO much heavy lifting and honestly? she ate. πŸŽ€


🌸 SYNOPSIS 🌸

here's the whole struct, exactly as she lives in the kernel β€” no edits, no notes, copying her vibe verbatim:

struct arcxcnn_platform_data {
    const char *name;
    u16 initial_brightness;
    u8 leden;
    u8 led_config_0;
    u8 led_config_1;
    u8 dim_freq;
    u8 comp_config;
    u8 filter_config;
    u8 trim_config;
 };

like, look at all those little u8s lined up. so satisfying. tiny byte fields, big main character energy ✨


πŸ’– Members πŸ’–

every single field, no skips, no cap:

  • name β€” the backlight driver name, fr. if you pass NULL it'll just use the default β€” so you can absolutely be lazy here and the kernel will not judge you 🫢
  • initial_brightness β€” the starting value of the backlight brightness. your very first glow-up, if you will ✨
  • leden β€” the initial LED string enables, and heads up: the upper bit is the global on/off. so this one field is doing two jobs and she's thriving πŸ‘‘
  • led_config_0 β€” the fading speed, i.e. the period between intensity steps. this is the drama pacing of your fade 🌈
  • led_config_1 β€” misc settings. see the datasheet bestie, that's where the lore lives πŸ“–
  • dim_freq β€” the pwm dimming frequency, but only if you're in pwm mode. conditional queen πŸ’…
  • comp_config β€” more misc config. again: datasheet. iykyk πŸ™ˆ
  • filter_config β€” the RC/PWM filter config. datasheet, as always πŸ”
  • trim_config β€” full scale current trim. yep, you guessed it β€” datasheet πŸ’€
ngl there are a lot of "see datasheet" up in here, so keep that datasheet tab open. she is required reading, not optional lore 🌸

πŸ”₯ SEE ALSO πŸ”₯

  • the kernel file ./drivers/video/backlight/arcxcnn_bl.c β€” go read the actual driver, she's right there πŸ¦‹

and that's the whole page, bestie. slay. πŸ’œ

signing off with the receipts: this one lives in ./drivers/video/backlight, she's dated October 2026, and she's filed under struct arcxcnn_platform_data(9) in the Kernel API Manual. periodt. πŸŽ€βœ¨

πŸ“¦ where this page comes from