Lines Matching refs:device
35 struct nvkm_device *device = subdev->device; in nv04_bus_intr() local
36 u32 stat = nvkm_rd32(device, 0x001100) & nvkm_rd32(device, 0x001140); in nv04_bus_intr()
41 nvkm_wr32(device, 0x001100, 0x00000001); in nv04_bus_intr()
45 struct nvkm_gpio *gpio = device->gpio; in nv04_bus_intr()
49 nvkm_wr32(device, 0x001100, 0x00000110); in nv04_bus_intr()
54 nvkm_mask(device, 0x001140, stat, 0x00000000); in nv04_bus_intr()
61 struct nvkm_device *device = bus->subdev.device; in nv04_bus_init() local
62 nvkm_wr32(device, 0x001100, 0xffffffff); in nv04_bus_init()
63 nvkm_wr32(device, 0x001140, 0x00000111); in nv04_bus_init()
73 nv04_bus_new(struct nvkm_device *device, int index, struct nvkm_bus **pbus) in nv04_bus_new() argument
75 return nvkm_bus_new_(&nv04_bus, device, index, pbus); in nv04_bus_new()