Home
last modified time | relevance | path

Searched refs:fifo (Results 1 – 6 of 6) sorted by relevance

/include/linux/
Dkfifo.h116 #define __is_kfifo_ptr(fifo) (sizeof(*fifo) == sizeof(struct __kfifo)) argument
123 #define DECLARE_KFIFO_PTR(fifo, type) STRUCT_KFIFO_PTR(type) fifo argument
131 #define DECLARE_KFIFO(fifo, type, size) STRUCT_KFIFO(type, size) fifo argument
137 #define INIT_KFIFO(fifo) \ argument
139 typeof(&(fifo)) __tmp = &(fifo); \
156 #define DEFINE_KFIFO(fifo, type, size) \ argument
157 DECLARE_KFIFO(fifo, type, size) = \
158 (typeof(fifo)) { \
163 .mask = __is_kfifo_ptr(&(fifo)) ? \
165 ARRAY_SIZE((fifo).buf) - 1, \
[all …]
/include/linux/fsl/bestcomm/
Dgen_bd.h26 bcom_gen_bd_rx_init(int queue_len, phys_addr_t fifo,
37 bcom_gen_bd_tx_init(int queue_len, phys_addr_t fifo,
49 phys_addr_t fifo, int maxbufsize);
51 phys_addr_t fifo);
Dfec.h41 bcom_fec_rx_init(int queue_len, phys_addr_t fifo, int maxbufsize);
51 bcom_fec_tx_init(int queue_len, phys_addr_t fifo);
/include/media/
Dlirc_dev.h31 struct kfifo fifo; member
38 if (kfifo_initialized(&buf->fifo)) { in lirc_buffer_clear()
40 kfifo_reset(&buf->fifo); in lirc_buffer_clear()
57 ret = kfifo_alloc(&buf->fifo, size * chunk_size, GFP_KERNEL); in lirc_buffer_init()
64 if (kfifo_initialized(&buf->fifo)) { in lirc_buffer_free()
65 kfifo_free(&buf->fifo); in lirc_buffer_free()
77 len = kfifo_len(&buf->fifo); in lirc_buffer_len()
104 ret = kfifo_out_locked(&buf->fifo, dest, buf->chunk_size, in lirc_buffer_read()
115 ret = kfifo_in_locked(&buf->fifo, orig, buf->chunk_size, in lirc_buffer_write()
/include/linux/spi/
Dcc2520.h18 int fifo; member
/include/linux/mtd/
Dsh_flctl.h150 resource_size_t fifo; member