Searched refs:cnt (Results 76 - 100 of 354) sorted by relevance

1234567891011>>

/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sh/kernel/
H A Dio_cat68701.c233 static unsigned int cnt = 0, period = 0 , bit = 0; local
234 cnt += 1;
235 if (cnt < period) {
238 cnt = 0;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/isdn/hysdn/
H A Dhysdn_sched.c149 int cnt = 50; /* timeout intervalls */ local
165 if (!--cnt) {
185 cnt++; /* short delay */
196 if (!--cnt) {
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ia64/lib/
H A Dclear_user.S25 #define cnt r16 define
118 shr.u cnt=len,4 // number of 128-bit (2x64bit) words
120 cmp.eq p6,p0=r0,cnt
121 adds tmp=-1,cnt
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/boot/
H A Daddinitrd.c49 int i,cnt; local
108 cnt = SWAB(eaout.tsize);
109 while (cnt) {
114 cnt -= i;
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ncpfs/
H A Dsymlink.c49 int error, length, len, cnt; local
54 for (cnt = 0; (link=(char *)kmalloc(NCP_MAX_SYMLINK_SIZE, GFP_NFS))==NULL; cnt++) {
55 if (cnt > 10)
/asus-wl-520gu-7.0.1.45/src/router/ppp/include/
H A Dpcap-int.h106 int pcap_read(pcap_t *, int cnt, pcap_handler, u_char *);
/asus-wl-520gu-7.0.1.45/src/router/pppd/include/
H A Dpcap-int.h108 int pcap_read(pcap_t *, int cnt, pcap_handler, u_char *);
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/include/
H A Dpcap-int.h108 int pcap_read(pcap_t *, int cnt, pcap_handler, u_char *);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/ftape/lowlevel/
H A Dftape-buffer.c113 int ftape_set_nr_buffers(int cnt) argument
115 int delta = cnt - ft_nr_buffers;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/
H A Dpas2_pcm.c255 unsigned long flags, cnt; local
259 cnt = count;
261 cnt >>= 1;
265 cnt == pcm_count)
303 int cnt; local
307 cnt = count;
309 cnt >>= 1;
313 cnt == pcm_count)
H A Desssolo1.c960 int cnt; local
976 cnt = s->dma_adc.dmasize-swptr;
977 if (s->dma_adc.count < cnt)
978 cnt = s->dma_adc.count;
979 if (cnt <= 0)
982 if (cnt > count)
983 cnt = count;
985 printk(KERN_DEBUG "solo1_read: reg B8: 0x%02x DMAstat: 0x%02x DMAcnt: 0x%04x SBstat: 0x%02x cnt: %u\n",
986 read_ctrl(s, 0xb8), inb(s->ddmabase+8), inw(s->ddmabase+4), inb(s->sbbase+0xc), cnt);
988 if (cnt <
1056 int cnt; local
1669 int cnt; local
1732 int cnt; local
[all...]
H A Dhal2.c226 running = dac->tail->info.cnt;
227 dac->tail->info.cnt = 0;
248 running = !adc->head->info.cnt;
249 adc->head->info.cnt = H2_BUFFER_SIZE;
484 buf->info.cnt = 0;
506 buf->info.cnt = 0;
550 adc->tail->info.cnt == 0)
555 while (adc->tail->info.cnt > 0 && count > 0) {
556 size = min(adc->tail->info.cnt, count);
567 adc->tail->info.cnt
1080 ssize_t cnt = 0; local
1141 ssize_t cnt = 0; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/alpha/math-emu/
H A Dqrnnd.S40 #define cnt $2 define
49 ldiq cnt,16
84 subq cnt,1,cnt
85 bgt cnt,$loop1
134 subq cnt,1,cnt
135 bgt cnt,$loop2
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/boot/utils/
H A Dmkprep.c242 int i, cnt, pos, len; local
254 cnt = 0;
259 if (cnt == 0)
268 if (++cnt == 4)
270 cnt = 0;
278 if (cnt)
/asus-wl-520gu-7.0.1.45/src/tools/misc/
H A Depi_ttcp.c1039 register int cnt,multi; local
1128 if ((cnt=Nwrite(fd,buf,rbuflen)) != (int)rbuflen)
1136 ++nb, cnt, nbuf );
1187 while((cnt=read(0,pb,rbuflen)) > 0)
1189 while((cnt=(int)fread(pb,1,rbuflen,stdin)) > 0)
1193 multi = cnt+1; /* don't include seq. num. in count of data */
1195 multi = cnt;
1196 if ((cnt=Nwrite(fd,buf,multi)) != (int)multi)
1205 ++nb, cnt, nbuf );
1278 while ((cnt
1334 int cnt; local
2015 register int cnt; local
2069 register int cnt; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/isdn/hisax/
H A Dnetjet.c115 void fill_mem(struct BCState *bcs, u_int *pos, u_int cnt, int chan, u_char fill) argument
126 for (i=0; i<cnt; i++) {
447 static void read_raw(struct BCState *bcs, u_int *buf, int cnt){ argument
468 for (i=0;i<cnt;i++) {
626 int cnt = NETJET_DMA_RXSIZE/2; local
645 p = cs->bcs[0].hw.tiger.rec + cnt - 1;
647 read_raw(cs->bcs, p, cnt);
650 read_raw(cs->bcs + 1, p, cnt);
654 static void write_raw(struct BCState *bcs, u_int *buf, int cnt);
659 register int cnt; local
723 write_raw(struct BCState *bcs, u_int *buf, int cnt) argument
810 u_int *p, cnt = NETJET_DMA_TXSIZE/2; local
[all...]
/asus-wl-520gu-7.0.1.45/src/shared/
H A Dsflash.c155 int cnt, i; local
167 cnt = 4 - (offset & 3);
169 cnt = 4 - ((uintptr)buf & 3);
171 cnt = len;
178 if (cnt < 4) {
179 for (i = 0; i < cnt; i ++) {
184 return cnt;
187 while (cnt >= 4) {
191 cnt -= 4;
194 return (len - cnt);
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/hamradio/
H A Dbaycom_epp.c307 static inline int check_crc_ccitt(const unsigned char *buf, int cnt) argument
311 for (; cnt > 0; cnt--)
318 static inline int calc_crc_ccitt(const unsigned char *buf, int cnt) argument
322 for (; cnt > 0; cnt--)
568 static int transmit(struct baycom_state *bc, int cnt, unsigned char stat) argument
598 while (cnt > 0) {
601 i = min_t(int, cnt, bc->hdlctx.flags);
602 cnt
731 receive(struct net_device *dev, int cnt) argument
814 int cnt, cnt2; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sbus/char/
H A Dbpp.c486 static long read_nibble(unsigned minor, char *c, unsigned long cnt) argument
488 unsigned long remaining = cnt;
536 return cnt - remaining;
539 static long read_ecp(unsigned minor, char *c, unsigned long cnt) argument
562 remaining = cnt;
631 return cnt - remaining;
634 static ssize_t bpp_read(struct file *f, char *c, size_t cnt, loff_t * ppos) argument
665 rc = read_ecp(minor, c, cnt);
673 rc = read_nibble(minor, c, cnt);
678 rc = read_nibble(minor, c, cnt);
696 write_compat(unsigned minor, const char *c, unsigned long cnt) argument
734 write_ecp(unsigned minor, const char *c, unsigned long cnt) argument
787 bpp_write(struct file *f, const char *c, size_t cnt, loff_t * ppos) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/wan/8253x/
H A D8253xchr.c43 int sab8253xc_read(struct file *filep, char *cptr, size_t cnt, loff_t *loffp) argument
50 DEBUGPRINT((KERN_ALERT "Attempting to read %i bytes.\n", cnt));
77 if(cnt < length)
99 int sab8253xc_write(struct file *filep, const char *cptr, size_t cnt, loff_t *loffp) argument
105 if(cnt > sab8253xc_rbufsize) /* should not send bigger than can be received */
161 skb = alloc_skb(cnt, GFP_KERNEL); /* not called from int as with tty */
166 copy_from_user(skb->data, cptr, cnt);
167 skb->tail = (skb->data + cnt);
168 skb->len = cnt;
169 skb->data_len = cnt;
[all...]
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppdump/
H A Dpppdump.c210 int cnt; member in struct:pkt
238 spkt.cnt = rpkt.cnt = 0;
256 if (spkt.cnt > 0)
258 spkt.cnt);
259 if (rpkt.cnt > 0)
261 rpkt.cnt);
264 if (pkt->cnt > 0) {
270 nb = pkt->cnt;
272 pkt->cnt
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppdump/
H A Dpppdump.c237 int cnt; member in struct:pkt
267 spkt.cnt = rpkt.cnt = 0;
285 if (spkt.cnt > 0)
287 spkt.cnt);
288 if (rpkt.cnt > 0)
290 rpkt.cnt);
293 if (pkt->cnt > 0) {
299 nb = pkt->cnt;
301 pkt->cnt
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppdump/
H A Dpppdump.c230 int cnt; member in struct:pkt
258 spkt.cnt = rpkt.cnt = 0;
276 if (spkt.cnt > 0)
278 spkt.cnt);
279 if (rpkt.cnt > 0)
281 rpkt.cnt);
284 if (pkt->cnt > 0) {
290 nb = pkt->cnt;
292 pkt->cnt
[all...]
/asus-wl-520gu-7.0.1.45/src/router/acl/
H A Dinstall-sh228 cnt=`echo "$solib" | sed -e 's/\./ /g' | wc -w`
229 if [ $cnt -eq 5 ]
262 cnt=`echo "$solib" | sed -e 's/\./ /g' | wc -w`
263 if [ $cnt -eq $from_parts ]
266 elif [ $cnt -eq $to_parts ]
/asus-wl-520gu-7.0.1.45/src/router/attr/
H A Dinstall-sh228 cnt=`echo "$solib" | sed -e 's/\./ /g' | wc -w`
229 if [ $cnt -eq 5 ]
262 cnt=`echo "$solib" | sed -e 's/\./ /g' | wc -w`
263 if [ $cnt -eq $from_parts ]
266 elif [ $cnt -eq $to_parts ]

Completed in 235 milliseconds

1234567891011>>