STRUCT ARCXCNN_PLATFORM_DATA(9)
π¦ 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 passNULLit'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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms