Lines Matching refs:NV_RD32
60 reg52C = NV_RD32(PRAMDAC, 0x052C); in riva_is_connected()
61 reg608 = NV_RD32(PRAMDAC, 0x0608); in riva_is_connected()
67 NV_WR32(PRAMDAC, 0x052C, NV_RD32(PRAMDAC, 0x052C) | 1); in riva_is_connected()
74 present = (NV_RD32(PRAMDAC, 0x0608) & (1 << 28)) ? TRUE : FALSE; in riva_is_connected()
77 NV_RD32(par->riva.PRAMDAC0, 0x0608) & 0x0000EFFF); in riva_is_connected()
139 if (NV_RD32(par->riva.PRAMDAC0, 0x0000052C) & 0x100) in riva_is_second()
145 if(NV_RD32(par->riva.PRAMDAC0, 0x0000252C) & 0x100) in riva_is_second()
166 if (NV_RD32(chip->PFB, 0x00000000) & 0x00000020) { in riva_get_memlen()
167 if (((NV_RD32(chip->PMC, 0x00000000) & 0xF0) == 0x20) in riva_get_memlen()
168 && ((NV_RD32(chip->PMC, 0x00000000)&0x0F)>=0x02)) { in riva_get_memlen()
172 switch (NV_RD32(chip->PFB,0x00000000) & 0x03) { in riva_get_memlen()
190 switch (NV_RD32(chip->PFB, 0x00000000) & 0x00000003) { in riva_get_memlen()
204 if (NV_RD32(chip->PFB, 0x00000000) & 0x00000100) { in riva_get_memlen()
205 memlen = ((NV_RD32(chip->PFB, 0x00000000)>>12)&0x0F) * in riva_get_memlen()
208 switch (NV_RD32(chip->PFB, 0x00000000) & 0x00000003) { in riva_get_memlen()
240 switch ((NV_RD32(chip->PFB, 0x0000020C) >> 20) & in riva_get_memlen()
280 if (NV_RD32(chip->PFB, 0x00000000) & 0x00000020) { in riva_get_maxdclk()
281 if (((NV_RD32(chip->PMC, 0x00000000) & 0xF0) == 0x20) in riva_get_maxdclk()
282 && ((NV_RD32(chip->PMC,0x00000000)&0x0F) >= 0x02)) { in riva_get_maxdclk()
301 switch ((NV_RD32(chip->PFB, 0x00000000) >> 3) & 0x00000003) { in riva_get_maxdclk()