Searched refs:nv_device (Results 1 - 82 of 82) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dnv40.h14 struct nvkm_device *device = nv_device(priv); nv44_gr_class()
H A Dnv40.c150 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 Dnv50.c156 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 Dnv20.c179 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 Dnv10.c944 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 Dnv30.c188 if (nv_device(priv)->chipset == 0x34) { nv30_gr_init()
213 if (nv_device(priv)->chipset != 0x34) { nv30_gr_init()
H A Dgf100.c1123 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 Dnv04.c1198 if (nv_device(obj)->card_type == NV_40) nv04_gr_idle()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dshadowrom.c43 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 Dshadowramin.c61 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 Dpll.c115 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 Dshadowpci.c56 struct pci_dev *pdev = nv_device(bios)->pdev; pcirom_init()
88 struct pci_dev *pdev = nv_device(bios)->pdev; platform_init()
H A Dshadowof.c47 struct pci_dev *pdev = nv_device(bios)->pdev; of_init()
H A Dshadowacpi.c93 if (!nouveau_acpi_rom_supported(nv_device(bios)->pdev)) acpi_init()
H A Dshadow.c181 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 Dtherm.c208 if (nv_device(bios)->card_type >= NV_C0 && nvbios_therm_fan_parse()
H A Ddcb.c32 struct nvkm_device *device = nv_device(bios); dcb_table()
H A Dperf.c120 switch (nv_device(bios)->chipset) { nvbios_perfEp()
H A Dinit.c157 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 Ddevice.h49 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 Dvga.c31 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 Dnv04.c167 if (nv_device(priv)->chipset >= 0x10 && nv04_disp_intr()
168 nv_device(priv)->chipset <= 0x40) { nv04_disp_intr()
H A Dsorg94.c47 if (nv_device(priv)->chipset == 0xaf) g94_sor_dp_lane_map()
H A Dnv50.c160 *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 Dsubdev.c35 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 Dengine.c53 struct nvkm_device *device = nv_device(parent); nvkm_engine_create_()
H A Dprintk.c88 nv_device(device)->name, ofmt, fmt); nv_printk_()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
H A Dnv10.c42 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 Dnv20.c36 struct nvkm_device *device = nv_device(priv); nv20_devinit_meminit()
42 fb = fbmem_init(nv_device(priv)); nv20_devinit_meminit()
H A Dbase.c61 nv_device(devinit)->disable_mask |= impl->disable(devinit); _nvkm_devinit_init()
81 struct nvkm_device *device = nv_device(parent); nvkm_devinit_create_()
H A Dnv05.c56 fb = fbmem_init(nv_device(priv)); nv05_devinit_meminit()
H A Dnv04.c44 fb = fbmem_init(nv_device(priv)); nv04_devinit_meminit()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dfanpwm.c44 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 Dgf110.c113 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 Dnv50.c99 int chipset = nv_device(therm)->chipset; nv50_fan_pwm_clock()
100 int crystal = nv_device(therm)->crystal; nv50_fan_pwm_clock()
H A Dgm107.c58 return nv_device(therm)->crystal * 1000; gm107_fan_pwm_clock()
H A Dgt215.c59 nv_wr32(priv, 0x00e724, nv_device(priv)->crystal * 1000); gt215_therm_init()
H A Dnv40.c38 struct nvkm_device *device = nv_device(therm); nv40_sensor_style()
H A Dbase.c164 struct nvkm_device *device = nv_device(therm); nvkm_therm_fan_mode()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dnv50.c35 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 Dgt215.c49 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 Dgf100.c75 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 Dgk104.c75 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 Dgk20a.c569 return nv_device(clk)->crystal; gk20a_clk_read()
660 plat = nv_device_to_platform(nv_device(parent)); gk20a_clk_ctor()
H A Dnv40.c112 return nv_device(priv)->crystal; nv40_clk_read()
H A Dmcp77.c87 return nv_device(priv)->crystal; mcp77_clk_read()
H A Dbase.c537 struct nvkm_device *device = nv_device(parent); nvkm_clk_create_()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dgf100.c72 struct nvkm_device *device = nv_device(object); gf100_fb_dtor()
89 struct nvkm_device *device = nv_device(parent); gf100_fb_ctor()
H A Dnv30.c69 struct nvkm_device *device = nv_device(priv); calc_bias()
94 struct nvkm_device *device = nv_device(object); nv30_fb_init()
H A Dramnv1a.c50 if (nv_device(pfb)->chipset == 0x1a) { nv1a_ram_create()
H A Dnv50.c148 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 Dramgt215.c163 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 Dramnv40.c112 switch (nv_device(pfb)->chipset) { nv40_ram_prog()
H A Dramnv50.c205 struct nvkm_device *device = nv_device(pfb); nv50_ram_prog()
H A Dramgf100.c407 struct nvkm_device *device = nv_device(pfb); gf100_ram_prog()
H A Dramgk104.c1147 struct nvkm_device *device = nv_device(pfb); gk104_ram_prog()
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvif/
H A Ddevice.h40 #define nvxx_device(a) nv_device(nvxx_object((a)))
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bar/
H A Dgf100.c85 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 Dbase.c41 struct nvkm_device *device = nv_device(parent); nvkm_barobj_ctor()
H A Dnv50.c110 struct nvkm_device *device = nv_device(parent); nv50_bar_ctor()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
H A Dbase.c103 struct nvkm_device *device = nv_device(object); _nvkm_mc_dtor()
116 struct nvkm_device *device = nv_device(parent); nvkm_mc_create_()
H A Dnv50.c49 struct nvkm_device *device = nv_device(pmc); nv50_mc_msi_rearm()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dnv04.c136 pci_free_consistent(nv_device(priv)->pdev, 16 * 1024, nv04_mmu_dtor()
H A Dnv41.c89 struct nvkm_device *device = nv_device(parent); nv41_mmu_ctor()
H A Dnv44.c160 struct nvkm_device *device = nv_device(parent); nv44_mmu_ctor()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
H A Dbase.c82 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 Dgk20a.c149 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 Dnv40.c52 struct nvkm_device *device = nv_device(parent); nv40_instmem_ctor()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/ce/
H A Dgt215.c120 bool enable = (nv_device(parent)->chipset != 0xaf); gt215_ce_ctor()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dbase.c82 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 Dbase.c67 struct nvkm_device *device = nv_device(parent); nvkm_dmaobj_create_()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/
H A Dxtensa.c97 struct nvkm_device *device = nv_device(object); _nvkm_xtensa_init()
H A Dfalcon.c73 struct nvkm_device *device = nv_device(object); _nvkm_falcon_init()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dmemx.c129 if (nv_device(pmu)->chipset < 0xd0) { nvkm_memx_wait_vblank()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
H A Dgk20a.c165 plat = nv_device_to_platform(nv_device(parent)); gk20a_volt_ctor()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dbase.c61 struct nvkm_device *device = nv_device(engine); nvkm_fifo_channel_create_()
H A Dnv40.c315 switch (nv_device(priv)->chipset) { nv40_fifo_init()
H A Dnv04.c503 struct nvkm_device *device = nv_device(subdev); nv04_fifo_intr()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/sw/
H A Dnv50.c132 if (nv_device(priv)->chipset == 0x50) { nv50_sw_vblsem_release()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
H A Dnv04.c142 struct nvkm_device *device = nv_device(object); nv04_timer_init()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/pm/
H A Dbase.c111 struct nvkm_device *device = nv_device(object); nvkm_perfctr_query()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Dbase.c115 struct nvkm_device *device = nv_device(parent); nvkm_i2c_port_create_()

Completed in 1787 milliseconds