Searched refs:pctldev (Results 1 – 4 of 4) sorted by relevance
/external/u-boot/drivers/pinctrl/ |
D | pinctrl-uclass.c | 39 struct udevice *pctldev; in pinctrl_config_one() local 42 pctldev = config; in pinctrl_config_one() 44 pctldev = dev_get_parent(pctldev); in pinctrl_config_one() 45 if (!pctldev) { in pinctrl_config_one() 49 if (pctldev->uclass->uc_drv->id == UCLASS_PINCTRL) in pinctrl_config_one() 53 ops = pinctrl_get_ops(pctldev); in pinctrl_config_one() 54 return ops->set_state(pctldev, config); in pinctrl_config_one() 177 struct udevice *pctldev; in pinctrl_select_state_simple() local 186 ret = uclass_get_device(UCLASS_PINCTRL, 0, &pctldev); in pinctrl_select_state_simple() 190 ops = pinctrl_get_ops(pctldev); in pinctrl_select_state_simple() [all …]
|
/external/u-boot/arch/arm/mach-uniphier/ |
D | pinctrl-glue.c | 16 struct udevice *pctldev, *config, *next; in uniphier_pin_init() local 19 ret = uclass_first_device(UCLASS_PINCTRL, &pctldev); in uniphier_pin_init() 23 device_foreach_child_safe(config, next, pctldev) { in uniphier_pin_init() 27 return pinctrl_generic_set_state(pctldev, config); in uniphier_pin_init()
|
/external/u-boot/drivers/gpio/ |
D | gpio-rcar.c | 121 struct udevice *pctldev; in rcar_gpio_request() local 124 ret = uclass_get_device(UCLASS_PINCTRL, 0, &pctldev); in rcar_gpio_request() 128 return sh_pfc_config_mux_for_gpio(pctldev, priv->pfc_offset + offset); in rcar_gpio_request()
|
/external/u-boot/include/dm/ |
D | pinctrl.h | 262 int pinctrl_generic_set_state(struct udevice *pctldev, struct udevice *config); 264 static inline int pinctrl_generic_set_state(struct udevice *pctldev, in pinctrl_generic_set_state() argument
|