Lines Matching defs:device
129 (pdev->device == 0x0179 || pdev->device == 0x0189 ||
130 pdev->device == 0x0329))
219 struct nvif_object *device = &drm->client.device.object;
242 sel_clk_binding = nvif_rd32(device, NV_PRAMDAC_SEL_CLK) & 0x50000;
254 nvif_wr32(device, NV_PBUS_POWERCTRL_2, 0);
323 struct nvif_object *device = &drm->client.device.object;
337 if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_MAXWELL)
338 return nvif_rd32(device, 0x001800) & 0x0000000f;
340 if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA)
341 return (nvif_rd32(device, NV_PEXTDEV_BOOT_0) >> 24) & 0xf;
343 return (nvif_rd32(device, NV_PEXTDEV_BOOT_0) >> 16) & 0xf;
639 struct nvif_object *device = &drm->client.device.object;
673 sel_clk_binding = nvif_rd32(device, NV_PRAMDAC_SEL_CLK) & 0x50000;
1256 if (drm->client.device.info.family > NV_DEVICE_INFO_V0_TNT)
1926 struct nvif_object *device = &drm->client.device.object;
1949 nvif_wr32(device, 0x00001304, ROM32(bios->data[hwsq_entry_offset]));
1954 nvif_wr32(device, 0x00001400 + i, ROM32(bios->data[hwsq_entry_offset + i + 4]));
1957 nvif_wr32(device, NV_PBUS_DEBUG_4, nvif_rd32(device, NV_PBUS_DEBUG_4) | 0x18);
2020 struct nvkm_bios *bios = nvxx_bios(&drm->client.device);
2071 if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA)