Lines Matching refs:fifo

1003 	/*** setup acceleration engine command shortcuts (so via fifo) ***/
1009 si->engine.fifo.handle[0] = NV_ROP5_SOLID;
1010 si->engine.fifo.handle[1] = NV_IMAGE_BLACK_RECTANGLE;
1011 si->engine.fifo.handle[2] = NV_IMAGE_PATTERN;
1012 si->engine.fifo.handle[3] = NV4_SURFACE; /* NV10_CONTEXT_SURFACES_2D is identical */
1013 si->engine.fifo.handle[4] = NV_IMAGE_BLIT;
1014 si->engine.fifo.handle[5] = NV4_GDI_RECTANGLE_TEXT;
1017 si->engine.fifo.handle[6] = NV1_RENDER_SOLID_LIN;
1018 si->engine.fifo.handle[7] = NV4_DX5_TEXTURE_TRIANGLE;
1023 si->engine.fifo.ch_ptr[cnt] = 0;
1028 si->engine.fifo.ch_ptr[(si->engine.fifo.handle[cnt])] =
1032 ACCW(FIFO_CH0, (0x80000000 | si->engine.fifo.handle[0])); /* Raster OPeration */
1033 ACCW(FIFO_CH1, (0x80000000 | si->engine.fifo.handle[1])); /* Clip */
1034 ACCW(FIFO_CH2, (0x80000000 | si->engine.fifo.handle[2])); /* Pattern */
1035 ACCW(FIFO_CH3, (0x80000000 | si->engine.fifo.handle[3])); /* 2D Surface */
1036 ACCW(FIFO_CH4, (0x80000000 | si->engine.fifo.handle[4])); /* Blit */
1037 ACCW(FIFO_CH5, (0x80000000 | si->engine.fifo.handle[5])); /* Bitmap */
1040 ACCW(FIFO_CH6, (0x80000000 | si->engine.fifo.handle[6])); /* Line (not used) */
1041 ACCW(FIFO_CH7, (0x80000000 | si->engine.fifo.handle[7])); /* Textured Triangle (3D only) */
1049 * wait for room in fifo for clipping cmd if needed.
1050 * (fifo holds 256 32bit words: count those, not bytes) */
1308 * Because the cmd handles are actually programmed _inside_ the fifo channels, it might
1316 if (!si->engine.fifo.ch_ptr[NV_ROP5_SOLID] ||
1317 !si->engine.fifo.ch_ptr[NV_IMAGE_BLACK_RECTANGLE] ||
1318 !si->engine.fifo.ch_ptr[NV_IMAGE_PATTERN] ||
1319 !si->engine.fifo.ch_ptr[NV_IMAGE_BLIT] ||
1320 !si->engine.fifo.ch_ptr[NV4_GDI_RECTANGLE_TEXT])
1328 si->engine.fifo.ch_ptr[si->engine.fifo.handle[0]] = 0;
1329 si->engine.fifo.ch_ptr[si->engine.fifo.handle[1]] = 0;
1330 si->engine.fifo.ch_ptr[si->engine.fifo.handle[2]] = 0;
1331 si->engine.fifo.ch_ptr[si->engine.fifo.handle[4]] = 0;
1332 si->engine.fifo.ch_ptr[si->engine.fifo.handle[5]] = 0;
1335 si->engine.fifo.handle[0] = NV_ROP5_SOLID;
1336 si->engine.fifo.handle[1] = NV_IMAGE_BLACK_RECTANGLE;
1337 si->engine.fifo.handle[2] = NV_IMAGE_PATTERN;
1338 si->engine.fifo.handle[4] = NV_IMAGE_BLIT;
1339 si->engine.fifo.handle[5] = NV4_GDI_RECTANGLE_TEXT;
1344 si->engine.fifo.ch_ptr[(si->engine.fifo.handle[cnt])] =
1349 ACCW(FIFO_CH0, (0x80000000 | si->engine.fifo.handle[0])); /* Raster OPeration */
1350 ACCW(FIFO_CH1, (0x80000000 | si->engine.fifo.handle[1])); /* Clip */
1351 ACCW(FIFO_CH2, (0x80000000 | si->engine.fifo.handle[2])); /* Pattern */
1352 ACCW(FIFO_CH4, (0x80000000 | si->engine.fifo.handle[4])); /* Blit */
1353 ACCW(FIFO_CH5, (0x80000000 | si->engine.fifo.handle[5])); /* Bitmap */
1358 &(regs[(si->engine.fifo.ch_ptr[NV_ROP5_SOLID]) >> 2]);
1361 &(regs[(si->engine.fifo.ch_ptr[NV_IMAGE_BLACK_RECTANGLE]) >> 2]);
1364 &(regs[(si->engine.fifo.ch_ptr[NV_IMAGE_PATTERN]) >> 2]);
1367 &(regs[(si->engine.fifo.ch_ptr[NV_IMAGE_BLIT]) >> 2]);
1370 &(regs[(si->engine.fifo.ch_ptr[NV4_GDI_RECTANGLE_TEXT]) >> 2]);
1377 * wait for room in fifo for pattern cmd if needed.
1378 * (fifo holds 256 32bit words: count those, not bytes) */
1392 * wait for room in fifo for ROP cmd if needed.
1393 * (fifo holds 256 32bit words: count those, not bytes) */
1410 * wait for room in fifo for blit cmd if needed.
1411 * (fifo holds 256 32bit words: count those, not bytes) */
1430 * wait for room in fifo for pattern cmd if needed.
1431 * (fifo holds 256 32bit words: count those, not bytes) */
1445 * wait for room in fifo for ROP cmd if needed.
1446 * (fifo holds 256 32bit words: count those, not bytes) */
1456 * wait for room in fifo for bitmap cmd if needed.
1457 * (fifo holds 256 32bit words: count those, not bytes) */
1472 * wait for room in fifo for bitmap cmd if needed.
1473 * (fifo holds 256 32bit words: count those, not bytes) */
1492 * wait for room in fifo for pattern cmd if needed.
1493 * (fifo holds 256 32bit words: count those, not bytes) */
1507 * wait for room in fifo for ROP cmd if needed.
1508 * (fifo holds 256 32bit words: count those, not bytes) */
1518 * wait for room in fifo for bitmap cmd if needed.
1519 * (fifo holds 256 32bit words: count those, not bytes) */
1534 * wait for room in fifo for bitmap cmd if needed.
1535 * (fifo holds 256 32bit words: count those, not bytes) */