Searched refs:SIRFSOC_GPIO_CTRL (Results 1 – 2 of 2) sorted by relevance
/drivers/pinctrl/sirf/ |
D | pinctrl-sirf.c | 346 SIRFSOC_GPIO_CTRL(i, j)); in sirfsoc_pinmux_suspend_noirq() 369 SIRFSOC_GPIO_CTRL(i, j)); in sirfsoc_pinmux_resume_noirq() 429 offset = SIRFSOC_GPIO_CTRL(bank->id, idx); in sirfsoc_gpio_irq_ack() 447 offset = SIRFSOC_GPIO_CTRL(bank->id, idx); in __sirfsoc_gpio_irq_mask() 477 offset = SIRFSOC_GPIO_CTRL(bank->id, idx); in sirfsoc_gpio_irq_unmask() 498 offset = SIRFSOC_GPIO_CTRL(bank->id, idx); in sirfsoc_gpio_irq_type() 580 ctrl = readl(sgpio->chip.regs + SIRFSOC_GPIO_CTRL(bank->id, idx)); in sirfsoc_gpio_handle_irq() 625 sirfsoc_gpio_set_input(sgpio, SIRFSOC_GPIO_CTRL(bank->id, offset)); in sirfsoc_gpio_request() 642 sirfsoc_gpio_set_input(sgpio, SIRFSOC_GPIO_CTRL(bank->id, offset)); in sirfsoc_gpio_free() 657 offset = SIRFSOC_GPIO_CTRL(bank->id, idx); in sirfsoc_gpio_direction_input() [all …]
|
D | pinctrl-sirf.h | 17 #define SIRFSOC_GPIO_CTRL(g, i) ((g)*0x100 + (i)*4) macro
|