Home
last modified time | relevance | path

Searched full:pin_bank (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/pinctrl/
H A Dpinctrl-rockchip.c61 #define PIN_BANK(id, pins, label) \ macro
3346 struct rockchip_pin_bank *pin_bank; in rockchip_pinctrl_register() local
3367 pin_bank = &info->ctrl->pin_banks[bank]; in rockchip_pinctrl_register()
3369 pin_names = devm_kasprintf_strarray(dev, pin_bank->name, pin_bank->nr_pins); in rockchip_pinctrl_register()
3373 for (pin = 0; pin < pin_bank->nr_pins; pin++, k++) { in rockchip_pinctrl_register()
3379 INIT_LIST_HEAD(&pin_bank->deferred_pins); in rockchip_pinctrl_register()
3380 mutex_init(&pin_bank->deferred_lock); in rockchip_pinctrl_register()
3767 PIN_BANK(0, 32, "gpio0"),
3768 PIN_BANK(1, 32, "gpio1"),
3769 PIN_BANK(2, 32, "gpio2"),
[all …]
/linux/drivers/pinctrl/samsung/
H A Dpinctrl-samsung.c919 struct samsung_pin_bank *pin_bank; in samsung_pinctrl_register() local
954 pin_bank = &drvdata->pin_banks[bank]; in samsung_pinctrl_register()
955 pin_bank->id = bank; in samsung_pinctrl_register()
956 for (pin = 0; pin < pin_bank->nr_pins; pin++) { in samsung_pinctrl_register()
957 sprintf(pin_names, "%s-%d", pin_bank->name, pin); in samsung_pinctrl_register()
958 pdesc = pindesc + pin_bank->pin_base + pin; in samsung_pinctrl_register()
/linux/Documentation/devicetree/bindings/pinctrl/
H A Datmel,at91rm9200-pinctrl.yaml132 atmel,pins = <PIN_BANK PIN_BANK_NUM PERIPH CONFIG>.