Lines Matching refs:index

41 	int index = 0, count = 0;
51 for(index = 0; index < count ; index++) {
52 switch(statsInfo[index].type) {
54 statsInfo[index].value =
56 GET_OFFSET_STATS(index)));
59 statsInfo[index].value =
61 GET_OFFSET_STATS(index)));
64 statsInfo[index].value =
66 GET_OFFSET_STATS(index)));
70 XGE_PRINT_STATS(fdAll,(const char *) statsInfo[index].name,
71 statsInfo[index].value);
88 int index = 0;
95 for(index = 0; index < XGE_COUNT_PCICONF; index++) {
96 pciconfInfo[index].value = *((u16 *)((unsigned char *)pci_conf +
97 GET_OFFSET_PCICONF(index)));
98 XGE_PRINT_PCICONF(fdAll,(const char *) pciconfInfo[index].name,
99 GET_OFFSET_PCICONF(index), pciconfInfo[index].value);
118 int index = 0;
126 for(index = 0; index < XGE_COUNT_DEVCONF; index++) {
127 devconfInfo[index].value = *((u32 *)((unsigned char *)dev_conf +
128 (index * (sizeof(int)))));
129 XGE_PRINT_DEVCONF(fdAll,(const char *) devconfInfo[index].name,
130 devconfInfo[index].value);
149 int index = 0;
157 for(index = 0; index < XGE_COUNT_REGS; index++) {
158 regInfo[index].value = *((u64 *)((unsigned char *)registers +
159 regInfo[index].offset));
160 XGE_PRINT_REGS(fdAll,(const char *) regInfo[index].name,
161 regInfo[index].offset, regInfo[index].value);
180 int index = 0;
187 regInfo[index].offset = offset;
188 regInfo[index].value = value;
189 printf("0x%.8X\t0x%.16llX\n", regInfo[index].offset,
190 regInfo[index].value);
207 int index = 0;
214 for(index = 0; index < XGE_COUNT_INTRSTAT; index++) {
215 intrInfo[index].value = *((u32 *)((unsigned char *)dev_stats +
216 (index * (sizeof(u32)))));
217 XGE_PRINT_STATS(fdAll,(const char *) intrInfo[index].name,
218 intrInfo[index].value);
236 int index = 0;
243 for(index = 0; index < XGE_COUNT_SWSTAT; index++) {
244 if(!(tcodeInfo[index].flag)) {
245 switch(tcodeInfo[index].type) {
247 tcodeInfo[index].value =
249 (index * (sizeof(u16)))));
252 tcodeInfo[index].value =
254 (index * (sizeof(u32)))));
257 XGE_PRINT_STATS(fdAll,(const char *) tcodeInfo[index].name,
258 tcodeInfo[index].value);
300 int index = 0;
308 for(index = 0; index < XGE_COUNT_DRIVERSTATS; index++) {
309 driverInfo[index].value = *((u64 *)((unsigned char *)driver_stats +
310 (index * (sizeof(u64)))));
311 XGE_PRINT_STATS(fdAll,(const char *) driverInfo[index].name,
312 driverInfo[index].value);