Home
last modified time | relevance | path

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

/drivers/irqchip/
Dirq-stm32-exti.c50 u32 bank_nr; member
89 .bank_nr = ARRAY_SIZE(stm32f4xx_exti_banks),
130 .bank_nr = ARRAY_SIZE(stm32h7xx_exti_banks),
194 .bank_nr = ARRAY_SIZE(stm32mp1_exti_banks),
566 for (i = 0; i < stm32_host_data->drv_data->bank_nr; i++) { in stm32_exti_h_suspend()
581 for (i = 0; i < stm32_host_data->drv_data->bank_nr; i++) { in stm32_exti_h_resume()
662 host_data->chips_data = kcalloc(dd->bank_nr, in stm32_exti_host_init()
727 domain = irq_domain_add_linear(node, drv_data->bank_nr * IRQS_PER_BANK, in stm32_exti_init()
744 for (i = 0; i < drv_data->bank_nr; i++) { in stm32_exti_init()
846 host_data->chips_data = devm_kcalloc(dev, drv_data->bank_nr, in stm32_exti_probe()
[all …]
/drivers/pinctrl/stm32/
Dpinctrl-stm32.c92 u32 bank_nr; member
210 int pin = offset + (bank->bank_nr * STM32_GPIO_PINS_PER_BANK); in stm32_gpio_request()
1156 int bank_nr, err; in stm32_gpiolib_register_bank() local
1186 bank_nr = args.args[1] / STM32_GPIO_PINS_PER_BANK; in stm32_gpiolib_register_bank()
1189 bank_nr = pctl->nbanks; in stm32_gpiolib_register_bank()
1190 bank->gpio_chip.base = bank_nr * STM32_GPIO_PINS_PER_BANK; in stm32_gpiolib_register_bank()
1192 range->id = bank_nr; in stm32_gpiolib_register_bank()
1198 &pctl->banks[bank_nr].range); in stm32_gpiolib_register_bank()
1202 bank_ioport_nr = bank_nr; in stm32_gpiolib_register_bank()
1204 bank->gpio_chip.base = bank_nr * STM32_GPIO_PINS_PER_BANK; in stm32_gpiolib_register_bank()
[all …]
/drivers/pinctrl/
Dpinctrl-st.c1473 int bank_nr, struct device_node *np) in st_gpiolib_register_bank() argument
1475 struct st_gpio_bank *bank = &info->banks[bank_nr]; in st_gpiolib_register_bank()