Searched refs:orion_gpio_chip (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/arch/arm/plat-orion/
H A Dgpio.c40 struct orion_gpio_chip { struct
51 static void __iomem *GPIO_OUT(struct orion_gpio_chip *ochip) GPIO_OUT()
56 static void __iomem *GPIO_IO_CONF(struct orion_gpio_chip *ochip) GPIO_IO_CONF()
61 static void __iomem *GPIO_BLINK_EN(struct orion_gpio_chip *ochip) GPIO_BLINK_EN()
66 static void __iomem *GPIO_IN_POL(struct orion_gpio_chip *ochip) GPIO_IN_POL()
71 static void __iomem *GPIO_DATA_IN(struct orion_gpio_chip *ochip) GPIO_DATA_IN()
76 static void __iomem *GPIO_EDGE_CAUSE(struct orion_gpio_chip *ochip) GPIO_EDGE_CAUSE()
81 static void __iomem *GPIO_EDGE_MASK(struct orion_gpio_chip *ochip) GPIO_EDGE_MASK()
86 static void __iomem *GPIO_LEVEL_MASK(struct orion_gpio_chip *ochip) 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) __set_direction()
108 static void __set_level(struct orion_gpio_chip *ochip, unsigned pin, int high) __set_level()
121 __set_blinking(struct orion_gpio_chip *ochip, unsigned pin, int blink) __set_blinking()
134 orion_gpio_is_valid(struct orion_gpio_chip *ochip, unsigned pin, int mode) orion_gpio_is_valid()
157 struct orion_gpio_chip *ochip = orion_gpio_request()
158 container_of(chip, struct orion_gpio_chip, chip); orion_gpio_request()
169 struct orion_gpio_chip *ochip = orion_gpio_direction_input()
170 container_of(chip, struct orion_gpio_chip, chip); orion_gpio_direction_input()
185 struct orion_gpio_chip *ochip = orion_gpio_get()
186 container_of(chip, struct orion_gpio_chip, chip); orion_gpio_get()
201 struct orion_gpio_chip *ochip = orion_gpio_direction_output()
202 container_of(chip, struct orion_gpio_chip, chip); orion_gpio_direction_output()
219 struct orion_gpio_chip *ochip = orion_gpio_set()
220 container_of(chip, struct orion_gpio_chip, chip); orion_gpio_set()
230 struct orion_gpio_chip *ochip = orion_gpio_to_irq()
231 container_of(chip, struct orion_gpio_chip, chip); orion_gpio_to_irq()
240 static struct orion_gpio_chip *orion_gpio_chip_find(int pin) orion_gpio_chip_find()
245 struct orion_gpio_chip *ochip = orion_gpio_chips + i; orion_gpio_chip_find()
257 struct orion_gpio_chip *ochip = orion_gpio_chip_find(pin); orion_gpio_set_unused()
271 struct orion_gpio_chip *ochip = orion_gpio_chip_find(pin); orion_gpio_set_valid()
294 struct orion_gpio_chip *ochip = orion_gpio_chip_find(pin); orion_gpio_set_blink()
361 struct orion_gpio_chip *ochip = gc->private; gpio_irq_set_type()
412 struct orion_gpio_chip *ochip = irq_get_handler_data(irq); gpio_irq_handler()
448 struct orion_gpio_chip *ochip = orion_gpio_dbg_show()
449 container_of(chip, struct orion_gpio_chip, chip); orion_gpio_dbg_show()
535 struct orion_gpio_chip *ochip; orion_gpio_init()

Completed in 91 milliseconds