Lines Matching refs:pctldev
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()
196 return ops->set_state_simple(pctldev, dev); in pinctrl_select_state_simple()