STRUCT DRV2665_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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