STRUCT PMIC8XXX_KP(9)
π 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
- 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