Home
last modified time | relevance | path

Searched refs:lm8333 (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/input/keyboard/
Dlm8333.c33 struct lm8333 { struct
42 int lm8333_read8(struct lm8333 *lm8333, u8 cmd) in lm8333_read8() argument
47 ret = i2c_smbus_read_byte_data(lm8333->client, cmd); in lm8333_read8()
53 int lm8333_write8(struct lm8333 *lm8333, u8 cmd, u8 val) in lm8333_write8() argument
58 ret = i2c_smbus_write_byte_data(lm8333->client, cmd, val); in lm8333_write8()
64 int lm8333_read_block(struct lm8333 *lm8333, u8 cmd, u8 len, u8 *buf) in lm8333_read_block() argument
69 ret = i2c_smbus_read_i2c_block_data(lm8333->client, in lm8333_read_block()
76 static void lm8333_key_handler(struct lm8333 *lm8333) in lm8333_key_handler() argument
78 struct input_dev *input = lm8333->input; in lm8333_key_handler()
83 ret = lm8333_read_block(lm8333, LM8333_FIFO_READ, in lm8333_key_handler()
[all …]
DMakefile38 obj-$(CONFIG_KEYBOARD_LM8333) += lm8333.o
DKconfig376 module will be called lm8333.
/kernel/linux/linux-5.10/include/linux/input/
Dlm8333.h9 struct lm8333;
20 extern int lm8333_read8(struct lm8333 *lm8333, u8 cmd);
21 extern int lm8333_write8(struct lm8333 *lm8333, u8 cmd, u8 val);
22 extern int lm8333_read_block(struct lm8333 *lm8333, u8 cmd, u8 len, u8 *buf);