Lines Matching full:gpiod
135 struct gpio_desc *gpiod) in fixed_phy_add_gpiod() argument
154 fp->link_gpiod = gpiod; in fixed_phy_add_gpiod()
193 struct gpio_desc *gpiod; in fixed_phy_get_gpiod() local
207 gpiod = fwnode_gpiod_get_index(of_fwnode_handle(fixed_link_node), in fixed_phy_get_gpiod()
209 if (IS_ERR(gpiod) && PTR_ERR(gpiod) != -EPROBE_DEFER) { in fixed_phy_get_gpiod()
210 if (PTR_ERR(gpiod) != -ENOENT) in fixed_phy_get_gpiod()
213 gpiod = NULL; in fixed_phy_get_gpiod()
217 return gpiod; in fixed_phy_get_gpiod()
229 struct gpio_desc *gpiod) in __fixed_phy_register() argument
240 if (!gpiod) { in __fixed_phy_register()
241 gpiod = fixed_phy_get_gpiod(np); in __fixed_phy_register()
242 if (IS_ERR(gpiod)) in __fixed_phy_register()
243 return ERR_CAST(gpiod); in __fixed_phy_register()
251 ret = fixed_phy_add_gpiod(irq, phy_addr, status, gpiod); in __fixed_phy_register()
321 struct gpio_desc *gpiod) in fixed_phy_register_with_gpiod() argument
323 return __fixed_phy_register(irq, status, NULL, gpiod); in fixed_phy_register_with_gpiod()