Searched refs:egpio (Results 1 – 6 of 6) sorted by relevance
137 struct egpio_chip *egpio; in egpio_get() local145 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() local164 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 …]
62 obj-$(CONFIG_HTC_EGPIO) += gpio-htc-egpio.o
1065 This driver supports the CPLD egpio chip present on
348 static struct platform_device egpio = { variable843 &egpio,
231 static struct platform_device egpio = { variable961 &egpio,
473 header-test- += linux/platform_data/gpio-htc-egpio.h