Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pinctrl/samsung/
H A Dpinctrl-samsung.c859 struct samsung_pin_bank *pin_bank; in samsung_pinctrl_register() local
894 pin_bank = &drvdata->pin_banks[bank]; in samsung_pinctrl_register()
897 pdesc = pindesc + pin_bank->pin_base + pin; in samsung_pinctrl_register()
915 pin_bank = &drvdata->pin_banks[bank]; in samsung_pinctrl_register()
916 pin_bank->grange.name = pin_bank->name; in samsung_pinctrl_register()
917 pin_bank->grange.id = bank; in samsung_pinctrl_register()
918 pin_bank->grange.pin_base = drvdata->pin_base in samsung_pinctrl_register()
919 + pin_bank->pin_base; in samsung_pinctrl_register()
920 pin_bank->grange.base = pin_bank->grange.pin_base; in samsung_pinctrl_register()
921 pin_bank->grange.npins = pin_bank->nr_pins; in samsung_pinctrl_register()
[all …]
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-rockchip.c3175 struct rockchip_pin_bank *pin_bank; in rockchip_pinctrl_register() local
3196 pin_bank = &info->ctrl->pin_banks[bank]; in rockchip_pinctrl_register()
3198 pin_names = devm_kasprintf_strarray(dev, pin_bank->name, pin_bank->nr_pins); in rockchip_pinctrl_register()
3202 for (pin = 0; pin < pin_bank->nr_pins; pin++, k++) { in rockchip_pinctrl_register()
3208 INIT_LIST_HEAD(&pin_bank->deferred_pins); in rockchip_pinctrl_register()
3209 mutex_init(&pin_bank->deferred_lock); in rockchip_pinctrl_register()