Lines Matching defs:gpio
102 static inline int to_reg(int gpio, enum ctrl_register type) in to_reg()
112 static inline int to_ireg(int gpio, enum ctrl_register type, unsigned int *mask) in to_ireg()
127 static void wcove_update_irq_mask(struct wcove_gpio *wg, irq_hw_number_t gpio) in wcove_update_irq_mask()
137 static void wcove_update_irq_ctrl(struct wcove_gpio *wg, irq_hw_number_t gpio) in wcove_update_irq_ctrl()
144 static int wcove_gpio_dir_in(struct gpio_chip *chip, unsigned int gpio) in wcove_gpio_dir_in()
155 static int wcove_gpio_dir_out(struct gpio_chip *chip, unsigned int gpio, in wcove_gpio_dir_out()
167 static int wcove_gpio_get_direction(struct gpio_chip *chip, unsigned int gpio) in wcove_gpio_get_direction()
186 static int wcove_gpio_get(struct gpio_chip *chip, unsigned int gpio) in wcove_gpio_get()
202 static void wcove_gpio_set(struct gpio_chip *chip, unsigned int gpio, int value) in wcove_gpio_set()
216 static int wcove_gpio_set_config(struct gpio_chip *chip, unsigned int gpio, in wcove_gpio_set_config()
243 irq_hw_number_t gpio = irqd_to_hwirq(data); in wcove_irq_type() local
282 irq_hw_number_t gpio = irqd_to_hwirq(data); in wcove_bus_sync_unlock() local
297 irq_hw_number_t gpio = irqd_to_hwirq(data); in wcove_irq_unmask() local
310 irq_hw_number_t gpio = irqd_to_hwirq(data); in wcove_irq_mask() local
331 unsigned int virq, gpio; in wcove_gpio_irq_handler() local
371 int gpio, mask, ret = 0; in wcove_gpio_dbg_show() local