Searched refs:egpio (Results 1 – 5 of 5) sorted by relevance
151 struct egpio_chip *egpio; in egpio_get() local159 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() local178 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 …]
58 obj-$(CONFIG_HTC_EGPIO) += gpio-htc-egpio.o
1002 This driver supports the CPLD egpio chip present on
351 static struct platform_device egpio = { variable839 &egpio,
234 static struct platform_device egpio = { variable938 &egpio,