STRUCT KXSD9_STATE(9)
π struct kxsd9_state(9) π
okay so welcome to the Kernel API Manual, bestie β this page is all about struct kxsd9_state, and it's literally the device related storage. no cap, it's giving "tiny struct, big main character energy" β¨
πΈ NAME πΈ
struct kxsd9_state β device related storage. that's the whole vibe: it's the struct for the device related storage. π
β¨ SYNOPSIS β¨
here's the shape of it, exactly:
struct kxsd9_state {
struct device *dev;
struct regmap *map;
struct iio_mount_matrix orientation;
struct regulator_bulk_data regs[2];
u8 scale;
};
π«Ά Members π«Ά
okay bestie, member by member, and yes we're keeping every single one:
devβ pointer to the parent device. the parent-device pointer, periodt.mapβ regmap to the device. it's the regmap hookup, iykyk.orientationβ mounting matrix, flipped axis etc. flipped-axis realness included.regsβ regulators for this device, VDD and IOVDD. both VDD and IOVDD, no skips.scaleβ the current scaling setting. the current scaling setting, slay.
π¦ SEE ALSO π¦
- Kernel file
./drivers/iio/accel/kxsd9.cβ go peek at the source, bestie.
mwah π β footer sign-off, source/version: ./drivers/iio/accel, date: October 2026, page: struct kxsd9_state(9). 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