/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | nv40.h | 14 struct nvkm_device *device = nv_device(priv); nv44_gr_class()
|
H A D | nv40.c | 150 nv40_grctx_fill(nv_device(priv), nv_gpuobj(chan)); nv40_gr_context_ctor() 216 switch (nv_device(priv)->chipset) { nv40_gr_tile_prog() 229 switch (nv_device(priv)->chipset) { nv40_gr_tile_prog() 265 switch (nv_device(priv)->chipset) { nv40_gr_tile_prog() 379 ret = nv40_grctx_init(nv_device(priv), &priv->size); nv40_gr_init() 406 if (nv_device(priv)->chipset == 0x40) { nv40_gr_init() 414 switch (nv_device(priv)->chipset) { nv40_gr_init() 452 switch (nv_device(priv)->chipset) { nv40_gr_init() 477 vramsz = nv_device_resource_len(nv_device(priv), 0) - 1; nv40_gr_init() 478 switch (nv_device(priv)->chipset) { nv40_gr_init() 490 switch (nv_device(priv)->chipset) { nv40_gr_init()
|
H A D | nv50.c | 156 nv50_grctx_fill(nv_device(priv), nv_gpuobj(chan)); nv50_gr_context_ctor() 478 if (nv_device(priv)->chipset < 0xa0) nv50_priv_mp_trap() 518 if (nv_device(priv)->chipset < 0xa0) nv50_priv_tp_trap() 867 switch (nv_device(priv)->chipset) { nv50_gr_ctor() 896 if (nv_device(priv)->chipset != 0x50 && nv50_gr_ctor() 897 nv_device(priv)->chipset != 0xac) nv50_gr_ctor() 930 if (nv_device(priv)->chipset < 0xa0) { nv50_gr_init() 948 ret = nv50_grctx_init(nv_device(priv), &priv->size); nv50_gr_init() 960 switch (nv_device(priv)->chipset & 0xf0) { nv50_gr_init() 968 if (nv_device(priv)->chipset == 0xa0 || nv50_gr_init() 969 nv_device(priv)->chipset == 0xaa || nv50_gr_init() 970 nv_device(priv)->chipset == 0xac) { nv50_gr_init()
|
H A D | nv20.c | 179 if (nv_device(engine)->chipset != 0x34) { nv20_gr_tile_prog() 285 if (nv_device(priv)->chipset == 0x20) { nv20_gr_init() 307 if (nv_device(priv)->chipset >= 0x25) { nv20_gr_init() 344 vramsz = nv_device_resource_len(nv_device(priv), 0) - 1; nv20_gr_init()
|
H A D | nv10.c | 944 if (nv_device(priv)->card_type >= NV_11 && nv10_gr_load_context() 945 nv_device(priv)->chipset >= 0x17) { nv10_gr_load_context() 970 if (nv_device(priv)->card_type >= NV_11 && nv10_gr_unload_context() 971 nv_device(priv)->chipset >= 0x17) { nv10_gr_unload_context() 1052 if (nv_device(priv)->card_type >= NV_11 && nv10_gr_context_ctor() 1053 nv_device(priv)->chipset >= 0x17) { nv10_gr_context_ctor() 1228 if (nv_device(priv)->chipset <= 0x10) nv10_gr_ctor() 1231 if (nv_device(priv)->chipset < 0x17 || nv10_gr_ctor() 1232 nv_device(priv)->card_type < NV_11) nv10_gr_ctor() 1271 if (nv_device(priv)->card_type >= NV_11 && nv10_gr_init() 1272 nv_device(priv)->chipset >= 0x17) { nv10_gr_init()
|
H A D | nv30.c | 188 if (nv_device(priv)->chipset == 0x34) { nv30_gr_init() 213 if (nv_device(priv)->chipset != 0x34) { nv30_gr_init()
|
H A D | gf100.c | 1123 if (nv_device(priv)->card_type < NV_E0 || subc < 4) gf100_gr_intr() 1312 if (nv_device(priv)->chipset >= 0xe0) { gf100_gr_init_ctxctl() 1460 if (nv_device(priv)->chipset != 0xd7) gf100_gr_init() 1534 struct nvkm_device *device = nv_device(priv); gf100_gr_ctor_fw() 1580 struct nvkm_device *device = nv_device(parent); gf100_gr_ctor() 1637 switch (nv_device(priv)->chipset) { gf100_gr_ctor()
|
H A D | nv04.c | 1198 if (nv_device(obj)->card_type == NV_40) nv04_gr_idle()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | shadowrom.c | 43 if (nv_device(bios)->card_type < NV_50) prom_fini() 52 if (nv_device(bios)->card_type < NV_50) { prom_init() 53 if (nv_device(bios)->card_type == NV_40 && prom_init() 54 nv_device(bios)->chipset >= 0x4c) prom_init()
|
H A D | shadowramin.c | 61 if (nv_device(bios)->card_type < NV_50) pramin_init() 65 if (nv_device(bios)->card_type >= GM100) pramin_init() 68 if (nv_device(bios)->card_type >= NV_C0) pramin_init()
|
H A D | pll.c | 115 switch (nv_device(bios)->card_type) { pll_map() 126 if (nv_device(bios)->chipset == 0x50) pll_map() 129 if (nv_device(bios)->chipset < 0xa3 || pll_map() 130 nv_device(bios)->chipset == 0xaa || pll_map() 131 nv_device(bios)->chipset == 0xac) pll_map() 364 info->refclk = nv_device(bios)->crystal; nvbios_pll_parse() 396 if (nv_device(bios)->crystal == 13500) { nvbios_pll_parse()
|
H A D | shadowpci.c | 56 struct pci_dev *pdev = nv_device(bios)->pdev; pcirom_init() 88 struct pci_dev *pdev = nv_device(bios)->pdev; platform_init()
|
H A D | shadowof.c | 47 struct pci_dev *pdev = nv_device(bios)->pdev; of_init()
|
H A D | shadowacpi.c | 93 if (!nouveau_acpi_rom_supported(nv_device(bios)->pdev)) acpi_init()
|
H A D | shadow.c | 181 struct device *dev = &nv_device(bios)->pdev->dev; shadow_fw_init() 216 optarg = nvkm_stropt(nv_device(bios)->cfgopt, "NvBios", &optlen); nvbios_shadow()
|
H A D | therm.c | 208 if (nv_device(bios)->card_type >= NV_C0 && nvbios_therm_fan_parse()
|
H A D | dcb.c | 32 struct nvkm_device *device = nv_device(bios); dcb_table()
|
H A D | perf.c | 120 switch (nv_device(bios)->chipset) { nvbios_perfEp()
|
H A D | init.c | 157 if (nv_device(init->bios)->card_type >= NV_50) { init_nvreg() 240 if (nv_device(init->subdev)->card_type < NV_50) { init_wrvgai() 251 if (nv_device(init->subdev)->card_type < NV_50) { init_wrvgai() 1586 if (nv_device(init->bios)->card_type >= NV_50 && init_io()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | device.h | 49 struct nvkm_device *nv_device(void *obj); 54 struct nvkm_device *device = nv_device(object); nv_device_match()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | vga.c | 31 struct nvkm_device *device = nv_device(obj); nv_rdport() 56 struct nvkm_device *device = nv_device(obj); nv_wrport() 140 struct nvkm_device *dev = nv_device(obj); nv_lockvgac() 176 if (nv_device(obj)->card_type < NV_50) { nv_rdvgaowner() 177 if (nv_device(obj)->chipset == 0x11) { nv_rdvgaowner() 203 if (nv_device(obj)->card_type < NV_50) { nv_wrvgaowner() 205 if (nv_device(obj)->chipset == 0x11) { nv_wrvgaowner() 213 if (nv_device(obj)->chipset == 0x11) { nv_wrvgaowner()
|
H A D | nv04.c | 167 if (nv_device(priv)->chipset >= 0x10 && nv04_disp_intr() 168 nv_device(priv)->chipset <= 0x40) { nv04_disp_intr()
|
H A D | sorg94.c | 47 if (nv_device(priv)->chipset == 0xaf) g94_sor_dp_lane_map()
|
H A D | nv50.c | 160 *addr = nv_device_resource_start(nv_device(object), 0) + nv50_disp_chan_map() 1458 if (nv_device(priv)->chipset < 0x90 || exec_script() 1459 nv_device(priv)->chipset == 0x92 || exec_script() 1460 nv_device(priv)->chipset == 0xa0) { exec_script() 1516 if (nv_device(priv)->chipset < 0x90 || exec_clkcmp() 1517 nv_device(priv)->chipset == 0x92 || exec_clkcmp() 1518 nv_device(priv)->chipset == 0xa0) { exec_clkcmp()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | subdev.c | 35 object = nv_device(obj)->subdev[idx]; nvkm_subdev() 85 nv_device(subdev)->subdev[subidx] = NULL; nvkm_subdev_destroy() 114 struct nvkm_device *device = nv_device(parent); nvkm_subdev_create_()
|
H A D | engine.c | 53 struct nvkm_device *device = nv_device(parent); nvkm_engine_create_()
|
H A D | printk.c | 88 nv_device(device)->name, ofmt, fmt); nv_printk_()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
H A D | nv10.c | 42 if (nv_device(priv)->card_type >= NV_11 && nv10_devinit_meminit() 43 nv_device(priv)->chipset >= 0x17) nv10_devinit_meminit() 49 fb = fbmem_init(nv_device(priv)); nv10_devinit_meminit()
|
H A D | nv20.c | 36 struct nvkm_device *device = nv_device(priv); nv20_devinit_meminit() 42 fb = fbmem_init(nv_device(priv)); nv20_devinit_meminit()
|
H A D | base.c | 61 nv_device(devinit)->disable_mask |= impl->disable(devinit); _nvkm_devinit_init() 81 struct nvkm_device *device = nv_device(parent); nvkm_devinit_create_()
|
H A D | nv05.c | 56 fb = fbmem_init(nv_device(priv)); nv05_devinit_meminit()
|
H A D | nv04.c | 44 fb = fbmem_init(nv_device(priv)); nv04_devinit_meminit()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | fanpwm.c | 44 int card_type = nv_device(therm)->card_type; nvkm_fanpwm_get() 64 int card_type = nv_device(therm)->card_type; nvkm_fanpwm_set() 89 struct nvkm_device *device = nv_device(therm); nvkm_fanpwm_create()
|
H A D | gf110.c | 113 return (nv_device(therm)->crystal * 1000) / 20; gf110_fan_pwm_clock() 115 return nv_device(therm)->crystal * 1000 / 10; gf110_fan_pwm_clock() 132 nv_wr32(priv, 0x00e724, nv_device(priv)->crystal * 1000); gf110_therm_init()
|
H A D | nv50.c | 99 int chipset = nv_device(therm)->chipset; nv50_fan_pwm_clock() 100 int crystal = nv_device(therm)->crystal; nv50_fan_pwm_clock()
|
H A D | gm107.c | 58 return nv_device(therm)->crystal * 1000; gm107_fan_pwm_clock()
|
H A D | gt215.c | 59 nv_wr32(priv, 0x00e724, nv_device(priv)->crystal * 1000); gt215_therm_init()
|
H A D | nv40.c | 38 struct nvkm_device *device = nv_device(therm); nv40_sensor_style()
|
H A D | base.c | 164 struct nvkm_device *device = nv_device(therm); nvkm_therm_fan_mode()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | nv50.c | 35 switch (nv_device(priv)->chipset) { read_div() 59 switch (nv_device(priv)->chipset) { read_pll_src() 168 if (nv_device(priv)->chipset != 0xa0) read_pll() 198 return nv_device(priv)->crystal; nv50_clk_read() 253 switch (nv_device(priv)->chipset) { nv50_clk_read() 262 if (nv_device(priv)->chipset == 0xa0) /* wtf?? */ nv50_clk_read() 290 switch (nv_device(priv)->chipset) { nv50_clk_read() 396 if (nv_device(priv)->chipset != 0x98) nv50_clk_calc() 404 if (nv_device(priv)->chipset != 0x98) nv50_clk_calc() 447 if (nv_device(priv)->chipset < 0x92) nv50_clk_calc() 522 switch (nv_device(priv)->chipset) { nv50_clk_ctor()
|
H A D | gt215.c | 49 return nv_device(priv)->crystal; read_vco() 66 if (nv_device(priv)->chipset == 0xaf) { read_clk() 71 return nv_device(priv)->crystal; read_clk() 86 return nv_device(priv)->crystal; read_clk() 144 return nv_device(priv)->crystal; gt215_clk_read()
|
H A D | gf100.c | 75 sclk = nv_device(priv)->crystal; read_pll() 106 return nv_device(priv)->crystal; read_div() 150 struct nvkm_device *device = nv_device(clk); gf100_clk_read()
|
H A D | gk104.c | 75 sclk = nv_device(priv)->crystal; read_pll() 112 return nv_device(priv)->crystal; read_div() 186 struct nvkm_device *device = nv_device(clk); gk104_clk_read()
|
H A D | gk20a.c | 569 return nv_device(clk)->crystal; gk20a_clk_read() 660 plat = nv_device_to_platform(nv_device(parent)); gk20a_clk_ctor()
|
H A D | nv40.c | 112 return nv_device(priv)->crystal; nv40_clk_read()
|
H A D | mcp77.c | 87 return nv_device(priv)->crystal; mcp77_clk_read()
|
H A D | base.c | 537 struct nvkm_device *device = nv_device(parent); nvkm_clk_create_()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | gf100.c | 72 struct nvkm_device *device = nv_device(object); gf100_fb_dtor() 89 struct nvkm_device *device = nv_device(parent); gf100_fb_ctor()
|
H A D | nv30.c | 69 struct nvkm_device *device = nv_device(priv); calc_bias() 94 struct nvkm_device *device = nv_device(object); nv30_fb_init()
|
H A D | ramnv1a.c | 50 if (nv_device(pfb)->chipset == 0x1a) { nv1a_ram_create()
|
H A D | nv50.c | 148 struct nvkm_device *device = nv_device(subdev); nv50_fb_intr() 246 struct nvkm_device *device = nv_device(parent); nv50_fb_ctor() 273 struct nvkm_device *device = nv_device(object); nv50_fb_dtor()
|
H A D | ramgt215.c | 163 struct nvkm_device *device = nv_device(pfb); gt215_link_train() 653 if (nv_device(pfb)->chipset == 0xa3 && freq <= 500000) gt215_ram_calc() 711 if (nv_device(pfb)->chipset == 0xa3 && freq > 500000) { gt215_ram_calc() 756 if (nv_device(pfb)->chipset != 0xa8) gt215_ram_calc() 772 if (nv_device(pfb)->chipset == 0xa8) { gt215_ram_calc() 860 struct nvkm_device *device = nv_device(pfb); gt215_ram_prog()
|
H A D | ramnv40.c | 112 switch (nv_device(pfb)->chipset) { nv40_ram_prog()
|
H A D | ramnv50.c | 205 struct nvkm_device *device = nv_device(pfb); nv50_ram_prog()
|
H A D | ramgf100.c | 407 struct nvkm_device *device = nv_device(pfb); gf100_ram_prog()
|
H A D | ramgk104.c | 1147 struct nvkm_device *device = nv_device(pfb); gk104_ram_prog()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | device.h | 40 #define nvxx_device(a) nv_device(nvxx_object((a)))
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bar/ |
H A D | gf100.c | 85 struct nvkm_device *device = nv_device(&priv->base); gf100_bar_ctor_vm() 138 struct nvkm_device *device = nv_device(parent); gf100_bar_ctor()
|
H A D | base.c | 41 struct nvkm_device *device = nv_device(parent); nvkm_barobj_ctor()
|
H A D | nv50.c | 110 struct nvkm_device *device = nv_device(parent); nv50_bar_ctor()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/mc/ |
H A D | base.c | 103 struct nvkm_device *device = nv_device(object); _nvkm_mc_dtor() 116 struct nvkm_device *device = nv_device(parent); nvkm_mc_create_()
|
H A D | nv50.c | 49 struct nvkm_device *device = nv_device(pmc); nv50_mc_msi_rearm()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | nv04.c | 136 pci_free_consistent(nv_device(priv)->pdev, 16 * 1024, nv04_mmu_dtor()
|
H A D | nv41.c | 89 struct nvkm_device *device = nv_device(parent); nv41_mmu_ctor()
|
H A D | nv44.c | 160 struct nvkm_device *device = nv_device(parent); nv44_mmu_ctor()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/ |
H A D | base.c | 82 struct nvkm_device *device = nv_device(mxm); mxm_shadow_dsm() 229 struct nvkm_device *device = nv_device(parent); nvkm_mxm_create_()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
H A D | gk20a.c | 149 struct device *dev = nv_device_base(nv_device(priv)); gk20a_instobj_dtor_dma() 209 struct device *dev = nv_device_base(nv_device(parent)); gk20a_instobj_ctor_dma() 405 plat = nv_device_to_platform(nv_device(parent)); gk20a_instmem_ctor()
|
H A D | nv40.c | 52 struct nvkm_device *device = nv_device(parent); nv40_instmem_ctor()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/ce/ |
H A D | gt215.c | 120 bool enable = (nv_device(parent)->chipset != 0xaf); gt215_ce_ctor()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | base.c | 82 struct nvkm_device *device = nv_device(object); nvkm_devobj_info() 203 struct nvkm_device *device = nv_device(object); nvkm_devobj_map() 311 device = nv_device(client->device); 515 nv_device(void *obj) nv_device() function
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/dmaobj/ |
H A D | base.c | 67 struct nvkm_device *device = nv_device(parent); nvkm_dmaobj_create_()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/ |
H A D | xtensa.c | 97 struct nvkm_device *device = nv_device(object); _nvkm_xtensa_init()
|
H A D | falcon.c | 73 struct nvkm_device *device = nv_device(object); _nvkm_falcon_init()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
H A D | memx.c | 129 if (nv_device(pmu)->chipset < 0xd0) { nvkm_memx_wait_vblank()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
H A D | gk20a.c | 165 plat = nv_device_to_platform(nv_device(parent)); gk20a_volt_ctor()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | base.c | 61 struct nvkm_device *device = nv_device(engine); nvkm_fifo_channel_create_()
|
H A D | nv40.c | 315 switch (nv_device(priv)->chipset) { nv40_fifo_init()
|
H A D | nv04.c | 503 struct nvkm_device *device = nv_device(subdev); nv04_fifo_intr()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/sw/ |
H A D | nv50.c | 132 if (nv_device(priv)->chipset == 0x50) { nv50_sw_vblsem_release()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
H A D | nv04.c | 142 struct nvkm_device *device = nv_device(object); nv04_timer_init()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/pm/ |
H A D | base.c | 111 struct nvkm_device *device = nv_device(object); nvkm_perfctr_query()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A D | base.c | 115 struct nvkm_device *device = nv_device(parent); nvkm_i2c_port_create_()
|