/kernel/linux/linux-5.10/net/atm/ |
D | atm_sysfs.c | 74 int link_rate; in show_link_rate() local 77 switch (adev->link_rate) { in show_link_rate() 79 link_rate = 155520000; in show_link_rate() 82 link_rate = 622080000; in show_link_rate() 85 link_rate = 25600000; in show_link_rate() 88 link_rate = adev->link_rate * 8 * 53; in show_link_rate() 90 return scnprintf(buf, PAGE_SIZE, "%d\n", link_rate); in show_link_rate() 98 static DEVICE_ATTR(link_rate, 0444, show_link_rate, NULL);
|
D | resources.c | 44 dev->link_rate = ATM_OC3_PCR; in __alloc_atm_dev() 307 if (copy_to_user(buf, &dev->link_rate, size)) { in atm_dev_ioctl()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link_dp.c | 190 rate = (uint8_t) (lt_settings->link_settings.link_rate); in dpcd_set_link_settings() 198 lt_settings->link_settings.link_rate, in dpcd_set_link_settings() 549 max_lt_setting->link_settings.link_rate = in find_max_drive_settings() 550 link_training_setting->link_settings.link_rate; in find_max_drive_settings() 653 request_settings.link_settings.link_rate = in get_lane_status_and_drive_settings() 654 link_training_setting->link_settings.link_rate; in get_lane_status_and_drive_settings() 1207 if (link->preferred_link_setting.link_rate != LINK_RATE_UNKNOWN) in initialize_training_settings() 1208 lt_settings->link_settings.link_rate = link->preferred_link_setting.link_rate; in initialize_training_settings() 1210 lt_settings->link_settings.link_rate = link_setting->link_rate; in initialize_training_settings() 1390 char *link_rate = "Unknown"; in print_status_message() local [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_dp_link_training.c | 163 intel_dp_compute_rate(intel_dp, intel_dp->link_rate, in intel_dp_link_training_clock_recovery() 283 } else if (intel_dp->link_rate == 810000) { in intel_dp_training_pattern() 300 } else if (intel_dp->link_rate >= 540000) { in intel_dp_training_pattern() 404 intel_dp->link_rate, intel_dp->lane_count); in intel_dp_start_link_train() 412 intel_dp->link_rate, intel_dp->lane_count); in intel_dp_start_link_train() 419 intel_dp->link_rate, in intel_dp_start_link_train()
|
D | intel_dp.h | 47 int link_rate, u8 lane_count, 50 int link_rate, u8 lane_count);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/edp/ |
D | edp_ctrl.c | 98 u8 link_rate; member 219 (unsigned long)ctrl->link_rate * 27000000); in edp_clk_enable() 221 (unsigned long)ctrl->link_rate * 27000000); in edp_clk_enable() 415 ctrl->link_rate = ctrl->dpcd[DP_MAX_LINK_RATE]; in edp_fill_link_cfg() 421 lrate *= ctrl->link_rate; in edp_fill_link_cfg() 431 DBG("rate=%d lane=%d", ctrl->link_rate, ctrl->lane_cnt); in edp_fill_link_cfg() 701 rate = ctrl->link_rate; in edp_link_rate_down_shift() 730 ctrl->link_rate = rate; in edp_link_rate_down_shift() 762 values[1] = ctrl->link_rate; in edp_do_link_train() 849 if (ctrl->link_rate == DP_LINK_BW_1_62) { in edp_sw_mvid_nvid() [all …]
|
/kernel/linux/linux-5.10/sound/x86/ |
D | intel_hdmi_audio.c | 638 static int had_calculate_maud_value(u32 aud_samp_freq, u32 link_rate) in had_calculate_maud_value() argument 643 if (link_rate == DP_2_7_GHZ) { in had_calculate_maud_value() 677 } else if (link_rate == DP_1_62_GHZ) { in had_calculate_maud_value() 728 static void had_prog_cts(u32 aud_samp_freq, u32 tmds, u32 link_rate, in had_prog_cts() argument 736 cts_val = had_calculate_maud_value(aud_samp_freq, link_rate); in had_prog_cts() 1198 u32 link_rate = 0; in had_pcm_prepare() local 1226 link_rate = intelhaddata->link_rate; in had_pcm_prepare() 1228 had_prog_cts(substream->runtime->rate, disp_samp_freq, link_rate, in had_pcm_prepare() 1303 u32 link_rate = 0; in had_process_mode_change() local 1323 link_rate = intelhaddata->link_rate; in had_process_mode_change() [all …]
|
D | intel_hdmi_audio.h | 113 int link_rate; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_debugfs.c | 203 link->cur_link_settings.link_rate, in dp_link_settings_read() 210 link->verified_link_cap.link_rate, in dp_link_settings_read() 217 link->reported_link_cap.link_rate, in dp_link_settings_read() 224 link->preferred_link_setting.link_rate, in dp_link_settings_read() 315 prefer_link_settings.link_rate = param[1]; in dp_link_settings_write() 451 ((link->preferred_link_setting.link_rate != LINK_RATE_UNKNOWN) && in dp_phy_settings_write() 459 link_lane_settings.link_settings.link_rate = in dp_phy_settings_write() 460 link->preferred_link_setting.link_rate; in dp_phy_settings_write() 466 link_lane_settings.link_settings.link_rate = in dp_phy_settings_write() 467 link->cur_link_settings.link_rate; in dp_phy_settings_write() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/analogix/ |
D | analogix_dp_core.c | 272 analogix_dp_set_link_bandwidth(dp, dp->link_train.link_rate); in analogix_dp_link_start() 276 buf[0] = dp->link_train.link_rate; in analogix_dp_link_start() 577 dp->link_train.link_rate = reg; in analogix_dp_process_equalizer_training() 579 dp->link_train.link_rate); in analogix_dp_process_equalizer_training() 653 analogix_dp_get_max_rx_bandwidth(dp, &dp->link_train.link_rate); in analogix_dp_full_link_train() 656 if ((dp->link_train.link_rate != DP_LINK_BW_1_62) && in analogix_dp_full_link_train() 657 (dp->link_train.link_rate != DP_LINK_BW_2_7) && in analogix_dp_full_link_train() 658 (dp->link_train.link_rate != DP_LINK_BW_5_4)) { in analogix_dp_full_link_train() 660 dp->link_train.link_rate); in analogix_dp_full_link_train() 661 dp->link_train.link_rate = DP_LINK_BW_1_62; in analogix_dp_full_link_train() [all …]
|
/kernel/linux/linux-5.10/include/linux/phy/ |
D | phy-dp.h | 25 unsigned int link_rate; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/ |
D | cdn-dp-reg.c | 635 u32 val, link_rate, rem; in cdn_dp_config_video() local 642 link_rate = dp->max_rate / 1000; in cdn_dp_config_video() 662 do_div(symbol, dp->max_lanes * link_rate * 8); in cdn_dp_config_video() 668 mode->clock, dp->max_lanes, link_rate); in cdn_dp_config_video() 681 val = div_u64(mode->clock * (symbol + 1), 1000) + link_rate; in cdn_dp_config_video() 682 val /= (dp->max_lanes * link_rate); in cdn_dp_config_video()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_link_encoder.c | 1145 cntl.pixel_clock = link_settings->link_rate in dce110_link_encoder_enable_dp_output() 1184 cntl.pixel_clock = link_settings->link_rate in dce110_link_encoder_enable_dp_mst_output() 1224 cntl.pixel_clock = link_settings->link_rate in dce60_link_encoder_enable_dp_output() 1263 cntl.pixel_clock = link_settings->link_rate in dce60_link_encoder_enable_dp_mst_output() 1344 cntl.pixel_clock = link_settings->link_settings.link_rate * in dce110_link_encoder_dp_set_lane_settings() 1356 if (link_settings->link_settings.link_rate == LINK_RATE_HIGH2) { in dce110_link_encoder_dp_set_lane_settings() 1676 max_link_cap.link_rate = LINK_RATE_HIGH2; in dce110_link_encoder_get_max_link_cap() 1679 max_link_cap.link_rate = LINK_RATE_HIGH3; in dce110_link_encoder_get_max_link_cap()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_link_encoder.c | 983 cntl.pixel_clock = link_settings->link_rate in dcn10_link_encoder_enable_dp_output() 1022 cntl.pixel_clock = link_settings->link_rate in dcn10_link_encoder_enable_dp_mst_output() 1105 cntl.pixel_clock = link_settings->link_settings.link_rate * in dcn10_link_encoder_dp_set_lane_settings() 1117 if (link_settings->link_settings.link_rate == LINK_RATE_HIGH2) { in dcn10_link_encoder_dp_set_lane_settings() 1443 max_link_cap.link_rate = LINK_RATE_HIGH2; in dcn10_link_encoder_get_max_link_cap() 1446 max_link_cap.link_rate = LINK_RATE_HIGH3; in dcn10_link_encoder_get_max_link_cap()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/cadence/ |
D | cdns-mhdp8546-core.c | 626 return min(mhdp->host.link_rate, mhdp->sink.link_rate); in cdns_mhdp_max_link_rate() 880 phy_cfg.dp.link_rate = mhdp->link.rate / 100; in cdns_mhdp_link_training_init() 1353 unsigned int link_rate; in cdns_mhdp_fill_host_caps() local 1361 link_rate = mhdp->phy->attrs.max_link_rate; in cdns_mhdp_fill_host_caps() 1362 if (!link_rate) in cdns_mhdp_fill_host_caps() 1363 link_rate = drm_dp_bw_code_to_link_rate(DP_LINK_BW_8_1); in cdns_mhdp_fill_host_caps() 1366 link_rate *= 100; in cdns_mhdp_fill_host_caps() 1368 mhdp->host.link_rate = link_rate; in cdns_mhdp_fill_host_caps() 1384 mhdp->sink.link_rate = mhdp->link.rate; in cdns_mhdp_fill_sink_caps() 2195 mhdp->link.rate = mhdp->host.link_rate; in cdns_mhdp_update_link_status() [all …]
|
D | cdns-mhdp8546-core.h | 283 unsigned int link_rate; member 296 unsigned int link_rate; member
|
/kernel/linux/linux-5.10/drivers/scsi/pm8001/ |
D | pm8001_init.c | 50 static ulong link_rate = LINKRATE_15 | LINKRATE_30 | LINKRATE_60 | LINKRATE_120; variable 51 module_param(link_rate, ulong, 0644); 52 MODULE_PARM_DESC(link_rate, "Enable link rate.\n" 516 if (link_rate >= 1 && link_rate <= 15) in pm8001_pci_alloc() 517 pm8001_ha->link_rate = (link_rate << 8); in pm8001_pci_alloc() 519 pm8001_ha->link_rate = LINKRATE_15 | LINKRATE_30 | in pm8001_pci_alloc()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/ |
D | dce110_clk_mgr.c | 157 cfg->link_settings.link_rate = in dce110_fill_display_configs() 158 stream->link->cur_link_settings.link_rate; in dce110_fill_display_configs()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_link_encoder.c | 184 switch (link_settings->link_rate) { in update_cfg_data() 199 __func__, link_settings->link_rate); in update_cfg_data()
|
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/ |
D | hisi_sas_v2_hw.c | 2638 u32 port_id, link_rate; in phy_up_v2_hw() local 2658 link_rate = (port_state & PORT_STATE_PHY8_CONN_RATE_MSK) >> in phy_up_v2_hw() 2663 link_rate = hisi_sas_read32(hisi_hba, PHY_CONN_RATE); in phy_up_v2_hw() 2664 link_rate = (link_rate >> (phy_no * 4)) & 0xf; in phy_up_v2_hw() 2679 sas_phy->linkrate = link_rate; in phy_up_v2_hw() 2682 dev_info(dev, "phyup: phy%d link_rate=%d\n", phy_no, link_rate); in phy_up_v2_hw() 3202 u32 ent_tmp, ent_msk, ent_int, port_id, link_rate, hard_phy_linkrate; in sata_int_v2_hw() local 3243 link_rate = (port_state & PORT_STATE_PHY8_CONN_RATE_MSK) >> in sata_int_v2_hw() 3248 link_rate = hisi_sas_read32(hisi_hba, PHY_CONN_RATE); in sata_int_v2_hw() 3249 link_rate = (link_rate >> (phy_no * 4)) & 0xf; in sata_int_v2_hw() [all …]
|
D | hisi_sas_v1_hw.c | 1326 u32 irq_value, context, port_id, link_rate; in int_phyup_v1_hw() local 1362 link_rate = hisi_sas_read32(hisi_hba, PHY_CONN_RATE); in int_phyup_v1_hw() 1363 link_rate = (link_rate >> (phy_no * 4)) & 0xf; in int_phyup_v1_hw() 1364 sas_phy->linkrate = link_rate; in int_phyup_v1_hw() 1369 phy_no, link_rate); in int_phyup_v1_hw()
|
/kernel/linux/linux-5.10/drivers/scsi/isci/ |
D | phy.c | 127 u32 llctl, link_rate; in sci_phy_link_layer_initialization() local 272 link_rate = SCU_SAS_LINK_LAYER_CONTROL_MAX_LINK_RATE_GEN3; in sci_phy_link_layer_initialization() 275 link_rate = SCU_SAS_LINK_LAYER_CONTROL_MAX_LINK_RATE_GEN2; in sci_phy_link_layer_initialization() 278 link_rate = SCU_SAS_LINK_LAYER_CONTROL_MAX_LINK_RATE_GEN1; in sci_phy_link_layer_initialization() 281 llctl |= SCU_SAS_LLCTL_GEN_VAL(MAX_LINK_RATE, link_rate); in sci_phy_link_layer_initialization()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_link_encoder.c | 224 switch (link_settings->link_rate) { in update_cfg_data() 239 __func__, link_settings->link_rate); in update_cfg_data()
|
D | dcn20_stream_encoder.c | 452 if (param->link_settings.link_rate != LINK_RATE_UNKNOWN) { in enc2_stream_encoder_dp_unblank() 469 param->link_settings.link_rate in enc2_stream_encoder_dp_unblank()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/include/ |
D | bios_parser_types.h | 125 enum dc_link_rate link_rate; member
|