STRUCT PMIC8XXX_KP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

Okay bestie, this is the struct pmic8xxx_kp(9) page from the Kernel API Manual β€” and it's giving internal keypad data structure, no cap. πŸ’…βœ¨

✨ SYNOPSIS ✨

Here's the whole struct, exactly as it shows up:

struct pmic8xxx_kp {
    unsigned int num_rows;
    unsigned int num_cols;
    struct input_dev *input;
    struct regmap *regmap;
    int key_sense_irq;
    int key_stuck_irq;
    unsigned short keycodes[PM8XXX_MATRIX_MAX_SIZE];
    struct device *dev;
    u16 keystate[PM8XXX_MAX_ROWS];
    u16 stuckstate[PM8XXX_MAX_ROWS];
    u8 ctrl_reg;
};

πŸ’– Members πŸ’–

Lowkey the roster β€” every member is doing main-character work:

  • num_rows β€” number of row of keypad, aka row-count energy.
  • num_cols β€” number of columns of keypad, column-count icon behavior.
  • input β€” input device pointer for keypad β€” the input-device pointer, periodt.
  • regmap β€” regmap handle, slay.
  • key_sense_irq β€” key press/release irq number, fr fr.
  • key_stuck_irq β€” key stuck notification irq number β€” the irq for key-stuck notifications.
  • keycodes β€” array to hold the key codes β€” the key-code storage array.
  • dev β€” parent device pointer β€” points at the parent device.
  • keystate β€” present key press/release state β€” current key press/release state.
  • stuckstate β€” present state when key stuck irq β€” the state when the key-stuck irq hits.
  • ctrl_reg β€” control register value β€” the control register's value.

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/input/keyboard/pmic8xxx-keypad.c

Bye bestie! Source/version: ./drivers/input/keyboard; date: October 2026; page: struct pmic8xxx_kp(9) β€” mwah! πŸ’‹βœ¨πŸ«Ά

πŸ“¦ where this page comes from