| /linux/drivers/scsi/libsas/ |
| H A D | sas_expander.c | 33 ex_phy->phy_state = PHY_DEVICE_DISCOVERED; in sas_port_add_ex_phy() 225 phy->phy_state = PHY_VACANT; in sas_set_ex_phy() 228 phy->phy_state = PHY_NOT_PRESENT; in sas_set_ex_phy() 231 phy->phy_state = PHY_EMPTY; /* do not know yet */ in sas_set_ex_phy() 241 if (phy->phy_state == PHY_VACANT) { in sas_set_ex_phy() 633 if (phy->phy_state == PHY_VACANT || in sas_ex_disable_port() 634 phy->phy_state == PHY_NOT_PRESENT) in sas_ex_disable_port() 758 if (phy->phy_state == PHY_VACANT || in sas_ex_get_linkrate() 759 phy->phy_state == PHY_NOT_PRESENT) in sas_ex_get_linkrate() 1071 if (phy->phy_state == PHY_VACANT || in sas_find_sub_addr() [all …]
|
| /linux/drivers/net/phy/ |
| H A D | phylink.c | 73 struct phylink_link_state phy_state; member 1454 link_state = pl->phy_state; in phylink_mac_initial_config() 1634 link_state = pl->phy_state; in phylink_resolve() 1655 link_state.link &= pl->phy_state.link; in phylink_resolve() 1658 if (phy && pl->phy_state.link) { in phylink_resolve() 1662 if (link_state.interface != pl->phy_state.interface) { in phylink_resolve() 1667 link_state.interface = pl->phy_state.interface; in phylink_resolve() 1672 if (pl->phy_state.rate_matching) { in phylink_resolve() 1674 pl->phy_state.rate_matching; in phylink_resolve() 1675 link_state.speed = pl->phy_state.speed; in phylink_resolve() [all …]
|
| H A D | phy.c | 48 static const char *phy_state_to_str(enum phy_state st) in phy_state_to_str() 65 enum phy_state old_state) in phy_process_state_change() 1519 enum phy_state old_state = phydev->state; in _phy_state_machine() 1643 enum phy_state old_state; in phy_stop()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn31/ |
| H A D | dcn31_hwseq.c | 553 link->phy_state.symclk_ref_cnts.otg = 0; in dcn31_reset_back_end_for_pipe() 556 if (link->phy_state.symclk_state == SYMCLK_ON_TX_OFF) { in dcn31_reset_back_end_for_pipe() 560 link->phy_state.symclk_state = SYMCLK_OFF_TX_OFF; in dcn31_reset_back_end_for_pipe()
|
| /linux/drivers/scsi/pm8001/ |
| H 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() 3125 phy->phy_state = PHY_STATE_LINK_UP_SPC; in hw_event_sas_phy_up() 3203 phy->phy_state = PHY_STATE_LINK_UP_SPC; in hw_event_sata_phy_up() [all …]
|
| H A D | pm80xx_hwi.c | 3169 phy->phy_state = PHY_STATE_LINK_UP_SPCV; in hw_event_port_recover() 3202 phy->phy_state = PHY_STATE_LINK_UP_SPCV; in hw_event_sas_phy_up() 3284 phy->phy_state = PHY_STATE_LINK_UP_SPCV; in hw_event_sata_phy_up() 3399 phy->phy_state = PHY_LINK_DOWN; in mpi_phy_start_resp() 3491 phy->phy_state = PHY_LINK_DISABLE; in mpi_hw_event() 3659 phy->phy_state = PHY_STATE_LINK_UP_SPCV; in mpi_hw_event() 3694 phy->phy_state = PHY_LINK_DISABLE; in mpi_phy_stop_resp()
|
| H A D | pm8001_init.c | 162 phy->phy_state = PHY_LINK_DISABLE; in pm8001_phy_init()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
| H A D | dce110_hwseq.c | 1538 stream->link->phy_state.symclk_ref_cnts.otg = 1; in dce110_enable_stream_timing() 1539 if (stream->link->phy_state.symclk_state == SYMCLK_OFF_TX_OFF) in dce110_enable_stream_timing() 1540 stream->link->phy_state.symclk_state = SYMCLK_ON_TX_OFF; in dce110_enable_stream_timing() 1542 stream->link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dce110_enable_stream_timing() 2338 pipe_ctx_old->stream->link->phy_state.symclk_ref_cnts.otg = 0; in dce110_reset_hw_ctx_wrap() 3245 link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dce110_enable_lvds_link_output() 3261 link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dce110_enable_tmds_link_output() 3332 link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dce110_enable_dp_link_output() 3356 link->phy_state.symclk_state = SYMCLK_OFF_TX_OFF; in dce110_disable_link_output()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/ |
| H A D | dcn401_hwseq.c | 216 link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dcn401_init_hw() 739 stream->link->phy_state.symclk_ref_cnts.otg = 1; in enable_stream_timing_calc() 740 if (stream->link->phy_state.symclk_state == SYMCLK_OFF_TX_OFF) in enable_stream_timing_calc() 741 stream->link->phy_state.symclk_state = SYMCLK_ON_TX_OFF; in enable_stream_timing_calc() 743 stream->link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in enable_stream_timing_calc() 1054 if (dc_is_tmds_signal(signal) && link->phy_state.symclk_ref_cnts.otg > 0) { in dcn401_disable_link_output() 1056 link->phy_state.symclk_state = SYMCLK_ON_TX_OFF; in dcn401_disable_link_output() 1059 link->phy_state.symclk_state = SYMCLK_OFF_TX_OFF; in dcn401_disable_link_output() 2016 link->phy_state.symclk_ref_cnts.otg = 0; in dcn401_reset_back_end_for_pipe() 2017 if (link->phy_state.symclk_state == SYMCLK_ON_TX_OFF) { in dcn401_reset_back_end_for_pipe() [all …]
|
| /linux/drivers/net/fddi/ |
| H A D | defza.h | 553 u32 phy_state; /* PHY state */ member
|
| H A D | defxx.h | 710 PI_UINT32 phy_state[PI_PHY_K_MAX]; member
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
| H A D | dcn32_hwseq.c | 854 link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dcn32_init_hw() 1385 if (link->phy_state.symclk_ref_cnts.otg > 0) { in apply_symclk_on_tx_off_wa() 1395 link->phy_state.symclk_state = SYMCLK_ON_TX_OFF; in apply_symclk_on_tx_off_wa() 1418 link->phy_state.symclk_state = SYMCLK_OFF_TX_OFF; in dcn32_disable_link_output()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
| H A D | dcn20_hwseq.c | 897 stream->link->phy_state.symclk_ref_cnts.otg = 1; in dcn20_enable_stream_timing() 898 if (stream->link->phy_state.symclk_state == SYMCLK_OFF_TX_OFF) in dcn20_enable_stream_timing() 899 stream->link->phy_state.symclk_state = SYMCLK_ON_TX_OFF; in dcn20_enable_stream_timing() 901 stream->link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dcn20_enable_stream_timing() 2860 link->phy_state.symclk_ref_cnts.otg = 0; in dcn20_reset_back_end_for_pipe() 2861 if (link->phy_state.symclk_state == SYMCLK_ON_TX_OFF) { in dcn20_reset_back_end_for_pipe() 2864 link->phy_state.symclk_state = SYMCLK_OFF_TX_OFF; in dcn20_reset_back_end_for_pipe()
|
| /linux/drivers/gpu/drm/amd/display/dc/ |
| H A D | dc_hw_types.h | 1157 struct phy_state { struct
|
| H A D | dc.h | 1740 struct phy_state phy_state; member
|
| /linux/drivers/scsi/hisi_sas/ |
| H A D | hisi_sas.h | 466 u32 phy_state; member
|
| H A D | hisi_sas_v1_hw.c | 1440 u32 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in int_abnormal_v1_hw() local 1443 (phy_state & 1 << phy_no) ? 1 : 0, in int_abnormal_v1_hw()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn35/ |
| H A D | dcn35_hwseq.c | 1765 if (dc_is_tmds_signal(signal) && link->phy_state.symclk_ref_cnts.otg > 0) { in dcn35_disable_link_output() 1767 link->phy_state.symclk_state = SYMCLK_ON_TX_OFF; in dcn35_disable_link_output() 1770 link->phy_state.symclk_state = SYMCLK_OFF_TX_OFF; in dcn35_disable_link_output()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn10/ |
| H A D | dcn10_hwseq.c | 1212 stream->link->phy_state.symclk_ref_cnts.otg = 1; in dcn10_enable_stream_timing() 1213 if (stream->link->phy_state.symclk_state == SYMCLK_OFF_TX_OFF) in dcn10_enable_stream_timing() 1214 stream->link->phy_state.symclk_state = SYMCLK_ON_TX_OFF; in dcn10_enable_stream_timing() 1216 stream->link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dcn10_enable_stream_timing() 1335 pipe_ctx->stream->link->phy_state.symclk_ref_cnts.otg = 0; in dcn10_reset_back_end_for_pipe()
|
| /linux/drivers/net/ethernet/freescale/ |
| H A D | fec_mpc52xx.c | 71 enum phy_state link;
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt.h | 1555 u8 phy_state; member 2314 (bp)->link_info.phy_state == BNXT_PHY_STATE_ENABLED)
|
| H A D | bnxt.c | 12086 link_info->phy_state = BNXT_PHY_STATE_DISABLED; in bnxt_hwrm_phy_qcaps() 12088 } else if (link_info->phy_state == BNXT_PHY_STATE_DISABLED) { in bnxt_hwrm_phy_qcaps() 12089 link_info->phy_state = BNXT_PHY_STATE_ENABLED; in bnxt_hwrm_phy_qcaps()
|
| /linux/drivers/net/ethernet/emulex/benet/ |
| H A D | be_cmds.c | 326 if (new_phy_state == adapter->phy_state) in be_async_port_misconfig_event_process() 329 adapter->phy_state = new_phy_state; in be_async_port_misconfig_event_process()
|
| H A D | be_main.c | 4409 adapter->phy_state = BE_UNKNOWN_PHY_STATE; in be_setup_init() 5476 be_misconfig_evt_port_state[adapter->phy_state], in be_log_sfp_info()
|
| /linux/drivers/net/usb/ |
| H A D | r8152.c | 6755 u16 phy_state = ocp_reg_read(tp, OCP_PHY_STATE) & 0xff; in rtl8153_in_nway() local 6757 if (phy_state == TXDIS_STATE || phy_state == ABD_STATE) in rtl8153_in_nway()
|