• Home
  • Raw
  • Download

Lines Matching refs:reg

44 #define DEVICE_ACCESS(device,reg) \  argument
45 nvCONTROL[(NV_##device##_##reg)/4]
47 #define DEVICE_WRITE(device,reg,value) DEVICE_ACCESS(device,reg)=(value) argument
48 #define DEVICE_READ(device,reg) DEVICE_ACCESS(device,reg) argument
49 #define DEVICE_PRINT(device,reg) \ argument
50 ErrorF("NV_"#device"_"#reg"=#%08lx\n",DEVICE_ACCESS(device,reg))
56 #define PDAC_Write(reg,value) DEVICE_WRITE(PDAC,reg,value) argument
57 #define PDAC_Read(reg) DEVICE_READ(PDAC,reg) argument
58 #define PDAC_Print(reg) DEVICE_PRINT(PDAC,reg) argument
63 #define PFB_Write(reg,value) DEVICE_WRITE(PFB,reg,value) argument
64 #define PFB_Read(reg) DEVICE_READ(PFB,reg) argument
65 #define PFB_Print(reg) DEVICE_PRINT(PFB,reg) argument
70 #define PRM_Write(reg,value) DEVICE_WRITE(PRM,reg,value) argument
71 #define PRM_Read(reg) DEVICE_READ(PRM,reg) argument
72 #define PRM_Print(reg) DEVICE_PRINT(PRM,reg) argument
77 #define PGRAPH_Write(reg,value) DEVICE_WRITE(PGRAPH,reg,value) argument
78 #define PGRAPH_Read(reg) DEVICE_READ(PGRAPH,reg) argument
79 #define PGRAPH_Print(reg) DEVICE_PRINT(PGRAPH,reg) argument
84 #define PDMA_Write(reg,value) DEVICE_WRITE(PDMA,reg,value) argument
85 #define PDMA_Read(reg) DEVICE_READ(PDMA,reg) argument
86 #define PDMA_Print(reg) DEVICE_PRINT(PDMA,reg) argument
91 #define PTIMER_Write(reg,value) DEVICE_WRITE(PTIMER,reg,value) argument
92 #define PTIMER_Read(reg) DEVICE_READ(PTIMER,reg) argument
93 #define PTIMER_Print(reg) DEVICE_PRINT(PTIMER,reg) argument
98 #define PEXTDEV_Write(reg,value) DEVICE_WRITE(PEXTDEV,reg,value) argument
99 #define PEXTDEV_Read(reg) DEVICE_READ(PEXTDEV,reg) argument
100 #define PEXTDEV_Print(reg) DEVICE_PRINT(PEXTDEV,reg) argument
105 #define PFIFO_Write(reg,value) DEVICE_WRITE(PFIFO,reg,value) argument
106 #define PFIFO_Read(reg) DEVICE_READ(PFIFO,reg) argument
107 #define PFIFO_Print(reg) DEVICE_PRINT(PFIFO,reg) argument
112 #define PRAM_Write(reg,value) DEVICE_WRITE(PRAM,reg,value) argument
113 #define PRAM_Read(reg) DEVICE_READ(PRAM,reg) argument
114 #define PRAM_Print(reg) DEVICE_PRINT(PRAM,reg) argument
119 #define PRAMFC_Write(reg,value) DEVICE_WRITE(PRAMFC,reg,value) argument
120 #define PRAMFC_Read(reg) DEVICE_READ(PRAMFC,reg) argument
121 #define PRAMFC_Print(reg) DEVICE_PRINT(PRAMFC,reg) argument
126 #define PMC_Write(reg,value) DEVICE_WRITE(PMC,reg,value) argument
127 #define PMC_Read(reg) DEVICE_READ(PMC,reg) argument
128 #define PMC_Print(reg) DEVICE_PRINT(PMC,reg) argument
133 #define PMC_Write(reg,value) DEVICE_WRITE(PMC,reg,value) argument
134 #define PMC_Read(reg) DEVICE_READ(PMC,reg) argument
135 #define PMC_Print(reg) DEVICE_PRINT(PMC,reg) argument
141 #define PBUS_Write(reg,value) DEVICE_WRITE(PBUS,reg,value) argument
142 #define PBUS_Read(reg) DEVICE_READ(PBUS,reg) argument
143 #define PBUS_Print(reg) DEVICE_PRINT(PBUS,reg) argument
149 #define PRAMDAC_Write(reg,value) DEVICE_WRITE(PRAMDAC,reg,value) argument
150 #define PRAMDAC_Read(reg) DEVICE_READ(PRAMDAC,reg) argument
151 #define PRAMDAC_Print(reg) DEVICE_PRINT(PRAMDAC,reg) argument
157 #define PDAC_ReadExt(reg) \ argument
158 ((PDAC_Write(INDEX_LO,(NV_PDAC_EXT_##reg) & 0xff)),\
159 (PDAC_Write(INDEX_HI,((NV_PDAC_EXT_##reg) >> 8) & 0xff)),\
162 #define PDAC_WriteExt(reg,value)\ argument
163 ((PDAC_Write(INDEX_LO,(NV_PDAC_EXT_##reg) & 0xff)),\
164 (PDAC_Write(INDEX_HI,((NV_PDAC_EXT_##reg) >> 8) & 0xff)),\