Home
last modified time | relevance | path

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

12

/linux/drivers/firmware/arm_scmi/
H A Dnotify.c243 struct kfifo kfifo; member
436 outs = kfifo_out(&eq->kfifo, pd->eh, in scmi_process_event_header()
442 kfifo_reset_out(&eq->kfifo); in scmi_process_event_header()
475 outs = kfifo_out(&eq->kfifo, pd->eh->payld, pd->eh->payld_sz); in scmi_process_event_payload()
484 kfifo_reset_out(&eq->kfifo); in scmi_process_event_payload()
602 if (kfifo_avail(&r_evt->proto->equeue.kfifo) < sizeof(eh) + len) { in scmi_notify()
617 kfifo_in(&r_evt->proto->equeue.kfifo, &eh, sizeof(eh)); in scmi_notify()
618 kfifo_in(&r_evt->proto->equeue.kfifo, buf, len); in scmi_notify()
641 static void scmi_kfifo_free(void *kfifo) in scmi_kfifo_free() argument
643 kfifo_free((struct kfifo *)kfifo); in scmi_kfifo_free()
[all …]
/linux/drivers/media/platform/chips-media/coda/
H A 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;
H A 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()
391 start = ctx->bitstream_fifo.kfifo.in; in coda_fill_bitstream()
[all …]
H A Dcoda.h261 struct kfifo bitstream_fifo;
354 return (int)(ctx->bitstream_fifo.kfifo.in - ALIGN(pos, 256)) > 512; in coda_bitstream_can_fetch_past()
/linux/drivers/iio/buffer/
H A DKconfig44 tristate "Industrial I/O buffering based on kfifo"
46 A simple fifo based on kfifo. Note that this currently provides
H A Dkfifo_buf.c18 struct kfifo kf;
/linux/Documentation/translations/zh_CN/core-api/
H A Dkernel-api.rst199 kfifo接口
204 include/linux/kfifo.h
/linux/include/linux/
H A Dgnss.h51 struct kfifo read_fifo;
/linux/drivers/mtd/
H A Dsm_ftl.h22 struct kfifo free_sectors; /* queue of free sectors */
/linux/drivers/scsi/ibmvscsi_tgt/
H A Dlibsrp.h79 struct kfifo queue;
/linux/samples/
H A DMakefile14 obj-$(CONFIG_SAMPLE_KFIFO) += kfifo/
H A DKconfig97 tristate "Build kfifo examples -- loadable modules only"
101 different kfifo sample modules showing how to use the
102 generic kfifo API.
/linux/drivers/platform/surface/aggregator/
H A Dssh_parser.h112 struct kfifo *fifo) in sshp_buf_read_from_fifo()
H A Dssh_packet_layer.h103 struct kfifo fifo;
/linux/samples/kfifo/
H A Ddma-example.c21 static struct kfifo fifo;
H A Dbytestream-example.c40 static struct kfifo test;
/linux/drivers/iio/dummy/
H A DKconfig42 Uses the kfifo buffer.
/linux/include/scsi/
H A Dlibiscsi_tcp.h72 struct kfifo r2tqueue;
/linux/arch/powerpc/sysdev/
H A Dfsl_rio.h102 struct kfifo pw_fifo;
/linux/drivers/net/wireless/marvell/libertas/
H A Ddev.h136 struct kfifo event_fifo;
/linux/drivers/crypto/caam/
H A Dcaamrng.c44 struct kfifo fifo;
/linux/include/linux/usb/
H A Dserial.h94 struct kfifo write_fifo;
/linux/drivers/soc/aspeed/
H A Daspeed-lpc-snoop.c77 struct kfifo fifo;
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_smi_events.c36 struct kfifo fifo;
/linux/drivers/mmc/core/
H A Dsdio_uart.c71 struct kfifo xmit_fifo;
409 struct kfifo *xmit = &port->xmit_fifo; in sdio_uart_transmit_chars()

12