STRUCT DRV2665_DATA(9)
π struct drv2665_data(9) β Kernel API Manual, bestie edition π
okay so welcome to the glow-up of drv2665_data, a struct from the Kernel API Manual and honestly? she's giving organized queen. no notes. let's get into it β¨
πΈ NAME πΈ
struct drv2665_data β that's it, that's the name, the manpage literally gives us no description and we respect the mystery π«Ά
β¨ SYNOPSIS β¨
here's the whole struct, copied exactly, no cap:
struct drv2665_data {
struct input_dev *input_dev;
struct i2c_client *client;
struct regmap *regmap;
struct work_struct work;
struct regulator *regulator;
};
look at her. five members. immaculate lineup. main character energy fr fr π
π Members π
π input_dev
Pointer to the input device β this is her pointer era, lowkey iconic.
π¦ client
Pointer to the I2C client. yes bestie, another pointer, we love a consistent aesthetic.
β regmap
Register map of the device. it's literally the map of the registers, iykyk.
π₯ work
Work item used to off load the enable/disable of the vibration β the way this one carries the whole vibe of the driver honestly. offloading that enable/disable so nobody's doing it inline. slay.
πΈ regulator
Pointer to the regulator for the IC. she regulates. she's the regulator. periodt.
π SEE ALSO π
- Kernel file
./drivers/input/misc/drv2665.cβ go read the source, bestie, it's right there π
quick vibe check: everything above is straight from the page, I didn't invent a single behavior or extra tip, so you can trust it fr fr π
and that's the whole thing! this page came from the ./drivers/input/misc source, dated October 2026, so if anyone asks where you learned all this, you can tell them with confidence. 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