Searched refs:count (Results 1 - 25 of 40) sorted by relevance

12

/broadcom-cfe-1.4.2/cfe/lib/
H A Dlib_try.c104 int count; local
110 count = q_count( &(exc_handler.jmpbuf_stack));
112 if( count > 0 ) {
157 int count; local
160 count = q_count( &(exc_handler.jmpbuf_stack));
162 if( count > 0 ) {
H A Dlib_printf.c385 int count; local
388 count = xvsprintf(buf,templat,marker);
391 return count;
413 int count; local
417 count = xvsprintf(buffer,templat,marker);
422 return count;
428 int count; local
431 count = xvsprintf(buffer,templat,marker);
435 return count;
/broadcom-cfe-1.4.2/cfe/applets/
H A Ddownload.c117 int count = 0; local
126 count += (p-str);
132 count += len;
134 return count;
H A Dtest.c119 int count = 0; local
128 count += (p-str);
134 count += len;
136 return count;
143 int count = 0;
152 count += (p-str);
158 count += len;
160 return count;
/broadcom-cfe-1.4.2/cfe/main/
H A Dcfe_timer.c10 * register, approximately 2 billion cycles (half the count)
124 uint32_t count; local
130 count = _getticks();
131 deltaticks = (count - cfe_oldcount);
153 cfe_oldcount = count;
H A Dcfe_console.c167 int count; local
170 count = xvsprintf(buffer,tmplt,marker);
353 int count = 0; local
362 count += (p-str);
368 count += len;
370 return count;
H A Dcfe_devfuncs.c56 int count = 0; local
59 count++;
63 return count;
/broadcom-cfe-1.4.2/cfe/ui/
H A Dui_test_ether.c117 int count = 0; local
144 count = atoi(x);
148 for (idx = 0; idx < count; idx++) {
180 count++;
181 if (quiet && !(count % 1000)) printf(".");
184 printf("Total packets received: %d\n",count);
H A Dui_misccmds.c68 "loop \"command\" [-count=*]\n"
70 "to be repeated 'count' times or forever, or until a character is typed",
71 "-count=*;Specifies number of iterations|"
127 int count = 10; local
132 if (cmd_sw_value(cmd,"-count",&x)) count = atoi(x);
140 while (count || forever) {
144 count--;
H A Dui_examcmds.c167 int count = 0; local
210 count++;
213 return count;
331 int count; local
345 count = stuffmem(addr,wlen,vtext);
346 if (count < 0) {
347 ui_showerror(count,"Could not modify memory");
348 return count; /* error */
350 addr += count*wlen;
351 prev_addr += count*wle
[all...]
H A Dui_test_disk.c274 int count; local
308 count = 0;
315 count++;
316 if (count == 256) {
318 count = 0;
345 int count = 0; local
418 count++;
419 if ((count % 1000) == 0) xprintf("%d ",count);
H A Dui_netcmds.c545 int count = 1; local
585 count = atoi(x);
586 ttlcount = count;
636 if ((forever || (count > 1)) && !flood) {
641 count--;
643 } while ((forever || (count > 0)) && (noabort || !console_status()));
646 ttlcount-count,countreturned);
/broadcom-cfe-1.4.2/cfe/arch/mips/chipset/sibyte/src/
H A Dsb1250_memcpy.S128 #define count a3 define
152 ## src and dst are aligned; need to compute count
154 SRL count, len, LOG_NBYTES+3 # +3 for 8 units/iter
157 beqz count, cleanup_both_aligned
179 SUB count, count, 1
217 bnez count, 1b
224 bnez count, 1b
278 SUB count, count,
[all...]
H A Dcfe_dmtest.c228 sbport_t dm_dscrcnt; /* Descriptor count register */
274 ones or all zeros. We therefore reset the count when it exceeds
331 int count = 0; local
357 count++;
364 return count;
561 pointers to the descriptor tables, or we can use the count.
631 * DM_ALLOCDSCRS(count)
923 * cnt - count of bytes to copy
957 * cnt - count of bytes to copy
976 * cnt - count o
1367 uint64_t count; member in struct:sbgendma_args_s
[all...]
/broadcom-cfe-1.4.2/cfe/dev/
H A Ddev_promice.c330 int count; local
357 for (count = 0; count < 8; count++) {
H A Ddev_rtl8139.c360 size_t length, count, incr, n; local
378 count = length;
379 if (count > MAX_ETHER_PACK) count = MAX_ETHER_PACK;
380 count -= ENET_CRC_SIZE;
381 pkt->length = count;
383 if (n > count)
384 n = count;
386 count -= n;
387 if (count >
460 unsigned count = sc->tx_dmacnt; local
504 unsigned count = sc->tx_dmacnt; local
774 int count; local
[all...]
/broadcom-cfe-1.4.2/cfe/pccons/
H A Dvga_subr.c144 int count; local
149 count = (vga->vga_nrows-1) * rowsize;
151 for (idx = 0; idx < count; idx+=4) {
H A Dx86mem.h102 void x86mem_memcpy(x86mem_t *mem,uint32_t destaddr,uint8_t *src,int count);
H A Dx86mem.c356 void x86mem_memcpy(x86mem_t *mem,uint32_t destaddr,uint8_t *src,int count) argument
358 while (count) {
362 count--;
/broadcom-cfe-1.4.2/cfe/zlib/
H A Dtrees.c53 /* repeat previous bit length 3-6 times (2 bits of repeat count) */
56 /* repeat a zero length 3-10 times (3 bits of repeat count) */
59 /* repeat a zero length 11-138 times (7 bits of repeat count) */
716 int count = 0; /* repeat count of the current code */ local
717 int max_count = 7; /* max repeat count */
718 int min_count = 4; /* min repeat count */
725 if (++count < max_count && curlen == nextlen) {
727 } else if (count < min_count) {
728 s->bl_tree[curlen].Freq += count;
761 int count = 0; /* repeat count of the current code */ local
[all...]
/broadcom-cfe-1.4.2/cfe/arch/mips/cpu/sb1250/src/
H A Dsb1250_pci_machdep.c526 int count; local
529 count = 0;
534 && count < maxwait) {
539 "LDT Err, count %d Err = 0x%04x\n",
540 count, ctrl & 0xFFFF);
543 if (count >= maxwait) {
549 count += 10;
553 pci_tagprintf(SB1250_LDT_BRIDGE, "lhb_link_ready: count %d\n", count);
1337 /* Current parts can count tgt_don
1338 unsigned int count, prev_count; local
[all...]
/broadcom-cfe-1.4.2/cfe/arch/mips/common/src/
H A Ddev_flash_all.S192 sub datasize,1 # one less count
/broadcom-cfe-1.4.2/cfe/arch/mips/cpu/bcm1480/src/
H A Dbcm1480_pci_machdep.c1344 unsigned int count, prev_count; local
1361 count = pci_conf_read(BCM1400_PCI_BRIDGE, R_BCM1480_PHB_TGTDONE);
1362 count &= M_BCM1480_PHB_TGT_DONE_COUNTER;
1363 if (count != prev_count)
1366 done = (count != prev_count);
1375 count = pci_conf_read(BCM1400_LDT_BRIDGE, R_BCM1480_HTD_TGTDONE);
1376 count &= M_BCM1480_HTD_TGT_DONE_COUNTER;
1377 if (count != prev_count)
1380 done = (count != prev_count);
/broadcom-cfe-1.4.2/cfe/api/
H A Dcfe_api.c517 int count = 0; local
520 count++;
522 return count;
/broadcom-cfe-1.4.2/cfe/arch/ppc/chipset/mpc824x/src/
H A Ddev_tulip.c1311 mii_write_bits(tulip_softc *sc, uint32_t data, unsigned int count) argument
1318 for (bitmask = 1 << (count-1); bitmask != 0; bitmask >>= 1) {
1682 int count; local
1720 for (count = 0; count <= 13; count++) {
1727 if (count > 13)
2751 int count; local
2764 for (count = 0; count <
[all...]

Completed in 271 milliseconds

12