STRUCT BU21013_TS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct bu21013_ts β€” touch panel data structure ✨

okay bestie, welcome to the Kernel API Manual πŸ’… this one's from the kernel docs, section 9, and it's literally just one struct but she's kind of iconic ngl.


🌸 NAME 🌸

struct bu21013_ts β€” the touch panel data structure 🫢 that's it, that's the whole vibe.


✨ SYNOPSIS ✨

here's the whole struct, copied character for character because we do not mess with code πŸ’€

struct bu21013_ts {
    struct i2c_client *client;
    struct input_dev *in_dev;
    struct touchscreen_properties props;
    struct regulator *regulator;
    struct gpio_desc *cs_gpiod;
    struct gpio_desc *int_gpiod;
    u32 touch_x_max;
    u32 touch_y_max;
    bool x_flip;
    bool y_flip;
    bool touch_stopped;
 };

πŸŽ€ Members πŸŽ€

every single field, no skips, no cap:

  • client β€” pointer to the i2c client πŸ”₯
  • in_dev β€” pointer to the input device structure 🌈
  • props β€” the device coordinate transformation properties ✨
  • regulator β€” pointer to the Regulator used for touch screen πŸ’–
  • cs_gpiod β€” chip select GPIO line πŸ¦‹
  • int_gpiod β€” touch interrupt GPIO line ⭐
  • touch_x_max β€” maximum X coordinate reported by the device πŸ‘‘
  • touch_y_max β€” maximum Y coordinate reported by the device πŸ‘‘
  • x_flip β€” indicates that the driver should invert X coordinate before reporting πŸ™ˆ
  • y_flip β€” indicates that the driver should invert Y coordinate before reporting πŸ™ˆ
  • touch_stopped β€” touch stop flag πŸ’€

🌸 Description 🌸

touch panel device data structure. yup. that's the whole description. short queen energy, she said what she said 🧚


πŸ’œ SEE ALSO πŸ’œ

  • Kernel file ./drivers/input/touchscreen/bu21013_ts.c β€” go read it iykyk πŸ“–

and that's the page fr fr πŸŽ€ this was struct bu21013_ts(9) from the Kernel API Manual, living in ./drivers/input/touchscreen, dated October 2026 β€” no cap, that's the actual source, version and date, mwah πŸ’‹ slay your day bestie βœ¨πŸ¦‹πŸ’…

πŸ“¦ where this page comes from