Home
last modified time | relevance | path

Searched refs:kfifo (Results 1 – 25 of 47) sorted by relevance

12

/drivers/usb/host/
Dfhci.h403 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 …]
Dxhci-dbgcap.h110 struct kfifo write_fifo;
/drivers/firmware/arm_scmi/
Dnotify.c242 struct kfifo kfifo; member
431 outs = kfifo_out(&eq->kfifo, pd->eh, in scmi_process_event_header()
437 kfifo_reset_out(&eq->kfifo); in scmi_process_event_header()
470 outs = kfifo_out(&eq->kfifo, pd->eh->payld, pd->eh->payld_sz); in scmi_process_event_payload()
479 kfifo_reset_out(&eq->kfifo); in scmi_process_event_payload()
597 if (kfifo_avail(&r_evt->proto->equeue.kfifo) < sizeof(eh) + len) { in scmi_notify()
612 kfifo_in(&r_evt->proto->equeue.kfifo, &eh, sizeof(eh)); in scmi_notify()
613 kfifo_in(&r_evt->proto->equeue.kfifo, buf, len); in scmi_notify()
636 static void scmi_kfifo_free(void *kfifo) in scmi_kfifo_free() argument
638 kfifo_free((struct kfifo *)kfifo); in scmi_kfifo_free()
[all …]
/drivers/media/platform/coda/
Dtrace.h100 __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;
Dcoda-bit.c151 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 = &ctx->bitstream_fifo.kfifo; in coda_kfifo_sync_to_device_full() local
168 rd_ptr = ctx->bitstream.paddr + (kfifo->out & kfifo->mask); in coda_kfifo_sync_to_device_full()
170 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); in coda_kfifo_sync_to_device_full()
176 struct __kfifo *kfifo = &ctx->bitstream_fifo.kfifo; in coda_kfifo_sync_to_device_write() local
180 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); in coda_kfifo_sync_to_device_write()
389 start = ctx->bitstream_fifo.kfifo.in; in coda_fill_bitstream()
[all …]
Dcoda.h261 struct kfifo bitstream_fifo;
354 return (int)(ctx->bitstream_fifo.kfifo.in - ALIGN(pos, 256)) > 512; in coda_bitstream_can_fetch_past()
/drivers/staging/fieldbus/anybuss/
Dhost.c324 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 *qs, size_t num) in qs_have_work()
892 struct kfifo *qs = cd->qs; in process_qs()
[all …]
/drivers/media/pci/meye/
Dmeye.h296 struct kfifo grabq; /* queue for buffers to be grabbed */
298 struct kfifo doneq; /* queue for grabbed buffers */
/drivers/iio/buffer/
DKconfig44 tristate "Industrial I/O buffering based on kfifo"
46 A simple fifo based on kfifo. Note that this currently provides
Dkfifo_buf.c18 struct kfifo kf;
/drivers/media/rc/
Drc-ir-raw.c30 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()
Drc-core-priv.h52 DECLARE_KFIFO(kfifo, struct ir_raw_event, MAX_IR_EVENT_SIZE);
/drivers/staging/pi433/Documentation/
Dpi433.txt28 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
/drivers/mtd/
Dsm_ftl.h22 struct kfifo free_sectors; /* queue of free sectors */
/drivers/scsi/ibmvscsi_tgt/
Dlibsrp.h79 struct kfifo queue;
/drivers/staging/greybus/
Dloopback.c63 struct kfifo kfifo_lat;
941 struct kfifo *kfifo, in gb_loopback_dbgfs_latency_show_common() argument
947 if (kfifo_len(kfifo) == 0) { in gb_loopback_dbgfs_latency_show_common()
953 retval = kfifo_out(kfifo, &latency, sizeof(latency)); in gb_loopback_dbgfs_latency_show_common()
/drivers/platform/surface/aggregator/
Dssh_parser.h112 struct kfifo *fifo) in sshp_buf_read_from_fifo()
Dssh_packet_layer.h103 struct kfifo fifo;
/drivers/iio/dummy/
DKconfig42 Uses the kfifo buffer.
/drivers/hid/
Dwacom.h148 struct kfifo remote_fifo;
/drivers/net/wireless/marvell/libertas/
Ddev.h140 struct kfifo event_fifo;
/drivers/crypto/caam/
Dcaamrng.c42 struct kfifo fifo;
/drivers/gpu/drm/amd/amdkfd/
Dkfd_smi_events.c34 struct kfifo fifo;
/drivers/mailbox/
DKconfig72 int "Mailbox kfifo default buffer size (bytes)"
76 Specify the default size of mailbox's kfifo buffers (bytes).
/drivers/soc/aspeed/
Daspeed-lpc-snoop.c62 struct kfifo fifo;

12