Lines Matching refs:device
33 struct nvkm_device *device = bus->subdev.device; in nv50_bus_hwsq_exec() local
36 nvkm_mask(device, 0x001098, 0x00000008, 0x00000000); in nv50_bus_hwsq_exec()
37 nvkm_wr32(device, 0x001304, 0x00000000); in nv50_bus_hwsq_exec()
39 nvkm_wr32(device, 0x001400 + (i * 4), data[i]); in nv50_bus_hwsq_exec()
40 nvkm_mask(device, 0x001098, 0x00000018, 0x00000018); in nv50_bus_hwsq_exec()
41 nvkm_wr32(device, 0x00130c, 0x00000003); in nv50_bus_hwsq_exec()
43 if (nvkm_msec(device, 2000, in nv50_bus_hwsq_exec()
44 if (!(nvkm_rd32(device, 0x001308) & 0x00000100)) in nv50_bus_hwsq_exec()
56 struct nvkm_device *device = subdev->device; in nv50_bus_intr() local
57 u32 stat = nvkm_rd32(device, 0x001100) & nvkm_rd32(device, 0x001140); in nv50_bus_intr()
60 u32 addr = nvkm_rd32(device, 0x009084); in nv50_bus_intr()
61 u32 data = nvkm_rd32(device, 0x009088); in nv50_bus_intr()
68 nvkm_wr32(device, 0x001100, 0x00000008); in nv50_bus_intr()
72 struct nvkm_therm *therm = device->therm; in nv50_bus_intr()
76 nvkm_wr32(device, 0x001100, 0x00010000); in nv50_bus_intr()
81 nvkm_mask(device, 0x001140, stat, 0); in nv50_bus_intr()
88 struct nvkm_device *device = bus->subdev.device; in nv50_bus_init() local
89 nvkm_wr32(device, 0x001100, 0xffffffff); in nv50_bus_init()
90 nvkm_wr32(device, 0x001140, 0x00010008); in nv50_bus_init()
102 nv50_bus_new(struct nvkm_device *device, int index, struct nvkm_bus **pbus) in nv50_bus_new() argument
104 return nvkm_bus_new_(&nv50_bus, device, index, pbus); in nv50_bus_new()