Home
last modified time | relevance | path

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

/linux/drivers/gpio/
H A Dgpio-omap.c47 struct gpio_bank { struct
78 void (*set_dataout)(struct gpio_bank *bank, unsigned gpio, int enable); argument
89 static inline struct gpio_bank *omap_irq_data_get_bank(struct irq_data *d) in omap_irq_data_get_bank() argument
109 static void omap_set_gpio_direction(struct gpio_bank *bank, int gpio, in omap_set_gpio_direction()
118 static void omap_set_gpio_dataout_reg(struct gpio_bank *bank, unsigned offset, in omap_set_gpio_dataout_reg()
136 static void omap_set_gpio_dataout_mask(struct gpio_bank *bank, unsigned offset, in omap_set_gpio_dataout_mask()
143 static inline void omap_gpio_dbck_enable(struct gpio_bank *bank) in omap_gpio_dbck_enable()
154 static inline void omap_gpio_dbck_disable(struct gpio_bank *bank) in omap_gpio_dbck_disable()
181 static int omap2_set_gpio_debounce(struct gpio_bank *bank, unsigned offset, in omap2_set_gpio_debounce()
233 static void omap_clear_gpio_debounce(struct gpio_bank *bank, unsigned offset) in omap_clear_gpio_debounce()
[all …]
/linux/drivers/pinctrl/nuvoton/
H A Dpinctrl-npcm7xx.c94 struct npcm7xx_gpio gpio_bank[NPCM7XX_GPIO_BANK_NUM]; member
1487 &npcm->gpio_bank[pin / NPCM7XX_GPIO_PER_BANK]; in npcm7xx_get_drive_strength()
1513 &npcm->gpio_bank[pin / NPCM7XX_GPIO_PER_BANK]; in npcm7xx_set_drive_strength()
1659 &npcm->gpio_bank[offset / NPCM7XX_GPIO_PER_BANK]; in npcm_gpio_set_direction()
1689 &npcm->gpio_bank[pin / NPCM7XX_GPIO_PER_BANK]; in npcm7xx_config_get()
1752 &npcm->gpio_bank[pin / NPCM7XX_GPIO_PER_BANK]; in npcm7xx_config_set_one()
1839 pctrl->gpio_bank[id].base = fwnode_iomap(child, 0); in npcm7xx_gpio_of()
1840 if (!pctrl->gpio_bank[id].base) in npcm7xx_gpio_of()
1843 ret = bgpio_init(&pctrl->gpio_bank[id].gc, dev, 4, in npcm7xx_gpio_of()
1844 pctrl->gpio_bank[id].base + NPCM7XX_GP_N_DIN, in npcm7xx_gpio_of()
[all …]
H A Dpinctrl-npcm8xx.c110 struct npcm8xx_gpio gpio_bank[NPCM8XX_GPIO_BANK_NUM]; member
1904 &npcm->gpio_bank[pin / NPCM8XX_GPIO_PER_BANK]; in npcm8xx_get_drive_strength()
1925 &npcm->gpio_bank[pin / NPCM8XX_GPIO_PER_BANK]; in npcm8xx_set_drive_strength()
2056 &npcm->gpio_bank[offset / NPCM8XX_GPIO_PER_BANK]; in npcm_gpio_set_direction()
2147 &npcm->gpio_bank[pin / NPCM8XX_GPIO_PER_BANK]; in npcm_set_debounce()
2174 &npcm->gpio_bank[pin / NPCM8XX_GPIO_PER_BANK]; in npcm8xx_config_get()
2236 &npcm->gpio_bank[pin / NPCM8XX_GPIO_PER_BANK]; in npcm8xx_config_set_one()
2330 pctrl->gpio_bank[id].base = fwnode_iomap(child, 0); in npcm8xx_gpio_fw()
2331 if (!pctrl->gpio_bank[id].base) in npcm8xx_gpio_fw()
2334 ret = bgpio_init(&pctrl->gpio_bank[id].gc, dev, 4, in npcm8xx_gpio_fw()
[all …]
H A Dpinctrl-wpcm450.c61 struct wpcm450_gpio gpio_bank[WPCM450_NUM_BANKS]; member
1050 gpio = &pctrl->gpio_bank[reg]; in wpcm450_gpio_register()