| /Linux-v4.19/include/linux/ |
| D | kfifo.h | 68 struct __kfifo kfifo; \ 97 struct kfifo __STRUCT_KFIFO_PTR(unsigned char, 0, void); 141 struct __kfifo *__kfifo = &__tmp->kfifo; \ 195 #define kfifo_initialized(fifo) ((fifo)->kfifo.mask) 201 #define kfifo_esize(fifo) ((fifo)->kfifo.esize) 213 #define kfifo_size(fifo) ((fifo)->kfifo.mask + 1) 226 __tmp->kfifo.in = __tmp->kfifo.out = 0; \ 240 __tmp->kfifo.out = __tmp->kfifo.in; \ 250 __tmpl->kfifo.in - __tmpl->kfifo.out; \ 260 __tmpq->kfifo.in == __tmpq->kfifo.out; \ [all …]
|
| D | gnss.h | 50 struct kfifo read_fifo;
|
| /Linux-v4.19/drivers/usb/host/ |
| D | fhci.h | 403 struct kfifo empty_frame_Q; /* Empty frames list to use */ 404 struct kfifo conf_frame_Q; /* frames passed to TDs,waiting for tx */ 405 struct kfifo dummy_packets_Q;/* dummy packets for the CRC overun */ 473 static inline int cq_new(struct kfifo *fifo, int size) in cq_new() 478 static inline void cq_delete(struct kfifo *kfifo) in cq_delete() argument 480 kfifo_free(kfifo); in cq_delete() 483 static inline unsigned int cq_howmany(struct kfifo *kfifo) in cq_howmany() argument 485 return kfifo_len(kfifo) / sizeof(void *); in cq_howmany() 488 static inline int cq_put(struct kfifo *kfifo, void *p) in cq_put() argument 490 return kfifo_in(kfifo, (void *)&p, sizeof(p)); in cq_put() [all …]
|
| D | xhci-dbgcap.h | 127 struct kfifo write_fifo;
|
| /Linux-v4.19/drivers/infiniband/hw/cxgb3/ |
| D | cxio_resource.c | 42 static struct kfifo rhdl_fifo; 47 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()
|
| D | cxio_hal.h | 79 struct kfifo tpt_fifo; 81 struct kfifo qpid_fifo; 83 struct kfifo cqid_fifo; 85 struct kfifo pdid_fifo;
|
| /Linux-v4.19/drivers/media/platform/coda/ |
| D | coda-bit.c | 150 struct __kfifo *kfifo = &ctx->bitstream_fifo.kfifo; in coda_kfifo_sync_from_device() local 155 kfifo->out = (kfifo->in & ~kfifo->mask) | in coda_kfifo_sync_from_device() 157 if (kfifo->out > kfifo->in) in coda_kfifo_sync_from_device() 158 kfifo->out -= kfifo->mask + 1; in coda_kfifo_sync_from_device() 163 struct __kfifo *kfifo = &ctx->bitstream_fifo.kfifo; in coda_kfifo_sync_to_device_full() local 167 rd_ptr = ctx->bitstream.paddr + (kfifo->out & kfifo->mask); in coda_kfifo_sync_to_device_full() 169 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); in coda_kfifo_sync_to_device_full() 175 struct __kfifo *kfifo = &ctx->bitstream_fifo.kfifo; in coda_kfifo_sync_to_device_write() local 179 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); in coda_kfifo_sync_to_device_write() 302 start = ctx->bitstream_fifo.kfifo.in & in coda_fill_bitstream() [all …]
|
| /Linux-v4.19/drivers/media/pci/meye/ |
| D | meye.h | 305 struct kfifo grabq; /* queue for buffers to be grabbed */ 307 struct kfifo doneq; /* queue for grabbed buffers */
|
| /Linux-v4.19/drivers/iio/buffer/ |
| D | Kconfig | 43 tristate "Industrial I/O buffering based on kfifo" 45 A simple fifo based on kfifo. Note that this currently provides
|
| D | kfifo_buf.c | 17 struct kfifo kf;
|
| /Linux-v4.19/samples/ |
| D | Makefile | 4 hw_breakpoint/ kfifo/ kdb/ hidraw/ rpmsg/ seccomp/ \
|
| D | Kconfig | 50 tristate "Build kfifo examples -- loadable modules only" 54 different kfifo sample modules showing how to use the 55 generic kfifo API.
|
| /Linux-v4.19/drivers/media/rc/ |
| D | rc-ir-raw.c | 30 while (kfifo_out(&raw->kfifo, &ev, 1)) { in ir_raw_event_thread() 55 } else if (!kfifo_is_empty(&raw->kfifo)) in ir_raw_event_thread() 82 if (!kfifo_put(&dev->raw->kfifo, *ev)) { in ir_raw_event_store() 628 INIT_KFIFO(dev->raw->kfifo); in ir_raw_event_prepare()
|
| /Linux-v4.19/drivers/mtd/ |
| D | sm_ftl.h | 25 struct kfifo free_sectors; /* queue of free sectors */
|
| /Linux-v4.19/drivers/staging/pi433/Documentation/ |
| D | pi433.txt | 28 kfifo. With each write request of an application, the passed in data and the 29 corresponding parameter set gets written to the kfifo. 30 On the other "side" of the kfifo, the tx thread continuously checks, whether the 31 kfifo is empty. If not, it gets one set of config and data from the kfifo. If 37 is more data available in the kfifo, the procedure is repeated. If not the
|
| /Linux-v4.19/drivers/tty/serial/ |
| D | ifx6x60.h | 59 struct kfifo tx_fifo;
|
| /Linux-v4.19/drivers/scsi/ibmvscsi_tgt/ |
| D | libsrp.h | 79 struct kfifo queue;
|
| /Linux-v4.19/samples/kfifo/ |
| D | dma-example.c | 21 static struct kfifo fifo;
|
| D | bytestream-example.c | 42 static struct kfifo test;
|
| /Linux-v4.19/drivers/iio/dummy/ |
| D | Kconfig | 40 Uses the kfifo buffer.
|
| /Linux-v4.19/include/scsi/ |
| D | libiscsi_tcp.h | 84 struct kfifo r2tqueue;
|
| /Linux-v4.19/arch/powerpc/sysdev/ |
| D | fsl_rio.h | 106 struct kfifo pw_fifo;
|
| /Linux-v4.19/drivers/hid/ |
| D | wacom.h | 150 struct kfifo remote_fifo;
|
| /Linux-v4.19/drivers/staging/greybus/ |
| D | loopback.c | 68 struct kfifo kfifo_lat; 948 struct kfifo *kfifo, in gb_loopback_dbgfs_latency_show_common() argument 954 if (kfifo_len(kfifo) == 0) { in gb_loopback_dbgfs_latency_show_common() 960 retval = kfifo_out(kfifo, &latency, sizeof(latency)); in gb_loopback_dbgfs_latency_show_common()
|
| /Linux-v4.19/drivers/net/wireless/marvell/libertas/ |
| D | dev.h | 142 struct kfifo event_fifo;
|