Home
last modified time | relevance | path

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

1234

/linux-6.12.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-6.12.1/drivers/gpu/drm/i915/display/
Dintel_fdi.c473 /* enable normal train */ in intel_fdi_normal_train()
525 /* Train 1: umask FDI RX Interrupt symbol_lock and bit_lock bit in ilk_fdi_link_train()
526 for train result */ in ilk_fdi_link_train()
565 drm_dbg_kms(&dev_priv->drm, "FDI train 1 done.\n"); in ilk_fdi_link_train()
571 drm_err(&dev_priv->drm, "FDI train 1 fail!\n"); in ilk_fdi_link_train()
573 /* Train 2 */ in ilk_fdi_link_train()
589 drm_dbg_kms(&dev_priv->drm, "FDI train 2 done.\n"); in ilk_fdi_link_train()
594 drm_err(&dev_priv->drm, "FDI train 2 fail!\n"); in ilk_fdi_link_train()
596 drm_dbg_kms(&dev_priv->drm, "FDI train done\n"); in ilk_fdi_link_train()
624 /* Train 1: umask FDI RX Interrupt symbol_lock and bit_lock bit in gen6_fdi_link_train()
[all …]
Dintel_fdi_regs.h85 /* train, dp width same as FDI_TX */
130 #define FDI_RX_SYMBOL_LOCK (1 << 9) /* train 2 */
131 #define FDI_RX_BIT_LOCK (1 << 8) /* train 1 */
/linux-6.12.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-6.12.1/Documentation/devicetree/bindings/net/
Dmotorcomm,yt8xxx.yaml98 Transmit PHY Clock delay train configuration when speed is 10Mbps.
104 Transmit PHY Clock delay train configuration when speed is 100Mbps.
110 Transmit PHY Clock delay train configuration when speed is 1000Mbps.
/linux-6.12.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-6.12.1/drivers/gpu/drm/xlnx/
Dzynqmp_dp.c601 * zynqmp_dp_adjust_train - Adjust train values
649 u8 train = dp->train_set[i]; in zynqmp_dp_update_vs_emph() local
651 opts.dp.voltage[0] = (train & DP_TRAIN_VOLTAGE_SWING_MASK) in zynqmp_dp_update_vs_emph()
653 opts.dp.pre[0] = (train & DP_TRAIN_PRE_EMPHASIS_MASK) in zynqmp_dp_update_vs_emph()
665 * zynqmp_dp_link_train_cr - Train clock recovery
668 * Return: 0 if clock recovery train is done successfully, or corresponding
731 * zynqmp_dp_link_train_ce - Train channel equalization
734 * Return: 0 if channel equalization train is done successfully, or
781 * zynqmp_dp_train - Train the link
877 * Train the link by downshifting the link rate if training is not successful.
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/protocols/
Dlink_dp_training_dpia.h34 /* Train DP tunneling link for USB4 DPIA display endpoint.
Dlink_dp_phy.c140 * The policy is to always train with FEC in dp_set_fec_ready()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Ddp.c351 /* Attempt to train the link in this configuration. */ in nvkm_dp_train_link()
421 OUTP_ERR(outp, "train failed with %d", ret); in nvkm_dp_train_links()
429 /* Attempt to train the link in this configuration. */ in nvkm_dp_train_links()
629 .dp.train = nvkm_dp_train,
Doutp.h112 int (*train)(struct nvkm_outp *, bool retrain); member
/linux-6.12.1/Documentation/devicetree/bindings/pwm/
Dmicrochip,corepwm.yaml57 a minimum period pulse train whose High/Low average is that of the chosen duty
/linux-6.12.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 pattern 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-6.12.1/drivers/media/rc/
Dst_rc.c57 /* 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-6.12.1/tools/testing/selftests/resctrl/
Dresctrlfs.c299 * count_contiguous_bits - Returns the longest train of bits in a bit mask
301 * @start The location of the least-significant bit of the longest train
303 * Return: The length of the contiguous bits in the longest train of bits
/linux-6.12.1/drivers/gpu/drm/mediatek/
Dmtk_dp.c1594 "Link train target_link_rate = 0x%x, target_lane_count = 0x%x\n", in mtk_dp_train_setting()
1630 dev_dbg(mtk_dp->dev, "Link train CR pass\n"); in mtk_dp_train_cr()
1650 dev_dbg(mtk_dp->dev, "Link train CR fail\n"); in mtk_dp_train_cr()
1663 /* Failed to train CR, and disable pattern. */ in mtk_dp_train_cr()
1697 dev_dbg(mtk_dp->dev, "Link train EQ pass\n"); in mtk_dp_train_eq()
1705 dev_dbg(mtk_dp->dev, "Link train EQ fail\n"); in mtk_dp_train_eq()
1708 /* Failed to train EQ, and disable pattern. */ in mtk_dp_train_eq()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
Dmemx.c161 nvkm_debug(&memx->pmu->subdev, " MEM TRAIN\n"); in nvkm_memx_train()
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dbpf_cubic.c463 /* first detection parameter - ack-train detection */ in hystart_update()
469 /* Hystart ack train triggers if we get ack past in hystart_update()
/linux-6.12.1/include/linux/
Dvga_switcheroo.h45 * GPU needs to train the link and communicate the link parameters to the
/linux-6.12.1/Documentation/admin-guide/hw-vuln/
Dsrso.rst20 but the concern is that an attacker can mis-train the CPU BTB to predict
/linux-6.12.1/drivers/gpu/drm/rockchip/
Dcdn-dp-core.c635 DRM_DEV_ERROR(dp->dev, "Failed link train %d\n", ret); in cdn_dp_encoder_enable()
985 /* Enabled and connected with a sink, re-train if requested */ in cdn_dp_pd_event_work()
991 DRM_DEV_INFO(dp->dev, "Connected with sink; re-train link\n"); in cdn_dp_pd_event_work()
/linux-6.12.1/drivers/gpu/drm/bridge/
Dite-it6505.c1510 DRM_DEV_DEBUG_DRIVER(dev, "auto train fail, will step train"); in it6505_parse_link_capabilities()
2114 DRM_DEV_DEBUG_DRIVER(dev, "link train not done or no video"); in it6505_hdcp_work()
2196 DRM_DEV_DEBUG_DRIVER(dev, "Start step train"); in it6505_link_step_train_process()
2207 DRM_DEV_DEBUG_DRIVER(dev, "not support step train"); in it6505_link_step_train_process()
2215 DRM_DEV_DEBUG_DRIVER(dev, "step train %s, retry:%d times", in it6505_link_step_train_process()
2250 DRM_DEV_DEBUG_DRIVER(dev, "auto train %s, auto_train_retry: %d", in it6505_link_training_work()

1234