Home
last modified time | relevance | path

Searched refs:phy_state (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/scsi/libsas/
H A Dsas_expander.c33 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()
638 if (phy->phy_state == PHY_VACANT || in sas_ex_disable_port()
639 phy->phy_state == PHY_NOT_PRESENT) in sas_ex_disable_port()
763 if (phy->phy_state == PHY_VACANT || in sas_ex_get_linkrate()
764 phy->phy_state == PHY_NOT_PRESENT) in sas_ex_get_linkrate()
1076 if (phy->phy_state == PHY_VACANT || in sas_find_sub_addr()
[all …]
/linux/drivers/net/phy/
H A Dphylink.c73 struct phylink_link_state phy_state; member
1461 link_state = pl->phy_state; in phylink_mac_initial_config()
1643 link_state = pl->phy_state; in phylink_resolve()
1664 link_state.link &= pl->phy_state.link; in phylink_resolve()
1667 if (phy && pl->phy_state.link) { in phylink_resolve()
1671 if (link_state.interface != pl->phy_state.interface) { in phylink_resolve()
1676 link_state.interface = pl->phy_state.interface; in phylink_resolve()
1681 if (pl->phy_state.rate_matching) { in phylink_resolve()
1683 pl->phy_state.rate_matching; in phylink_resolve()
1684 link_state.speed = pl->phy_state.speed; in phylink_resolve()
[all …]
/linux/drivers/scsi/pm8001/
H A Dpm8001_sas.c258 if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { in pm8001_phy_control()
267 if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { in pm8001_phy_control()
276 if (pm8001_ha->phy[phy_id].phy_state == PHY_LINK_DISABLE) { in pm8001_phy_control()
290 if (pm8001_ha->phy[phy_id].phy_state == in pm8001_phy_control()
298 if (pm8001_ha->phy[phy_id].phy_state == in pm8001_phy_control()
H A Dpm8001_hwi.c109 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 Dpm8001_init.c162 phy->phy_state = PHY_LINK_DISABLE; in pm8001_phy_init()
/linux/drivers/net/fddi/
H A Ddefza.h553 u32 phy_state; /* PHY state */ member
H A Ddefxx.h710 PI_UINT32 phy_state[PI_PHY_K_MAX]; member
/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_v3_hw.c1152 u32 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in get_wideport_bitmap_v3_hw() local
1155 if (phy_state & BIT(i)) in get_wideport_bitmap_v3_hw()
1698 u32 phy_state, sl_ctrl, txid_auto; in phy_down_v3_hw() local
1706 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in phy_down_v3_hw()
1707 dev_info(dev, "phydown: phy%d phy_state=0x%x\n", phy_no, phy_state); in phy_down_v3_hw()
1708 hisi_sas_phy_down(hisi_hba, phy_no, (phy_state & 1 << phy_no) ? 1 : 0, in phy_down_v3_hw()
1754 u32 phy_state = hisi_sas_read32(hisi_hba, PHY_STATE); in int_phy_up_down_bcast_v3_hw() local
1755 int rdy = phy_state & (1 << phy_no); in int_phy_up_down_bcast_v3_hw()
H A Dhisi_sas.h466 u32 phy_state; member
H A Dhisi_sas_v1_hw.c1440 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()
H A Dhisi_sas_main.c1569 hisi_hba->phy_state = hisi_hba->hw->get_phys_state(hisi_hba); in hisi_sas_controller_reset_prepare()
1618 if (!(hisi_hba->phy_state & BIT(phy_no))) { in hisi_sas_controller_reset_done()
1638 hisi_sas_rescan_topology(hisi_hba, hisi_hba->phy_state); in hisi_sas_controller_reset_done()
/linux/include/scsi/
H A Dlibsas.h81 enum ex_phy_state phy_state; member
/linux/include/linux/
H A Dphy.h506 enum phy_state { enum
712 enum phy_state state;
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn50/
H A Ddcn50_hwseq.c608 link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dcn50_init_hw()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.h1572 u8 phy_state; member
2325 (bp)->link_info.phy_state == BNXT_PHY_STATE_ENABLED)
H A Dbnxt.c12340 link_info->phy_state = BNXT_PHY_STATE_DISABLED; in bnxt_hwrm_phy_qcaps()
12342 } else if (link_info->phy_state == BNXT_PHY_STATE_DISABLED) { in bnxt_hwrm_phy_qcaps()
12343 link_info->phy_state = BNXT_PHY_STATE_ENABLED; in bnxt_hwrm_phy_qcaps()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn60/
H A Ddcn60_hwseq.c617 link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dcn60_init_hw()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/
H A Ddcn30_hwseq.c968 link->phy_state.symclk_state = SYMCLK_ON_TX_ON; in dcn30_setup_hdmi_frl_link()
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c4409 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()