train             537 drivers/gpu/drm/msm/edp/edp_ctrl.c static void edp_host_train_set(struct edp_ctrl *ctrl, u32 train)
train             541 drivers/gpu/drm/msm/edp/edp_ctrl.c 	u32 shift = train - 1;
train             543 drivers/gpu/drm/msm/edp/edp_ctrl.c 	DBG("train=%d", train);
train             553 drivers/gpu/drm/msm/edp/edp_ctrl.c 		pr_err("%s: set link_train=%d failed\n", __func__, train);
train            1272 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 		     struct gk104_ram_train *train)
train            1278 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	struct nvbios_M0209S *remap = &train->remap;
train            1288 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	case 0x00: value = &train->type00; break;
train            1289 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	case 0x01: value = &train->type01; break;
train            1290 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	case 0x04: value = &train->type04; break;
train            1291 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	case 0x06: value = &train->type06; break;
train            1292 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	case 0x07: value = &train->type07; break;
train            1293 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	case 0x08: value = &train->type08; break;
train            1294 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	case 0x09: value = &train->type09; break;
train            1327 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	train->mask |= 1 << M0205E.type;
train            1332 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c gk104_ram_train_init_0(struct nvkm_ram *ram, struct gk104_ram_train *train)
train            1338 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if ((train->mask & 0x03d3) != 0x03d3) {
train            1347 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 						   train->type08.data[i] << 4 |
train            1348 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 						   train->type06.data[i]);
train            1349 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 			nvkm_wr32(device, 0x10f918 + j, train->type00.data[i]);
train            1351 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 						   train->type09.data[i] << 4 |
train            1352 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 						   train->type07.data[i]);
train            1353 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 			nvkm_wr32(device, 0x10f918 + j, train->type01.data[i]);
train            1360 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 			nvkm_wr32(device, 0x10f900 + j, train->type04.data[i]);
train            1371 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	struct gk104_ram_train *train;
train            1374 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	if (!(train = kzalloc(sizeof(*train), GFP_KERNEL)))
train            1378 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 		ret = gk104_ram_train_type(ram, i, ramcfg, train);
train            1385 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 		ret = gk104_ram_train_init_0(ram, train);
train            1392 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c 	kfree(train);
train             100 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c gt215_link_train_calc(u32 *vals, struct gt215_ltrain *train)
train             138 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	train->r_100720 = 0;
train             143 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 		train->r_100720 |= ((median[i] & 0x0f) << (i << 2));
train             146 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	train->r_1111e0 = 0x02000000 | (bin * 0x101);
train             147 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	train->r_111400 = 0x0;
train             156 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	struct gt215_ltrain *train = &ram->ltrain;
train             178 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	train->state = NVA3_TRAIN_EXEC;
train             223 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	ram_wr32(fuc, 0x100720, train->r_100720);
train             224 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	ram_wr32(fuc, 0x1111e0, train->r_1111e0);
train             225 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	ram_wr32(fuc, 0x111400, train->r_111400);
train             249 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	gt215_link_train_calc(result, train);
train             251 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	nvkm_debug(subdev, "Train: %08x %08x %08x", train->r_100720,
train             252 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 		   train->r_1111e0, train->r_111400);
train             256 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	train->state = NVA3_TRAIN_DONE;
train             264 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	train->state = NVA3_TRAIN_UNSUPPORTED;
train             280 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	struct gt215_ltrain *train = &ram->ltrain;
train             289 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	train->state = NVA3_TRAIN_UNSUPPORTED;
train             299 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	train->state = NVA3_TRAIN_ONCE;
train             331 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	train->r_100720 = nvkm_rd32(device, 0x100720);
train             332 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	train->r_1111e0 = nvkm_rd32(device, 0x1111e0);
train             333 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	train->r_111400 = nvkm_rd32(device, 0x111400);
train             496 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 	struct gt215_ltrain *train = &ram->ltrain;
train             719 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 		if (train->state == NVA3_TRAIN_DONE) {
train             721 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 			ram_mask(fuc, 0x111400, 0xffffffff, train->r_111400);
train             722 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 			ram_mask(fuc, 0x1111e0, 0xffffffff, train->r_1111e0);
train             723 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c 			ram_mask(fuc, 0x100720, 0xffffffff, train->r_100720);