Home
last modified time | relevance | path

Searched refs:egpio (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/drivers/gpio/
Dgpio-htc-egpio.c137 struct egpio_chip *egpio; in egpio_get() local
145 egpio = gpiochip_get_data(chip); in egpio_get()
146 ei = dev_get_drvdata(egpio->dev); in egpio_get()
148 reg = egpio->reg_start + egpio_pos(ei, offset); in egpio_get()
150 if (test_bit(offset, &egpio->is_out)) { in egpio_get()
151 return !!(egpio->cached_values & (1 << offset)); in egpio_get()
162 struct egpio_chip *egpio; in egpio_direction_input() local
164 egpio = gpiochip_get_data(chip); in egpio_direction_input()
165 return test_bit(offset, &egpio->is_out) ? -EINVAL : 0; in egpio_direction_input()
176 struct egpio_chip *egpio; in egpio_set() local
[all …]
DMakefile69 obj-$(CONFIG_HTC_EGPIO) += gpio-htc-egpio.o
DKconfig1224 This driver supports the CPLD egpio chip present on
/Linux-v5.15/arch/arm/mach-pxa/
Dhx4700.c347 static struct platform_device egpio = { variable
847 &egpio,
Dmagician.c230 static struct platform_device egpio = { variable
967 &egpio,