Home
last modified time | relevance | path

Searched defs:fifo (Results 1 – 25 of 113) sorted by relevance

12345

/linux-2.6.39/include/linux/
Dkfifo.h115 #define __is_kfifo_ptr(fifo) (sizeof(*fifo) == sizeof(struct __kfifo)) argument
122 #define DECLARE_KFIFO_PTR(fifo, type) STRUCT_KFIFO_PTR(type) fifo argument
130 #define DECLARE_KFIFO(fifo, type, size) STRUCT_KFIFO(type, size) fifo argument
136 #define INIT_KFIFO(fifo) \ argument
155 #define DEFINE_KFIFO(fifo, type, size) \ argument
193 #define kfifo_initialized(fifo) ((fifo)->kfifo.mask) argument
199 #define kfifo_esize(fifo) ((fifo)->kfifo.esize) argument
205 #define kfifo_recsize(fifo) (sizeof(*(fifo)->rectype)) argument
211 #define kfifo_size(fifo) ((fifo)->kfifo.mask + 1) argument
221 #define kfifo_reset(fifo) \ argument
[all …]
/linux-2.6.39/kernel/
Dkfifo.c33 static inline unsigned int kfifo_unused(struct __kfifo *fifo) in kfifo_unused()
38 int __kfifo_alloc(struct __kfifo *fifo, unsigned int size, in __kfifo_alloc()
70 void __kfifo_free(struct __kfifo *fifo) in __kfifo_free()
81 int __kfifo_init(struct __kfifo *fifo, void *buffer, in __kfifo_init()
104 static void kfifo_copy_in(struct __kfifo *fifo, const void *src, in kfifo_copy_in()
128 unsigned int __kfifo_in(struct __kfifo *fifo, in __kfifo_in()
143 static void kfifo_copy_out(struct __kfifo *fifo, void *dst, in kfifo_copy_out()
167 unsigned int __kfifo_out_peek(struct __kfifo *fifo, in __kfifo_out_peek()
181 unsigned int __kfifo_out(struct __kfifo *fifo, in __kfifo_out()
190 static unsigned long kfifo_copy_from_user(struct __kfifo *fifo, in kfifo_copy_from_user()
[all …]
/linux-2.6.39/drivers/misc/
Dhpilo.h163 struct fifo { struct
164 u64 nrents; /* user requested number of fifo entries */ argument
165 u64 imask; /* mask to extract valid fifo index */ argument
176 u64 fifobar[1]; argument
179 /* convert between struct fifo, and the fifobar, which is saved in the ccb */ argument
/linux-2.6.39/arch/powerpc/sysdev/bestcomm/
Dgen_bd.c40 u32 fifo; /* (u32*) address of gen_bd's fifo */ member
57 u32 fifo; /* (u32*) address of gen_bd's fifo */ member
77 phys_addr_t fifo; member
89 bcom_gen_bd_rx_init(int queue_len, phys_addr_t fifo, in bcom_gen_bd_rx_init()
174 bcom_gen_bd_tx_init(int queue_len, phys_addr_t fifo, in bcom_gen_bd_tx_init()
320 phys_addr_t fifo, int maxbufsize) in bcom_psc_gen_bd_rx_init()
341 bcom_psc_gen_bd_tx_init(unsigned psc_num, int queue_len, phys_addr_t fifo) in bcom_psc_gen_bd_tx_init()
Dfec.c35 u32 fifo; /* (u32*) address of fec's fifo */ member
55 u32 fifo; /* (u32*) address of fec's fifo */ member
75 phys_addr_t fifo; member
85 bcom_fec_rx_init(int queue_len, phys_addr_t fifo, int maxbufsize) in bcom_fec_rx_init()
187 bcom_fec_tx_init(int queue_len, phys_addr_t fifo) in bcom_fec_tx_init()
/linux-2.6.39/drivers/infiniband/hw/cxgb3/
Dcxio_resource.c47 static int __cxio_init_resource_fifo(struct kfifo *fifo, in __cxio_init_resource_fifo()
95 static int cxio_init_resource_fifo(struct kfifo *fifo, spinlock_t * fifo_lock, in cxio_init_resource_fifo()
102 static int cxio_init_resource_fifo_random(struct kfifo *fifo, in cxio_init_resource_fifo_random()
181 static u32 cxio_hal_get_resource(struct kfifo *fifo, spinlock_t * lock) in cxio_hal_get_resource()
190 static void cxio_hal_put_resource(struct kfifo *fifo, spinlock_t * lock, in cxio_hal_put_resource()
/linux-2.6.39/sound/core/seq/
Dseq_fifo.h53 #define snd_seq_fifo_lock(fifo) snd_use_lock_use(&(fifo)->use_lock) argument
54 #define snd_seq_fifo_unlock(fifo) snd_use_lock_free(&(fifo)->use_lock) argument
/linux-2.6.39/drivers/infiniband/hw/cxgb4/
Dresource.c44 static int __c4iw_init_resource_fifo(struct kfifo *fifo, in __c4iw_init_resource_fifo()
92 static int c4iw_init_resource_fifo(struct kfifo *fifo, spinlock_t * fifo_lock, in c4iw_init_resource_fifo()
99 static int c4iw_init_resource_fifo_random(struct kfifo *fifo, in c4iw_init_resource_fifo_random()
154 u32 c4iw_get_resource(struct kfifo *fifo, spinlock_t *lock) in c4iw_get_resource()
163 void c4iw_put_resource(struct kfifo *fifo, u32 entry, spinlock_t *lock) in c4iw_put_resource()
/linux-2.6.39/drivers/isdn/hardware/mISDN/
Dhfcsusb.c846 hfcsusb_rx_frame(struct usb_fifo *fifo, __u8 *data, unsigned int len, in hfcsusb_rx_frame()
1007 struct usb_fifo *fifo = context_iso_urb->owner_fifo; in rx_iso_complete() local
1128 struct usb_fifo *fifo = (struct usb_fifo *) urb->context; in rx_int_complete() local
1199 struct usb_fifo *fifo = context_iso_urb->owner_fifo; in tx_iso_complete() local
1412 start_isoc_chain(struct usb_fifo *fifo, int num_packets_per_urb, in start_isoc_chain()
1478 stop_iso_gracefull(struct usb_fifo *fifo) in stop_iso_gracefull()
1504 stop_int_gracefull(struct usb_fifo *fifo) in stop_int_gracefull()
1527 start_int_fifo(struct usb_fifo *fifo) in start_int_fifo()
1579 struct usb_fifo *fifo; in reset_hfcsusb() local
/linux-2.6.39/arch/arm/mach-omap1/
Dmailbox.c53 struct omap_mbox1_fifo *fifo = in omap1_mbox_fifo_read() local
66 struct omap_mbox1_fifo *fifo = in omap1_mbox_fifo_write() local
80 struct omap_mbox1_fifo *fifo = in omap1_mbox_fifo_full() local
/linux-2.6.39/drivers/net/vxge/
Dvxge-traffic.c221 void vxge_hw_vpath_tti_ci_set(struct __vxge_hw_fifo *fifo) in vxge_hw_vpath_tti_ci_set()
251 void vxge_hw_vpath_dynamic_tti_rtimer_set(struct __vxge_hw_fifo *fifo) in vxge_hw_vpath_dynamic_tti_rtimer_set()
1404 static void __vxge_hw_non_offload_db_post(struct __vxge_hw_fifo *fifo, in __vxge_hw_non_offload_db_post()
1454 struct __vxge_hw_fifo *fifo, in vxge_hw_fifo_txdl_reserve()
1508 void vxge_hw_fifo_txdl_buffer_set(struct __vxge_hw_fifo *fifo, in vxge_hw_fifo_txdl_buffer_set()
1557 void vxge_hw_fifo_txdl_post(struct __vxge_hw_fifo *fifo, void *txdlh) in vxge_hw_fifo_txdl_post()
1622 struct __vxge_hw_fifo *fifo, void **txdlh, in vxge_hw_fifo_txdl_next_completed()
1676 enum vxge_hw_status vxge_hw_fifo_handle_tcode(struct __vxge_hw_fifo *fifo, in vxge_hw_fifo_handle_tcode()
1719 void vxge_hw_fifo_txdl_free(struct __vxge_hw_fifo *fifo, void *txdlh) in vxge_hw_fifo_txdl_free()
2494 enum vxge_hw_status vxge_hw_vpath_poll_tx(struct __vxge_hw_fifo *fifo, in vxge_hw_vpath_poll_tx()
/linux-2.6.39/drivers/isdn/hisax/
Dhfc_usb.c456 start_isoc_chain(usb_fifo * fifo, int num_packets_per_urb, in start_isoc_chain()
516 stop_isoc_chain(usb_fifo * fifo) in stop_isoc_chain()
547 usb_fifo *fifo = context_iso_urb->owner_fifo; in tx_iso_complete() local
685 usb_fifo *fifo = context_iso_urb->owner_fifo; in rx_iso_complete() local
783 collect_rx_frame(usb_fifo * fifo, __u8 * data, int len, int finish) in collect_rx_frame()
857 usb_fifo *fifo = (usb_fifo *) urb->context; in rx_int_complete() local
914 start_int_fifo(usb_fifo * fifo) in start_int_fifo()
1000 usb_fifo *fifo = my_hisax_if->priv; in hfc_usb_l2l1() local
1099 usb_fifo *fifo; in hfc_usb_init() local
Dst5481.h239 struct fifo { struct
247 static inline void fifo_init(struct fifo *fifo, int size) in fifo_init()
257 static inline int fifo_add(struct fifo *fifo) in fifo_add()
282 static inline int fifo_remove(struct fifo *fifo) in fifo_remove()
Dhfc_sx.c83 fifo_select(struct IsdnCardState *cs, u_char fifo) in fifo_select()
101 reset_fifo(struct IsdnCardState *cs, u_char fifo) in reset_fifo()
117 write_fifo(struct IsdnCardState *cs, struct sk_buff *skb, u_char fifo, int trans_max) in write_fifo()
207 read_fifo(struct IsdnCardState *cs, u_char fifo, int trans_max) in read_fifo()
/linux-2.6.39/drivers/net/
Dtehuti.h143 struct fifo { struct
144 dma_addr_t da; /* physical address of fifo (used by HW) */ argument
145 char *va; /* virtual address of fifo (used by SW) */ argument
150 u16 memsz; /* memory size allocated for fifo */ argument
157 struct fifo m; /* minimal set of variables used by all fifos */ argument
/linux-2.6.39/drivers/spi/
Dmpc512x_psc_spi.c39 struct mpc512x_psc_fifo __iomem *fifo; member
139 struct mpc512x_psc_fifo __iomem *fifo = mps->fifo; in mpc512x_psc_spi_transfer_rxtx() local
329 struct mpc512x_psc_fifo __iomem *fifo = mps->fifo; in mpc512x_psc_spi_port_config() local
395 struct mpc512x_psc_fifo __iomem *fifo = mps->fifo; in mpc512x_psc_spi_isr() local
Dmpc52xx_psc_spi.c41 struct mpc52xx_psc_fifo __iomem *fifo; member
137 struct mpc52xx_psc_fifo __iomem *fifo = mps->fifo; in mpc52xx_psc_spi_transfer_rxtx() local
316 struct mpc52xx_psc_fifo __iomem *fifo = mps->fifo; in mpc52xx_psc_spi_port_config() local
/linux-2.6.39/arch/arm/mach-omap2/
Dmailbox.c99 struct omap_mbox2_fifo *fifo = in omap2_mbox_fifo_read() local
106 struct omap_mbox2_fifo *fifo = in omap2_mbox_fifo_write() local
113 struct omap_mbox2_fifo *fifo = in omap2_mbox_fifo_empty() local
120 struct omap_mbox2_fifo *fifo = in omap2_mbox_fifo_full() local
/linux-2.6.39/samples/kfifo/
Ddma-example.c21 static struct kfifo fifo; variable
/linux-2.6.39/drivers/media/radio/
Dradio-cadet.c110 unsigned fifo = 0; in cadet_gettune() local
147 unsigned freq = 0, test, fifo = 0; in cadet_getfreq() local
174 static void cadet_settune(struct cadet *dev, unsigned fifo) in cadet_settune()
204 unsigned fifo; in cadet_setfreq() local
/linux-2.6.39/drivers/usb/musb/
Dtusb6010.c132 tusb_fifo_write_unaligned(void __iomem *fifo, const u8 *buf, u16 len) in tusb_fifo_write_unaligned()
152 static inline void tusb_fifo_read_unaligned(void __iomem *fifo, in tusb_fifo_read_unaligned()
176 void __iomem *fifo = hw_ep->fifo; in musb_write_fifo() local
225 void __iomem *fifo = hw_ep->fifo; in musb_read_fifo() local
Dblackfin.c38 void __iomem *fifo = hw_ep->fifo; in musb_write_fifo() local
101 void __iomem *fifo = hw_ep->fifo; in musb_read_fifo() local
/linux-2.6.39/drivers/ata/
Dpata_amd.c183 u8 fifo = fifobit[ap->port_no]; in amd_fifo_setup() local
450 u8 fifo; in amd_clear_fifo() local
536 u8 fifo; in amd_init_one() local
/linux-2.6.39/drivers/scsi/arm/
Dmsgqueue.h18 int fifo; member
/linux-2.6.39/drivers/net/wireless/iwlwifi/
Diwl-agn-ucode.c46 s8 fifo, ac; member
511 int fifo = queue_to_fifo[i].fifo; in iwlagn_alive_notify() local

12345