/linux-6.3-rc2/drivers/net/phy/ |
A 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() 51 if (phy_state < 0) in upd60620_read_status() 52 return phy_state; in upd60620_read_status() 59 if (phy_state & PHY_PHYSCR_100MB) in upd60620_read_status() 61 if (phy_state & PHY_PHYSCR_DUPLEX) in upd60620_read_status() 65 if (phy_state < 0) in upd60620_read_status() 66 return phy_state; in upd60620_read_status() [all …]
|
A D | phylink.c | 72 struct phylink_link_state phy_state; member 1185 link_state = pl->phy_state; in phylink_mac_initial_config() 1309 link_state = pl->phy_state; in phylink_resolve() 1348 pl->phy_state.interface) { in phylink_resolve() 1359 pl->phy_state.rate_matching; in phylink_resolve() 1362 pl->phy_state.duplex; in phylink_resolve() 1524 pl->phy_state.interface = iface; in phylink_create() 1597 pl->phy_state.speed = phydev->speed; in phylink_phy_change() 1606 pl->phy_state.link = up; in phylink_phy_change() 1686 pl->phy_state.interface = interface; in phylink_bringup_phy() [all …]
|
A D | phy.c | 45 static const char *phy_state_to_str(enum phy_state st) in phy_state_to_str() 1380 enum phy_state old_state; in phy_state_machine()
|
/linux-6.3-rc2/drivers/scsi/libsas/ |
A D | sas_expander.c | 203 phy->phy_state = PHY_VACANT; in sas_set_ex_phy() 206 phy->phy_state = PHY_NOT_PRESENT; in sas_set_ex_phy() 219 if (phy->phy_state == PHY_VACANT) { in sas_set_ex_phy() 612 if (phy->phy_state == PHY_VACANT || in sas_ex_disable_port() 613 phy->phy_state == PHY_NOT_PRESENT) in sas_ex_disable_port() 737 if (phy->phy_state == PHY_VACANT || in sas_ex_get_linkrate() 1052 if (phy->phy_state == PHY_VACANT || in sas_find_sub_addr() 1155 if (phy->phy_state == PHY_VACANT || in sas_check_ex_subtractive_boundary() 1939 phy->phy_state = PHY_NOT_PRESENT; in sas_rediscover_dev() 1943 phy->phy_state = PHY_VACANT; in sas_rediscover_dev() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/ |
A D | dc_link.h | 295 struct phy_state phy_state; member
|
/linux-6.3-rc2/drivers/scsi/pm8001/ |
A D | pm8001_sas.c | 181 if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { in pm8001_phy_control() 189 if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { in pm8001_phy_control() 197 if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { in pm8001_phy_control() 210 if (pm8001_ha->phy[phy_id].phy_state == in pm8001_phy_control() 218 if (pm8001_ha->phy[phy_id].phy_state == in pm8001_phy_control()
|
A D | pm8001_hwi.c | 109 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[0] = in read_general_status_table() 111 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[1] = in read_general_status_table() 113 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[2] = in read_general_status_table() 115 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[3] = in read_general_status_table() 117 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[4] = in read_general_status_table() 119 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[5] = in read_general_status_table() 121 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[6] = in read_general_status_table() 123 pm8001_ha->gs_tbl.pm8001_tbl.phy_state[7] = in read_general_status_table() 3581 phy->phy_state = 1; in mpi_hw_event() 3601 phy->phy_state = 0; in mpi_hw_event() [all …]
|
A D | pm8001_sas.h | 250 u8 phy_state; member 413 u32 phy_state[8]; member
|
A D | pm80xx_hwi.c | 3134 phy->phy_state = PHY_STATE_LINK_UP_SPCV; in hw_event_port_recover() 3167 phy->phy_state = PHY_STATE_LINK_UP_SPCV; in hw_event_sas_phy_up() 3249 phy->phy_state = PHY_STATE_LINK_UP_SPCV; in hw_event_sata_phy_up() 3356 phy->phy_state = PHY_LINK_DOWN; in mpi_phy_start_resp() 3444 phy->phy_state = PHY_LINK_DISABLE; in mpi_hw_event() 3619 phy->phy_state = PHY_LINK_DISABLE; in mpi_phy_stop_resp()
|
/linux-6.3-rc2/drivers/net/ethernet/emulex/benet/ |
A 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)
|
A D | be.h | 669 u8 phy_state; /* state of sfp optics (functional, faulted, etc.,) */ member
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/hw/ |
A D | hw_shared.h | 284 struct phy_state { struct
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce110/ |
A D | dce110_hw_sequencer.c | 1438 stream->link->phy_state.symclk_ref_cnts.otg = 1; in dce110_enable_stream_timing() 1439 if (stream->link->phy_state.symclk_state == SYMCLK_OFF_TX_OFF) in dce110_enable_stream_timing() 1440 stream->link->phy_state.symclk_state = SYMCLK_ON_TX_OFF; in dce110_enable_stream_timing() 1442 stream->link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dce110_enable_stream_timing() 2111 pipe_ctx_old->stream->link->phy_state.symclk_ref_cnts.otg = 0; in dce110_reset_hw_ctx_wrap() 2999 link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dce110_enable_lvds_link_output() 3015 link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dce110_enable_tmds_link_output() 3075 link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dce110_enable_dp_link_output() 3098 link->phy_state.symclk_state = SYMCLK_OFF_TX_OFF; in dce110_disable_link_output()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn32/ |
A D | dcn32_hwseq.c | 782 link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dcn32_init_hw() 1216 if (link->phy_state.symclk_ref_cnts.otg > 0) { in apply_symclk_on_tx_off_wa() 1225 link->phy_state.symclk_state = SYMCLK_ON_TX_OFF; in apply_symclk_on_tx_off_wa() 1247 link->phy_state.symclk_state = SYMCLK_OFF_TX_OFF; in dcn32_disable_link_output()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/ |
A D | dcn20_hwseq.c | 721 stream->link->phy_state.symclk_ref_cnts.otg = 1; in dcn20_enable_stream_timing() 722 if (stream->link->phy_state.symclk_state == SYMCLK_OFF_TX_OFF) in dcn20_enable_stream_timing() 723 stream->link->phy_state.symclk_state = SYMCLK_ON_TX_OFF; in dcn20_enable_stream_timing() 725 stream->link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dcn20_enable_stream_timing() 2497 link->phy_state.symclk_ref_cnts.otg = 0; in dcn20_reset_back_end_for_pipe() 2498 if (link->phy_state.symclk_state == SYMCLK_ON_TX_OFF) { in dcn20_reset_back_end_for_pipe() 2501 link->phy_state.symclk_state = SYMCLK_OFF_TX_OFF; in dcn20_reset_back_end_for_pipe()
|
/linux-6.3-rc2/drivers/scsi/hisi_sas/ |
A 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() 2720 u32 phy_state, sl_ctrl, txid_auto; in phy_down_v2_hw() local 2728 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in phy_down_v2_hw() 2729 dev_info(dev, "phydown: phy%d phy_state=0x%x\n", phy_no, phy_state); in phy_down_v2_hw() 2730 hisi_sas_phy_down(hisi_hba, phy_no, (phy_state & 1 << phy_no) ? 1 : 0, in phy_down_v2_hw()
|
A D | hisi_sas_v3_hw.c | 1076 u32 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in get_wideport_bitmap_v3_hw() local 1079 if (phy_state & BIT(i)) in get_wideport_bitmap_v3_hw() 1613 u32 phy_state, sl_ctrl, txid_auto; in phy_down_v3_hw() local 1621 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in phy_down_v3_hw() 1622 dev_info(dev, "phydown: phy%d phy_state=0x%x\n", phy_no, phy_state); in phy_down_v3_hw() 1623 hisi_sas_phy_down(hisi_hba, phy_no, (phy_state & 1 << phy_no) ? 1 : 0, in phy_down_v3_hw() 1669 u32 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in int_phy_up_down_bcast_v3_hw() local 1670 int rdy = phy_state & (1 << phy_no); in int_phy_up_down_bcast_v3_hw()
|
A D | hisi_sas.h | 454 u32 phy_state; member
|
A D | hisi_sas_v1_hw.c | 1441 u32 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in int_abnormal_v1_hw() local 1444 (phy_state & 1 << phy_no) ? 1 : 0, in int_abnormal_v1_hw()
|
/linux-6.3-rc2/drivers/net/fddi/ |
A D | defza.h | 553 u32 phy_state; /* PHY state */ member
|
/linux-6.3-rc2/include/scsi/ |
A D | libsas.h | 95 enum ex_phy_state phy_state; member
|
/linux-6.3-rc2/include/linux/ |
A D | phy.h | 502 enum phy_state { enum 658 enum phy_state state;
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn31/ |
A D | dcn31_hwseq.c | 553 pipe_ctx->stream->link->phy_state.symclk_ref_cnts.otg = 0; in dcn31_reset_back_end_for_pipe()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn10/ |
A D | dcn10_hw_sequencer.c | 929 stream->link->phy_state.symclk_ref_cnts.otg = 1; in dcn10_enable_stream_timing() 930 if (stream->link->phy_state.symclk_state == SYMCLK_OFF_TX_OFF) in dcn10_enable_stream_timing() 931 stream->link->phy_state.symclk_state = SYMCLK_ON_TX_OFF; in dcn10_enable_stream_timing() 933 stream->link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dcn10_enable_stream_timing() 1054 pipe_ctx->stream->link->phy_state.symclk_ref_cnts.otg = 0; in dcn10_reset_back_end_for_pipe()
|
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt.h | 1187 u8 phy_state; member 1831 (bp)->link_info.phy_state == BNXT_PHY_STATE_ENABLED)
|