Lines Matching refs:pdev
241 struct udevice *pdev = dev->parent; in starfive_gpio_get_direction() local
242 struct starfive_pinctrl_priv *priv = dev_get_priv(pdev); in starfive_gpio_get_direction()
256 struct udevice *pdev = dev->parent; in starfive_gpio_direction_input() local
257 struct starfive_pinctrl_priv *priv = dev_get_priv(pdev); in starfive_gpio_direction_input()
261 starfive_padcfg_rmw(pdev, off, in starfive_gpio_direction_input()
266 info->set_one_pinmux(pdev, off, in starfive_gpio_direction_input()
275 struct udevice *pdev = dev->parent; in starfive_gpio_direction_output() local
276 struct starfive_pinctrl_priv *priv = dev_get_priv(pdev); in starfive_gpio_direction_output()
280 info->set_one_pinmux(pdev, off, in starfive_gpio_direction_output()
285 starfive_padcfg_rmw(pdev, off, in starfive_gpio_direction_output()
295 struct udevice *pdev = dev->parent; in starfive_gpio_get_value() local
296 struct starfive_pinctrl_priv *priv = dev_get_priv(pdev); in starfive_gpio_get_value()
308 struct udevice *pdev = dev->parent; in starfive_gpio_set_value() local
309 struct starfive_pinctrl_priv *priv = dev_get_priv(pdev); in starfive_gpio_set_value()
327 struct udevice *pdev = dev->parent; in starfive_gpio_probe() local
328 struct starfive_pinctrl_priv *priv = dev_get_priv(pdev); in starfive_gpio_probe()
338 info->gpio_init_hw(pdev); in starfive_gpio_probe()