/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
A D | nv40.c | 106 nvkm_wr32(device, 0x400784, inst); in nv40_gr_chan_fini() 319 nvkm_wr32(device, 0x405000, i); in nv40_gr_init() 351 nvkm_wr32(device, 0x400860, 0); in nv40_gr_init() 352 nvkm_wr32(device, 0x400864, 0); in nv40_gr_init() 396 nvkm_wr32(device, 0x400820, 0); in nv40_gr_init() 397 nvkm_wr32(device, 0x400824, 0); in nv40_gr_init() 398 nvkm_wr32(device, 0x400864, vramsz); in nv40_gr_init() 399 nvkm_wr32(device, 0x400868, vramsz); in nv40_gr_init() 420 nvkm_wr32(device, 0x400840, 0); in nv40_gr_init() 421 nvkm_wr32(device, 0x400844, 0); in nv40_gr_init() [all …]
|
A D | nv20.c | 42 nvkm_wr32(device, 0x400784, inst >> 4); in nv20_gr_chan_fini() 43 nvkm_wr32(device, 0x400788, 0x00000002); in nv20_gr_chan_fini() 48 nvkm_wr32(device, 0x400144, 0x10000000); in nv20_gr_chan_fini() 268 nvkm_wr32(device, 0x400890, 0x00a8cfff); in nv20_gr_init() 269 nvkm_wr32(device, 0x400610, 0x304B1FB6); in nv20_gr_init() 307 nvkm_wr32(device, 0x400820, 0); in nv20_gr_init() 308 nvkm_wr32(device, 0x400824, 0); in nv20_gr_init() 309 nvkm_wr32(device, 0x400864, vramsz - 1); in nv20_gr_init() 310 nvkm_wr32(device, 0x400868, vramsz - 1); in nv20_gr_init() 313 nvkm_wr32(device, 0x400B20, 0x00000000); in nv20_gr_init() [all …]
|
A D | nv30.c | 118 nvkm_wr32(device, 0x400890, 0x01b463ff); in nv30_gr_init() 122 nvkm_wr32(device, 0x400B80, 0x1003d888); in nv30_gr_init() 123 nvkm_wr32(device, 0x400B84, 0x0c000000); in nv30_gr_init() 124 nvkm_wr32(device, 0x400098, 0x00000000); in nv30_gr_init() 125 nvkm_wr32(device, 0x40009C, 0x0005ad00); in nv30_gr_init() 127 nvkm_wr32(device, 0x4000a0, 0x00000000); in nv30_gr_init() 128 nvkm_wr32(device, 0x4000a4, 0x00000008); in nv30_gr_init() 129 nvkm_wr32(device, 0x4008a8, 0xb784a400); in nv30_gr_init() 130 nvkm_wr32(device, 0x400ba0, 0x002f8685); in nv30_gr_init() 131 nvkm_wr32(device, 0x400ba4, 0x00231f3f); in nv30_gr_init() [all …]
|
A D | nv50.c | 316 nvkm_wr32(device, addr + 0x14, 0); in nv50_gr_mp_trap() 443 nvkm_wr32(device, 0x400808, 0); in nv50_gr_trap_handler() 445 nvkm_wr32(device, 0x400848, 0); in nv50_gr_trap_handler() 468 nvkm_wr32(device, 0x40084c, 0); in nv50_gr_trap_handler() 478 nvkm_wr32(device, 0x400108, 0x001); in nv50_gr_trap_handler() 500 nvkm_wr32(device, 0x400040, 2); in nv50_gr_trap_handler() 501 nvkm_wr32(device, 0x400040, 0); in nv50_gr_trap_handler() 503 nvkm_wr32(device, 0x400108, 0x002); in nv50_gr_trap_handler() 543 nvkm_wr32(device, 0x400040, 0x80); in nv50_gr_trap_handler() 544 nvkm_wr32(device, 0x400040, 0); in nv50_gr_trap_handler() [all …]
|
A D | nv10.c | 489 nvkm_wr32(device, NV10_PGRAPH_XFMODE0, xfmode0); in nv17_gr_mthd_lma_window() 490 nvkm_wr32(device, NV10_PGRAPH_XFMODE1, xfmode1); in nv17_gr_mthd_lma_window() 615 nvkm_wr32(device, NV10_PGRAPH_XFMODE0, xfmode0); in nv10_gr_load_pipe() 854 nvkm_wr32(device, NV10_PGRAPH_CTX_SWITCH(i), in nv10_gr_load_dma_vtxbuf() 860 nvkm_wr32(device, NV10_PGRAPH_FFINTFC_ST2, in nv10_gr_load_dma_vtxbuf() 869 nvkm_wr32(device, 0x4007a0 + 4 * i, fifo[i]); in nv10_gr_load_dma_vtxbuf() 1117 nvkm_wr32(device, NV03_PGRAPH_INTR, stat); in nv10_gr_intr() 1153 nvkm_wr32(device, 0x400a10, 0x03ff3fb6); in nv10_gr_init() 1154 nvkm_wr32(device, 0x400838, 0x002f8684); in nv10_gr_init() 1155 nvkm_wr32(device, 0x40083c, 0x00115f3f); in nv10_gr_init() [all …]
|
A D | gf100.c | 59 nvkm_wr32(device, 0x405820, zbc); in gf100_gr_zbc_clear_color() 106 nvkm_wr32(device, 0x405820, zbc); in gf100_gr_zbc_clear_depth() 732 nvkm_wr32(device, 0x409504, mthd); in gf100_gr_fecs_ctrl_ctxsw() 780 nvkm_wr32(device, 0x409500, inst); in gf100_gr_fecs_bind_pointer() 815 nvkm_wr32(device, 0x409810, inst); in gf100_gr_fecs_set_reglist_bind_instance() 919 nvkm_wr32(device, 0x409500, timeout); in gf100_gr_fecs_set_watchdog_timeout() 1056 nvkm_wr32(device, 0x400200, addr); in gf100_gr_icmd() 1447 nvkm_wr32(device, 0x400118, mask); in gf100_gr_trap_intr() 1470 nvkm_wr32(device, 0x400108, trap); in gf100_gr_trap_intr() 1541 nvkm_wr32(device, 0x409c20, stat); in gf100_gr_ctxctl_isr() [all …]
|
A D | nv44.c | 44 nvkm_wr32(device, NV20_PGRAPH_TSIZE(i), tile->pitch); in nv44_gr_tile() 45 nvkm_wr32(device, NV20_PGRAPH_TLIMIT(i), tile->limit); in nv44_gr_tile() 46 nvkm_wr32(device, NV20_PGRAPH_TILE(i), tile->addr); in nv44_gr_tile() 53 nvkm_wr32(device, NV47_PGRAPH_TSIZE(i), tile->pitch); in nv44_gr_tile() 54 nvkm_wr32(device, NV47_PGRAPH_TLIMIT(i), tile->limit); in nv44_gr_tile() 55 nvkm_wr32(device, NV47_PGRAPH_TILE(i), tile->addr); in nv44_gr_tile() 56 nvkm_wr32(device, NV40_PGRAPH_TSIZE1(i), tile->pitch); in nv44_gr_tile() 58 nvkm_wr32(device, NV40_PGRAPH_TILE1(i), tile->addr); in nv44_gr_tile() 61 nvkm_wr32(device, NV20_PGRAPH_TSIZE(i), tile->pitch); in nv44_gr_tile() 63 nvkm_wr32(device, NV20_PGRAPH_TILE(i), tile->addr); in nv44_gr_tile() [all …]
|
A D | tu102.c | 43 nvkm_wr32(device, GPC_UNIT(gr->sm[sm].gpc, 0x0c10 + in tu102_gr_init_fs() 65 nvkm_wr32(device, GPC_BCAST(0x0980 + ((i / 8) * 4)), data); in tu102_gr_init_zcull() 69 nvkm_wr32(device, GPC_UNIT(gpc, 0x0914), in tu102_gr_init_zcull() 71 nvkm_wr32(device, GPC_UNIT(gpc, 0x0910), 0x00040000 | in tu102_gr_init_zcull() 73 nvkm_wr32(device, GPC_UNIT(gpc, 0x0918), magicgpc918); in tu102_gr_init_zcull() 76 nvkm_wr32(device, GPC_BCAST(0x3fd4), magicgpc918); in tu102_gr_init_zcull() 85 nvkm_wr32(device, 0x418890, 0x00000000); in tu102_gr_init_gpc_mmu() 86 nvkm_wr32(device, 0x418894, 0x00000000); in tu102_gr_init_gpc_mmu() 88 nvkm_wr32(device, 0x4188b4, nvkm_rd32(device, 0x100cc8)); in tu102_gr_init_gpc_mmu() 89 nvkm_wr32(device, 0x4188b8, nvkm_rd32(device, 0x100ccc)); in tu102_gr_init_gpc_mmu() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
A D | nv04.c | 207 nvkm_wr32(device, NV03_PFIFO_CACHE1_PUSH0, in nv04_fifo_cache_error() 210 nvkm_wr32(device, NV03_PFIFO_CACHE1_PUSH0, in nv04_fifo_cache_error() 248 nvkm_wr32(device, 0x003364, 0x00000000); in nv04_fifo_dma_pusher() 250 nvkm_wr32(device, 0x003244, dma_put); in nv04_fifo_dma_pusher() 251 nvkm_wr32(device, 0x003328, ho_put); in nv04_fifo_dma_pusher() 254 nvkm_wr32(device, 0x003334, ib_put); in nv04_fifo_dma_pusher() 262 nvkm_wr32(device, 0x003244, dma_put); in nv04_fifo_dma_pusher() 266 nvkm_wr32(device, 0x003228, 0x00000000); in nv04_fifo_dma_pusher() 267 nvkm_wr32(device, 0x003220, 0x00000001); in nv04_fifo_dma_pusher() 282 nvkm_wr32(device, NV03_PFIFO_CACHES, 0); in nv04_fifo_intr() [all …]
|
A D | nv40.c | 70 nvkm_wr32(device, 0x002040, 0x000000ff); in nv40_fifo_init() 71 nvkm_wr32(device, 0x002044, 0x2101ffff); in nv40_fifo_init() 72 nvkm_wr32(device, 0x002058, 0x00000001); in nv40_fifo_init() 83 nvkm_wr32(device, 0x002230, 0x00000001); in nv40_fifo_init() 91 nvkm_wr32(device, 0x002220, 0x00030002); in nv40_fifo_init() 94 nvkm_wr32(device, 0x002230, 0x00000000); in nv40_fifo_init() 103 nvkm_wr32(device, NV03_PFIFO_INTR_0, 0xffffffff); in nv40_fifo_init() 104 nvkm_wr32(device, NV03_PFIFO_INTR_EN_0, 0xffffffff); in nv40_fifo_init() 106 nvkm_wr32(device, NV03_PFIFO_CACHE1_PUSH0, 1); in nv40_fifo_init() 107 nvkm_wr32(device, NV04_PFIFO_CACHE1_PULL0, 1); in nv40_fifo_init() [all …]
|
A D | nv17.c | 60 nvkm_wr32(device, NV04_PFIFO_DELAY_0, 0x000000ff); in nv17_fifo_init() 61 nvkm_wr32(device, NV04_PFIFO_DMA_TIMESLICE, 0x0101ffff); in nv17_fifo_init() 63 nvkm_wr32(device, NV03_PFIFO_RAMHT, (0x03 << 24) /* search 128 */ | in nv17_fifo_init() 66 nvkm_wr32(device, NV03_PFIFO_RAMRO, nvkm_memory_addr(ramro) >> 8); in nv17_fifo_init() 67 nvkm_wr32(device, NV03_PFIFO_RAMFC, nvkm_memory_addr(ramfc) >> 8 | in nv17_fifo_init() 70 nvkm_wr32(device, NV03_PFIFO_CACHE1_PUSH1, fifo->base.nr - 1); in nv17_fifo_init() 72 nvkm_wr32(device, NV03_PFIFO_INTR_0, 0xffffffff); in nv17_fifo_init() 73 nvkm_wr32(device, NV03_PFIFO_INTR_EN_0, 0xffffffff); in nv17_fifo_init() 75 nvkm_wr32(device, NV03_PFIFO_CACHE1_PUSH0, 1); in nv17_fifo_init() 76 nvkm_wr32(device, NV04_PFIFO_CACHE1_PULL0, 1); in nv17_fifo_init() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
A D | tu102.c | 51 nvkm_wr32(device, 0x640008, tmp); in tu102_disp_init() 57 nvkm_wr32(device, 0x640144 + (i * 0x08), tmp); in tu102_disp_init() 66 nvkm_wr32(device, 0x640048 + (id * 0x020), tmp); in tu102_disp_init() 88 nvkm_wr32(device, 0x640010 + (i * 0x04), tmp); in tu102_disp_init() 101 nvkm_wr32(device, 0x610010, 0x00000008 | tmp); in tu102_disp_init() 105 nvkm_wr32(device, 0x611cf0, 0x00000187); /* MSK. */ in tu102_disp_init() 106 nvkm_wr32(device, 0x611db0, 0x00000187); /* EN. */ in tu102_disp_init() 111 nvkm_wr32(device, 0x611dac, 0x00000000); /* EN. */ in tu102_disp_init() 115 nvkm_wr32(device, 0x611da8, 0x00000000); /* EN. */ in tu102_disp_init() 119 nvkm_wr32(device, 0x611da4, 0x00000000); /* EN. */ in tu102_disp_init() [all …]
|
A D | gv100.c | 93 nvkm_wr32(device, 0x6107a8, 0x80000000); in gv100_disp_super() 169 nvkm_wr32(device, 0x611858, wndws); in gv100_disp_intr_ctrl_disp() 170 nvkm_wr32(device, 0x61185c, other); in gv100_disp_intr_ctrl_disp() 196 nvkm_wr32(device, 0x611854, 0x00000001); in gv100_disp_intr_exc_other() 211 nvkm_wr32(device, 0x611854, stat); in gv100_disp_intr_exc_other() 224 nvkm_wr32(device, 0x611850, BIT(wndw)); in gv100_disp_intr_exc_winim() 231 nvkm_wr32(device, 0x611850, stat); in gv100_disp_intr_exc_winim() 244 nvkm_wr32(device, 0x61184c, BIT(wndw)); in gv100_disp_intr_exc_win() 251 nvkm_wr32(device, 0x61184c, stat); in gv100_disp_intr_exc_win() 324 nvkm_wr32(device, 0x611db0, 0x00000000); in gv100_disp_fini() [all …]
|
A D | hdmigv100.c | 51 nvkm_wr32(device, 0x6f0008 + hdmi, avi_infoframe.header); in gv100_hdmi_ctrl() 52 nvkm_wr32(device, 0x6f000c + hdmi, avi_infoframe.subpack0_low); in gv100_hdmi_ctrl() 54 nvkm_wr32(device, 0x6f0014 + hdmi, avi_infoframe.subpack1_low); in gv100_hdmi_ctrl() 62 nvkm_wr32(device, 0x6f0108 + hdmi, vendor_infoframe.header); in gv100_hdmi_ctrl() 65 nvkm_wr32(device, 0x6f0114 + hdmi, 0x00000000); in gv100_hdmi_ctrl() 66 nvkm_wr32(device, 0x6f0118 + hdmi, 0x00000000); in gv100_hdmi_ctrl() 67 nvkm_wr32(device, 0x6f011c + hdmi, 0x00000000); in gv100_hdmi_ctrl() 68 nvkm_wr32(device, 0x6f0120 + hdmi, 0x00000000); in gv100_hdmi_ctrl() 69 nvkm_wr32(device, 0x6f0124 + hdmi, 0x00000000); in gv100_hdmi_ctrl() 76 nvkm_wr32(device, 0x6f00cc + hdmi, 0x00000010); in gv100_hdmi_ctrl() [all …]
|
A D | hdmig84.c | 53 nvkm_wr32(device, 0x616528 + hoff, avi_infoframe.header); in g84_hdmi_ctrl() 54 nvkm_wr32(device, 0x61652c + hoff, avi_infoframe.subpack0_low); in g84_hdmi_ctrl() 55 nvkm_wr32(device, 0x616530 + hoff, avi_infoframe.subpack0_high); in g84_hdmi_ctrl() 56 nvkm_wr32(device, 0x616534 + hoff, avi_infoframe.subpack1_low); in g84_hdmi_ctrl() 57 nvkm_wr32(device, 0x616538 + hoff, avi_infoframe.subpack1_high); in g84_hdmi_ctrl() 63 nvkm_wr32(device, 0x616508 + hoff, 0x000a0184); in g84_hdmi_ctrl() 64 nvkm_wr32(device, 0x61650c + hoff, 0x00000071); in g84_hdmi_ctrl() 65 nvkm_wr32(device, 0x616510 + hoff, 0x00000000); in g84_hdmi_ctrl() 71 nvkm_wr32(device, 0x616544 + hoff, vendor_infoframe.header); in g84_hdmi_ctrl() 72 nvkm_wr32(device, 0x616548 + hoff, vendor_infoframe.subpack0_low); in g84_hdmi_ctrl() [all …]
|
A D | hdmigt215.c | 53 nvkm_wr32(device, 0x61c528 + soff, avi_infoframe.header); in gt215_hdmi_ctrl() 54 nvkm_wr32(device, 0x61c52c + soff, avi_infoframe.subpack0_low); in gt215_hdmi_ctrl() 55 nvkm_wr32(device, 0x61c530 + soff, avi_infoframe.subpack0_high); in gt215_hdmi_ctrl() 56 nvkm_wr32(device, 0x61c534 + soff, avi_infoframe.subpack1_low); in gt215_hdmi_ctrl() 57 nvkm_wr32(device, 0x61c538 + soff, avi_infoframe.subpack1_high); in gt215_hdmi_ctrl() 63 nvkm_wr32(device, 0x61c508 + soff, 0x000a0184); in gt215_hdmi_ctrl() 64 nvkm_wr32(device, 0x61c50c + soff, 0x00000071); in gt215_hdmi_ctrl() 65 nvkm_wr32(device, 0x61c510 + soff, 0x00000000); in gt215_hdmi_ctrl() 71 nvkm_wr32(device, 0x61c544 + soff, vendor_infoframe.header); in gt215_hdmi_ctrl() 72 nvkm_wr32(device, 0x61c548 + soff, vendor_infoframe.subpack0_low); in gt215_hdmi_ctrl() [all …]
|
A D | hdmigk104.c | 53 nvkm_wr32(device, 0x690008 + hdmi, avi_infoframe.header); in gk104_hdmi_ctrl() 54 nvkm_wr32(device, 0x69000c + hdmi, avi_infoframe.subpack0_low); in gk104_hdmi_ctrl() 55 nvkm_wr32(device, 0x690010 + hdmi, avi_infoframe.subpack0_high); in gk104_hdmi_ctrl() 56 nvkm_wr32(device, 0x690014 + hdmi, avi_infoframe.subpack1_low); in gk104_hdmi_ctrl() 57 nvkm_wr32(device, 0x690018 + hdmi, avi_infoframe.subpack1_high); in gk104_hdmi_ctrl() 64 nvkm_wr32(device, 0x690108 + hdmi, vendor_infoframe.header); in gk104_hdmi_ctrl() 65 nvkm_wr32(device, 0x69010c + hdmi, vendor_infoframe.subpack0_low); in gk104_hdmi_ctrl() 66 nvkm_wr32(device, 0x690110 + hdmi, vendor_infoframe.subpack0_high); in gk104_hdmi_ctrl() 74 nvkm_wr32(device, 0x6900cc + hdmi, 0x00000010); in gk104_hdmi_ctrl() 78 nvkm_wr32(device, 0x690080 + hdmi, 0x82000000); in gk104_hdmi_ctrl()
|
A D | gf119.c | 86 nvkm_wr32(device, 0x6101d0, 0x80000000); in gf119_disp_super() 117 nvkm_wr32(device, 0x61009c, (1 << chid)); in gf119_disp_intr_error() 134 nvkm_wr32(device, 0x61008c, 1 << chid); in gf119_disp_intr() 158 nvkm_wr32(device, 0x6100ac, stat); in gf119_disp_intr() 182 nvkm_wr32(device, 0x6100b0, 0x00000000); in gf119_disp_fini() 202 nvkm_wr32(device, 0x6101b4 + hoff, tmp); in gf119_disp_init() 204 nvkm_wr32(device, 0x6101b8 + hoff, tmp); in gf119_disp_init() 206 nvkm_wr32(device, 0x6101bc + hoff, tmp); in gf119_disp_init() 236 nvkm_wr32(device, 0x610090, 0x00000000); in gf119_disp_init() 237 nvkm_wr32(device, 0x6100a0, 0x00000000); in gf119_disp_init() [all …]
|
A D | hdmigf119.c | 52 nvkm_wr32(device, 0x61671c + hoff, avi_infoframe.header); in gf119_hdmi_ctrl() 53 nvkm_wr32(device, 0x616720 + hoff, avi_infoframe.subpack0_low); in gf119_hdmi_ctrl() 54 nvkm_wr32(device, 0x616724 + hoff, avi_infoframe.subpack0_high); in gf119_hdmi_ctrl() 55 nvkm_wr32(device, 0x616728 + hoff, avi_infoframe.subpack1_low); in gf119_hdmi_ctrl() 56 nvkm_wr32(device, 0x61672c + hoff, avi_infoframe.subpack1_high); in gf119_hdmi_ctrl() 68 nvkm_wr32(device, 0x616738 + hoff, vendor_infoframe.header); in gf119_hdmi_ctrl() 69 nvkm_wr32(device, 0x61673c + hoff, vendor_infoframe.subpack0_low); in gf119_hdmi_ctrl() 70 nvkm_wr32(device, 0x616740 + hoff, vendor_infoframe.subpack0_high); in gf119_hdmi_ctrl() 77 nvkm_wr32(device, 0x6167ac + hoff, 0x00000010); in gf119_hdmi_ctrl()
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
A D | gt215.c | 60 nvkm_wr32(device, 0x10a580, 0x00000001); in gt215_pmu_send() 66 nvkm_wr32(device, 0x10a1c4, process); in gt215_pmu_send() 67 nvkm_wr32(device, 0x10a1c4, message); in gt215_pmu_send() 68 nvkm_wr32(device, 0x10a1c4, data0); in gt215_pmu_send() 69 nvkm_wr32(device, 0x10a1c4, data1); in gt215_pmu_send() 73 nvkm_wr32(device, 0x10a580, 0x00000000); in gt215_pmu_send() 100 nvkm_wr32(device, 0x10a580, 0x00000002); in gt215_pmu_recv() 113 nvkm_wr32(device, 0x10a580, 0x00000000); in gt215_pmu_recv() 173 nvkm_wr32(device, 0x10a004, intr); in gt215_pmu_intr() 205 nvkm_wr32(device, 0x10a1c0, 0x01000000); in gt215_pmu_init() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/ |
A D | nv50.c | 84 nvkm_wr32(device, 0x00b100, stat); in nv50_mpeg_intr() 85 nvkm_wr32(device, 0x00b230, 0x00000001); in nv50_mpeg_intr() 94 nvkm_wr32(device, 0x00b32c, 0x00000000); in nv50_mpeg_init() 95 nvkm_wr32(device, 0x00b314, 0x00000100); in nv50_mpeg_init() 96 nvkm_wr32(device, 0x00b0e0, 0x0000001a); in nv50_mpeg_init() 98 nvkm_wr32(device, 0x00b220, 0x00000044); in nv50_mpeg_init() 99 nvkm_wr32(device, 0x00b300, 0x00801ec1); in nv50_mpeg_init() 100 nvkm_wr32(device, 0x00b390, 0x00000000); in nv50_mpeg_init() 101 nvkm_wr32(device, 0x00b394, 0x00000000); in nv50_mpeg_init() 102 nvkm_wr32(device, 0x00b398, 0x00000000); in nv50_mpeg_init() [all …]
|
A D | nv31.c | 147 nvkm_wr32(device, 0x00b334, base); in nv31_mpeg_mthd_dma() 148 nvkm_wr32(device, 0x00b324, size); in nv31_mpeg_mthd_dma() 154 nvkm_wr32(device, 0x00b360, base); in nv31_mpeg_mthd_dma() 155 nvkm_wr32(device, 0x00b364, size); in nv31_mpeg_mthd_dma() 161 nvkm_wr32(device, 0x00b370, base); in nv31_mpeg_mthd_dma() 162 nvkm_wr32(device, 0x00b374, size); in nv31_mpeg_mthd_dma() 211 nvkm_wr32(device, 0x00b100, stat); in nv31_mpeg_intr() 212 nvkm_wr32(device, 0x00b230, 0x00000001); in nv31_mpeg_intr() 235 nvkm_wr32(device, 0x00b32c, 0x00000000); in nv31_mpeg_init() 236 nvkm_wr32(device, 0x00b314, 0x00000100); in nv31_mpeg_init() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/ |
A D | falcon.c | 76 nvkm_wr32(device, base + 0x004, 0x00000040); in nvkm_falcon_intr() 83 nvkm_wr32(device, base + 0x004, 0x00000010); in nvkm_falcon_intr() 89 nvkm_wr32(device, base + 0x004, intr); in nvkm_falcon_intr() 113 nvkm_wr32(device, base + 0x014, 0xffffffff); in nvkm_falcon_fini() 183 nvkm_wr32(device, base + 0x004, 0x00000010); in nvkm_falcon_init() 187 nvkm_wr32(device, base + 0x014, 0xffffffff); in nvkm_falcon_init() 269 nvkm_wr32(device, base + 0x11c, 0); in nvkm_falcon_init() 270 nvkm_wr32(device, base + 0x110, addr >> 8); in nvkm_falcon_init() 271 nvkm_wr32(device, base + 0x114, 0); in nvkm_falcon_init() 272 nvkm_wr32(device, base + 0x118, 0x00006610); in nvkm_falcon_init() [all …]
|
A D | xtensa.c | 70 nvkm_wr32(device, base + 0xc20, intr); in nvkm_xtensa_intr() 85 nvkm_wr32(device, base + 0xd84, 0); /* INTR_EN */ in nvkm_xtensa_fini() 86 nvkm_wr32(device, base + 0xd94, 0); /* FIFO_CTRL */ in nvkm_xtensa_fini() 140 nvkm_wr32(device, base + 0xd10, 0x1fffffff); /* ?? */ in nvkm_xtensa_init() 141 nvkm_wr32(device, base + 0xd08, 0x0fffffff); /* ?? */ in nvkm_xtensa_init() 144 nvkm_wr32(device, base + 0xc20, 0x3f); /* INTR */ in nvkm_xtensa_init() 145 nvkm_wr32(device, base + 0xd84, 0x3f); /* INTR_EN */ in nvkm_xtensa_init() 152 nvkm_wr32(device, base + 0xde0, tmp); /* SCRATCH_H2X */ in nvkm_xtensa_init() 154 nvkm_wr32(device, base + 0xce8, 0xf); /* XT_REGION_SETUP */ in nvkm_xtensa_init() 156 nvkm_wr32(device, base + 0xc20, 0x3f); /* INTR */ in nvkm_xtensa_init() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
A D | nv04.c | 159 nvkm_wr32(device, 0x001584, in setPLL_single() 178 nvkm_wr32(device, reg, pll); in setPLL_single() 238 nvkm_wr32(device, 0x001584, in setPLL_double_highregs() 266 nvkm_wr32(device, reg2, pll2); in setPLL_double_highregs() 267 nvkm_wr32(device, reg1, pll1); in setPLL_double_highregs() 335 nvkm_wr32(device, NMNMreg, NMNM); in setPLL_double_lowregs() 337 nvkm_wr32(device, 0x403c, NMNM); in setPLL_double_lowregs() 339 nvkm_wr32(device, Preg, Pval); in setPLL_double_lowregs() 342 nvkm_wr32(device, 0x4020, Pval); in setPLL_double_lowregs() 343 nvkm_wr32(device, 0x4038, Pval); in setPLL_double_lowregs() [all …]
|