Home
last modified time | relevance | path

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

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