Lines Matching refs:status
36 struct fixed_phy_status status; member
70 fp->status.link = !!gpiod_get_value_cansleep(fp->link_gpiod); in fixed_phy_update()
82 fp->status.link = !fp->no_carrier; in fixed_mdio_read()
87 &fp->status); in fixed_mdio_read()
91 state = fp->status; in fixed_mdio_read()
134 struct fixed_phy_status *status, in fixed_phy_add_gpiod() argument
141 ret = swphy_validate_state(status); in fixed_phy_add_gpiod()
153 fp->status = *status; in fixed_phy_add_gpiod()
164 struct fixed_phy_status *status) { in fixed_phy_add() argument
166 return fixed_phy_add_gpiod(irq, phy_addr, status, NULL); in fixed_phy_add()
227 struct fixed_phy_status *status, in __fixed_phy_register() argument
251 ret = fixed_phy_add_gpiod(irq, phy_addr, status, gpiod); in __fixed_phy_register()
264 phy->link = status->link; in __fixed_phy_register()
265 if (status->link) { in __fixed_phy_register()
266 phy->speed = status->speed; in __fixed_phy_register()
267 phy->duplex = status->duplex; in __fixed_phy_register()
268 phy->pause = status->pause; in __fixed_phy_register()
269 phy->asym_pause = status->asym_pause; in __fixed_phy_register()
276 switch (status->speed) { in __fixed_phy_register()
311 struct fixed_phy_status *status, in fixed_phy_register() argument
314 return __fixed_phy_register(irq, status, np, NULL); in fixed_phy_register()
320 struct fixed_phy_status *status, in fixed_phy_register_with_gpiod() argument
323 return __fixed_phy_register(irq, status, NULL, gpiod); in fixed_phy_register_with_gpiod()