Searched refs:SIRFSOC_GPIO_CTRL (Results 1 – 2 of 2) sorted by relevance
/drivers/pinctrl/sirf/ |
D | pinctrl-sirf.c | 347 SIRFSOC_GPIO_CTRL(i, j)); in sirfsoc_pinmux_suspend_noirq() 370 SIRFSOC_GPIO_CTRL(i, j)); in sirfsoc_pinmux_resume_noirq() 430 offset = SIRFSOC_GPIO_CTRL(bank->id, idx); in sirfsoc_gpio_irq_ack() 448 offset = SIRFSOC_GPIO_CTRL(bank->id, idx); in __sirfsoc_gpio_irq_mask() 478 offset = SIRFSOC_GPIO_CTRL(bank->id, idx); in sirfsoc_gpio_irq_unmask() 499 offset = SIRFSOC_GPIO_CTRL(bank->id, idx); in sirfsoc_gpio_irq_type() 581 ctrl = readl(sgpio->chip.regs + SIRFSOC_GPIO_CTRL(bank->id, idx)); in sirfsoc_gpio_handle_irq() 626 sirfsoc_gpio_set_input(sgpio, SIRFSOC_GPIO_CTRL(bank->id, offset)); in sirfsoc_gpio_request() 643 sirfsoc_gpio_set_input(sgpio, SIRFSOC_GPIO_CTRL(bank->id, offset)); in sirfsoc_gpio_free() 658 offset = SIRFSOC_GPIO_CTRL(bank->id, idx); in sirfsoc_gpio_direction_input() [all …]
|
D | pinctrl-sirf.h | 18 #define SIRFSOC_GPIO_CTRL(g, i) ((g)*0x100 + (i)*4) macro
|