Lines Matching refs:NV_WR32
1327 NV_WR32(&chip->dev[tbl##Table##dev[i][0]], 0, tbl##Table##dev[i][1])
1330 NV_WR32(&chip->dev[tbl##Table##dev##_8BPP[i][0]], 0, tbl##Table##dev##_8BPP[i][1])
1333 NV_WR32(&chip->dev[tbl##Table##dev##_15BPP[i][0]], 0, tbl##Table##dev##_15BPP[i][1])
1336 NV_WR32(&chip->dev[tbl##Table##dev##_16BPP[i][0]], 0, tbl##Table##dev##_16BPP[i][1])
1339 NV_WR32(&chip->dev[tbl##Table##dev##_32BPP[i][0]], 0, tbl##Table##dev##_32BPP[i][1])
1387 NV_WR32(chip->PFB, 0x00000200, state->config); in LoadStateExt()
1413 NV_WR32(&chip->PRAMIN[0x00000502 + i], 0, (i << 12) | 0x03); in LoadStateExt()
1414 NV_WR32(chip->PGRAPH, 0x00000630, state->offset0); in LoadStateExt()
1415 NV_WR32(chip->PGRAPH, 0x00000634, state->offset1); in LoadStateExt()
1416 NV_WR32(chip->PGRAPH, 0x00000638, state->offset2); in LoadStateExt()
1417 NV_WR32(chip->PGRAPH, 0x0000063C, state->offset3); in LoadStateExt()
1418 NV_WR32(chip->PGRAPH, 0x00000650, state->pitch0); in LoadStateExt()
1419 NV_WR32(chip->PGRAPH, 0x00000654, state->pitch1); in LoadStateExt()
1420 NV_WR32(chip->PGRAPH, 0x00000658, state->pitch2); in LoadStateExt()
1421 NV_WR32(chip->PGRAPH, 0x0000065C, state->pitch3); in LoadStateExt()
1427 NV_WR32(chip->PFB, 0x00000200, state->config); in LoadStateExt()
1456 NV_WR32(chip->PGRAPH, 0x00000640, state->offset0); in LoadStateExt()
1457 NV_WR32(chip->PGRAPH, 0x00000644, state->offset1); in LoadStateExt()
1458 NV_WR32(chip->PGRAPH, 0x00000648, state->offset2); in LoadStateExt()
1459 NV_WR32(chip->PGRAPH, 0x0000064C, state->offset3); in LoadStateExt()
1460 NV_WR32(chip->PGRAPH, 0x00000670, state->pitch0); in LoadStateExt()
1461 NV_WR32(chip->PGRAPH, 0x00000674, state->pitch1); in LoadStateExt()
1462 NV_WR32(chip->PGRAPH, 0x00000678, state->pitch2); in LoadStateExt()
1463 NV_WR32(chip->PGRAPH, 0x0000067C, state->pitch3); in LoadStateExt()
1504 NV_WR32(chip->PGRAPH, 0x00000640, state->offset0); in LoadStateExt()
1505 NV_WR32(chip->PGRAPH, 0x00000644, state->offset1); in LoadStateExt()
1506 NV_WR32(chip->PGRAPH, 0x00000648, state->offset2); in LoadStateExt()
1507 NV_WR32(chip->PGRAPH, 0x0000064C, state->offset3); in LoadStateExt()
1508 NV_WR32(chip->PGRAPH, 0x00000670, state->pitch0); in LoadStateExt()
1509 NV_WR32(chip->PGRAPH, 0x00000674, state->pitch1); in LoadStateExt()
1510 NV_WR32(chip->PGRAPH, 0x00000678, state->pitch2); in LoadStateExt()
1511 NV_WR32(chip->PGRAPH, 0x0000067C, state->pitch3); in LoadStateExt()
1512 NV_WR32(chip->PGRAPH, 0x00000680, state->pitch3); in LoadStateExt()
1514 NV_WR32(chip->PGRAPH, 0x00000820, state->offset0); in LoadStateExt()
1515 NV_WR32(chip->PGRAPH, 0x00000824, state->offset1); in LoadStateExt()
1516 NV_WR32(chip->PGRAPH, 0x00000828, state->offset2); in LoadStateExt()
1517 NV_WR32(chip->PGRAPH, 0x0000082C, state->offset3); in LoadStateExt()
1518 NV_WR32(chip->PGRAPH, 0x00000850, state->pitch0); in LoadStateExt()
1519 NV_WR32(chip->PGRAPH, 0x00000854, state->pitch1); in LoadStateExt()
1520 NV_WR32(chip->PGRAPH, 0x00000858, state->pitch2); in LoadStateExt()
1521 NV_WR32(chip->PGRAPH, 0x0000085C, state->pitch3); in LoadStateExt()
1522 NV_WR32(chip->PGRAPH, 0x00000860, state->pitch3); in LoadStateExt()
1523 NV_WR32(chip->PGRAPH, 0x00000864, state->pitch3); in LoadStateExt()
1524 NV_WR32(chip->PGRAPH, 0x000009A4, NV_RD32(chip->PFB, 0x00000200)); in LoadStateExt()
1525 NV_WR32(chip->PGRAPH, 0x000009A8, NV_RD32(chip->PFB, 0x00000204)); in LoadStateExt()
1528 NV_WR32(chip->PCRTC0, 0x00000860, state->head); in LoadStateExt()
1529 NV_WR32(chip->PCRTC0, 0x00002860, state->head2); in LoadStateExt()
1531 NV_WR32(chip->PRAMDAC, 0x00000404, NV_RD32(chip->PRAMDAC, 0x00000404) | (1 << 25)); in LoadStateExt()
1533 NV_WR32(chip->PMC, 0x00008704, 1); in LoadStateExt()
1534 NV_WR32(chip->PMC, 0x00008140, 0); in LoadStateExt()
1535 NV_WR32(chip->PMC, 0x00008920, 0); in LoadStateExt()
1536 NV_WR32(chip->PMC, 0x00008924, 0); in LoadStateExt()
1537 NV_WR32(chip->PMC, 0x00008908, 0x01ffffff); in LoadStateExt()
1538 NV_WR32(chip->PMC, 0x0000890C, 0x01ffffff); in LoadStateExt()
1539 NV_WR32(chip->PMC, 0x00001588, 0); in LoadStateExt()
1541 NV_WR32(chip->PFB, 0x00000240, 0); in LoadStateExt()
1542 NV_WR32(chip->PFB, 0x00000250, 0); in LoadStateExt()
1543 NV_WR32(chip->PFB, 0x00000260, 0); in LoadStateExt()
1544 NV_WR32(chip->PFB, 0x00000270, 0); in LoadStateExt()
1545 NV_WR32(chip->PFB, 0x00000280, 0); in LoadStateExt()
1546 NV_WR32(chip->PFB, 0x00000290, 0); in LoadStateExt()
1547 NV_WR32(chip->PFB, 0x000002A0, 0); in LoadStateExt()
1548 NV_WR32(chip->PFB, 0x000002B0, 0); in LoadStateExt()
1550 NV_WR32(chip->PGRAPH, 0x00000B00, NV_RD32(chip->PFB, 0x00000240)); in LoadStateExt()
1551 NV_WR32(chip->PGRAPH, 0x00000B04, NV_RD32(chip->PFB, 0x00000244)); in LoadStateExt()
1552 NV_WR32(chip->PGRAPH, 0x00000B08, NV_RD32(chip->PFB, 0x00000248)); in LoadStateExt()
1553 NV_WR32(chip->PGRAPH, 0x00000B0C, NV_RD32(chip->PFB, 0x0000024C)); in LoadStateExt()
1554 NV_WR32(chip->PGRAPH, 0x00000B10, NV_RD32(chip->PFB, 0x00000250)); in LoadStateExt()
1555 NV_WR32(chip->PGRAPH, 0x00000B14, NV_RD32(chip->PFB, 0x00000254)); in LoadStateExt()
1556 NV_WR32(chip->PGRAPH, 0x00000B18, NV_RD32(chip->PFB, 0x00000258)); in LoadStateExt()
1557 NV_WR32(chip->PGRAPH, 0x00000B1C, NV_RD32(chip->PFB, 0x0000025C)); in LoadStateExt()
1558 NV_WR32(chip->PGRAPH, 0x00000B20, NV_RD32(chip->PFB, 0x00000260)); in LoadStateExt()
1559 NV_WR32(chip->PGRAPH, 0x00000B24, NV_RD32(chip->PFB, 0x00000264)); in LoadStateExt()
1560 NV_WR32(chip->PGRAPH, 0x00000B28, NV_RD32(chip->PFB, 0x00000268)); in LoadStateExt()
1561 NV_WR32(chip->PGRAPH, 0x00000B2C, NV_RD32(chip->PFB, 0x0000026C)); in LoadStateExt()
1562 NV_WR32(chip->PGRAPH, 0x00000B30, NV_RD32(chip->PFB, 0x00000270)); in LoadStateExt()
1563 NV_WR32(chip->PGRAPH, 0x00000B34, NV_RD32(chip->PFB, 0x00000274)); in LoadStateExt()
1564 NV_WR32(chip->PGRAPH, 0x00000B38, NV_RD32(chip->PFB, 0x00000278)); in LoadStateExt()
1565 NV_WR32(chip->PGRAPH, 0x00000B3C, NV_RD32(chip->PFB, 0x0000027C)); in LoadStateExt()
1566 NV_WR32(chip->PGRAPH, 0x00000B40, NV_RD32(chip->PFB, 0x00000280)); in LoadStateExt()
1567 NV_WR32(chip->PGRAPH, 0x00000B44, NV_RD32(chip->PFB, 0x00000284)); in LoadStateExt()
1568 NV_WR32(chip->PGRAPH, 0x00000B48, NV_RD32(chip->PFB, 0x00000288)); in LoadStateExt()
1569 NV_WR32(chip->PGRAPH, 0x00000B4C, NV_RD32(chip->PFB, 0x0000028C)); in LoadStateExt()
1570 NV_WR32(chip->PGRAPH, 0x00000B50, NV_RD32(chip->PFB, 0x00000290)); in LoadStateExt()
1571 NV_WR32(chip->PGRAPH, 0x00000B54, NV_RD32(chip->PFB, 0x00000294)); in LoadStateExt()
1572 NV_WR32(chip->PGRAPH, 0x00000B58, NV_RD32(chip->PFB, 0x00000298)); in LoadStateExt()
1573 NV_WR32(chip->PGRAPH, 0x00000B5C, NV_RD32(chip->PFB, 0x0000029C)); in LoadStateExt()
1574 NV_WR32(chip->PGRAPH, 0x00000B60, NV_RD32(chip->PFB, 0x000002A0)); in LoadStateExt()
1575 NV_WR32(chip->PGRAPH, 0x00000B64, NV_RD32(chip->PFB, 0x000002A4)); in LoadStateExt()
1576 NV_WR32(chip->PGRAPH, 0x00000B68, NV_RD32(chip->PFB, 0x000002A8)); in LoadStateExt()
1577 NV_WR32(chip->PGRAPH, 0x00000B6C, NV_RD32(chip->PFB, 0x000002AC)); in LoadStateExt()
1578 NV_WR32(chip->PGRAPH, 0x00000B70, NV_RD32(chip->PFB, 0x000002B0)); in LoadStateExt()
1579 NV_WR32(chip->PGRAPH, 0x00000B74, NV_RD32(chip->PFB, 0x000002B4)); in LoadStateExt()
1580 NV_WR32(chip->PGRAPH, 0x00000B78, NV_RD32(chip->PFB, 0x000002B8)); in LoadStateExt()
1581 NV_WR32(chip->PGRAPH, 0x00000B7C, NV_RD32(chip->PFB, 0x000002BC)); in LoadStateExt()
1582 NV_WR32(chip->PGRAPH, 0x00000F40, 0x10000000); in LoadStateExt()
1583 NV_WR32(chip->PGRAPH, 0x00000F44, 0x00000000); in LoadStateExt()
1584 NV_WR32(chip->PGRAPH, 0x00000F50, 0x00000040); in LoadStateExt()
1585 NV_WR32(chip->PGRAPH, 0x00000F54, 0x00000008); in LoadStateExt()
1586 NV_WR32(chip->PGRAPH, 0x00000F50, 0x00000200); in LoadStateExt()
1588 NV_WR32(chip->PGRAPH, 0x00000F54, 0x00000000); in LoadStateExt()
1589 NV_WR32(chip->PGRAPH, 0x00000F50, 0x00000040); in LoadStateExt()
1590 NV_WR32(chip->PGRAPH, 0x00000F54, 0x00000000); in LoadStateExt()
1591 NV_WR32(chip->PGRAPH, 0x00000F50, 0x00000800); in LoadStateExt()
1593 NV_WR32(chip->PGRAPH, 0x00000F54, 0x00000000); in LoadStateExt()
1594 NV_WR32(chip->PGRAPH, 0x00000F40, 0x30000000); in LoadStateExt()
1595 NV_WR32(chip->PGRAPH, 0x00000F44, 0x00000004); in LoadStateExt()
1596 NV_WR32(chip->PGRAPH, 0x00000F50, 0x00006400); in LoadStateExt()
1598 NV_WR32(chip->PGRAPH, 0x00000F54, 0x00000000); in LoadStateExt()
1599 NV_WR32(chip->PGRAPH, 0x00000F50, 0x00006800); in LoadStateExt()
1601 NV_WR32(chip->PGRAPH, 0x00000F54, 0x00000000); in LoadStateExt()
1602 NV_WR32(chip->PGRAPH, 0x00000F50, 0x00006C00); in LoadStateExt()
1604 NV_WR32(chip->PGRAPH, 0x00000F54, 0x00000000); in LoadStateExt()
1605 NV_WR32(chip->PGRAPH, 0x00000F50, 0x00007000); in LoadStateExt()
1607 NV_WR32(chip->PGRAPH, 0x00000F54, 0x00000000); in LoadStateExt()
1608 NV_WR32(chip->PGRAPH, 0x00000F50, 0x00007400); in LoadStateExt()
1610 NV_WR32(chip->PGRAPH, 0x00000F54, 0x00000000); in LoadStateExt()
1611 NV_WR32(chip->PGRAPH, 0x00000F50, 0x00007800); in LoadStateExt()
1613 NV_WR32(chip->PGRAPH, 0x00000F54, 0x00000000); in LoadStateExt()
1614 NV_WR32(chip->PGRAPH, 0x00000F50, 0x00004400); in LoadStateExt()
1616 NV_WR32(chip->PGRAPH, 0x00000F54, 0x00000000); in LoadStateExt()
1617 NV_WR32(chip->PGRAPH, 0x00000F50, 0x00000000); in LoadStateExt()
1619 NV_WR32(chip->PGRAPH, 0x00000F54, 0x00000000); in LoadStateExt()
1620 NV_WR32(chip->PGRAPH, 0x00000F50, 0x00000040); in LoadStateExt()
1622 NV_WR32(chip->PGRAPH, 0x00000F54, 0x00000000); in LoadStateExt()
1624 NV_WR32(chip->PCRTC, 0x00000810, state->cursorConfig); in LoadStateExt()
1628 NV_WR32(chip->PRAMDAC, 0x0528, state->dither); in LoadStateExt()
1631 NV_WR32(chip->PRAMDAC, 0x083C, state->dither); in LoadStateExt()
1674 NV_WR32(chip->PRAMDAC0, 0x00000508, state->vpll); in LoadStateExt()
1675 NV_WR32(chip->PRAMDAC0, 0x0000050C, state->pllsel); in LoadStateExt()
1677 NV_WR32(chip->PRAMDAC0, 0x00000520, state->vpll2); in LoadStateExt()
1679 NV_WR32(chip->PRAMDAC, 0x00000848 , state->scale); in LoadStateExt()
1681 NV_WR32(chip->PRAMDAC, 0x00000600 , state->general); in LoadStateExt()
1686 NV_WR32(chip->PCRTC, 0x00000140, 0); in LoadStateExt()
1687 NV_WR32(chip->PCRTC, 0x00000100, chip->VBlankBit); in LoadStateExt()
1691 NV_WR32(chip->PMC, 0x00000140, chip->EnableIRQ & 0x01); in LoadStateExt()
1798 NV_WR32(chip->PCRTC, 0x800, start); in SetStartAddress()
1844 NV_WR32(&chip->FIFO[0x00003800], 0, 0x80000003); in nv3SetSurfaces2D()
1845 NV_WR32(&Surface->Offset, 0, surf0); in nv3SetSurfaces2D()
1846 NV_WR32(&chip->FIFO[0x00003800], 0, 0x80000004); in nv3SetSurfaces2D()
1847 NV_WR32(&Surface->Offset, 0, surf1); in nv3SetSurfaces2D()
1848 NV_WR32(&chip->FIFO[0x00003800], 0, 0x80000013); in nv3SetSurfaces2D()
1860 NV_WR32(&chip->FIFO[0x00003800], 0, 0x80000003); in nv4SetSurfaces2D()
1861 NV_WR32(&Surface->Offset, 0, surf0); in nv4SetSurfaces2D()
1862 NV_WR32(&chip->FIFO[0x00003800], 0, 0x80000004); in nv4SetSurfaces2D()
1863 NV_WR32(&Surface->Offset, 0, surf1); in nv4SetSurfaces2D()
1864 NV_WR32(&chip->FIFO[0x00003800], 0, 0x80000014); in nv4SetSurfaces2D()
1876 NV_WR32(&chip->FIFO[0x00003800], 0, 0x80000003); in nv10SetSurfaces2D()
1877 NV_WR32(&Surface->Offset, 0, surf0); in nv10SetSurfaces2D()
1878 NV_WR32(&chip->FIFO[0x00003800], 0, 0x80000004); in nv10SetSurfaces2D()
1879 NV_WR32(&Surface->Offset, 0, surf1); in nv10SetSurfaces2D()
1880 NV_WR32(&chip->FIFO[0x00003800], 0, 0x80000014); in nv10SetSurfaces2D()
1893 NV_WR32(&chip->FIFO[0x00003800], 0, 0x80000005); in nv3SetSurfaces3D()
1894 NV_WR32(&Surface->Offset, 0, surf0); in nv3SetSurfaces3D()
1895 NV_WR32(&chip->FIFO[0x00003800], 0, 0x80000006); in nv3SetSurfaces3D()
1896 NV_WR32(&Surface->Offset, 0, surf1); in nv3SetSurfaces3D()
1897 NV_WR32(&chip->FIFO[0x00003800], 0, 0x80000013); in nv3SetSurfaces3D()
1909 NV_WR32(&chip->FIFO[0x00003800], 0, 0x80000005); in nv4SetSurfaces3D()
1910 NV_WR32(&Surface->Offset, 0, surf0); in nv4SetSurfaces3D()
1911 NV_WR32(&chip->FIFO[0x00003800], 0, 0x80000006); in nv4SetSurfaces3D()
1912 NV_WR32(&Surface->Offset, 0, surf1); in nv4SetSurfaces3D()
1913 NV_WR32(&chip->FIFO[0x00003800], 0, 0x80000014); in nv4SetSurfaces3D()
1926 NV_WR32(&chip->FIFO[0x00003800], 0, 0x80000007); in nv10SetSurfaces3D()
1927 NV_WR32(&Surfaces3D->RenderBufferOffset, 0, surf0); in nv10SetSurfaces3D()
1928 NV_WR32(&Surfaces3D->ZBufferOffset, 0, surf1); in nv10SetSurfaces3D()
1929 NV_WR32(&chip->FIFO[0x00003800], 0, 0x80000014); in nv10SetSurfaces3D()
2080 NV_WR32(chip->PMC, 0x00000004, 0x01000001); in nv10GetConfig()