Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpio/
Dgpio-htc-egpio.c151 struct egpio_chip *egpio; in egpio_get() local
159 egpio = gpiochip_get_data(chip); in egpio_get()
160 ei = dev_get_drvdata(egpio->dev); in egpio_get()
162 reg = egpio->reg_start + egpio_pos(ei, offset); in egpio_get()
164 if (test_bit(offset, &egpio->is_out)) { in egpio_get()
165 return !!(egpio->cached_values & (1 << offset)); in egpio_get()
176 struct egpio_chip *egpio; in egpio_direction_input() local
178 egpio = gpiochip_get_data(chip); in egpio_direction_input()
179 return test_bit(offset, &egpio->is_out) ? -EINVAL : 0; in egpio_direction_input()
190 struct egpio_chip *egpio; in egpio_set() local
[all …]
DMakefile58 obj-$(CONFIG_HTC_EGPIO) += gpio-htc-egpio.o
DKconfig1002 This driver supports the CPLD egpio chip present on
/Linux-v4.19/arch/arm/mach-pxa/
Dhx4700.c351 static struct platform_device egpio = { variable
839 &egpio,
Dmagician.c234 static struct platform_device egpio = { variable
938 &egpio,