Home
last modified time | relevance | path

Searched refs:nvxx_device (Results 1 – 11 of 11) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvif/
Ddevice.h40 #define nvxx_device(a) nv_device(nvxx_object((a))) macro
41 #define nvxx_bios(a) nvkm_bios(nvxx_device(a))
42 #define nvxx_fb(a) nvkm_fb(nvxx_device(a))
43 #define nvxx_mmu(a) nvkm_mmu(nvxx_device(a))
44 #define nvxx_bar(a) nvkm_bar(nvxx_device(a))
45 #define nvxx_gpio(a) nvkm_gpio(nvxx_device(a))
46 #define nvxx_clk(a) nvkm_clk(nvxx_device(a))
47 #define nvxx_i2c(a) nvkm_i2c(nvxx_device(a))
48 #define nvxx_timer(a) nvkm_timer(nvxx_device(a))
51 #define nvxx_therm(a) nvkm_therm(nvxx_device(a))
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_agp.c48 nvxx_device(device)->pdev->vendor == quirk->chip_vendor && in get_agp_mode()
49 nvxx_device(device)->pdev->device == quirk->chip_device) { in get_agp_mode()
Dnouveau_sysfs.c168 device_remove_file(nv_device_base(nvxx_device(device)), &dev_attr_pstate); in nouveau_sysfs_fini()
195 device_create_file(nv_device_base(nvxx_device(device)), &dev_attr_pstate); in nouveau_sysfs_init()
Dnouveau_ttm.c361 if (nv_device_is_pci(nvxx_device(&drm->device))) { in nouveau_ttm_init()
402 drm->ttm.mtrr = arch_phys_wc_add(nv_device_resource_start(nvxx_device(&drm->device), 1), in nouveau_ttm_init()
403 nv_device_resource_len(nvxx_device(&drm->device), 1)); in nouveau_ttm_init()
Dnouveau_abi16.c176 if (nv_device_is_pci(nvxx_device(device))) in nouveau_abi16_ioctl_getparam()
182 if (nv_device_is_pci(nvxx_device(device))) in nouveau_abi16_ioctl_getparam()
188 if (!nv_device_is_pci(nvxx_device(device))) in nouveau_abi16_ioctl_getparam()
Dnouveau_bo.c217 if (!nv_device_is_cpu_coherent(nvxx_device(&drm->device))) in nouveau_bo_new()
462 struct nvkm_device *device = nvxx_device(&drm->device); in nouveau_bo_sync_for_device()
482 struct nvkm_device *device = nvxx_device(&drm->device); in nouveau_bo_sync_for_cpu()
1387 mem->bus.base = nv_device_resource_start(nvxx_device(&drm->device), 1); in nouveau_ttm_io_mem_reserve()
1425 u32 mappable = nv_device_resource_len(nvxx_device(device), 1) >> PAGE_SHIFT; in nouveau_ttm_fault_reserve_notify()
1489 device = nvxx_device(&drm->device); in nouveau_ttm_tt_populate()
1554 device = nvxx_device(&drm->device); in nouveau_ttm_tt_unpopulate()
Dnouveau_platform.c223 struct nvkm_device *device = nvxx_device(&drm->device); in nouveau_platform_remove()
Dnouveau_drm.c439 ret = nvkm_vm_new(nvxx_device(&drm->device), 0, (1ULL << 40), in nouveau_drm_load()
835 ret = nvkm_vm_new(nvxx_device(&drm->device), 0, (1ULL << 40), in nouveau_drm_open()
Dnouveau_chan.c149 args.start = nv_device_resource_start(nvxx_device(device), 1); in nouveau_channel_prep()
Dnv50_display.c203 struct pci_dev *pdev = nvxx_device(nvif_device(disp))->pdev; in nv50_dmac_destroy()
220 dmac->ptr = pci_alloc_consistent(nvxx_device(device)->pdev, in nv50_dmac_create()
483 if (nv_wait_cb(nvxx_device(device), evo_sync_wait, disp->sync)) in evo_sync()
538 nv_wait_cb(nvxx_device(device), nv50_display_flip_wait, &flip); in nv50_display_flip_stop()
Dnouveau_display.c453 dev->mode_config.fb_base = nv_device_resource_start(nvxx_device(&drm->device), 1); in nouveau_display_create()