/kernel/linux/linux-5.10/drivers/net/phy/ |
D | uPD60620.c | 37 int phy_state; in upd60620_read_status() local 40 phy_state = phy_read(phydev, MII_BMSR); in upd60620_read_status() 41 if (phy_state < 0) in upd60620_read_status() 42 return phy_state; in upd60620_read_status() 49 if (phy_state & (BMSR_ANEGCOMPLETE | BMSR_LSTATUS)) { in upd60620_read_status() 50 phy_state = phy_read(phydev, PHY_PHYSCR); in upd60620_read_status() 51 if (phy_state < 0) in upd60620_read_status() 52 return phy_state; in upd60620_read_status() 54 if (phy_state & (PHY_PHYSCR_10MB | PHY_PHYSCR_100MB)) { in upd60620_read_status() 59 if (phy_state & PHY_PHYSCR_100MB) in upd60620_read_status() [all …]
|
D | phylink.c | 71 struct phylink_link_state phy_state; member 565 link_state = pl->phy_state; in phylink_mac_initial_config() 665 link_state = pl->phy_state; in phylink_resolve() 694 link_state.link &= pl->phy_state.link; in phylink_resolve() 697 if (pl->phydev && pl->phy_state.link) { in phylink_resolve() 703 pl->phy_state.interface) { in phylink_resolve() 707 link_state.interface = pl->phy_state.interface; in phylink_resolve() 711 link_state.pause = pl->phy_state.pause; in phylink_resolve() 848 pl->phy_state.interface = iface; in phylink_create() 942 pl->phy_state.speed = phydev->speed; in phylink_phy_change() [all …]
|
D | phy.c | 44 static const char *phy_state_to_str(enum phy_state st) in phy_state_to_str() 1189 enum phy_state old_state; in phy_state_machine()
|
/kernel/linux/linux-5.10/drivers/scsi/libsas/ |
D | sas_expander.c | 220 phy->phy_state = PHY_VACANT; in sas_set_ex_phy() 223 phy->phy_state = PHY_NOT_PRESENT; in sas_set_ex_phy() 226 phy->phy_state = PHY_EMPTY; /* do not know yet */ in sas_set_ex_phy() 236 if (phy->phy_state == PHY_VACANT) { in sas_set_ex_phy() 634 if (phy->phy_state == PHY_VACANT || in sas_ex_disable_port() 635 phy->phy_state == PHY_NOT_PRESENT) in sas_ex_disable_port() 759 if (phy->phy_state == PHY_VACANT || in sas_ex_get_linkrate() 760 phy->phy_state == PHY_NOT_PRESENT) in sas_ex_get_linkrate() 929 phy->phy_state = PHY_DEVICE_DISCOVERED; in sas_ex_join_wide_port() 1121 if (phy->phy_state == PHY_VACANT || in sas_find_sub_addr() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.h | 191 #define be_phy_state_unknown(phy_state) (phy_state > BE_PHY_UNCERTIFIED) argument 192 #define be_phy_unqualified(phy_state) \ argument 193 (phy_state == BE_PHY_UNQUALIFIED || \ 194 phy_state == BE_PHY_UNCERTIFIED) 195 #define be_phy_misconfigured(phy_state) \ argument 196 (phy_state == BE_PHY_INCOMPATIBLE || \ 197 phy_state == BE_PHY_UNQUALIFIED || \ 198 phy_state == BE_PHY_UNCERTIFIED)
|
D | be.h | 670 u8 phy_state; /* state of sfp optics (functional, faulted, etc.,) */ member
|
D | be_cmds.c | 324 if (new_phy_state == adapter->phy_state) in be_async_port_misconfig_event_process() 327 adapter->phy_state = new_phy_state; in be_async_port_misconfig_event_process()
|
D | be_main.c | 4407 adapter->phy_state = BE_UNKNOWN_PHY_STATE; in be_setup_init() 5490 be_misconfig_evt_port_state[adapter->phy_state], in be_log_sfp_info()
|
/kernel/linux/linux-5.10/drivers/scsi/pm8001/ |
D | pm8001_sas.c | 178 if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { in pm8001_phy_control() 186 if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { in pm8001_phy_control() 194 if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { in pm8001_phy_control() 207 if (pm8001_ha->phy[phy_id].phy_state == in pm8001_phy_control() 215 if (pm8001_ha->phy[phy_id].phy_state == in pm8001_phy_control()
|
D | pm8001_sas.h | 247 u8 phy_state; member 411 u32 phy_state[8]; member
|
D | pm8001_hwi.c | 108 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[0] = in read_general_status_table() 110 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[1] = in read_general_status_table() 112 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[2] = in read_general_status_table() 114 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[3] = in read_general_status_table() 116 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[4] = in read_general_status_table() 118 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[5] = in read_general_status_table() 120 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[6] = in read_general_status_table() 122 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[7] = in read_general_status_table() 3308 phy->phy_state = PHY_STATE_LINK_UP_SPC; in hw_event_sas_phy_up() 3384 phy->phy_state = PHY_STATE_LINK_UP_SPC; in hw_event_sata_phy_up() [all …]
|
D | pm80xx_hwi.c | 3235 phy->phy_state = PHY_STATE_LINK_UP_SPCV; in hw_event_port_recover() 3266 phy->phy_state = PHY_STATE_LINK_UP_SPCV; in hw_event_sas_phy_up() 3346 phy->phy_state = PHY_STATE_LINK_UP_SPCV; in hw_event_sata_phy_up() 3452 phy->phy_state = PHY_LINK_DOWN; in mpi_phy_start_resp() 3543 phy->phy_state = PHY_LINK_DISABLE; in mpi_hw_event() 3709 phy->phy_state = PHY_LINK_DISABLE; in mpi_phy_stop_resp()
|
D | pm8001_init.c | 142 phy->phy_state = PHY_LINK_DISABLE; in pm8001_phy_init()
|
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/ |
D | hisi_sas_v3_hw.c | 1043 u32 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in get_wideport_bitmap_v3_hw() local 1046 if (phy_state & BIT(i)) in get_wideport_bitmap_v3_hw() 1571 u32 phy_state, sl_ctrl, txid_auto; in phy_down_v3_hw() local 1579 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in phy_down_v3_hw() 1580 dev_info(dev, "phydown: phy%d phy_state=0x%x\n", phy_no, phy_state); in phy_down_v3_hw() 1581 hisi_sas_phy_down(hisi_hba, phy_no, (phy_state & 1 << phy_no) ? 1 : 0); in phy_down_v3_hw() 1628 u32 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in int_phy_up_down_bcast_v3_hw() local 1629 int rdy = phy_state & (1 << phy_no); in int_phy_up_down_bcast_v3_hw()
|
D | hisi_sas_v2_hw.c | 1626 u32 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in get_wideport_bitmap_v2_hw() local 1629 if (phy_state & 1 << i) in get_wideport_bitmap_v2_hw() 1636 if (phy_state & 1 << 8) in get_wideport_bitmap_v2_hw() 2727 u32 phy_state, sl_ctrl, txid_auto; in phy_down_v2_hw() local 2735 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in phy_down_v2_hw() 2736 dev_info(dev, "phydown: phy%d phy_state=0x%x\n", phy_no, phy_state); in phy_down_v2_hw() 2737 hisi_sas_phy_down(hisi_hba, phy_no, (phy_state & 1 << phy_no) ? 1 : 0); in phy_down_v2_hw()
|
D | hisi_sas.h | 466 u32 phy_state; member
|
D | hisi_sas_v1_hw.c | 1452 u32 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in int_abnormal_v1_hw() local 1455 (phy_state & 1 << phy_no) ? 1 : 0); in int_abnormal_v1_hw()
|
D | hisi_sas_main.c | 1544 hisi_hba->phy_state = hisi_hba->hw->get_phys_state(hisi_hba); in hisi_sas_controller_reset_prepare() 1573 hisi_sas_rescan_topology(hisi_hba, hisi_hba->phy_state); in hisi_sas_controller_reset_done()
|
/kernel/linux/linux-5.10/drivers/net/fddi/ |
D | defza.h | 553 u32 phy_state; /* PHY state */ member
|
D | defxx.h | 709 PI_UINT32 phy_state[PI_PHY_K_MAX]; member
|
/kernel/linux/linux-5.10/include/scsi/ |
D | libsas.h | 95 enum ex_phy_state phy_state; member
|
/kernel/linux/linux-5.10/include/linux/ |
D | phy.h | 443 enum phy_state { enum 569 enum phy_state state;
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.h | 1163 u8 phy_state; member 1695 (bp)->link_info.phy_state == BNXT_PHY_STATE_ENABLED)
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/ |
D | fec_mpc52xx.c | 69 enum phy_state link;
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
D | r8152.c | 5064 u16 phy_state = ocp_reg_read(tp, OCP_PHY_STATE) & 0xff; in rtl8153_in_nway() local 5066 if (phy_state == TXDIS_STATE || phy_state == ABD_STATE) in rtl8153_in_nway()
|