Lines Matching refs:device
31 struct nvkm_device *device = bar->subdev.device;
32 nvkm_msec(device, 2000,
33 if (!(nvkm_rd32(device, 0xb80f50) & 0x0000000c))
41 nvkm_mask(bar->subdev.device, 0xb80f48, 0x80000000, 0x00000000);
47 struct nvkm_device *device = base->subdev.device;
52 nvkm_wr32(device, 0xb80f48, 0x80000000 | addr);
58 struct nvkm_device *device = bar->subdev.device;
59 nvkm_msec(device, 2000,
60 if (!(nvkm_rd32(device, 0xb80f50) & 0x00000003))
68 nvkm_mask(bar->subdev.device, 0xb80f40, 0x80000000, 0x00000000);
74 struct nvkm_device *device = base->subdev.device;
77 nvkm_wr32(device, 0xb80f40, 0x80000000 | addr);
96 tu102_bar_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst,
99 if (nvkm_gsp_rm(device->gsp))
100 return r535_bar_new_(&tu102_bar, device, type, inst, pbar);
102 return gf100_bar_new_(&tu102_bar, device, type, inst, pbar);