Home
last modified time | relevance | path

Searched refs:minimum_linkrate (Results 1 – 23 of 23) sorted by relevance

/linux-6.1.9/drivers/scsi/libsas/
Dsas_init.c326 if ((rates->minimum_linkrate && in sas_set_phy_speed()
327 rates->minimum_linkrate > phy->maximum_linkrate) || in sas_set_phy_speed()
329 rates->maximum_linkrate < phy->minimum_linkrate)) in sas_set_phy_speed()
332 if (rates->minimum_linkrate && in sas_set_phy_speed()
333 rates->minimum_linkrate < phy->minimum_linkrate_hw) in sas_set_phy_speed()
334 rates->minimum_linkrate = phy->minimum_linkrate_hw; in sas_set_phy_speed()
Dsas_host_smp.c37 resp_data[40] = (phy->minimum_linkrate << 4) | in sas_host_smp_discover()
210 rates.minimum_linkrate = min; in sas_phy_control()
Dsas_phy.c145 phy->phy->minimum_linkrate = SAS_LINK_RATE_UNKNOWN; in sas_register_phys()
Dsas_expander.c262 phy->phy->minimum_linkrate = dr->pmin_linkrate; in sas_set_ex_phy()
577 pc_req[32] = rates->minimum_linkrate << 4; in sas_smp_phy_control()
794 enum sas_linkrate min_prate = cphy->minimum_linkrate, in sas_ex_discover_end_dev()
800 .minimum_linkrate = min_linkrate, in sas_ex_discover_end_dev()
/linux-6.1.9/include/scsi/
Dscsi_transport_sas.h71 enum sas_linkrate minimum_linkrate; member
170 enum sas_linkrate minimum_linkrate; member
/linux-6.1.9/drivers/scsi/mpt3sas/
Dmpt3sas_transport.c1045 phy->minimum_linkrate = _transport_convert_phy_link_rate( in mpt3sas_transport_add_host_phy()
1116 phy->minimum_linkrate = _transport_convert_phy_link_rate( in mpt3sas_transport_add_expander_phy()
1616 phy->minimum_linkrate << 4; in _transport_expander_phy_control()
1916 if (!rates->minimum_linkrate) in _transport_phy_speed()
1917 rates->minimum_linkrate = phy->minimum_linkrate; in _transport_phy_speed()
1918 else if (rates->minimum_linkrate < phy->minimum_linkrate_hw) in _transport_phy_speed()
1919 rates->minimum_linkrate = phy->minimum_linkrate_hw; in _transport_phy_speed()
1928 phy->minimum_linkrate = rates->minimum_linkrate; in _transport_phy_speed()
1965 (ioc->sas_hba.phy[i].phy->minimum_linkrate + in _transport_phy_speed()
1969 (rates->minimum_linkrate + in _transport_phy_speed()
[all …]
/linux-6.1.9/drivers/scsi/mpi3mr/
Dmpi3mr_transport.c900 phy->minimum_linkrate = mpi3mr_convert_phy_link_rate( in mpi3mr_add_host_phy()
971 phy->minimum_linkrate = mpi3mr_convert_phy_link_rate( in mpi3mr_add_expander_phy()
2818 phy->minimum_linkrate << 4; in mpi3mr_expander_phy_control()
3058 if (!rates->minimum_linkrate) in mpi3mr_transport_phy_speed()
3059 rates->minimum_linkrate = phy->minimum_linkrate; in mpi3mr_transport_phy_speed()
3060 else if (rates->minimum_linkrate < phy->minimum_linkrate_hw) in mpi3mr_transport_phy_speed()
3061 rates->minimum_linkrate = phy->minimum_linkrate_hw; in mpi3mr_transport_phy_speed()
3070 phy->minimum_linkrate = rates->minimum_linkrate; in mpi3mr_transport_phy_speed()
3094 (rates->minimum_linkrate + (rates->maximum_linkrate << 4)); in mpi3mr_transport_phy_speed()
3111 phy->minimum_linkrate = mpi3mr_convert_phy_link_rate( in mpi3mr_transport_phy_speed()
/linux-6.1.9/drivers/scsi/aic94xx/
Daic94xx_scb.c59 sas_phy->minimum_linkrate = phy->phy_desc->min_sas_lrate; in get_lrate_mode()
904 if (rates->minimum_linkrate) { in asd_control_phy()
905 pd->min_sas_lrate = rates->minimum_linkrate; in asd_control_phy()
906 pd->min_sata_lrate = rates->minimum_linkrate; in asd_control_phy()
/linux-6.1.9/drivers/scsi/hisi_sas/
Dhisi_sas_main.c630 if (sphy->minimum_linkrate == SAS_LINK_RATE_UNKNOWN) in hisi_sas_bytes_dmaed()
631 sphy->minimum_linkrate = phy->minimum_linkrate; in hisi_sas_bytes_dmaed()
972 phy->minimum_linkrate = SAS_LINK_RATE_1_5_GBPS; in hisi_sas_phy_init()
1160 if (r->minimum_linkrate > SAS_LINK_RATE_1_5_GBPS) in hisi_sas_phy_set_linkrate()
1165 min = r->minimum_linkrate; in hisi_sas_phy_set_linkrate()
1166 } else if (r->minimum_linkrate == SAS_LINK_RATE_UNKNOWN) { in hisi_sas_phy_set_linkrate()
1168 min = sas_phy->phy->minimum_linkrate; in hisi_sas_phy_set_linkrate()
1173 _r.minimum_linkrate = min; in hisi_sas_phy_set_linkrate()
1176 sas_phy->phy->minimum_linkrate = min; in hisi_sas_phy_set_linkrate()
Dhisi_sas.h187 enum sas_linkrate minimum_linkrate; member
Dhisi_sas_v2_hw.c3253 phy->minimum_linkrate = (hard_phy_linkrate >> 4) & 0xf; in sata_int_v2_hw()
/linux-6.1.9/drivers/scsi/pm8001/
Dpm8001_sas.c175 if (rates->minimum_linkrate) { in pm8001_phy_control()
176 pm8001_ha->phy[phy_id].minimum_linkrate = in pm8001_phy_control()
177 rates->minimum_linkrate; in pm8001_phy_control()
Dpm8001_sas.h251 enum sas_linkrate minimum_linkrate; member
Dpm8001_init.c161 phy->minimum_linkrate = SAS_LINK_RATE_1_5_GBPS; in pm8001_phy_init()
Dpm8001_hwi.c3190 sas_phy->minimum_linkrate = phy->minimum_linkrate; in pm8001_get_lrate_mode()
/linux-6.1.9/drivers/scsi/mvsas/
Dmv_64xx.c585 phy->minimum_linkrate = in mvs_64xx_fix_phy_info()
628 lrmin = (rates->minimum_linkrate << 8); in mvs_64xx_phy_set_link_rate()
Dmv_sas.h222 enum sas_linkrate minimum_linkrate; member
Dmv_sas.c243 sphy->minimum_linkrate = phy->minimum_linkrate; in mvs_bytes_dmaed()
Dmv_94xx.c875 phy->minimum_linkrate = SAS_LINK_RATE_1_5_GBPS; in mvs_94xx_fix_phy_info()
/linux-6.1.9/drivers/scsi/smartpqi/
Dsmartpqi_sas_transport.c72 phy->minimum_linkrate = SAS_LINK_RATE_UNKNOWN; in pqi_sas_port_add_phy()
/linux-6.1.9/drivers/scsi/
Dscsi_transport_sas.c618 sas_phy_linkspeed_rw_attr(minimum_linkrate);
1804 SETUP_PHY_ATTRIBUTE_RW(minimum_linkrate); in sas_attach_transport()
Dhpsa.c9626 phy->minimum_linkrate = SAS_LINK_RATE_UNKNOWN; in hpsa_sas_port_add_phy()
/linux-6.1.9/drivers/message/fusion/
Dmptsas.c3162 phy->minimum_linkrate = SAS_LINK_RATE_1_5_GBPS; in mptsas_probe_one_phy()
3165 phy->minimum_linkrate = SAS_LINK_RATE_3_0_GBPS; in mptsas_probe_one_phy()