Home
last modified time | relevance | path

Searched refs:maximum_linkrate (Results 1 – 25 of 25) sorted by relevance

/linux-6.1.9/drivers/scsi/libsas/
Dsas_init.c327 rates->minimum_linkrate > phy->maximum_linkrate) || in sas_set_phy_speed()
328 (rates->maximum_linkrate && in sas_set_phy_speed()
329 rates->maximum_linkrate < phy->minimum_linkrate)) in sas_set_phy_speed()
336 if (rates->maximum_linkrate && in sas_set_phy_speed()
337 rates->maximum_linkrate > phy->maximum_linkrate_hw) in sas_set_phy_speed()
338 rates->maximum_linkrate = phy->maximum_linkrate_hw; in sas_set_phy_speed()
Dsas_host_smp.c39 resp_data[41] = (phy->maximum_linkrate << 4) | in sas_host_smp_discover()
211 rates.maximum_linkrate = max; in sas_phy_control()
Dsas_phy.c146 phy->phy->maximum_linkrate = SAS_LINK_RATE_UNKNOWN; in sas_register_phys()
Dsas_expander.c263 phy->phy->maximum_linkrate = dr->pmax_linkrate; in sas_set_ex_phy()
578 pc_req[33] = rates->maximum_linkrate << 4; in sas_smp_phy_control()
799 .maximum_linkrate = parent->min_linkrate, in sas_ex_discover_end_dev()
/linux-6.1.9/include/scsi/
Dscsi_transport_sas.h73 enum sas_linkrate maximum_linkrate; member
169 enum sas_linkrate maximum_linkrate; member
/linux-6.1.9/drivers/scsi/mpt3sas/
Dmpt3sas_transport.c1047 phy->maximum_linkrate = _transport_convert_phy_link_rate( in mpt3sas_transport_add_host_phy()
1118 phy->maximum_linkrate = _transport_convert_phy_link_rate( in mpt3sas_transport_add_expander_phy()
1618 phy->maximum_linkrate << 4; in _transport_expander_phy_control()
1921 if (!rates->maximum_linkrate) in _transport_phy_speed()
1922 rates->maximum_linkrate = phy->maximum_linkrate; in _transport_phy_speed()
1923 else if (rates->maximum_linkrate > phy->maximum_linkrate_hw) in _transport_phy_speed()
1924 rates->maximum_linkrate = phy->maximum_linkrate_hw; in _transport_phy_speed()
1929 phy->maximum_linkrate = rates->maximum_linkrate; in _transport_phy_speed()
1966 (ioc->sas_hba.phy[i].phy->maximum_linkrate << 4)); in _transport_phy_speed()
1970 (rates->maximum_linkrate << 4)); in _transport_phy_speed()
[all …]
/linux-6.1.9/drivers/scsi/mpi3mr/
Dmpi3mr_transport.c902 phy->maximum_linkrate = mpi3mr_convert_phy_link_rate( in mpi3mr_add_host_phy()
973 phy->maximum_linkrate = mpi3mr_convert_phy_link_rate( in mpi3mr_add_expander_phy()
2820 phy->maximum_linkrate << 4; in mpi3mr_expander_phy_control()
3063 if (!rates->maximum_linkrate) in mpi3mr_transport_phy_speed()
3064 rates->maximum_linkrate = phy->maximum_linkrate; in mpi3mr_transport_phy_speed()
3065 else if (rates->maximum_linkrate > phy->maximum_linkrate_hw) in mpi3mr_transport_phy_speed()
3066 rates->maximum_linkrate = phy->maximum_linkrate_hw; in mpi3mr_transport_phy_speed()
3071 phy->maximum_linkrate = rates->maximum_linkrate; in mpi3mr_transport_phy_speed()
3094 (rates->minimum_linkrate + (rates->maximum_linkrate << 4)); in mpi3mr_transport_phy_speed()
3114 phy->maximum_linkrate = mpi3mr_convert_phy_link_rate( in mpi3mr_transport_phy_speed()
/linux-6.1.9/drivers/scsi/aic94xx/
Daic94xx_scb.c58 sas_phy->maximum_linkrate = phy->phy_desc->max_sas_lrate; in get_lrate_mode()
908 if (rates->maximum_linkrate) { in asd_control_phy()
909 pd->max_sas_lrate = rates->maximum_linkrate; in asd_control_phy()
910 pd->max_sata_lrate = rates->maximum_linkrate; in asd_control_phy()
/linux-6.1.9/drivers/scsi/hisi_sas/
Dhisi_sas_main.c633 if (sphy->maximum_linkrate == SAS_LINK_RATE_UNKNOWN) in hisi_sas_bytes_dmaed()
634 sphy->maximum_linkrate = phy->maximum_linkrate; in hisi_sas_bytes_dmaed()
973 phy->maximum_linkrate = hisi_hba->hw->phy_get_max_linkrate(); in hisi_sas_phy_init()
1163 if (r->maximum_linkrate == SAS_LINK_RATE_UNKNOWN) { in hisi_sas_phy_set_linkrate()
1164 max = sas_phy->phy->maximum_linkrate; in hisi_sas_phy_set_linkrate()
1167 max = r->maximum_linkrate; in hisi_sas_phy_set_linkrate()
1172 _r.maximum_linkrate = max; in hisi_sas_phy_set_linkrate()
1175 sas_phy->phy->maximum_linkrate = max; in hisi_sas_phy_set_linkrate()
Dhisi_sas.h188 enum sas_linkrate maximum_linkrate; member
Dhisi_sas_v2_hw.c1234 if (!sas_phy->phy || (sas_phy->phy->maximum_linkrate < in init_reg_v2_hw()
1238 enum sas_linkrate max = sas_phy->phy->maximum_linkrate; in init_reg_v2_hw()
1614 enum sas_linkrate max = r->maximum_linkrate; in phy_set_linkrate_v2_hw()
3252 phy->maximum_linkrate = hard_phy_linkrate & 0xf; in sata_int_v2_hw()
Dhisi_sas_v3_hw.c630 if (!sas_phy->phy || (sas_phy->phy->maximum_linkrate < in init_reg_v3_hw()
634 max = sas_phy->phy->maximum_linkrate; in init_reg_v3_hw()
2533 enum sas_linkrate max = r->maximum_linkrate; in phy_set_linkrate_v3_hw()
Dhisi_sas_v1_hw.c842 enum sas_linkrate max = r->maximum_linkrate; in phy_set_linkrate_v1_hw()
/linux-6.1.9/drivers/scsi/pm8001/
Dpm8001_sas.c179 if (rates->maximum_linkrate) { in pm8001_phy_control()
180 pm8001_ha->phy[phy_id].maximum_linkrate = in pm8001_phy_control()
181 rates->maximum_linkrate; in pm8001_phy_control()
Dpm8001_sas.h252 enum sas_linkrate maximum_linkrate; member
Dpm8001_init.c162 phy->maximum_linkrate = SAS_LINK_RATE_6_0_GBPS; in pm8001_phy_init()
Dpm8001_hwi.c3187 sas_phy->maximum_linkrate_hw = phy->maximum_linkrate; in pm8001_get_lrate_mode()
3189 sas_phy->maximum_linkrate = phy->maximum_linkrate; in pm8001_get_lrate_mode()
/linux-6.1.9/drivers/scsi/mvsas/
Dmv_64xx.c588 phy->maximum_linkrate = in mvs_64xx_fix_phy_info()
629 lrmax = (rates->maximum_linkrate << 12); in mvs_64xx_phy_set_link_rate()
Dmv_sas.h223 enum sas_linkrate maximum_linkrate; member
Dmv_94xx.c876 phy->maximum_linkrate = SAS_LINK_RATE_6_0_GBPS; in mvs_94xx_fix_phy_info()
901 lrmax = (rates->maximum_linkrate - SAS_LINK_RATE_1_5_GBPS) << 12; in mvs_94xx_phy_set_link_rate()
Dmv_sas.c245 sphy->maximum_linkrate = phy->maximum_linkrate; in mvs_bytes_dmaed()
/linux-6.1.9/drivers/scsi/smartpqi/
Dsmartpqi_sas_transport.c73 phy->maximum_linkrate = SAS_LINK_RATE_UNKNOWN; in pqi_sas_port_add_phy()
/linux-6.1.9/drivers/scsi/
Dscsi_transport_sas.c620 sas_phy_linkspeed_rw_attr(maximum_linkrate);
1806 SETUP_PHY_ATTRIBUTE_RW(maximum_linkrate); in sas_attach_transport()
Dhpsa.c9627 phy->maximum_linkrate = SAS_LINK_RATE_UNKNOWN; in hpsa_sas_port_add_phy()
/linux-6.1.9/drivers/message/fusion/
Dmptsas.c3133 phy->maximum_linkrate = SAS_LINK_RATE_1_5_GBPS; in mptsas_probe_one_phy()
3136 phy->maximum_linkrate = SAS_LINK_RATE_3_0_GBPS; in mptsas_probe_one_phy()