Lines Matching refs:device
285 struct nvif_object *device = &nouveau_drm(dev)->client.device.object;
340 if (nvif_rd32(device, NV_PEXTDEV_BOOT_0) & NV_PEXTDEV_BOOT_0_STRAP_FP_IFACE_12BIT)
421 if (drm->client.device.info.chipset == 0x11)
432 if (drm->client.device.info.chipset != 0x11) {
468 if (drm->client.device.info.chipset < 0x44)
490 struct nvif_object *device = &nouveau_drm(dev)->client.device.object;
496 if (pdev->device == 0x0174 || pdev->device == 0x0179 ||
497 pdev->device == 0x0189 || pdev->device == 0x0329) {
499 nvif_mask(device, NV_PBUS_DEBUG_DUALHEAD_CTL, 1 << 31, 1 << 31);
500 nvif_mask(device, NV_PCRTC_GPIO_EXT, 3, 1);
502 nvif_mask(device, NV_PBUS_DEBUG_DUALHEAD_CTL, 1 << 31, 0);
503 nvif_mask(device, NV_PCRTC_GPIO_EXT, 3, 0);
629 struct nvkm_i2c *i2c = nvxx_i2c(&drm->client.device);