Home
last modified time | relevance | path

Searched refs:sphy (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/scsi/hisi_sas/
Dhisi_sas_main.c629 struct sas_phy *sphy = sas_phy->phy; in hisi_sas_bytes_dmaed() local
631 sphy->negotiated_linkrate = sas_phy->linkrate; in hisi_sas_bytes_dmaed()
632 sphy->minimum_linkrate_hw = SAS_LINK_RATE_1_5_GBPS; in hisi_sas_bytes_dmaed()
633 sphy->maximum_linkrate_hw = in hisi_sas_bytes_dmaed()
635 if (sphy->minimum_linkrate == SAS_LINK_RATE_UNKNOWN) in hisi_sas_bytes_dmaed()
636 sphy->minimum_linkrate = phy->minimum_linkrate; in hisi_sas_bytes_dmaed()
638 if (sphy->maximum_linkrate == SAS_LINK_RATE_UNKNOWN) in hisi_sas_bytes_dmaed()
639 sphy->maximum_linkrate = phy->maximum_linkrate; in hisi_sas_bytes_dmaed()
1045 struct sas_phy *sphy = aphy->phy; in hisi_sas_phy_enable() local
1053 sphy->negotiated_linkrate = SAS_LINK_RATE_UNKNOWN; in hisi_sas_phy_enable()
[all …]
Dhisi_sas_v3_hw.c1800 struct sas_phy *sphy = sas_phy->phy; in phy_get_events_v3_hw() local
1808 sphy->loss_of_dword_sync_count += reg_value; in phy_get_events_v3_hw()
1812 sphy->phy_reset_problem_count += reg_value; in phy_get_events_v3_hw()
1816 sphy->invalid_dword_count += reg_value; in phy_get_events_v3_hw()
1820 sphy->running_disparity_error_count += reg_value; in phy_get_events_v3_hw()
1864 struct sas_phy *sphy = sas_phy->phy; in handle_chl_int2_v3_hw() local
1870 sphy->invalid_dword_count); in handle_chl_int2_v3_hw()
1878 sphy->running_disparity_error_count); in handle_chl_int2_v3_hw()
Dhisi_sas_v2_hw.c1563 struct sas_phy *sphy = sas_phy->phy; in phy_get_events_v2_hw() local
1572 sphy->loss_of_dword_sync_count += (err4_reg_val >> 16) & 0xFFFF; in phy_get_events_v2_hw()
1573 sphy->phy_reset_problem_count += err4_reg_val & 0xFFFF; in phy_get_events_v2_hw()
1574 sphy->invalid_dword_count += (err6_reg_val & 0xFF0000) >> 16; in phy_get_events_v2_hw()
1575 sphy->running_disparity_error_count += err6_reg_val & 0xFF; in phy_get_events_v2_hw()
/linux-6.6.21/drivers/scsi/mvsas/
Dmv_sas.c236 struct sas_phy *sphy = sas_phy->phy; in mvs_bytes_dmaed() local
238 sphy->negotiated_linkrate = sas_phy->linkrate; in mvs_bytes_dmaed()
239 sphy->minimum_linkrate = phy->minimum_linkrate; in mvs_bytes_dmaed()
240 sphy->minimum_linkrate_hw = SAS_LINK_RATE_1_5_GBPS; in mvs_bytes_dmaed()
241 sphy->maximum_linkrate = phy->maximum_linkrate; in mvs_bytes_dmaed()
242 sphy->maximum_linkrate_hw = MVS_CHIP_DISP->phy_max_link_rate(); in mvs_bytes_dmaed()
307 struct sas_phy *sphy = dev->phy; in mvs_task_prep_smp() local
308 struct asd_sas_phy *sas_phy = sha->sas_phy[sphy->number]; in mvs_task_prep_smp()