Lines Matching refs:phy_state
722 switch (pd->phy_state) { in cp_phy_state_update()
728 pd->phy_state = OSDP_CP_PHY_STATE_SEND_CMD; in cp_phy_state_update()
751 pd->phy_state = OSDP_CP_PHY_STATE_ERR; in cp_phy_state_update()
756 pd->phy_state = OSDP_CP_PHY_STATE_REPLY_WAIT; in cp_phy_state_update()
768 pd->phy_state = OSDP_CP_PHY_STATE_IDLE; in cp_phy_state_update()
774 pd->phy_state = OSDP_CP_PHY_STATE_WAIT; in cp_phy_state_update()
788 pd->phy_state = OSDP_CP_PHY_STATE_ERR; in cp_phy_state_update()
827 int phy_state; in state_update() local
833 phy_state = cp_phy_state_update(pd); in state_update()
834 if (phy_state == OSDP_CP_ERR_INPROG || in state_update()
835 phy_state == OSDP_CP_ERR_CAN_YIELD) { in state_update()
836 return phy_state; in state_update()
844 phy_state == OSDP_CP_ERR_GENERIC && !soft_fail) { in state_update()
920 if (phy_state < 0) { in state_update()
930 pd->phy_state = 0; /* soft reset phy state */ in state_update()