Lines Matching refs:gpiod
135 struct gpio_desc *gpiod) in fixed_phy_add_gpiod() argument
154 fp->link_gpiod = gpiod; in fixed_phy_add_gpiod()
192 struct gpio_desc *gpiod; in fixed_phy_get_gpiod() local
206 gpiod = fwnode_gpiod_get_index(of_fwnode_handle(fixed_link_node), in fixed_phy_get_gpiod()
208 if (IS_ERR(gpiod) && PTR_ERR(gpiod) != -EPROBE_DEFER) { in fixed_phy_get_gpiod()
209 if (PTR_ERR(gpiod) != -ENOENT) in fixed_phy_get_gpiod()
212 gpiod = NULL; in fixed_phy_get_gpiod()
216 return gpiod; in fixed_phy_get_gpiod()
229 struct gpio_desc *gpiod; in fixed_phy_register() local
238 gpiod = fixed_phy_get_gpiod(np); in fixed_phy_register()
239 if (IS_ERR(gpiod)) in fixed_phy_register()
240 return ERR_CAST(gpiod); in fixed_phy_register()
247 ret = fixed_phy_add_gpiod(PHY_POLL, phy_addr, status, gpiod); in fixed_phy_register()