Lines Matching refs:state
326 /* We must stop the state machine manually, otherwise it stops out of
355 /* If we managed to get here with the PHY state machine in a state
360 WARN_ON(phydev->state != PHY_HALTED && phydev->state != PHY_READY &&
361 phydev->state != PHY_UP);
678 dev->state = PHY_DOWN;
1094 * If you want to monitor your own link state, don't call
1107 * @handler: callback function for state change notifications
1135 * @handler: callback function for state change notifications
1174 * phy_disconnect - disable interrupts, stop state machine, and detach a PHY
1517 phydev->state = PHY_READY;
1536 /* Initial carrier state is off as the phy is about to be
2138 int cfg, state;
2165 state = MASTER_SLAVE_STATE_ERR;
2169 state = MASTER_SLAVE_STATE_MASTER;
2171 state = MASTER_SLAVE_STATE_SLAVE;
2173 state = MASTER_SLAVE_STATE_UNKNOWN;
2177 phydev->master_slave_state = state;
2349 /* The link state is latched low so that momentary link
2431 * Read the current duplex and speed state for a PHY operating with
2458 * genphy_read_status - check the link status and update current link state
2461 * Description: Check the link, then figure out the current state
2509 * genphy_c37_read_status - check the link status and update current link state
2512 * Description: Check the link, then figure out the current state
2609 * the state machine directly.
3260 * Take care of setting up the phy_device structure, set the state to READY.
3366 /* Set the state to READY by default */
3367 phydev->state = PHY_READY;
3392 phydev->state = PHY_DOWN;