Home
last modified time | relevance | path

Searched refs:gpio_bank (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/gpio/
Dgpio-omap.c46 struct gpio_bank { struct
76 void (*set_dataout)(struct gpio_bank *bank, unsigned gpio, int enable); argument
87 static inline struct gpio_bank *omap_irq_data_get_bank(struct irq_data *d) in omap_irq_data_get_bank() argument
107 static void omap_set_gpio_direction(struct gpio_bank *bank, int gpio, in omap_set_gpio_direction()
116 static void omap_set_gpio_dataout_reg(struct gpio_bank *bank, unsigned offset, in omap_set_gpio_dataout_reg()
134 static void omap_set_gpio_dataout_mask(struct gpio_bank *bank, unsigned offset, in omap_set_gpio_dataout_mask()
141 static inline void omap_gpio_dbck_enable(struct gpio_bank *bank) in omap_gpio_dbck_enable()
152 static inline void omap_gpio_dbck_disable(struct gpio_bank *bank) in omap_gpio_dbck_disable()
179 static int omap2_set_gpio_debounce(struct gpio_bank *bank, unsigned offset, in omap2_set_gpio_debounce()
231 static void omap_clear_gpio_debounce(struct gpio_bank *bank, unsigned offset) in omap_clear_gpio_debounce()
[all …]
/Linux-v5.10/drivers/pinctrl/nuvoton/
Dpinctrl-npcm7xx.c94 struct npcm7xx_gpio gpio_bank[NPCM7XX_GPIO_BANK_NUM]; member
1506 &npcm->gpio_bank[pin / NPCM7XX_GPIO_PER_BANK]; in npcm7xx_get_drive_strength()
1532 &npcm->gpio_bank[pin / NPCM7XX_GPIO_PER_BANK]; in npcm7xx_set_drive_strength()
1691 &npcm->gpio_bank[offset / NPCM7XX_GPIO_PER_BANK]; in npcm_gpio_set_direction()
1721 &npcm->gpio_bank[pin / NPCM7XX_GPIO_PER_BANK]; in npcm7xx_config_get()
1784 &npcm->gpio_bank[pin / NPCM7XX_GPIO_PER_BANK]; in npcm7xx_config_set_one()
1879 pctrl->gpio_bank[id].base = in npcm7xx_gpio_of()
1890 ret = bgpio_init(&pctrl->gpio_bank[id].gc, in npcm7xx_gpio_of()
1892 pctrl->gpio_bank[id].base + in npcm7xx_gpio_of()
1894 pctrl->gpio_bank[id].base + in npcm7xx_gpio_of()
[all …]