/broadcom-cfe-1.4.2/cfe/main/ |
H A D | cfe_background.c | 107 int idx; local 109 for (idx = 0; idx < MAX_BACKGROUND_TASKS; idx++) { 110 if (cfe_bg_tasklist[idx] == NULL) { 111 cfe_bg_tasklist[idx] = func; 112 cfe_bg_args[idx] = arg; 132 int idx; local 134 for (idx = 0; idx < MAX_BACKGROUND_TASK 166 int idx; local [all...] |
H A D | cfe_mii.c | 79 int idx; local 81 for (idx = 0; idx < MII_CHANNELS_MAX; idx++) { 82 if (cfe_mii_channels[idx] == NULL) break; 84 if (idx == MII_CHANNELS_MAX) return CFE_ERR_NOHANDLES; 86 cfe_mii_channels[idx] = ops->attach(ops,probe_a,probe_b); 88 if (cfe_mii_channels[idx] == NULL) return CFE_ERR_NOMEM; 90 MII_INIT(cfe_mii_channels[idx]); 92 return idx; [all...] |
H A D | cfe_smbus.c | 85 int idx; local 87 for (idx = 0; idx < SMBUS_CHANNELS_MAX; idx++) { 88 if (cfe_smbus_channels[idx] == NULL) break; 90 if (idx == SMBUS_CHANNELS_MAX) return CFE_ERR_NOHANDLES; 92 cfe_smbus_channels[idx] = ops->attach(ops,probe_a,probe_b); 94 if (cfe_smbus_channels[idx] == NULL) return CFE_ERR_NOMEM; 96 SMBUS_INIT(cfe_smbus_channels[idx]); 98 return idx; [all...] |
H A D | cfe_spi.c | 79 int idx; local 81 for (idx = 0; idx < SPI_CHANNELS_MAX; idx++) { 82 if (cfe_spi_channels[idx] == NULL) break; 84 if (idx == SPI_CHANNELS_MAX) return CFE_ERR_NOHANDLES; 86 cfe_spi_channels[idx] = ops->attach(ops,probe_a,probe_b); 88 if (cfe_spi_channels[idx] == NULL) return CFE_ERR_NOMEM; 90 SPI_INIT(cfe_spi_channels[idx]); 92 return idx; [all...] |
H A D | cfe_console.c | 396 int idx = 0; local 412 console_write((unsigned char *)str,idx); 442 idx = 0; 446 if (idx > 0) { 447 idx--; 452 while (idx > 0) { 453 idx--; 464 if (idx < (len-1)) { 465 str[idx] = ch; 466 idx 843 int idx = 0; local [all...] |
/broadcom-cfe-1.4.2/cfe/verif/ |
H A D | vapisubr.c | 100 int idx; local 103 for (idx = 0; idx < cnt; idx++) { 104 if ((idx & 1) == 0) xprintf("# "); 105 xprintf(" %8s=%016llX ",gpregnames[idx],gprs[idx]); 106 if ((idx & 1) == 1) xprintf("\n");
|
H A D | ui_vapi.c | 126 unsigned int idx; local 162 for (idx = 0; idx < len; idx += 2) { 164 ptr[VAPI_IDX_DATA+idx], 165 ptr[VAPI_IDX_DATA+idx+1]); 170 for (idx = 0; idx < len; idx += 2) { 172 ptr[VAPI_IDX_DATA+idx], [all...] |
/broadcom-cfe-1.4.2/cfe/arch/x86/cpu/p4_xeon/src/ |
H A D | ui_p4_xeon.c | 62 int idx; local 67 for (idx = 0; idx < ncpus; idx++) { 68 printf("%08X\n",cpu_ids[idx]); 76 uint32_t idx,topidx; local 87 for (idx = 1; idx <= topidx; idx++) { 88 cpuid(idx,outreg [all...] |
/broadcom-cfe-1.4.2/cfe/arch/mips/common/src/ |
H A D | exchandler.c | 136 int idx; local 162 for (idx = 0;idx < 32; idx+= 2) { 164 regnames+(idx*2), 165 idx,(uint32_t)info[XGR_ZERO+idx], 166 regnames+((idx+1)*2), 167 idx+1,(uint32_t)info[XGR_ZERO+idx 267 int idx; local [all...] |
/broadcom-cfe-1.4.2/cfe/arch/mips/chipset/sibyte/src/ |
H A D | ui_hspcmds.c | 282 int low,high,idx; local 295 for (idx = low; idx <= high; idx++) { 296 WRITECSR(ctlreg,V_BCM1480_HSP_TXVIS_RAM_ADDR(idx) | 298 printf("%04X: %016llX ",idx,READCSR(datareg)); 300 WRITECSR(ctlreg,V_BCM1480_HSP_TXVIS_RAM_ADDR(idx) | 304 WRITECSR(ctlreg,V_BCM1480_HSP_TXVIS_RAM_ADDR(idx) | 318 int low,high,idx; local 331 for (idx 354 uint64_t idx = 0; local 449 uint64_t idx; local 694 int idx; local [all...] |
H A D | ui_pmcmds.c | 385 int idx,j; local 391 for (idx = 0; idx < PM_RINGSIZE * PM_NRINGS ; idx++) 393 scratch_data[idx] = KMALLOC( PKTBUFSIZE,32); 394 if ( scratch_data[idx] == NULL ) 396 printf("Failed alloc of pm scratch buffers %d packets\n", idx-1); 402 for (idx = 0; idx < NUMPKTS; idx 427 int idx; local 543 int idx; local 689 int idx; local 701 int idx; local 817 int idx; local 1579 int idx; local 1866 int i,idx; local 2287 int idx; local [all...] |
H A D | ui_corecmds.c | 174 int idx; local 188 for (idx = low ; idx < high; idx++) { 199 : "r" (idx) 202 printf("Entry %2d %016llX %016llX %016llX\n",idx,valuehi,valuelo0,valuelo1);
|
H A D | ui_ccncmds.c | 197 uint_t low, high, idx; 212 for (idx = low; idx <= high; idx++) { 213 printf("%04X: ", idx); 216 K_BCM1480_HSP_TXVIS_RAM_DRAM_128_151, idx)); 219 K_BCM1480_HSP_TXVIS_RAM_DRAM_64_127, idx)); 222 K_BCM1480_HSP_TXVIS_RAM_DRAM_0_63, idx)); 250 uint_t low, high, idx; 265 for (idx [all...] |
/broadcom-cfe-1.4.2/cfe/usb/ |
H A D | usbmain.c | 107 int idx; local 125 for (idx = 0; idx < usb_buscnt; idx++) { 126 if (usb_buses[idx]) { 127 usb_poll(usb_buses[idx]); 128 usb_daemon(usb_buses[idx]); 200 int idx; local 202 idx = 0; 204 while (pci_find_class(PCI_CLASS_SERIALBUS,idx, 295 int idx; local [all...] |
H A D | usbeth.c | 80 int idx; local 83 for (idx = 0; idx < USBETH_MAXUNITS; idx++) { 84 unit = usbeth_units[idx]; 89 return idx; 99 int idx; local 107 for (idx = 0; idx < USBETH_MAXUNITS; idx [all...] |
H A D | usbhub.c | 155 int idx; local 178 for (idx = 1; idx <= uhub->uhub_nports; idx++) { 179 if (ur->ur_buffer[0] & (1<<idx)) { 204 * usbhub_get_hub_descriptor(dev,dscr,idx,maxlen) 212 * idx - which hub descriptor to get (usually zero) 219 static int usbhub_get_hub_descriptor(usbdev_t *dev,usb_hub_descr_t *dscr,int idx,int maxlen) argument 446 int idx; local 451 for (idx 514 int idx; local 667 int idx; local [all...] |
/broadcom-cfe-1.4.2/cfe/hosttools/ |
H A D | mkpcidb.c | 95 int idx; local 138 for (idx = 0; idx < cnt; idx++) { 140 knowndevs[idx].vendor, 141 knowndevs[idx].product, 142 knowndevs[idx].vendorname, 143 knowndevs[idx].productname); 147 for (idx = 0; idx < curstringpt [all...] |
H A D | makereg.c | 263 int idx; local 331 for (idx = 0; idx < rmax; idx++) { 335 macroexpand(regs[idx].reg_addr,inst,atext); 342 if (regs[idx].reg_subinst[0] != '*') { 343 strcat(descr,regs[idx].reg_subinst); 346 strcat(descr,regs[idx].reg_description); 348 strcpy(descr,regs[idx].reg_description); 356 regs[idx] 408 int idx; local [all...] |
/broadcom-cfe-1.4.2/cfe/arch/mips/cpu/bcmcore/src/ |
H A D | bcmcore_arena.c | 146 int idx; local 148 for (idx = 0; idx < (CFE_BOOTAREA_SIZE/PAGESIZE); idx++) { 149 ptaddr[idx] = (physaddr >> 6) |
|
/broadcom-cfe-1.4.2/cfe/arch/ppc/board/mousse/src/ |
H A D | ui_mousse.c | 246 int idx; local 250 for (idx = 0; idx < 8; idx += 2) { 251 printf("IBAT%d U:%08X L:%08X\n",idx/2,bats[idx],bats[idx+1]); 253 for (idx = 8; idx < 16; idx [all...] |
/broadcom-cfe-1.4.2/cfe/ui/ |
H A D | ui_test_ether.c | 114 int idx; local 139 cfe_ioctl(fh,IOCTL_ETHER_SETSPEED,(uint8_t *) &speed,sizeof(speed),&idx,0); 148 for (idx = 0; idx < count; idx++) { 172 for (idx = 0; idx < res; idx++) { 173 xprintf("%02X",packet[idx]); 174 if ((idx [all...] |
H A D | ui_spdcmds.c | 250 int idx; local 267 for (idx = 0; idx < JEDEC_SPD_SIZE; idx++) { 268 if ((idx % 16) == 0) printf("SPD[%2d..%2d]:",idx,idx+15); 269 b = spd_smbus_read(ch,dev,idx); 275 printf(((idx % 16) == 15 || idx 334 int idx=0; local [all...] |
/broadcom-cfe-1.4.2/cfe/arch/mips/board/bcm91125e/src/ |
H A D | bcm91125e_tests.c | 91 int idx,idx2,idx3,idx4; local 175 for (idx2 = 0,idx = 1; idx2 < pktsize_disp; idx2++,idx++) { 177 if ( (idx % 4) == 0 ) xprintf(" "); 185 for (idx=0; idx < pktnum; idx++) { 190 for(idx2=0; idx2 < idx; idx2++) { 224 for (idx = 0,idx2 = 1; idx < re [all...] |
/broadcom-cfe-1.4.2/cfe/arch/mips/board/sentosa/src/ |
H A D | sentosa_test.c | 106 int idx,idx2,idx3,idx4; local 190 for (idx2 = 0,idx = 1; idx2 < pktsize_disp; idx2++,idx++) { 192 if ( (idx % 4) == 0 ) xprintf(" "); 200 for (idx=0; idx < pktnum; idx++) { 205 for(idx2=0; idx2 < idx; idx2++) { 239 for (idx = 0,idx2 = 1; idx < re [all...] |
/broadcom-cfe-1.4.2/cfe/pccons/ |
H A D | vga_subr.c | 93 int idx; local 97 for (idx = 0; idx < VGA_TEXTBUF_SIZE; idx+=2) { 98 phys_write16(vga->vga_buffer+idx,VGA_SPACE_CHAR); 143 int idx; local 151 for (idx = 0; idx < count; idx+=4) { 152 t = phys_read32(vga->vga_buffer+idx [all...] |