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