Home
last modified time | relevance | path

Searched refs:tc3589x (Results 1 – 13 of 13) sorted by relevance

/linux-6.15/drivers/mfd/
H A Dtc3589x.c42 int tc3589x_reg_read(struct tc3589x *tc3589x, u8 reg) in tc3589x_reg_read() argument
61 int tc3589x_reg_write(struct tc3589x *tc3589x, u8 reg, u8 data) in tc3589x_reg_write() argument
180 struct tc3589x *tc3589x = data; in tc3589x_irq() local
212 struct tc3589x *tc3589x = d->host_data; in tc3589x_irq_map() local
249 static int tc3589x_chip_init(struct tc3589x *tc3589x) in tc3589x_chip_init() argument
284 static int tc3589x_device_init(struct tc3589x *tc3589x) in tc3589x_device_init() argument
358 struct tc3589x *tc3589x; in tc3589x_probe() local
377 tc3589x = devm_kzalloc(&i2c->dev, sizeof(struct tc3589x), in tc3589x_probe()
432 struct tc3589x *tc3589x = i2c_get_clientdata(client); in tc3589x_remove() local
439 struct tc3589x *tc3589x = dev_get_drvdata(dev); in tc3589x_suspend() local
[all …]
H A DMakefile33 obj-$(CONFIG_MFD_TC3589X) += tc3589x.o
/linux-6.15/drivers/gpio/
H A Dgpio-tc3589x.c29 struct tc3589x *tc3589x; member
40 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_get() local
55 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_set() local
67 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_direction_output() local
80 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_direction_input() local
91 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_get_direction() local
110 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_set_config() local
197 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_irq_sync_unlock() local
263 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x; in tc3589x_gpio_irq() local
296 struct tc3589x *tc3589x = dev_get_drvdata(pdev->dev.parent); in tc3589x_gpio_probe() local
[all …]
H A DMakefile169 obj-$(CONFIG_GPIO_TC3589X) += gpio-tc3589x.o
/linux-6.15/drivers/input/keyboard/
H A Dtc3589x-keypad.c105 struct tc3589x *tc3589x; member
117 struct tc3589x *tc3589x = keypad->tc3589x; in tc3589x_keypad_init_key_hardware() local
192 struct tc3589x *tc3589x = keypad->tc3589x; in tc3589x_keypad_irq() local
217 tc3589x_set_bits(tc3589x, TC3589x_KBDIC, in tc3589x_keypad_irq()
220 tc3589x_set_bits(tc3589x, TC3589x_KBDMSK, in tc3589x_keypad_irq()
228 struct tc3589x *tc3589x = keypad->tc3589x; in tc3589x_keypad_enable() local
264 struct tc3589x *tc3589x = keypad->tc3589x; in tc3589x_keypad_disable() local
268 ret = tc3589x_set_bits(tc3589x, TC3589x_KBDIC, in tc3589x_keypad_disable()
274 ret = tc3589x_set_bits(tc3589x, TC3589x_KBDMSK, in tc3589x_keypad_disable()
375 struct tc3589x *tc3589x = dev_get_drvdata(pdev->dev.parent); in tc3589x_keypad_probe() local
[all …]
H A DMakefile68 obj-$(CONFIG_KEYBOARD_TC3589X) += tc3589x-keypad.o
H A DKconfig698 module will be called tc3589x-keypad.
/linux-6.15/include/linux/mfd/
H A Dtc3589x.h120 struct tc3589x { struct
131 extern int tc3589x_reg_write(struct tc3589x *tc3589x, u8 reg, u8 data); argument
132 extern int tc3589x_reg_read(struct tc3589x *tc3589x, u8 reg);
133 extern int tc3589x_block_read(struct tc3589x *tc3589x, u8 reg, u8 length,
135 extern int tc3589x_block_write(struct tc3589x *tc3589x, u8 reg, u8 length,
137 extern int tc3589x_set_bits(struct tc3589x *tc3589x, u8 reg, u8 mask, u8 val);
/linux-6.15/Documentation/devicetree/bindings/mfd/
H A Dtc3589x.txt28 - compatible : must be "toshiba,tc3589x-gpio"
29 - interrupts : interrupt on the parent, which must be the tc3589x MFD device
48 - compatible : must be "toshiba,tc3589x-keypad"
72 compatible = "toshiba,tc3589x-gpio";
81 compatible = "toshiba,tc3589x-keypad";
/linux-6.15/arch/arm/boot/dts/st/
H A Dste-href-tvk1281618-r3.dtsi42 compatible = "toshiba,tc3589x-gpio";
51 compatible = "toshiba,tc3589x-keypad";
H A Dste-hrefprev60.dtsi42 compatible = "tc3589x-gpio";
H A Dste-href-tvk1281618-r2.dtsi47 compatible = "toshiba,tc3589x-gpio";
56 compatible = "toshiba,tc3589x-keypad";
/linux-6.15/Documentation/devicetree/bindings/power/
H A Dwakeup-source.txt27 Documentation/devicetree/bindings/mfd/tc3589x.txt