Searched refs:linkrate (Results 1 - 24 of 24) sorted by relevance

/linux-4.4.14/drivers/scsi/libsas/
H A Dsas_port.c169 port->linkrate = phy->linkrate; sas_form_port()
171 port->linkrate = max(port->linkrate, phy->linkrate); sas_form_port()
H A Dsas_expander.c192 dr->linkrate >= SAS_LINK_RATE_1_5_GBPS) to_dev_type()
201 enum sas_linkrate linkrate; sas_set_ex_phy() local
235 linkrate = phy->linkrate; sas_set_ex_phy()
253 phy->linkrate = dr->linkrate; sas_set_ex_phy()
263 phy->linkrate < SAS_LINK_RATE_1_5_GBPS) sas_set_ex_phy()
284 phy->phy->negotiated_linkrate = phy->linkrate; sas_set_ex_phy()
326 phy->linkrate != linkrate || sas_set_ex_phy()
342 sas_route_char(dev, phy), phy->linkrate, sas_set_ex_phy()
618 phy->linkrate = SAS_PHY_DISABLED; sas_ex_disable_phy()
761 phy->linkrate); sas_ex_get_linkrate()
763 phy->linkrate); sas_ex_get_linkrate()
768 child->linkrate = min(parent_phy->linkrate, child->max_linkrate); sas_ex_get_linkrate()
992 if (ex_phy->linkrate == SAS_SATA_SPINUP_HOLD) { sas_ex_discover_dev()
1022 } else if (ex_phy->linkrate == SAS_LINK_RATE_UNKNOWN) sas_ex_discover_dev()
1186 switch (ex_phy->linkrate) { sas_ex_discover_devices()
H A Dsas_discover.c146 dev->linkrate = port->linkrate; sas_get_port_device()
147 dev->min_linkrate = port->linkrate; sas_get_port_device()
148 dev->max_linkrate = port->linkrate; sas_get_port_device()
H A Dsas_internal.h58 int sas_show_linkrate(enum sas_linkrate linkrate, char *buf);
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Doutpdp.c39 u32 linkrate; nvkm_output_dp_train() local
50 linkrate = link[0] * 27000 * (link[1] & DPCD_LC01_LANE_COUNT_SET); nvkm_output_dp_train()
51 linkrate = (linkrate * 8) / 10; /* 8B/10B coding overhead */ nvkm_output_dp_train()
53 if (linkrate < datarate) { nvkm_output_dp_train()
/linux-4.4.14/drivers/gpu/drm/ast/
H A Dast_dp501.c257 u8 linkcap[4], linkrate, linklanes, maxclk = 0xff; ast_get_dp501_max_clk() local
271 linkrate = linkcap[0]; ast_get_dp501_max_clk()
273 data = (linkrate == 0x0a) ? (90 * linklanes) : (54 * linklanes); ast_get_dp501_max_clk()
/linux-4.4.14/include/scsi/
H A Dlibsas.h122 enum sas_linkrate linkrate; member in struct:ex_phy
194 enum sas_linkrate linkrate; member in struct:domain_device
272 enum sas_linkrate linkrate; member in struct:asd_sas_port
340 enum sas_linkrate linkrate; member in struct:asd_sas_phy
461 phy->linkrate = SAS_LINK_RATE_UNKNOWN; sas_phy_disconnected()
H A Dsas.h381 u8 linkrate:4; member in struct:discover_resp
576 u8 linkrate:4; member in struct:discover_resp
/linux-4.4.14/drivers/scsi/aic94xx/
H A Daic94xx_task.c383 scb->ata_task.proto_conn_rate |= dev->linkrate; asd_build_ata_ascb()
448 scb->smp_task.proto_conn_rate = dev->linkrate; asd_build_smp_ascb()
494 scb->ssp_task.proto_conn_rate |= dev->linkrate; asd_build_ssp_ascb()
H A Daic94xx_scb.c61 phy->sas_phy.linkrate = SAS_LINK_RATE_6_0_GBPS; get_lrate_mode()
65 phy->sas_phy.linkrate = SAS_LINK_RATE_3_0_GBPS; get_lrate_mode()
69 phy->sas_phy.linkrate = SAS_LINK_RATE_1_5_GBPS; get_lrate_mode()
73 sas_phy->negotiated_linkrate = phy->sas_phy.linkrate; get_lrate_mode()
109 phy_id, phy->sas_phy.linkrate, phy->sas_phy.iproto); asd_phy_event_tasklet()
677 __func__, phy_id,phy->sas_phy.linkrate, control_phy_tasklet_complete()
H A Daic94xx_tmf.c445 scb->abort_task.proto_conn_rate |= task->dev->linkrate; asd_abort_task()
602 scb->ssp_tmf.proto_conn_rate |= dev->linkrate; asd_initiate_ssp_tmf()
H A Daic94xx_hwi.c99 sas_phy->linkrate = SAS_LINK_RATE_UNKNOWN; asd_init_phy()
/linux-4.4.14/drivers/scsi/mvsas/
H A Dmv_94xx.c838 sas_phy->linkrate = mvs_94xx_fix_phy_info()
841 sas_phy->linkrate += 0x8; mvs_94xx_fix_phy_info()
842 mv_dprintk("get link rate is %d\n", sas_phy->linkrate); mvs_94xx_fix_phy_info()
H A Dmv_sas.c254 sphy->negotiated_linkrate = sas_phy->linkrate; mvs_bytes_dmaed()
408 buf_oaf[1] = min(sas_port->linkrate, dev->linkrate) & 0xf; mvs_task_prep_smp()
553 buf_oaf[1] = min(sas_port->linkrate, dev->linkrate) & 0xf; mvs_task_prep_ata()
661 buf_oaf[1] = min(sas_port->linkrate, dev->linkrate) & 0xf; mvs_task_prep_ssp()
H A Dmv_64xx.c596 sas_phy->linkrate = mvs_64xx_fix_phy_info()
H A Dmv_init.c104 sas_phy->linkrate = SAS_LINK_RATE_UNKNOWN; mvs_phy_init()
/linux-4.4.14/drivers/scsi/pm8001/
H A Dpm8001_hwi.c3239 sphy->negotiated_linkrate = sas_phy->linkrate; pm8001_bytes_dmaed()
3268 phy->sas_phy.linkrate = SAS_LINK_RATE_12_0_GBPS; pm8001_get_lrate_mode()
3272 phy->sas_phy.linkrate = SAS_LINK_RATE_6_0_GBPS; pm8001_get_lrate_mode()
3276 phy->sas_phy.linkrate = SAS_LINK_RATE_3_0_GBPS; pm8001_get_lrate_mode()
3280 phy->sas_phy.linkrate = SAS_LINK_RATE_1_5_GBPS; pm8001_get_lrate_mode()
3284 sas_phy->negotiated_linkrate = phy->sas_phy.linkrate; pm8001_get_lrate_mode()
4521 u32 linkrate, phy_id; pm8001_chip_reg_dev_req() local
4554 linkrate = (pm8001_dev->sas_device->linkrate < dev->port->linkrate) ? pm8001_chip_reg_dev_req()
4555 pm8001_dev->sas_device->linkrate : dev->port->linkrate; pm8001_chip_reg_dev_req()
4560 ((linkrate & 0x0F) * 0x1000000) | pm8001_chip_reg_dev_req()
H A Dpm80xx_hwi.c2914 "portid:%d; phyid:%d; linkrate:%d; " hw_event_sas_phy_up()
4430 u32 linkrate, phy_id; pm80xx_chip_reg_dev_req() local
4466 linkrate = (pm8001_dev->sas_device->linkrate < dev->port->linkrate) ? pm80xx_chip_reg_dev_req()
4467 pm8001_dev->sas_device->linkrate : dev->port->linkrate; pm80xx_chip_reg_dev_req()
4474 ((linkrate & 0x0F) << 24) | pm80xx_chip_reg_dev_req()
H A Dpm8001_init.c133 sas_phy->linkrate = SAS_LINK_RATE_UNKNOWN; pm8001_phy_init()
/linux-4.4.14/drivers/atm/
H A Didt77252.c3262 unsigned int linkrate, rsvdcr; init_card() local
3468 linkrate = 149760000; init_card()
3471 card->link_pcr = (linkrate / 8 / 53); init_card()
3473 card->name, linkrate, card->link_pcr); init_card()
/linux-4.4.14/drivers/scsi/isci/
H A Dphy.c1416 iphy->sas_phy.linkrate = SAS_LINK_RATE_UNKNOWN; isci_phy_init()
H A Dremote_device.c1331 dev->linkrate); sci_remote_device_ea_construct()
/linux-4.4.14/drivers/gpu/drm/i915/
H A Di915_reg.h7420 #define DPLL_CTRL1_LINK_RATE(linkrate, id) ((linkrate)<<((id)*6+1))
H A Dintel_display.c6704 uint32_t linkrate; skylake_get_display_clock_speed() local
6712 linkrate = (I915_READ(DPLL_CTRL1) & skylake_get_display_clock_speed()
6715 if (linkrate == DPLL_CTRL1_LINK_RATE_2160 || skylake_get_display_clock_speed()
6716 linkrate == DPLL_CTRL1_LINK_RATE_1080) { skylake_get_display_clock_speed()

Completed in 1018 milliseconds