/linux-6.12.1/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 | 76 struct phylink_link_state phy_state; member 1358 link_state = pl->phy_state; in phylink_mac_initial_config() 1486 link_state = pl->phy_state; in phylink_resolve() 1516 link_state.link &= pl->phy_state.link; in phylink_resolve() 1519 if (pl->phydev && pl->phy_state.link) { in phylink_resolve() 1525 pl->phy_state.interface) { in phylink_resolve() 1529 link_state.interface = pl->phy_state.interface; in phylink_resolve() 1534 if (pl->phy_state.rate_matching) { in phylink_resolve() 1536 pl->phy_state.rate_matching; in phylink_resolve() 1537 link_state.speed = pl->phy_state.speed; in phylink_resolve() [all …]
|
D | phy.c | 45 static const char *phy_state_to_str(enum phy_state st) in phy_state_to_str() 62 enum phy_state old_state) in phy_process_state_change() 1402 enum phy_state old_state = phydev->state; in _phy_state_machine() 1507 enum phy_state old_state; in phy_stop()
|
/linux-6.12.1/drivers/scsi/libsas/ |
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-6.12.1/drivers/scsi/pm8001/ |
D | pm8001_sas.c | 191 if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { in pm8001_phy_control() 200 if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { in pm8001_phy_control() 209 if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { in pm8001_phy_control() 223 if (pm8001_ha->phy[phy_id].phy_state == in pm8001_phy_control() 231 if (pm8001_ha->phy[phy_id].phy_state == in pm8001_phy_control()
|
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() 3126 phy->phy_state = PHY_STATE_LINK_UP_SPC; in hw_event_sas_phy_up() 3204 phy->phy_state = PHY_STATE_LINK_UP_SPC; in hw_event_sata_phy_up() [all …]
|
D | pm8001_sas.h | 248 u8 phy_state; member 411 u32 phy_state[8]; member
|
D | pm80xx_hwi.c | 3114 phy->phy_state = PHY_STATE_LINK_UP_SPCV; in hw_event_port_recover() 3147 phy->phy_state = PHY_STATE_LINK_UP_SPCV; in hw_event_sas_phy_up() 3229 phy->phy_state = PHY_STATE_LINK_UP_SPCV; in hw_event_sata_phy_up() 3343 phy->phy_state = PHY_LINK_DOWN; in mpi_phy_start_resp() 3433 phy->phy_state = PHY_LINK_DISABLE; in mpi_hw_event() 3601 phy->phy_state = PHY_STATE_LINK_UP_SPCV; in mpi_hw_event() 3634 phy->phy_state = PHY_LINK_DISABLE; in mpi_phy_stop_resp()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn314/ |
D | dcn314_hwseq.c | 442 if (link->phy_state.symclk_ref_cnts.otg > 0) { in apply_symclk_on_tx_off_wa() 452 link->phy_state.symclk_state = SYMCLK_ON_TX_OFF; in apply_symclk_on_tx_off_wa() 475 link->phy_state.symclk_state = SYMCLK_OFF_TX_OFF; in dcn314_disable_link_output()
|
/linux-6.12.1/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)
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
D | dce110_hwseq.c | 1541 stream->link->phy_state.symclk_ref_cnts.otg = 1; in dce110_enable_stream_timing() 1542 if (stream->link->phy_state.symclk_state == SYMCLK_OFF_TX_OFF) in dce110_enable_stream_timing() 1543 stream->link->phy_state.symclk_state = SYMCLK_ON_TX_OFF; in dce110_enable_stream_timing() 1545 stream->link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dce110_enable_stream_timing() 2304 pipe_ctx_old->stream->link->phy_state.symclk_ref_cnts.otg = 0; in dce110_reset_hw_ctx_wrap() 3210 link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dce110_enable_lvds_link_output() 3226 link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dce110_enable_tmds_link_output() 3288 link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dce110_enable_dp_link_output() 3312 link->phy_state.symclk_state = SYMCLK_OFF_TX_OFF; in dce110_disable_link_output()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn401/ |
D | dcn401_hwseq.c | 296 link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dcn401_init_hw() 788 stream->link->phy_state.symclk_ref_cnts.otg = 1; in enable_stream_timing_calc() 789 if (stream->link->phy_state.symclk_state == SYMCLK_OFF_TX_OFF) in enable_stream_timing_calc() 790 stream->link->phy_state.symclk_state = SYMCLK_ON_TX_OFF; in enable_stream_timing_calc() 792 stream->link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in enable_stream_timing_calc()
|
/linux-6.12.1/drivers/scsi/hisi_sas/ |
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() 2730 u32 phy_state, sl_ctrl, txid_auto; in phy_down_v2_hw() local 2738 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in phy_down_v2_hw() 2739 dev_info(dev, "phydown: phy%d phy_state=0x%x\n", phy_no, phy_state); in phy_down_v2_hw() 2740 hisi_sas_phy_down(hisi_hba, phy_no, (phy_state & 1 << phy_no) ? 1 : 0, in phy_down_v2_hw()
|
D | hisi_sas_v3_hw.c | 1102 u32 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in get_wideport_bitmap_v3_hw() local 1105 if (phy_state & BIT(i)) in get_wideport_bitmap_v3_hw() 1639 u32 phy_state, sl_ctrl, txid_auto; in phy_down_v3_hw() local 1647 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in phy_down_v3_hw() 1648 dev_info(dev, "phydown: phy%d phy_state=0x%x\n", phy_no, phy_state); in phy_down_v3_hw() 1649 hisi_sas_phy_down(hisi_hba, phy_no, (phy_state & 1 << phy_no) ? 1 : 0, in phy_down_v3_hw() 1695 u32 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in int_phy_up_down_bcast_v3_hw() local 1696 int rdy = phy_state & (1 << phy_no); in int_phy_up_down_bcast_v3_hw()
|
D | hisi_sas.h | 454 u32 phy_state; member
|
D | hisi_sas_main.c | 1506 hisi_hba->phy_state = hisi_hba->hw->get_phys_state(hisi_hba); in hisi_sas_controller_reset_prepare() 1549 if (!(hisi_hba->phy_state & BIT(phy_no))) in hisi_sas_controller_reset_done() 1567 hisi_sas_rescan_topology(hisi_hba, hisi_hba->phy_state); in hisi_sas_controller_reset_done()
|
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-6.12.1/drivers/net/fddi/ |
D | defza.h | 553 u32 phy_state; /* PHY state */ member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
D | dcn32_hwseq.c | 842 link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dcn32_init_hw() 1365 if (link->phy_state.symclk_ref_cnts.otg > 0) { in apply_symclk_on_tx_off_wa() 1375 link->phy_state.symclk_state = SYMCLK_ON_TX_OFF; in apply_symclk_on_tx_off_wa() 1398 link->phy_state.symclk_state = SYMCLK_OFF_TX_OFF; in dcn32_disable_link_output()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
D | dcn20_hwseq.c | 895 stream->link->phy_state.symclk_ref_cnts.otg = 1; in dcn20_enable_stream_timing() 896 if (stream->link->phy_state.symclk_state == SYMCLK_OFF_TX_OFF) in dcn20_enable_stream_timing() 897 stream->link->phy_state.symclk_state = SYMCLK_ON_TX_OFF; in dcn20_enable_stream_timing() 899 stream->link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dcn20_enable_stream_timing() 2833 link->phy_state.symclk_ref_cnts.otg = 0; in dcn20_reset_back_end_for_pipe() 2834 if (link->phy_state.symclk_state == SYMCLK_ON_TX_OFF) { in dcn20_reset_back_end_for_pipe() 2837 link->phy_state.symclk_state = SYMCLK_OFF_TX_OFF; in dcn20_reset_back_end_for_pipe()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/ |
D | dc_hw_types.h | 1131 struct phy_state { struct
|
D | dc.h | 1785 struct phy_state phy_state; member
|
/linux-6.12.1/include/scsi/ |
D | libsas.h | 85 enum ex_phy_state phy_state; member
|
/linux-6.12.1/include/linux/ |
D | phy.h | 522 enum phy_state { enum 694 enum phy_state state;
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn31/ |
D | dcn31_hwseq.c | 529 pipe_ctx->stream->link->phy_state.symclk_ref_cnts.otg = 0; in dcn31_reset_back_end_for_pipe()
|