Searched refs:egpio (Results 1 – 5 of 5) 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 …]
69 obj-$(CONFIG_HTC_EGPIO) += gpio-htc-egpio.o
1224 This driver supports the CPLD egpio chip present on
347 static struct platform_device egpio = { variable847 &egpio,
230 static struct platform_device egpio = { variable967 &egpio,