Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/pinctrl/
Dpinctrl-st.c201 #define ST_GPIO_PINS_PER_BANK (8) macro
218 struct regmap_field *rt[ST_GPIO_PINS_PER_BANK];
379 return gpio/ST_GPIO_PINS_PER_BANK; in st_gpio_bank()
384 return gpio%ST_GPIO_PINS_PER_BANK; in st_gpio_pin()
1150 int lsb = (bank%4) * ST_GPIO_PINS_PER_BANK; in st_parse_syscfgs()
1151 int msb = lsb + ST_GPIO_PINS_PER_BANK - 1; in st_parse_syscfgs()
1494 .ngpio = ST_GPIO_PINS_PER_BANK,
1526 bank->gpio_chip.base = bank_num * ST_GPIO_PINS_PER_BANK; in st_gpiolib_register_bank()
1527 bank->gpio_chip.ngpio = ST_GPIO_PINS_PER_BANK; in st_gpiolib_register_bank()
1536 range->pin_base = range->base = range->id * ST_GPIO_PINS_PER_BANK; in st_gpiolib_register_bank()
[all …]