Home
last modified time | relevance | path

Searched full:train (Results 1 – 25 of 64) sorted by relevance

123

/Linux-v6.1/drivers/gpu/drm/tegra/
Ddp.c437 * @train: DisplayPort link training state
439 void drm_dp_link_train_init(struct drm_dp_link_train *train) in drm_dp_link_train_init() argument
441 struct drm_dp_link_train_set *request = &train->request; in drm_dp_link_train_init()
442 struct drm_dp_link_train_set *adjust = &train->adjust; in drm_dp_link_train_init()
456 train->pattern = DP_TRAINING_PATTERN_DISABLE; in drm_dp_link_train_init()
457 train->clock_recovered = false; in drm_dp_link_train_init()
458 train->channel_equalized = false; in drm_dp_link_train_init()
461 static bool drm_dp_link_train_valid(const struct drm_dp_link_train *train) in drm_dp_link_train_valid() argument
463 return train->clock_recovered && train->channel_equalized; in drm_dp_link_train_valid()
468 struct drm_dp_link_train_set *request = &link->train.request; in drm_dp_link_apply_training()
[all …]
Ddp.h157 * @train: DP link training state
159 struct drm_dp_link_train train; member
174 void drm_dp_link_train_init(struct drm_dp_link_train *train);
/Linux-v6.1/drivers/gpu/drm/i915/display/
Dintel_fdi.c339 /* enable normal train */ in intel_fdi_normal_train()
392 /* Train 1: umask FDI RX Interrupt symbol_lock and bit_lock bit in ilk_fdi_link_train()
393 for train result */ in ilk_fdi_link_train()
432 drm_dbg_kms(&dev_priv->drm, "FDI train 1 done.\n"); in ilk_fdi_link_train()
438 drm_err(&dev_priv->drm, "FDI train 1 fail!\n"); in ilk_fdi_link_train()
440 /* Train 2 */ in ilk_fdi_link_train()
464 drm_dbg_kms(&dev_priv->drm, "FDI train 2 done.\n"); in ilk_fdi_link_train()
469 drm_err(&dev_priv->drm, "FDI train 2 fail!\n"); in ilk_fdi_link_train()
471 drm_dbg_kms(&dev_priv->drm, "FDI train done\n"); in ilk_fdi_link_train()
499 /* Train 1: umask FDI RX Interrupt symbol_lock and bit_lock bit in gen6_fdi_link_train()
[all …]
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramgt215.c100 gt215_link_train_calc(u32 *vals, struct gt215_ltrain *train) in gt215_link_train_calc() argument
138 train->r_100720 = 0; in gt215_link_train_calc()
143 train->r_100720 |= ((median[i] & 0x0f) << (i << 2)); in gt215_link_train_calc()
146 train->r_1111e0 = 0x02000000 | (bin * 0x101); in gt215_link_train_calc()
147 train->r_111400 = 0x0; in gt215_link_train_calc()
156 struct gt215_ltrain *train = &ram->ltrain; in gt215_link_train() local
178 train->state = NVA3_TRAIN_EXEC; in gt215_link_train()
200 /* XXX: Magic writes that improve train reliability? */ in gt215_link_train()
223 ram_wr32(fuc, 0x100720, train->r_100720); in gt215_link_train()
224 ram_wr32(fuc, 0x1111e0, train->r_1111e0); in gt215_link_train()
[all …]
Dramgk104.c1272 struct gk104_ram_train *train) in gk104_ram_train_type() argument
1278 struct nvbios_M0209S *remap = &train->remap; in gk104_ram_train_type()
1288 case 0x00: value = &train->type00; break; in gk104_ram_train_type()
1289 case 0x01: value = &train->type01; break; in gk104_ram_train_type()
1290 case 0x04: value = &train->type04; break; in gk104_ram_train_type()
1291 case 0x06: value = &train->type06; break; in gk104_ram_train_type()
1292 case 0x07: value = &train->type07; break; in gk104_ram_train_type()
1293 case 0x08: value = &train->type08; break; in gk104_ram_train_type()
1294 case 0x09: value = &train->type09; break; in gk104_ram_train_type()
1327 train->mask |= 1 << M0205E.type; in gk104_ram_train_type()
[all …]
/Linux-v6.1/net/ipv4/
Dtcp_cubic.c79 " 1: packet-train 2: delay 3: both packet-train and delay");
83 MODULE_PARM_DESC(hystart_ack_delta_us, "spacing between ack's indicating train (usecs)");
398 /* first detection parameter - ack-train detection */ in hystart_update()
404 /* Hystart ack train triggers if we get ack past in hystart_update()
Dtcp_cdg.c54 "(0: disabled, 1: ACK train, 2: delay threshold, 3: both)");
135 * o Using a usec clock for the ACK train.
136 * o Reset ACK train when application limited.
/Linux-v6.1/drivers/gpu/drm/xlnx/
Dzynqmp_dp.c608 * zynqmp_dp_adjust_train - Adjust train values
663 u8 train = dp->train_set[i]; in zynqmp_dp_update_vs_emph() local
665 opts.dp.voltage[0] = (train & DP_TRAIN_VOLTAGE_SWING_MASK) in zynqmp_dp_update_vs_emph()
667 opts.dp.pre[0] = (train & DP_TRAIN_PRE_EMPHASIS_MASK) in zynqmp_dp_update_vs_emph()
679 * zynqmp_dp_link_train_cr - Train clock recovery
682 * Return: 0 if clock recovery train is done successfully, or corresponding
745 * zynqmp_dp_link_train_ce - Train channel equalization
748 * Return: 0 if channel equalization train is done successfully, or
795 * zynqmp_dp_link_train - Train the link
891 * Train the link by downshifting the link rate if training is not successful.
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/pwm/
Dmicrochip,corepwm.yaml55 a minimum period pulse train whose High/Low average is that of the chosen duty
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/inc/
Ddc_link_dpia.h95 /* Train DP tunneling link for USB4 DPIA display endpoint.
Ddc_link_dp.h49 * Some receivers fail to train on first try and are good
/Linux-v6.1/drivers/gpu/drm/gma500/
Dcdv_intel_dp.c1496 DRM_DEBUG_KMS("Start train\n"); in cdv_intel_dp_start_link_train()
1501 DRM_DEBUG_KMS("DP Link Train Set %x, Link_config %x, %x\n", in cdv_intel_dp_start_link_train()
1523 DRM_DEBUG_KMS("PT1 train is done\n"); in cdv_intel_dp_start_link_train()
1550 DRM_DEBUG_KMS("failure in DP patter 1 training, train set %x\n", intel_dp->train_set[0]); in cdv_intel_dp_start_link_train()
1574 DRM_DEBUG_KMS("DP Link Train Set %x, Link_config %x, %x\n", in cdv_intel_dp_complete_link_train()
1587 DRM_ERROR("failed to train DP, aborting\n"); in cdv_intel_dp_complete_link_train()
1612 DRM_DEBUG_KMS("PT2 train is done\n"); in cdv_intel_dp_complete_link_train()
/Linux-v6.1/drivers/media/rc/
Dst_rc.c56 /* maximum symbol period (microsecs),timeout to detect end of symbol train */
328 * lircd expects a long space first before a signal train to sync. in st_rc_probe()
/Linux-v6.1/drivers/gpu/drm/mediatek/
Dmtk_dp.c1465 "Link train target_link_rate = 0x%x, target_lane_count = 0x%x\n", in mtk_dp_train_setting()
1501 dev_dbg(mtk_dp->dev, "Link train CR pass\n"); in mtk_dp_train_cr()
1521 dev_dbg(mtk_dp->dev, "Link train CR fail\n"); in mtk_dp_train_cr()
1534 /* Failed to train CR, and disable pattern. */ in mtk_dp_train_cr()
1568 dev_dbg(mtk_dp->dev, "Link train EQ pass\n"); in mtk_dp_train_eq()
1576 dev_dbg(mtk_dp->dev, "Link train EQ fail\n"); in mtk_dp_train_eq()
1579 /* Failed to train EQ, and disable pattern. */ in mtk_dp_train_eq()
/Linux-v6.1/drivers/gpu/drm/rockchip/
Dcdn-dp-core.c636 DRM_DEV_ERROR(dp->dev, "Failed link train %d\n", ret); in cdn_dp_encoder_enable()
986 /* Enabled and connected with a sink, re-train if requested */ in cdn_dp_pd_event_work()
992 DRM_DEV_INFO(dp->dev, "Connected with sink. Re-train link\n"); in cdn_dp_pd_event_work()
996 DRM_DEV_ERROR(dp->dev, "Train link failed %d\n", ret); in cdn_dp_pd_event_work()
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
Dmemx.c161 nvkm_debug(&memx->pmu->subdev, " MEM TRAIN\n"); in nvkm_memx_train()
/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dbpf_cubic.c456 /* first detection parameter - ack-train detection */ in hystart_update()
462 /* Hystart ack train triggers if we get ack past in hystart_update()
/Linux-v6.1/drivers/gpu/drm/bridge/
Dite-it6505.c1496 DRM_DEV_DEBUG_DRIVER(dev, "auto train fail, will step train"); in it6505_parse_link_capabilities()
2102 DRM_DEV_DEBUG_DRIVER(dev, "link train not done or no video"); in it6505_hdcp_work()
2184 DRM_DEV_DEBUG_DRIVER(dev, "Start step train"); in it6505_link_step_train_process()
2195 DRM_DEV_DEBUG_DRIVER(dev, "not support step train"); in it6505_link_step_train_process()
2203 DRM_DEV_DEBUG_DRIVER(dev, "step train %s, retry:%d times", in it6505_link_step_train_process()
2238 DRM_DEV_DEBUG_DRIVER(dev, "auto train %s, auto_train_retry: %d", in it6505_link_training_work()
/Linux-v6.1/include/linux/
Dvga_switcheroo.h45 * GPU needs to train the link and communicate the link parameters to the
/Linux-v6.1/Documentation/networking/
Dsnmp_counter.rst537 approached. The two pieces of information are ACK train length and
539 `Hybrid Slow Start paper`_. Either ACK train length or packet delay
550 How many times the ACK train length threshold is detected
554 The sum of CWND detected by ACK train length. Dividing this value by
556 ACK train length.
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Danx9805.c200 AUX_DBG(&aux->base, "ANX9805 train %d %02x %d", in anx9805_aux_lnk_ctl()
/Linux-v6.1/drivers/gpu/drm/msm/dp/
Ddp_ctrl.c1777 if (rc == 0) { /* link train successfully */ in dp_ctrl_on_link()
1779 * do not stop train pattern here in dp_ctrl_on_link()
1786 * end txing train pattern here in dp_ctrl_on_link()
1845 /* stop txing train pattern to end link training */ in dp_ctrl_on_stream()
/Linux-v6.1/drivers/gpu/drm/bridge/cadence/
Dcdns-mhdp8546-core.h406 /* Work struct to schedule a uevent on link train failure */
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Dmemx.fuc53 handler(TRAIN , 0x0000, 0x0000, #memx_func_train)
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Ddp.c334 OUTP_ERR(outp, "train failed with %d", ret); in nvkm_dp_train_links()
379 /* Attempt to train the link in this configuration. */ in nvkm_dp_train_links()

123