STRUCT SBS_PLATFORM_DATA(9)
π struct sbs_platform_data(9) π
okay bestie, welcome to the Kernel API Manual β¨ this one's a lil struct page and honestly it's short, sweet, and it ate. no cap. we're talking about struct sbs_platform_data β the platform data situation for sbs devices π«Ά
πΈ NAME πΈ
struct sbs_platform_data β platform data for sbs devices π
like, it's literally the lil config bundle that tells the sbs driver how to behave. iconic of it.
β¨ SYNOPSIS β¨
struct sbs_platform_data {
u32 i2c_retry_count;
u32 poll_retry_count;
};
two u32 fields. that's the whole vibe. minimal, clean, main character energy π
π Members π
i2c_retry_countβ the # of times to retry on i2c IO failure π like when the i2c bus just ghosts you and the IO flops, this is how many times it's gonna try again before giving up. perseverance queen fr fr.poll_retry_countβ the # of times to retry looking for new status after external change notification π so when something outside is like "hey, status changed!" this is how many times it re-checks for that new status. not me refreshing the timeline energy π
ngl these are just counts, but they're doing a lot of heavy lifting behind the scenes. respect. π«‘
π¦ SEE ALSO π¦
- Kernel file
./include/linux/power/sbs-battery.hπ β go read the header, bestie, that's where the whole story lives π
and that's the whole page, you're welcome π β¨
cute lil sign-off time π this one's hanging out in ./include/linux/power, dated October 2026, and it's the struct sbs_platform_data(9) page in all its glory. mwah. ππ
π¦ 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