phy_state 673 drivers/net/ethernet/emulex/benet/be.h u8 phy_state; /* state of sfp optics (functional, faulted, etc.,) */ phy_state 324 drivers/net/ethernet/emulex/benet/be_cmds.c if (new_phy_state == adapter->phy_state) phy_state 327 drivers/net/ethernet/emulex/benet/be_cmds.c adapter->phy_state = new_phy_state; phy_state 191 drivers/net/ethernet/emulex/benet/be_cmds.h #define be_phy_state_unknown(phy_state) (phy_state > BE_PHY_UNCERTIFIED) phy_state 192 drivers/net/ethernet/emulex/benet/be_cmds.h #define be_phy_unqualified(phy_state) \ phy_state 193 drivers/net/ethernet/emulex/benet/be_cmds.h (phy_state == BE_PHY_UNQUALIFIED || \ phy_state 194 drivers/net/ethernet/emulex/benet/be_cmds.h phy_state == BE_PHY_UNCERTIFIED) phy_state 195 drivers/net/ethernet/emulex/benet/be_cmds.h #define be_phy_misconfigured(phy_state) \ phy_state 196 drivers/net/ethernet/emulex/benet/be_cmds.h (phy_state == BE_PHY_INCOMPATIBLE || \ phy_state 197 drivers/net/ethernet/emulex/benet/be_cmds.h phy_state == BE_PHY_UNQUALIFIED || \ phy_state 198 drivers/net/ethernet/emulex/benet/be_cmds.h phy_state == BE_PHY_UNCERTIFIED) phy_state 4391 drivers/net/ethernet/emulex/benet/be_main.c adapter->phy_state = BE_UNKNOWN_PHY_STATE; phy_state 5612 drivers/net/ethernet/emulex/benet/be_main.c be_misconfig_evt_port_state[adapter->phy_state], phy_state 69 drivers/net/ethernet/freescale/fec_mpc52xx.c enum phy_state link; phy_state 709 drivers/net/fddi/defxx.h PI_UINT32 phy_state[PI_PHY_K_MAX]; phy_state 553 drivers/net/fddi/defza.h u32 phy_state; /* PHY state */ phy_state 38 drivers/net/phy/phy.c static const char *phy_state_to_str(enum phy_state st) phy_state 900 drivers/net/phy/phy.c enum phy_state old_state; phy_state 68 drivers/net/phy/phylink.c struct phylink_link_state phy_state; phy_state 486 drivers/net/phy/phylink.c link_state = pl->phy_state; phy_state 502 drivers/net/phy/phylink.c link_state.link &= pl->phy_state.link; phy_state 505 drivers/net/phy/phylink.c if (pl->phydev && pl->phy_state.link) { phy_state 506 drivers/net/phy/phylink.c link_state.interface = pl->phy_state.interface; phy_state 510 drivers/net/phy/phylink.c link_state.pause |= pl->phy_state.pause; phy_state 633 drivers/net/phy/phylink.c pl->phy_state.interface = iface; phy_state 703 drivers/net/phy/phylink.c pl->phy_state.speed = phydev->speed; phy_state 704 drivers/net/phy/phylink.c pl->phy_state.duplex = phydev->duplex; phy_state 705 drivers/net/phy/phylink.c pl->phy_state.pause = MLO_PAUSE_NONE; phy_state 707 drivers/net/phy/phylink.c pl->phy_state.pause |= MLO_PAUSE_SYM; phy_state 709 drivers/net/phy/phylink.c pl->phy_state.pause |= MLO_PAUSE_ASYM; phy_state 710 drivers/net/phy/phylink.c pl->phy_state.interface = phydev->interface; phy_state 711 drivers/net/phy/phylink.c pl->phy_state.link = up; phy_state 37 drivers/net/phy/uPD60620.c int phy_state; phy_state 40 drivers/net/phy/uPD60620.c phy_state = phy_read(phydev, MII_BMSR); phy_state 41 drivers/net/phy/uPD60620.c if (phy_state < 0) phy_state 42 drivers/net/phy/uPD60620.c return phy_state; phy_state 49 drivers/net/phy/uPD60620.c if (phy_state & (BMSR_ANEGCOMPLETE | BMSR_LSTATUS)) { phy_state 50 drivers/net/phy/uPD60620.c phy_state = phy_read(phydev, PHY_PHYSCR); phy_state 51 drivers/net/phy/uPD60620.c if (phy_state < 0) phy_state 52 drivers/net/phy/uPD60620.c return phy_state; phy_state 54 drivers/net/phy/uPD60620.c if (phy_state & (PHY_PHYSCR_10MB | PHY_PHYSCR_100MB)) { phy_state 59 drivers/net/phy/uPD60620.c if (phy_state & PHY_PHYSCR_100MB) phy_state 61 drivers/net/phy/uPD60620.c if (phy_state & PHY_PHYSCR_DUPLEX) phy_state 64 drivers/net/phy/uPD60620.c phy_state = phy_read(phydev, MII_LPA); phy_state 65 drivers/net/phy/uPD60620.c if (phy_state < 0) phy_state 66 drivers/net/phy/uPD60620.c return phy_state; phy_state 69 drivers/net/phy/uPD60620.c phy_state); phy_state 72 drivers/net/phy/uPD60620.c if (phy_state & LPA_PAUSE_CAP) phy_state 74 drivers/net/phy/uPD60620.c if (phy_state & LPA_PAUSE_ASYM) phy_state 4141 drivers/net/usb/r8152.c u16 phy_state = ocp_reg_read(tp, OCP_PHY_STATE) & 0xff; phy_state 4143 drivers/net/usb/r8152.c if (phy_state == TXDIS_STATE || phy_state == ABD_STATE) phy_state 388 drivers/scsi/hisi_sas/hisi_sas.h u32 phy_state; phy_state 1532 drivers/scsi/hisi_sas/hisi_sas_main.c hisi_hba->phy_state = hisi_hba->hw->get_phys_state(hisi_hba); phy_state 1453 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c u32 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); phy_state 1456 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c (phy_state & 1 << phy_no) ? 1 : 0); phy_state 1621 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c u32 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); phy_state 1624 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c if (phy_state & 1 << i) phy_state 1631 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c if (phy_state & 1 << 8) phy_state 2724 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c u32 phy_state, sl_ctrl, txid_auto; phy_state 2732 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); phy_state 2733 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c dev_info(dev, "phydown: phy%d phy_state=0x%x\n", phy_no, phy_state); phy_state 2734 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c hisi_sas_phy_down(hisi_hba, phy_no, (phy_state & 1 << phy_no) ? 1 : 0); phy_state 1012 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c u32 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); phy_state 1015 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c if (phy_state & BIT(i)) phy_state 1542 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c u32 phy_state, sl_ctrl, txid_auto; phy_state 1548 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); phy_state 1549 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c dev_info(dev, "phydown: phy%d phy_state=0x%x\n", phy_no, phy_state); phy_state 1550 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c hisi_sas_phy_down(hisi_hba, phy_no, (phy_state & 1 << phy_no) ? 1 : 0); phy_state 1598 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c u32 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); phy_state 1599 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c int rdy = phy_state & (1 << phy_no); phy_state 220 drivers/scsi/libsas/sas_expander.c phy->phy_state = PHY_VACANT; phy_state 223 drivers/scsi/libsas/sas_expander.c phy->phy_state = PHY_NOT_PRESENT; phy_state 226 drivers/scsi/libsas/sas_expander.c phy->phy_state = PHY_EMPTY; /* do not know yet */ phy_state 236 drivers/scsi/libsas/sas_expander.c if (phy->phy_state == PHY_VACANT) { phy_state 634 drivers/scsi/libsas/sas_expander.c if (phy->phy_state == PHY_VACANT || phy_state 635 drivers/scsi/libsas/sas_expander.c phy->phy_state == PHY_NOT_PRESENT) phy_state 759 drivers/scsi/libsas/sas_expander.c if (phy->phy_state == PHY_VACANT || phy_state 760 drivers/scsi/libsas/sas_expander.c phy->phy_state == PHY_NOT_PRESENT) phy_state 929 drivers/scsi/libsas/sas_expander.c phy->phy_state = PHY_DEVICE_DISCOVERED; phy_state 1121 drivers/scsi/libsas/sas_expander.c if (phy->phy_state == PHY_VACANT || phy_state 1122 drivers/scsi/libsas/sas_expander.c phy->phy_state == PHY_NOT_PRESENT) phy_state 1188 drivers/scsi/libsas/sas_expander.c if (ex_phy->phy_state == PHY_VACANT || phy_state 1189 drivers/scsi/libsas/sas_expander.c ex_phy->phy_state == PHY_NOT_PRESENT || phy_state 1190 drivers/scsi/libsas/sas_expander.c ex_phy->phy_state == PHY_DEVICE_DISCOVERED) phy_state 1224 drivers/scsi/libsas/sas_expander.c if (phy->phy_state == PHY_VACANT || phy_state 1225 drivers/scsi/libsas/sas_expander.c phy->phy_state == PHY_NOT_PRESENT) phy_state 1333 drivers/scsi/libsas/sas_expander.c if (parent_phy->phy_state == PHY_VACANT || phy_state 1334 drivers/scsi/libsas/sas_expander.c parent_phy->phy_state == PHY_NOT_PRESENT) phy_state 2014 drivers/scsi/libsas/sas_expander.c phy->phy_state = PHY_NOT_PRESENT; phy_state 2018 drivers/scsi/libsas/sas_expander.c phy->phy_state = PHY_VACANT; phy_state 2030 drivers/scsi/libsas/sas_expander.c phy->phy_state = PHY_EMPTY; phy_state 108 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->gs_tbl.pm8001_tbl.phy_state[0] = phy_state 110 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->gs_tbl.pm8001_tbl.phy_state[1] = phy_state 112 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->gs_tbl.pm8001_tbl.phy_state[2] = phy_state 114 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->gs_tbl.pm8001_tbl.phy_state[3] = phy_state 116 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->gs_tbl.pm8001_tbl.phy_state[4] = phy_state 118 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->gs_tbl.pm8001_tbl.phy_state[5] = phy_state 120 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->gs_tbl.pm8001_tbl.phy_state[6] = phy_state 122 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->gs_tbl.pm8001_tbl.phy_state[7] = phy_state 3389 drivers/scsi/pm8001/pm8001_hwi.c phy->phy_state = PHY_STATE_LINK_UP_SPC; phy_state 3470 drivers/scsi/pm8001/pm8001_hwi.c phy->phy_state = PHY_STATE_LINK_UP_SPC; phy_state 3816 drivers/scsi/pm8001/pm8001_hwi.c phy->phy_state = 1; phy_state 3837 drivers/scsi/pm8001/pm8001_hwi.c phy->phy_state = 0; phy_state 3849 drivers/scsi/pm8001/pm8001_hwi.c phy->phy_state = 0; phy_state 123 drivers/scsi/pm8001/pm8001_init.c phy->phy_state = PHY_LINK_DISABLE; phy_state 178 drivers/scsi/pm8001/pm8001_sas.c if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { phy_state 186 drivers/scsi/pm8001/pm8001_sas.c if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { phy_state 194 drivers/scsi/pm8001/pm8001_sas.c if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { phy_state 207 drivers/scsi/pm8001/pm8001_sas.c if (pm8001_ha->phy[phy_id].phy_state == phy_state 216 drivers/scsi/pm8001/pm8001_sas.c if (pm8001_ha->phy[phy_id].phy_state == phy_state 262 drivers/scsi/pm8001/pm8001_sas.h u8 phy_state; phy_state 426 drivers/scsi/pm8001/pm8001_sas.h u32 phy_state[8]; phy_state 2906 drivers/scsi/pm8001/pm80xx_hwi.c phy->phy_state = PHY_STATE_LINK_UP_SPCV; phy_state 2938 drivers/scsi/pm8001/pm80xx_hwi.c phy->phy_state = PHY_STATE_LINK_UP_SPCV; phy_state 3023 drivers/scsi/pm8001/pm80xx_hwi.c phy->phy_state = PHY_STATE_LINK_UP_SPCV; phy_state 3133 drivers/scsi/pm8001/pm80xx_hwi.c phy->phy_state = PHY_LINK_DOWN; phy_state 3227 drivers/scsi/pm8001/pm80xx_hwi.c phy->phy_state = PHY_LINK_DISABLE; phy_state 3407 drivers/scsi/pm8001/pm80xx_hwi.c phy->phy_state = PHY_LINK_DISABLE; phy_state 388 include/linux/phy.h enum phy_state state; phy_state 95 include/scsi/libsas.h enum ex_phy_state phy_state;