/openbmc/linux/drivers/scsi/libsas/ |
H A D | sas_port.c | 91 port->linkrate = phy->linkrate; in sas_form_port_add_phy() 93 port->linkrate = max(port->linkrate, phy->linkrate); in sas_form_port_add_phy()
|
H A D | sas_expander.c | 172 dr->linkrate >= SAS_LINK_RATE_1_5_GBPS) in to_dev_type() 182 enum sas_linkrate linkrate; in sas_set_ex_phy() local 215 linkrate = phy->linkrate; in sas_set_ex_phy() 233 phy->linkrate = dr->linkrate; in sas_set_ex_phy() 263 phy->phy->negotiated_linkrate = phy->linkrate; in sas_set_ex_phy() 264 phy->phy->enabled = (phy->linkrate != SAS_PHY_DISABLED); in sas_set_ex_phy() 306 phy->linkrate != linkrate || in sas_set_ex_phy() 322 sas_route_char(dev, phy), phy->linkrate, in sas_set_ex_phy() 600 phy->linkrate = SAS_PHY_DISABLED; in sas_ex_disable_phy() 742 phy->linkrate); in sas_ex_get_linkrate() [all …]
|
H A D | sas_discover.c | 138 dev->linkrate = port->linkrate; in sas_get_port_device() 139 dev->min_linkrate = port->linkrate; in sas_get_port_device() 140 dev->max_linkrate = port->linkrate; in sas_get_port_device()
|
H A D | sas_ata.c | 680 if (child->linkrate > parent->min_linkrate) { in sas_ata_add_dev() 702 child->linkrate = child->min_linkrate; in sas_ata_add_dev()
|
/openbmc/linux/include/scsi/ |
H A D | libsas.h | 88 enum sas_linkrate linkrate; member 160 enum sas_linkrate linkrate; member 243 enum sas_linkrate linkrate; member 316 enum sas_linkrate linkrate; member 417 phy->linkrate = SAS_LINK_RATE_UNKNOWN; in sas_phy_disconnected()
|
H A D | sas.h | 412 u8 linkrate:4; member 634 u8 linkrate:4; member
|
/openbmc/linux/drivers/scsi/aic94xx/ |
H A D | aic94xx_scb.c | 43 phy->sas_phy.linkrate = SAS_LINK_RATE_6_0_GBPS; in get_lrate_mode() 47 phy->sas_phy.linkrate = SAS_LINK_RATE_3_0_GBPS; in get_lrate_mode() 51 phy->sas_phy.linkrate = SAS_LINK_RATE_1_5_GBPS; in get_lrate_mode() 55 sas_phy->negotiated_linkrate = phy->sas_phy.linkrate; in get_lrate_mode() 91 phy_id, phy->sas_phy.linkrate, phy->sas_phy.iproto); in asd_phy_event_tasklet() 661 __func__, phy_id,phy->sas_phy.linkrate, in control_phy_tasklet_complete()
|
H A D | aic94xx_task.c | 367 scb->ata_task.proto_conn_rate |= dev->linkrate; in asd_build_ata_ascb() 427 scb->smp_task.proto_conn_rate = dev->linkrate; in asd_build_smp_ascb() 473 scb->ssp_task.proto_conn_rate |= dev->linkrate; in asd_build_ssp_ascb()
|
H A D | aic94xx_tmf.c | 426 scb->abort_task.proto_conn_rate |= task->dev->linkrate; in asd_abort_task() 583 scb->ssp_tmf.proto_conn_rate |= dev->linkrate; in asd_initiate_ssp_tmf()
|
H A D | aic94xx_hwi.c | 79 sas_phy->linkrate = SAS_LINK_RATE_UNKNOWN; in asd_init_phy()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_main.h | 195 unsigned int nfp_net_lr2speed(unsigned int linkrate);
|
H A D | nfp_net_main.c | 526 unsigned int nfp_net_lr2speed(unsigned int linkrate) in nfp_net_lr2speed() argument 528 if (linkrate < ARRAY_SIZE(lr_to_speed)) in nfp_net_lr2speed() 529 return lr_to_speed[linkrate]; in nfp_net_lr2speed()
|
/openbmc/linux/drivers/scsi/mvsas/ |
H A D | mv_sas.c | 238 sphy->negotiated_linkrate = sas_phy->linkrate; in mvs_bytes_dmaed() 391 buf_oaf[1] = min(sas_port->linkrate, dev->linkrate) & 0xf; in mvs_task_prep_smp() 539 buf_oaf[1] = min(sas_port->linkrate, dev->linkrate) & 0xf; in mvs_task_prep_ata() 643 buf_oaf[1] = min(sas_port->linkrate, dev->linkrate) & 0xf; in mvs_task_prep_ssp()
|
H A D | mv_94xx.c | 870 sas_phy->linkrate = in mvs_94xx_fix_phy_info() 873 sas_phy->linkrate += 0x8; in mvs_94xx_fix_phy_info() 874 mv_dprintk("get link rate is %d\n", sas_phy->linkrate); in mvs_94xx_fix_phy_info()
|
H A D | mv_64xx.c | 581 sas_phy->linkrate = in mvs_64xx_fix_phy_info()
|
H A D | mv_init.c | 91 sas_phy->linkrate = SAS_LINK_RATE_UNKNOWN; in mvs_phy_init()
|
/openbmc/linux/drivers/scsi/pm8001/ |
H A D | pm8001_hwi.c | 3079 phy->sas_phy.linkrate = SAS_LINK_RATE_12_0_GBPS; in pm8001_get_lrate_mode() 3082 phy->sas_phy.linkrate = SAS_LINK_RATE_6_0_GBPS; in pm8001_get_lrate_mode() 3085 phy->sas_phy.linkrate = SAS_LINK_RATE_3_0_GBPS; in pm8001_get_lrate_mode() 3088 phy->sas_phy.linkrate = SAS_LINK_RATE_1_5_GBPS; in pm8001_get_lrate_mode() 3091 sas_phy->negotiated_linkrate = phy->sas_phy.linkrate; in pm8001_get_lrate_mode() 4219 u32 linkrate, phy_id; in pm8001_chip_reg_dev_req() local 4249 linkrate = (pm8001_dev->sas_device->linkrate < dev->port->linkrate) ? in pm8001_chip_reg_dev_req() 4250 pm8001_dev->sas_device->linkrate : dev->port->linkrate; in pm8001_chip_reg_dev_req() 4255 ((linkrate & 0x0F) * 0x1000000) | in pm8001_chip_reg_dev_req()
|
H A D | pm80xx_hwi.c | 3656 phy->sas_phy.linkrate = SAS_PHY_DISABLED; in mpi_phy_stop_resp() 4712 u32 linkrate, phy_id; in pm80xx_chip_reg_dev_req() local 4745 linkrate = (pm8001_dev->sas_device->linkrate < dev->port->linkrate) ? in pm80xx_chip_reg_dev_req() 4746 pm8001_dev->sas_device->linkrate : dev->port->linkrate; in pm80xx_chip_reg_dev_req() 4753 ((linkrate & 0x0F) << 24) | in pm80xx_chip_reg_dev_req()
|
/openbmc/linux/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_main.c | 631 sphy->negotiated_linkrate = sas_phy->linkrate; in hisi_sas_bytes_dmaed() 1025 sas_phy->linkrate = SAS_LINK_RATE_UNKNOWN; in hisi_sas_phy_init() 1376 device->linkrate = phy->sas_phy.linkrate; in hisi_sas_refresh_port_id()
|
H A D | hisi_sas_v3_hw.c | 854 (device->linkrate << ITCT_HDR_MCR_OFF) | in setup_itct_v3_hw() 1544 sas_phy->linkrate = link_rate; in phy_up_v3_hw() 3220 u32 linkrate = hisi_hba->debugfs_bist_linkrate; in debugfs_set_bist_v3_hw() local 3229 phy_no, linkrate, code_mode, path_mode, in debugfs_set_bist_v3_hw() 3244 reg_val |= (linkrate << CFG_PROG_OOB_PHY_LINK_RATE_OFF); in debugfs_set_bist_v3_hw()
|
H A D | hisi_sas_v2_hw.c | 956 (device->linkrate << ITCT_HDR_MCR_OFF) | in setup_itct_v2_hw() 2687 sas_phy->linkrate = link_rate; in phy_up_v2_hw() 3259 sas_phy->linkrate = link_rate; in sata_int_v2_hw()
|
/openbmc/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_dp.c | 1958 u32 linkrate; in mtk_dp_dt_parse() 1979 ret = device_property_read_u32(dev, "max-linkrate-mhz", &linkrate); in mtk_dp_dt_parse() 1981 dev_err(dev, "failed to read max linkrate: %d\n", ret); in mtk_dp_dt_parse() 1985 mtk_dp->max_linkrate = drm_dp_link_rate_to_bw_code(linkrate * 100); in mtk_dp_dt_parse() 2375 * If the linkrate is smaller than datarate of RGB888, larger than in mtk_dp_bridge_atomic_get_input_bus_fmts() 1955 u32 linkrate; mtk_dp_dt_parse() local
|
/openbmc/linux/drivers/atm/ |
H A D | idt77252.c | 3262 unsigned int linkrate, rsvdcr; in init_card() local 3468 linkrate = 149760000; in init_card() 3471 card->link_pcr = (linkrate / 8 / 53); in init_card() 3473 card->name, linkrate, card->link_pcr); in init_card()
|
/openbmc/linux/Documentation/scsi/ |
H A D | libsas.rst | 80 class, proto, type, role, oob_mode, linkrate
|
/openbmc/linux/drivers/scsi/isci/ |
H A D | phy.c | 1411 iphy->sas_phy.linkrate = SAS_LINK_RATE_UNKNOWN; in isci_phy_init()
|