Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/pinctrl/stm32/
Dpinctrl-stm32.c61 #define STM32_GPIO_PINS_PER_BANK 16 macro
97 u32 pin_backup[STM32_GPIO_PINS_PER_BANK];
98 u8 irq_type[STM32_GPIO_PINS_PER_BANK];
114 struct regmap_field *irqmux[STM32_GPIO_PINS_PER_BANK];
125 return gpio % STM32_GPIO_PINS_PER_BANK; in stm32_gpio_pin()
201 offset += STM32_GPIO_PINS_PER_BANK; in __stm32_gpio_set()
211 int pin = offset + (bank->bank_nr * STM32_GPIO_PINS_PER_BANK); in stm32_gpio_request()
1284 int npins = STM32_GPIO_PINS_PER_BANK; in stm32_gpiolib_register_bank()
1308 bank_nr = args.args[1] / STM32_GPIO_PINS_PER_BANK; in stm32_gpiolib_register_bank()
1317 bank->gpio_chip.base = bank_nr * STM32_GPIO_PINS_PER_BANK; in stm32_gpiolib_register_bank()
[all …]