Searched refs:fifo (Results 1 - 25 of 112) sorted by relevance

12345

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dkfifo.h41 extern void kfifo_free(struct kfifo *fifo);
42 extern unsigned int __kfifo_put(struct kfifo *fifo,
44 extern unsigned int __kfifo_get(struct kfifo *fifo,
49 * @fifo: the fifo to be emptied.
51 static inline void __kfifo_reset(struct kfifo *fifo) argument
53 fifo->in = fifo->out = 0;
58 * @fifo: the fifo t
60 kfifo_reset(struct kfifo *fifo) argument
81 kfifo_put(struct kfifo *fifo, unsigned char *buffer, unsigned int len) argument
105 kfifo_get(struct kfifo *fifo, unsigned char *buffer, unsigned int len) argument
131 __kfifo_len(struct kfifo *fifo) argument
140 kfifo_len(struct kfifo *fifo) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/
H A Dkfifo.c33 * @lock: the lock to be used to protect the fifo buffer
41 struct kfifo *fifo; local
46 fifo = kmalloc(sizeof(struct kfifo), gfp_mask);
47 if (!fifo)
50 fifo->buffer = buffer;
51 fifo->size = size;
52 fifo->in = fifo->out = 0;
53 fifo->lock = lock;
55 return fifo;
98 kfifo_free(struct kfifo *fifo) argument
118 __kfifo_put(struct kfifo *fifo, unsigned char *buffer, unsigned int len) argument
164 __kfifo_get(struct kfifo *fifo, unsigned char *buffer, unsigned int len) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/seq/
H A Dseq_fifo.h32 struct snd_seq_event_cell *head; /* pointer to head of fifo */
33 struct snd_seq_event_cell *tail; /* pointer to tail of fifo */
42 /* create new fifo (constructor) */
45 /* delete fifo (destructor) */
49 /* enqueue event to fifo */
52 /* lock fifo from release */
53 #define snd_seq_fifo_lock(fifo) snd_use_lock_use(&(fifo)->use_lock)
54 #define snd_seq_fifo_unlock(fifo) snd_use_lock_free(&(fifo)
[all...]
H A Dseq_prioq.h41 void snd_seq_prioq_delete(struct snd_seq_prioq **fifo);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavutil/
H A Dfifo.d1 libavutil/fifo.o: libavutil/fifo.c libavutil/common.h libavutil/mem.h config.h \
2 libavutil/internal.h libavutil/timer.h libavutil/fifo.h \
H A DMakefile11 fifo.h \
29 fifo.o \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/hisax/
H A Dhfc_usb.c140 struct usb_fifo *owner_fifo; /* pointer to owner fifo */
146 int fifonum; /* fifo index attached to this structure */
147 int active; /* fifo is currently active */
156 int bit_line; /* how much bits are in the fifo? */
200 usb_fifo fifos[HFCUSB_NUM_FIFOS]; /* structure holding all fifo data */
208 static void collect_rx_frame(usb_fifo * fifo, __u8 * data, int len,
508 start_isoc_chain(usb_fifo * fifo, int num_packets_per_urb, argument
514 fifo->fifonum);
518 if (!(fifo->iso[i].purb)) {
519 fifo
569 stop_isoc_chain(usb_fifo * fifo) argument
604 usb_fifo *fifo = context_iso_urb->owner_fifo; local
727 usb_fifo *fifo = context_iso_urb->owner_fifo; local
825 collect_rx_frame(usb_fifo * fifo, __u8 * data, int len, int finish) argument
922 usb_fifo *fifo = (usb_fifo *) urb->context; local
986 start_int_fifo(usb_fifo * fifo) argument
1077 usb_fifo *fifo = my_hisax_if->priv; local
1194 usb_fifo *fifo; local
[all...]
H A Dst5481.h63 #define IN_D_COUNTER 0x36 /* D receive channel fifo counter */
64 #define OUT_D_COUNTER 0x37 /* D transmit channel fifo counter */
65 #define IN_B1_COUNTER 0x38 /* B1 receive channel fifo counter */
66 #define OUT_B1_COUNTER 0x39 /* B1 transmit channel fifo counter */
67 #define IN_B2_COUNTER 0x3a /* B2 receive channel fifo counter */
68 #define OUT_B2_COUNTER 0x3b /* B2 transmit channel fifo counter */
69 #define FFCTRL_IN_D 0x3C /* D receive channel fifo threshold low */
70 #define FFCTRH_IN_D 0x3D /* D receive channel fifo threshold high */
71 #define FFCTRL_OUT_D 0x3E /* D transmit channel fifo threshold low */
72 #define FFCTRH_OUT_D 0x3F /* D transmit channel fifo threshol
239 struct fifo { struct
247 fifo_init(struct fifo *fifo, int size) argument
257 fifo_add(struct fifo *fifo) argument
282 fifo_remove(struct fifo *fifo) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/bgpd/
H A Dbgp_advertise.h44 struct bgp_advertise_fifo fifo; member in struct:bgp_advertise
103 struct fifo struct
105 struct fifo *next;
106 struct fifo *prev;
111 struct fifo *Xfifo = (struct fifo *)(F); \
117 struct fifo *Xfifo = (struct fifo *)(F); \
118 struct fifo *Xnode = (struct fifo *)(
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/dccp/
H A Dprobe.c45 struct kfifo *fifo; member in struct:__anon10843
74 kfifo_put(dccpw.fifo, tbuf, len);
120 kfifo_reset(dccpw.fifo);
142 __kfifo_len(dccpw.fifo) != 0);
146 cnt = kfifo_get(dccpw.fifo, tbuf, len);
167 dccpw.fifo = kfifo_alloc(bufsize, GFP_KERNEL, &dccpw.lock);
168 if (IS_ERR(dccpw.fifo))
169 return PTR_ERR(dccpw.fifo);
183 kfifo_free(dccpw.fifo);
190 kfifo_free(dccpw.fifo);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Dtcp_probe.c54 struct kfifo *fifo; member in struct:__anon10866
80 kfifo_put(tcpw.fifo, tbuf, len);
120 kfifo_reset(tcpw.fifo);
142 __kfifo_len(tcpw.fifo) != 0);
146 cnt = kfifo_get(tcpw.fifo, tbuf, len);
167 tcpw.fifo = kfifo_alloc(bufsize, GFP_KERNEL, &tcpw.lock);
168 if (IS_ERR(tcpw.fifo))
169 return PTR_ERR(tcpw.fifo);
183 kfifo_free(tcpw.fifo);
190 kfifo_free(tcpw.fifo);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/lib/
H A Dstream.h105 /* Stream fifo. */
107 void stream_fifo_push (struct stream_fifo *fifo, struct stream *s);
108 struct stream *stream_fifo_pop (struct stream_fifo *fifo);
109 struct stream *stream_fifo_head (struct stream_fifo *fifo);
110 void stream_fifo_clean (struct stream_fifo *fifo);
111 void stream_fifo_free (struct stream_fifo *fifo);
H A Dstream.c429 /* Add new stream to fifo. */
431 stream_fifo_push (struct stream_fifo *fifo, struct stream *s)
433 if (fifo->tail)
434 fifo->tail->next = s;
436 fifo->head = s;
438 fifo->tail = s;
440 fifo->count++; argument
443 /* Delete first stream from fifo. */
445 stream_fifo_pop (struct stream_fifo *fifo)
449 s = fifo
426 stream_fifo_push(struct stream_fifo *fifo, struct stream *s) argument
461 stream_fifo_head(struct stream_fifo *fifo) argument
467 stream_fifo_clean(struct stream_fifo *fifo) argument
482 stream_fifo_free(struct stream_fifo *fifo) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/skfp/
H A Dfplustm.c158 smc->hw.fp.fifo.rbc_ram_start = 0 ;
159 smc->hw.fp.fifo.rbc_ram_end =
160 smc->hw.fp.fifo.rbc_ram_start + RBC_MEM_SIZE ;
162 MARW(smc->hw.fp.fifo.rbc_ram_start) ;
163 for (i = smc->hw.fp.fifo.rbc_ram_start;
164 i < (u_short) (smc->hw.fp.fifo.rbc_ram_end-1); i++)
178 outpw(FM_A(FM_RPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* RPR1 */
179 outpw(FM_A(FM_SWPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* SWPR1 */
180 outpw(FM_A(FM_WPR1),smc->hw.fp.fifo.rx1_fifo_start) ; /* WPR1 */
181 outpw(FM_A(FM_EARV1),smc->hw.fp.fifo
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/radio/
H A Dradio-cadet.c111 unsigned fifo=0; local
128 fifo=(fifo<<1)|((inb(io+1)>>7)&0x01);
142 return fifo;
149 unsigned freq=0,test,fifo=0; local
154 fifo=cadet_gettune();
162 if((fifo&0x01)!=0) {
166 fifo=fifo>>1;
172 freq=((fifo
179 cadet_settune(unsigned fifo) argument
210 unsigned fifo; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/
H A Daudiointerleave.c23 #include "libavutil/fifo.h"
36 av_fifo_free(&aic->fifo);
65 av_fifo_init(&aic->fifo, 100 * *aic->samples);
78 int size = FFMIN(av_fifo_size(&aic->fifo), *aic->samples * aic->sample_size);
79 if (!size || (!flush && size == av_fifo_size(&aic->fifo)))
83 av_fifo_read(&aic->fifo, pkt->data, size);
107 unsigned new_size = av_fifo_size(&aic->fifo) + pkt->size;
109 if (av_fifo_realloc2(&aic->fifo, new_size) < 0)
113 av_fifo_generic_write(&aic->fifo, pkt->data, pkt->size, NULL);
H A Daudiointerleave.h26 #include "libavutil/fifo.h"
30 AVFifoBuffer fifo; member in struct:__anon620
H A Daudiointerleave.d1 libavformat/audiointerleave.o: libavformat/audiointerleave.c libavutil/fifo.h \
H A Ddvenc.d7 libavcodec/avcodec.h libavformat/dv.h libavutil/fifo.h
H A Dgxfenc.d1 libavformat/gxfenc.o: libavformat/gxfenc.c libavutil/fifo.h libavutil/avutil.h \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-omap1/
H A Dmailbox.c56 struct omap_mbox1_fifo *fifo = local
60 msg = mbox_read_reg(fifo->data);
61 msg |= ((mbox_msg_t) mbox_read_reg(fifo->cmd)) << 16;
69 struct omap_mbox1_fifo *fifo = local
72 mbox_write_reg(msg & 0xffff, fifo->data);
73 mbox_write_reg(msg >> 16, fifo->cmd);
83 struct omap_mbox1_fifo *fifo = local
86 return (mbox_read_reg(fifo->flag));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/cxgb3/
H A Dcxio_resource.c47 static int __cxio_init_resource_fifo(struct kfifo **fifo, argument
58 *fifo = kfifo_alloc(nr * sizeof(u32), GFP_KERNEL, fifo_lock);
59 if (IS_ERR(*fifo))
63 __kfifo_put(*fifo, (unsigned char *) &entry, sizeof(u32));
75 __kfifo_put(*fifo,
82 __kfifo_put(*fifo,
87 __kfifo_put(*fifo, (unsigned char *) &i, sizeof(u32));
90 kfifo_get(*fifo, (unsigned char *) &entry, sizeof(u32));
94 static int cxio_init_resource_fifo(struct kfifo **fifo, spinlock_t * fifo_lock, argument
97 return (__cxio_init_resource_fifo(fifo, fifo_loc
101 cxio_init_resource_fifo_random(struct kfifo **fifo, spinlock_t * fifo_lock, u32 nr, u32 skip_low, u32 skip_high) argument
182 cxio_hal_get_resource(struct kfifo *fifo) argument
191 cxio_hal_put_resource(struct kfifo *fifo, u32 entry) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/arm/
H A Dmsgqueue.h18 int fifo; member in struct:message
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-omap2/
H A Dmailbox.c112 struct omap_mbox2_fifo *fifo = local
114 return (mbox_msg_t) mbox_read_reg(fifo->msg);
119 struct omap_mbox2_fifo *fifo = local
121 mbox_write_reg(msg, fifo->msg);
126 struct omap_mbox2_fifo *fifo = local
128 return (mbox_read_reg(fifo->msg_stat) == 0);
133 struct omap_mbox2_fifo *fifo = local
135 return (mbox_read_reg(fifo->fifo_stat));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/arch-s3c2410/
H A Ddebug-macro.S38 tst \rd, #S3C2410_UFCON_FIFOMODE @ fifo enabled?
64 @ busy waiting for non fifo
75 tst \rd, #S3C2410_UFCON_FIFOMODE @ fifo enabled?
96 @ idle waiting for non fifo

Completed in 192 milliseconds

12345