/kernel/linux/linux-5.10/include/linux/ |
H A D | kfifo.h | 14 * - Modify the declaration of the "struct kfifo *" object into a 15 * in-place "struct kfifo" object 17 * Note: The address of the in-place "struct kfifo" object must be 54 struct __kfifo kfifo; \ 81 * define compatibility "struct kfifo" for dynamic allocated fifos 83 struct kfifo __STRUCT_KFIFO_PTR(unsigned char, 0, void); 127 struct __kfifo *__kfifo = &__tmp->kfifo; \ 181 #define kfifo_initialized(fifo) ((fifo)->kfifo.mask) 187 #define kfifo_esize(fifo) ((fifo)->kfifo.esize) 199 #define kfifo_size(fifo) ((fifo)->kfifo [all...] |
H A D | gnss.h | 13 #include <linux/kfifo.h> 51 struct kfifo read_fifo;
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | kfifo.h | 14 * - Modify the declaration of the "struct kfifo *" object into a 15 * in-place "struct kfifo" object 17 * Note: The address of the in-place "struct kfifo" object must be 54 struct __kfifo kfifo; \ 81 * define compatibility "struct kfifo" for dynamic allocated fifos 83 struct kfifo __STRUCT_KFIFO_PTR(unsigned char, 0, void); 127 struct __kfifo *__kfifo = &__tmp->kfifo; \ 181 #define kfifo_initialized(fifo) ((fifo)->kfifo.mask) 187 #define kfifo_esize(fifo) ((fifo)->kfifo.esize) 199 #define kfifo_size(fifo) ((fifo)->kfifo [all...] |
H A D | gnss.h | 13 #include <linux/kfifo.h> 51 struct kfifo read_fifo;
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | fhci.h | 22 #include <linux/kfifo.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 488 cq_put(struct kfifo *kfifo, void *p) cq_put() argument 493 cq_get(struct kfifo *kfifo) cq_get() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | fhci.h | 22 #include <linux/kfifo.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 488 cq_put(struct kfifo *kfifo, void *p) cq_put() argument 493 cq_get(struct kfifo *kfifo) cq_get() argument [all...] |
/kernel/linux/linux-5.10/drivers/firmware/arm_scmi/ |
H A D | notify.c | 54 * pushes the event-data itself on a protocol-dedicated kfifo queue for further 84 #include <linux/kfifo.h> 232 * @sz: Size in bytes of the related kfifo 233 * @kfifo: A dedicated Kernel kfifo descriptor 241 struct kfifo kfifo; member 273 * deferred worker when fetching data from the kfifo 428 outs = kfifo_out(&eq->kfifo, pd->eh, in scmi_process_event_header() 434 kfifo_reset_out(&eq->kfifo); in scmi_process_event_header() 635 scmi_kfifo_free(void *kfifo) scmi_kfifo_free() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/coda/ |
H A D | trace.h | 100 __entry->start = meta->start & ctx->bitstream_fifo.kfifo.mask; 101 __entry->end = meta->end & ctx->bitstream_fifo.kfifo.mask; 131 ctx->bitstream_fifo.kfifo.mask) : 0; 133 ctx->bitstream_fifo.kfifo.mask) : 0;
|
H A 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 in coda_kfifo_sync_to_device_full() local 175 struct __kfifo *kfifo = &ctx->bitstream_fifo.kfifo; coda_kfifo_sync_to_device_write() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/chips-media/ |
H A D | trace.h | 100 __entry->start = meta->start & ctx->bitstream_fifo.kfifo.mask; 101 __entry->end = meta->end & ctx->bitstream_fifo.kfifo.mask; 131 ctx->bitstream_fifo.kfifo.mask) : 0; 133 ctx->bitstream_fifo.kfifo.mask) : 0;
|
H A D | coda-bit.c | 151 struct __kfifo *kfifo = &ctx->bitstream_fifo.kfifo; in coda_kfifo_sync_from_device() local 156 kfifo->out = (kfifo->in & ~kfifo->mask) | in coda_kfifo_sync_from_device() 158 if (kfifo->out > kfifo->in) in coda_kfifo_sync_from_device() 159 kfifo->out -= kfifo->mask + 1; in coda_kfifo_sync_from_device() 164 struct __kfifo *kfifo in coda_kfifo_sync_to_device_full() local 176 struct __kfifo *kfifo = &ctx->bitstream_fifo.kfifo; coda_kfifo_sync_to_device_write() local [all...] |
/kernel/linux/linux-6.6/drivers/firmware/arm_scmi/ |
H A D | notify.c | 54 * pushes the event-data itself on a protocol-dedicated kfifo queue for further 84 #include <linux/kfifo.h> 233 * @sz: Size in bytes of the related kfifo 234 * @kfifo: A dedicated Kernel kfifo descriptor 242 struct kfifo kfifo; member 274 * deferred worker when fetching data from the kfifo 431 outs = kfifo_out(&eq->kfifo, pd->eh, in scmi_process_event_header() 437 kfifo_reset_out(&eq->kfifo); in scmi_process_event_header() 636 scmi_kfifo_free(void *kfifo) scmi_kfifo_free() argument [all...] |
/kernel/linux/linux-5.10/drivers/mtd/ |
H A D | sm_ftl.h | 12 #include <linux/kfifo.h> 22 struct kfifo free_sectors; /* queue of free sectors */
|
/kernel/linux/linux-6.6/drivers/mtd/ |
H A D | sm_ftl.h | 12 #include <linux/kfifo.h> 22 struct kfifo free_sectors; /* queue of free sectors */
|
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi_tgt/ |
H A D | libsrp.h | 6 #include <linux/kfifo.h> 79 struct kfifo queue;
|
/kernel/linux/linux-5.10/samples/kfifo/ |
H A D | dma-example.c | 10 #include <linux/kfifo.h> 19 static struct kfifo fifo; 48 * Configure the kfifo buffer to receive data from DMA input. in example_init() 59 * end of the kfifo buffer (19 bytes) and another for the first free in example_init()
|
H A D | bytestream-example.c | 3 * Sample kfifo byte stream implementation 12 #include <linux/kfifo.h> 40 static struct kfifo test;
|
/kernel/linux/linux-6.6/drivers/scsi/ibmvscsi_tgt/ |
H A D | libsrp.h | 6 #include <linux/kfifo.h> 79 struct kfifo queue;
|
/kernel/linux/linux-6.6/drivers/platform/surface/aggregator/ |
H A D | ssh_parser.h | 12 #include <linux/kfifo.h> 112 struct kfifo *fifo) in sshp_buf_read_from_fifo()
|
/kernel/linux/linux-6.6/samples/kfifo/ |
H A D | dma-example.c | 10 #include <linux/kfifo.h> 19 static struct kfifo fifo; 48 * Configure the kfifo buffer to receive data from DMA input. in example_init() 59 * end of the kfifo buffer (19 bytes) and another for the first free in example_init()
|
/kernel/linux/linux-5.10/drivers/staging/fieldbus/anybuss/ |
H A D | host.c | 149 #include <linux/kfifo.h> 324 ab_task_dequeue_finish_put(struct kfifo *q, struct anybuss_host *cd) in ab_task_dequeue_finish_put() 336 ab_task_enqueue(struct ab_task *t, struct kfifo *q, spinlock_t *slock, in ab_task_enqueue() 353 ab_task_enqueue_wait(struct ab_task *t, struct kfifo *q, spinlock_t *slock, in ab_task_enqueue_wait() 382 struct kfifo qs[3]; 383 struct kfifo *powerq; 384 struct kfifo *mboxq; 385 struct kfifo *areaq; 862 static void process_q(struct anybuss_host *cd, struct kfifo *q) in process_q() 875 static bool qs_have_work(struct kfifo *q [all...] |
/kernel/linux/linux-6.6/drivers/staging/fieldbus/anybuss/ |
H A D | host.c | 149 #include <linux/kfifo.h> 324 ab_task_dequeue_finish_put(struct kfifo *q, struct anybuss_host *cd) in ab_task_dequeue_finish_put() 336 ab_task_enqueue(struct ab_task *t, struct kfifo *q, spinlock_t *slock, in ab_task_enqueue() 353 ab_task_enqueue_wait(struct ab_task *t, struct kfifo *q, spinlock_t *slock, in ab_task_enqueue_wait() 382 struct kfifo qs[3]; 383 struct kfifo *powerq; 384 struct kfifo *mboxq; 385 struct kfifo *areaq; 862 static void process_q(struct anybuss_host *cd, struct kfifo *q) in process_q() 875 static bool qs_have_work(struct kfifo *q [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/meye/ |
H A D | meye.h | 28 #include <linux/kfifo.h> 296 struct kfifo grabq; /* queue for buffers to be grabbed */ 298 struct kfifo doneq; /* queue for grabbed buffers */
|
/kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
H A D | fsl_rio.h | 28 #include <linux/kfifo.h> 102 struct kfifo pw_fifo;
|
/kernel/linux/linux-6.6/arch/powerpc/sysdev/ |
H A D | fsl_rio.h | 28 #include <linux/kfifo.h> 102 struct kfifo pw_fifo;
|