Lines Matching refs:train

100 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()
223 ram_wr32(fuc, 0x100720, train->r_100720); in gt215_link_train()
224 ram_wr32(fuc, 0x1111e0, train->r_1111e0); in gt215_link_train()
225 ram_wr32(fuc, 0x111400, train->r_111400); in gt215_link_train()
249 gt215_link_train_calc(result, train); in gt215_link_train()
251 nvkm_debug(subdev, "Train: %08x %08x %08x", train->r_100720, in gt215_link_train()
252 train->r_1111e0, train->r_111400); in gt215_link_train()
256 train->state = NVA3_TRAIN_DONE; in gt215_link_train()
264 train->state = NVA3_TRAIN_UNSUPPORTED; in gt215_link_train()
280 struct gt215_ltrain *train = &ram->ltrain; in gt215_link_train_init() local
289 train->state = NVA3_TRAIN_UNSUPPORTED; in gt215_link_train_init()
299 train->state = NVA3_TRAIN_ONCE; in gt215_link_train_init()
331 train->r_100720 = nvkm_rd32(device, 0x100720); in gt215_link_train_init()
332 train->r_1111e0 = nvkm_rd32(device, 0x1111e0); in gt215_link_train_init()
333 train->r_111400 = nvkm_rd32(device, 0x111400); in gt215_link_train_init()
496 struct gt215_ltrain *train = &ram->ltrain; in gt215_ram_calc() local
719 if (train->state == NVA3_TRAIN_DONE) { in gt215_ram_calc()
721 ram_mask(fuc, 0x111400, 0xffffffff, train->r_111400); in gt215_ram_calc()
722 ram_mask(fuc, 0x1111e0, 0xffffffff, train->r_1111e0); in gt215_ram_calc()
723 ram_mask(fuc, 0x100720, 0xffffffff, train->r_100720); in gt215_ram_calc()