Searched refs:idx (Results 1 - 25 of 114) sorted by relevance

12345

/broadcom-cfe-1.4.2/cfe/main/
H A Dcfe_background.c107 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 Dcfe_mii.c79 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 Dcfe_smbus.c85 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 Dcfe_spi.c79 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 Dcfe_console.c396 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 Dvapisubr.c100 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 Dui_vapi.c126 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 Dui_p4_xeon.c62 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 Dexchandler.c136 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 Dui_hspcmds.c282 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 Dui_pmcmds.c385 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 Dui_corecmds.c174 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 Dui_ccncmds.c197 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 Dusbmain.c107 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 Dusbeth.c80 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 Dusbhub.c155 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 Dmkpcidb.c95 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 Dmakereg.c263 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 Dbcmcore_arena.c146 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 Dui_mousse.c246 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 Dui_test_ether.c114 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 Dui_spdcmds.c250 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 Dbcm91125e_tests.c91 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 Dsentosa_test.c106 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 Dvga_subr.c93 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...]

Completed in 232 milliseconds

12345