Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpio/
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-6.12.1/drivers/pinctrl/nuvoton/
Dpinctrl-npcm7xx.c96 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()
1678 &npcm->gpio_bank[offset / NPCM7XX_GPIO_PER_BANK]; in npcm_gpio_set_direction()
1708 &npcm->gpio_bank[pin / NPCM7XX_GPIO_PER_BANK]; in npcm7xx_config_get()
1771 &npcm->gpio_bank[pin / NPCM7XX_GPIO_PER_BANK]; in npcm7xx_config_set_one()
1867 pctrl->gpio_bank[id].base = ioremap(res.start, resource_size(&res)); in npcm7xx_gpio_of()
1868 if (!pctrl->gpio_bank[id].base) in npcm7xx_gpio_of()
1871 ret = bgpio_init(&pctrl->gpio_bank[id].gc, dev, 4, in npcm7xx_gpio_of()
1872 pctrl->gpio_bank[id].base + NPCM7XX_GP_N_DIN, in npcm7xx_gpio_of()
[all …]
Dpinctrl-npcm8xx.c110 struct npcm8xx_gpio gpio_bank[NPCM8XX_GPIO_BANK_NUM]; member
1919 &npcm->gpio_bank[pin / NPCM8XX_GPIO_PER_BANK]; in npcm8xx_get_drive_strength()
1940 &npcm->gpio_bank[pin / NPCM8XX_GPIO_PER_BANK]; in npcm8xx_set_drive_strength()
2071 &npcm->gpio_bank[offset / NPCM8XX_GPIO_PER_BANK]; in npcm_gpio_set_direction()
2162 &npcm->gpio_bank[pin / NPCM8XX_GPIO_PER_BANK]; in npcm_set_debounce()
2189 &npcm->gpio_bank[pin / NPCM8XX_GPIO_PER_BANK]; in npcm8xx_config_get()
2251 &npcm->gpio_bank[pin / NPCM8XX_GPIO_PER_BANK]; in npcm8xx_config_set_one()
2345 pctrl->gpio_bank[id].base = fwnode_iomap(child, 0); in npcm8xx_gpio_fw()
2346 if (!pctrl->gpio_bank[id].base) in npcm8xx_gpio_fw()
2349 ret = bgpio_init(&pctrl->gpio_bank[id].gc, dev, 4, in npcm8xx_gpio_fw()
[all …]
Dpinctrl-wpcm450.c61 struct wpcm450_gpio gpio_bank[WPCM450_NUM_BANKS]; member
1058 gpio = &pctrl->gpio_bank[reg]; in wpcm450_gpio_register()