Home
last modified time | relevance | path

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

/drivers/scsi/libsas/
Dsas_init.c323 if ((rates->minimum_linkrate && in sas_set_phy_speed()
324 rates->minimum_linkrate > phy->maximum_linkrate) || in sas_set_phy_speed()
326 rates->maximum_linkrate < phy->minimum_linkrate)) in sas_set_phy_speed()
329 if (rates->minimum_linkrate && in sas_set_phy_speed()
330 rates->minimum_linkrate < phy->minimum_linkrate_hw) in sas_set_phy_speed()
331 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_ata.c682 enum sas_linkrate min_prate = cphy->minimum_linkrate, in sas_ata_add_dev()
688 .minimum_linkrate = min_linkrate, in sas_ata_add_dev()
Dsas_expander.c261 phy->phy->minimum_linkrate = dr->pmin_linkrate; in sas_set_ex_phy()
576 pc_req[32] = rates->minimum_linkrate << 4; in sas_smp_phy_control()
/drivers/scsi/mpt3sas/
Dmpt3sas_transport.c1055 phy->minimum_linkrate = _transport_convert_phy_link_rate( in mpt3sas_transport_add_host_phy()
1126 phy->minimum_linkrate = _transport_convert_phy_link_rate( in mpt3sas_transport_add_expander_phy()
1626 phy->minimum_linkrate << 4; in _transport_expander_phy_control()
1926 if (!rates->minimum_linkrate) in _transport_phy_speed()
1927 rates->minimum_linkrate = phy->minimum_linkrate; in _transport_phy_speed()
1928 else if (rates->minimum_linkrate < phy->minimum_linkrate_hw) in _transport_phy_speed()
1929 rates->minimum_linkrate = phy->minimum_linkrate_hw; in _transport_phy_speed()
1938 phy->minimum_linkrate = rates->minimum_linkrate; in _transport_phy_speed()
1975 (ioc->sas_hba.phy[i].phy->minimum_linkrate + in _transport_phy_speed()
1979 (rates->minimum_linkrate + in _transport_phy_speed()
[all …]
/drivers/scsi/mpi3mr/
Dmpi3mr_transport.c897 phy->minimum_linkrate = mpi3mr_convert_phy_link_rate( in mpi3mr_add_host_phy()
968 phy->minimum_linkrate = mpi3mr_convert_phy_link_rate( in mpi3mr_add_expander_phy()
2828 phy->minimum_linkrate << 4; in mpi3mr_expander_phy_control()
3068 if (!rates->minimum_linkrate) in mpi3mr_transport_phy_speed()
3069 rates->minimum_linkrate = phy->minimum_linkrate; in mpi3mr_transport_phy_speed()
3070 else if (rates->minimum_linkrate < phy->minimum_linkrate_hw) in mpi3mr_transport_phy_speed()
3071 rates->minimum_linkrate = phy->minimum_linkrate_hw; in mpi3mr_transport_phy_speed()
3080 phy->minimum_linkrate = rates->minimum_linkrate; in mpi3mr_transport_phy_speed()
3104 (rates->minimum_linkrate + (rates->maximum_linkrate << 4)); in mpi3mr_transport_phy_speed()
3121 phy->minimum_linkrate = mpi3mr_convert_phy_link_rate( in mpi3mr_transport_phy_speed()
/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()
/drivers/scsi/hisi_sas/
Dhisi_sas_main.c635 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()
1018 phy->minimum_linkrate = SAS_LINK_RATE_1_5_GBPS; in hisi_sas_phy_init()
1202 if (r->minimum_linkrate > SAS_LINK_RATE_1_5_GBPS) in hisi_sas_phy_set_linkrate()
1207 min = r->minimum_linkrate; in hisi_sas_phy_set_linkrate()
1208 } else if (r->minimum_linkrate == SAS_LINK_RATE_UNKNOWN) { in hisi_sas_phy_set_linkrate()
1210 min = sas_phy->phy->minimum_linkrate; in hisi_sas_phy_set_linkrate()
1215 _r.minimum_linkrate = min; in hisi_sas_phy_set_linkrate()
1218 sas_phy->phy->minimum_linkrate = min; in hisi_sas_phy_set_linkrate()
Dhisi_sas.h188 enum sas_linkrate minimum_linkrate; member
Dhisi_sas_v2_hw.c3263 phy->minimum_linkrate = (hard_phy_linkrate >> 4) & 0xf; in sata_int_v2_hw()
/drivers/scsi/pm8001/
Dpm8001_sas.c184 if (rates->minimum_linkrate) { in pm8001_phy_control()
185 pm8001_ha->phy[phy_id].minimum_linkrate = in pm8001_phy_control()
186 rates->minimum_linkrate; in pm8001_phy_control()
Dpm8001_sas.h252 enum sas_linkrate minimum_linkrate; member
Dpm8001_init.c162 phy->minimum_linkrate = SAS_LINK_RATE_1_5_GBPS; in pm8001_phy_init()
Dpm8001_hwi.c3095 sas_phy->minimum_linkrate = phy->minimum_linkrate; in pm8001_get_lrate_mode()
/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.c239 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()
/drivers/scsi/smartpqi/
Dsmartpqi_sas_transport.c72 phy->minimum_linkrate = SAS_LINK_RATE_UNKNOWN; in pqi_sas_port_add_phy()
/drivers/scsi/
Dscsi_transport_sas.c641 sas_phy_linkspeed_rw_attr(minimum_linkrate);
1827 SETUP_PHY_ATTRIBUTE_RW(minimum_linkrate); in sas_attach_transport()
Dhpsa.c9619 phy->minimum_linkrate = SAS_LINK_RATE_UNKNOWN; in hpsa_sas_port_add_phy()
/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()