/haiku/src/add-ons/accelerants/nvidia/engine/ |
H A D | nv_acc.c | 95 ACCW(PT_NUMERATOR, 0x00000008); in nv_acc_init() 97 ACCW(PT_DENOMINATR, 0x00000003); in nv_acc_init() 100 ACCW(PT_INTEN, 0x00000000); in nv_acc_init() 102 ACCW(PT_INTSTAT, 0xffffffff); in nv_acc_init() 114 ACCW(PF_CACHES, 0x00000000); in nv_acc_init() 116 ACCW(PF_MODE, 0x00000000); in nv_acc_init() 118 ACCW(PF_CACH1_PSH0, 0x00000000); in nv_acc_init() 120 ACCW(PF_CACH1_PUL0, 0x00000000); in nv_acc_init() 122 ACCW(PF_CACH1_PSH1, 0x00000000); in nv_acc_init() 124 ACCW(PF_CACH1_DMAP, 0x00000000); in nv_acc_init() [all …]
|
H A D | nv_acc_dma.c | 120 ACCW(PT_NUMERATOR, 0x00000008); in nv_acc_init_dma() 122 ACCW(PT_DENOMINATR, 0x00000003); in nv_acc_init_dma() 126 ACCW(PT_INTEN, 0x00000000); in nv_acc_init_dma() 128 ACCW(PT_INTSTAT, 0xffffffff); in nv_acc_init_dma() 141 ACCW(NV10_FBTIL0AD, 0); in nv_acc_init_dma() 142 ACCW(NV10_FBTIL1AD, 0); in nv_acc_init_dma() 143 ACCW(NV10_FBTIL2AD, 0); in nv_acc_init_dma() 144 ACCW(NV10_FBTIL3AD, 0); in nv_acc_init_dma() 145 ACCW(NV10_FBTIL4AD, 0); in nv_acc_init_dma() 146 ACCW(NV10_FBTIL5AD, 0); in nv_acc_init_dma() [all …]
|
H A D | nv_info.c | 391 ACCW(PT_NUMERATOR, (si->ps.std_engine_clock * 20)); in coldstart_card_516_up() 392 ACCW(PT_DENOMINATR, 0x00000271); in coldstart_card_516_up()
|
/haiku/src/add-ons/accelerants/matrox/engine/ |
H A D | mga_acc.c | 23 ACCW(YDST,((dst)* (si->fbc.bytes_per_row / (si->engine.depth >> 3))) >> 5); \ 24 ACCW(LEN,len); \ 25 } else ACCW(YDSTLEN,((dst)<<16)|(len)); \ 59 ACCW(OPMODE,0); in gx00_acc_init() 62 ACCW(ZORG,0); in gx00_acc_init() 68 ACCW(MACCESS, ((maccess & 0xfffffffc) | 0x00)); in gx00_acc_init() 72 ACCW(MACCESS, ((maccess & 0xfffffffc) | 0x01)); in gx00_acc_init() 76 ACCW(MACCESS, ((maccess & 0xfffffffc) | 0x02)); in gx00_acc_init() 108 ACCW(PITCH, (si->engine.y_lin << 15) | in gx00_acc_init() 135 ACCW(PITCH, (si->engine.y_lin << 15) | in gx00_acc_init() [all …]
|
H A D | mga_general.c | 208 ACCW(MCTLWTST, ((si->ps.mctlwtst_reg & 0xfffffffc) | (latency - 2))); in mga_set_cas_latency() 352 ACCW(PLNWT,0x00000000); in g100_general_powerup() 353 ACCW(PLNWT,0xffffffff); in g100_general_powerup() 355 ACCW(MCTLWTST,si->ps.mctlwtst_reg); in g100_general_powerup() 372 ACCW(MACCESS, 0x00000000); in g100_general_powerup() 374 ACCW(MACCESS, 0x00004000); in g100_general_powerup() 376 ACCW(MACCESS, 0x0000c000); in g100_general_powerup() 381 ACCW(MCTLWTST,si->ps.mctlwtst_reg); in g100_general_powerup() 456 ACCW(PLNWT,0x00000000); in g200_general_powerup() 457 ACCW(PLNWT,0xffffffff); in g200_general_powerup() [all …]
|
/haiku/src/add-ons/accelerants/via/engine/ |
H A D | acc.c | 93 ACCW(PAT_SHAPE, 0); /* 0 = 8x8, 1 = 64x1, 2 = 1x64 */ in eng_acc_setup_blit() 94 ACCW(PAT_COLOR0, 0xffffffff); in eng_acc_setup_blit() 95 ACCW(PAT_COLOR1, 0xffffffff); in eng_acc_setup_blit() 96 ACCW(PAT_MONO1, 0xffffffff); in eng_acc_setup_blit() 97 ACCW(PAT_MONO2, 0xffffffff); in eng_acc_setup_blit() 108 ACCW(ROP_ROP3, 0xcc); in eng_acc_setup_blit() 126 ACCW(BLT_TOPLFTSRC, ((ys << 16) | xs)); in eng_acc_blit() 127 ACCW(BLT_TOPLFTDST, ((yd << 16) | xd)); in eng_acc_blit() 128 ACCW(BLT_SIZE, (((h + 1) << 16) | (w + 1))); in eng_acc_blit() 146 ACCW(PAT_SHAPE, 0); /* 0 = 8x8, 1 = 64x1, 2 = 1x64 */ in eng_acc_setup_rectangle() [all …]
|
/haiku/src/add-ons/accelerants/skeleton/engine/ |
H A D | acc.c | 93 ACCW(PAT_SHAPE, 0); /* 0 = 8x8, 1 = 64x1, 2 = 1x64 */ in eng_acc_setup_blit() 94 ACCW(PAT_COLOR0, 0xffffffff); in eng_acc_setup_blit() 95 ACCW(PAT_COLOR1, 0xffffffff); in eng_acc_setup_blit() 96 ACCW(PAT_MONO1, 0xffffffff); in eng_acc_setup_blit() 97 ACCW(PAT_MONO2, 0xffffffff); in eng_acc_setup_blit() 108 ACCW(ROP_ROP3, 0xcc); in eng_acc_setup_blit() 126 ACCW(BLT_TOPLFTSRC, ((ys << 16) | xs)); in eng_acc_blit() 127 ACCW(BLT_TOPLFTDST, ((yd << 16) | xd)); in eng_acc_blit() 128 ACCW(BLT_SIZE, (((h + 1) << 16) | (w + 1))); in eng_acc_blit() 146 ACCW(PAT_SHAPE, 0); /* 0 = 8x8, 1 = 64x1, 2 = 1x64 */ in eng_acc_setup_rectangle() [all …]
|
H A D | info.c | 379 ACCW(PT_NUMERATOR, (si->ps.std_engine_clock * 20)); in coldstart_card_516_up() 380 ACCW(PT_DENOMINATR, 0x00000271); in coldstart_card_516_up()
|
/haiku/src/add-ons/accelerants/neomagic/engine/ |
H A D | nm_acc.c | 159 ACCW(2070_PLANEMASK, 0x0000ffff); in nm_acc_init() 160 ACCW(2070_SRCPITCH, si->fbc.bytes_per_row); in nm_acc_init() 161 ACCW(2070_SRCBITOFF, 0); in nm_acc_init() 162 ACCW(2070_DSTPITCH, si->fbc.bytes_per_row); in nm_acc_init() 163 ACCW(2070_DSTBITOFF, 0); in nm_acc_init() 176 ACCW(STATUS, ((si->engine.control & 0x0000ffff) << 16)); in nm_acc_init() 178 ACCW(2200_SRC_PITCH, in nm_acc_init() 211 ACCW(CONTROL, si->engine.control | 0x000c0000); in nm_acc_blit() 213 ACCW(2070_XYEXT, ((h << 16) | (w & 0x0000ffff))); in nm_acc_blit() 214 ACCW(SRCSTARTOFF, ((ys * si->fbc.bytes_per_row) + (xs * si->engine.depth))); in nm_acc_blit() [all …]
|
/haiku/src/add-ons/kernel/drivers/graphics/matrox/ |
H A D | driver.c | 159 ACCW(ICLEAR,0x20); in clear_vbi() 164 ACCW(IEN,ACCR(IEN)|0x20); in enable_vbi() 169 ACCW(IEN,(ACCR(IEN)&~0x20)); in disable_vbi() 170 ACCW(ICLEAR,0x20); in disable_vbi()
|
/haiku/headers/private/graphics/matrox/ |
H A D | mga_macros.h | 333 #define ACCW(A,B) (MGA_REG32(MGAACC_##A)=B) macro
|
/haiku/headers/private/graphics/neomagic/ |
H A D | nm_macros.h | 316 #define ACCW(A,B) (NM_REG32(NMACC_##A) = (B)) macro
|
/haiku/headers/private/graphics/skeleton/ |
H A D | macros.h | 793 #define ACCW(A,B) (ENG_RG32(ENACC_##A)=B) macro
|
/haiku/headers/private/graphics/via/ |
H A D | macros.h | 862 #define ACCW(A,B) (ENG_REG32(ENACC_##A)=B) macro
|
/haiku/headers/private/graphics/nvidia/ |
H A D | nv_macros.h | 940 #define ACCW(A,B) (NV_REG32(NVACC_##A)=B) macro
|