Lines Matching refs:orion_gpio_chip

40 struct orion_gpio_chip {  struct
51 static void __iomem *GPIO_OUT(struct orion_gpio_chip *ochip) in GPIO_OUT() argument
56 static void __iomem *GPIO_IO_CONF(struct orion_gpio_chip *ochip) in GPIO_IO_CONF()
61 static void __iomem *GPIO_BLINK_EN(struct orion_gpio_chip *ochip) in GPIO_BLINK_EN()
66 static void __iomem *GPIO_IN_POL(struct orion_gpio_chip *ochip) in GPIO_IN_POL()
71 static void __iomem *GPIO_DATA_IN(struct orion_gpio_chip *ochip) in GPIO_DATA_IN()
76 static void __iomem *GPIO_EDGE_CAUSE(struct orion_gpio_chip *ochip) in GPIO_EDGE_CAUSE()
81 static void __iomem *GPIO_EDGE_MASK(struct orion_gpio_chip *ochip) in GPIO_EDGE_MASK()
86 static void __iomem *GPIO_LEVEL_MASK(struct orion_gpio_chip *ochip) in GPIO_LEVEL_MASK()
92 static struct orion_gpio_chip orion_gpio_chips[2];
96 __set_direction(struct orion_gpio_chip *ochip, unsigned pin, int input) in __set_direction()
108 static void __set_level(struct orion_gpio_chip *ochip, unsigned pin, int high) in __set_level()
121 __set_blinking(struct orion_gpio_chip *ochip, unsigned pin, int blink) in __set_blinking()
134 orion_gpio_is_valid(struct orion_gpio_chip *ochip, unsigned pin, int mode) in orion_gpio_is_valid()
157 struct orion_gpio_chip *ochip = gpiochip_get_data(chip); in orion_gpio_request()
168 struct orion_gpio_chip *ochip = gpiochip_get_data(chip); in orion_gpio_direction_input()
183 struct orion_gpio_chip *ochip = gpiochip_get_data(chip); in orion_gpio_get()
198 struct orion_gpio_chip *ochip = gpiochip_get_data(chip); in orion_gpio_direction_output()
215 struct orion_gpio_chip *ochip = gpiochip_get_data(chip); in orion_gpio_set()
225 struct orion_gpio_chip *ochip = gpiochip_get_data(chip); in orion_gpio_to_irq()
234 static struct orion_gpio_chip *orion_gpio_chip_find(int pin) in orion_gpio_chip_find()
239 struct orion_gpio_chip *ochip = orion_gpio_chips + i; in orion_gpio_chip_find()
251 struct orion_gpio_chip *ochip = orion_gpio_chip_find(pin); in orion_gpio_set_unused()
265 struct orion_gpio_chip *ochip = orion_gpio_chip_find(pin); in orion_gpio_set_valid()
288 struct orion_gpio_chip *ochip = orion_gpio_chip_find(pin); in orion_gpio_set_blink()
355 struct orion_gpio_chip *ochip = gc->private; in gpio_irq_set_type()
406 struct orion_gpio_chip *ochip = irq_desc_get_handler_data(desc); in gpio_irq_handler()
443 struct orion_gpio_chip *ochip = gpiochip_get_data(chip); in orion_gpio_dbg_show()
529 struct orion_gpio_chip *ochip; in orion_gpio_init()