Lines Matching refs:link_gpio
42 int link_gpio; member
57 if (gpio_is_valid(fp->link_gpio)) in fixed_phy_update_regs()
58 fp->status.link = !!gpio_get_value_cansleep(fp->link_gpio); in fixed_phy_update_regs()
247 int link_gpio) in fixed_phy_add() argument
263 fp->link_gpio = link_gpio; in fixed_phy_add()
265 if (gpio_is_valid(fp->link_gpio)) { in fixed_phy_add()
266 ret = gpio_request_one(fp->link_gpio, GPIOF_DIR_IN, in fixed_phy_add()
281 if (gpio_is_valid(fp->link_gpio)) in fixed_phy_add()
282 gpio_free(fp->link_gpio); in fixed_phy_add()
297 if (gpio_is_valid(fp->link_gpio)) in fixed_phy_del()
298 gpio_free(fp->link_gpio); in fixed_phy_del()
311 int link_gpio, in fixed_phy_register() argument
328 ret = fixed_phy_add(irq, phy_addr, status, link_gpio); in fixed_phy_register()