Searched refs:__kfifo (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/include/linux/ |
D | kfifo.h | 44 struct __kfifo { struct 54 struct __kfifo kfifo; \ argument 127 struct __kfifo *__kfifo = &__tmp->kfifo; \ 128 __kfifo->in = 0; \ 129 __kfifo->out = 0; \ 130 __kfifo->mask = __is_kfifo_ptr(__tmp) ? 0 : ARRAY_SIZE(__tmp->buf) - 1;\ 131 __kfifo->esize = sizeof(*__tmp->buf); \ 132 __kfifo->data = __is_kfifo_ptr(__tmp) ? NULL : __tmp->buf; \ 314 struct __kfifo *__kfifo = &__tmp->kfifo; \ 316 __kfifo_skip_r(__kfifo, __recsize); \ [all …]
|
/linux-6.1.9/lib/ |
D | kfifo.c | 19 static inline unsigned int kfifo_unused(struct __kfifo *fifo) in kfifo_unused() 24 int __kfifo_alloc(struct __kfifo *fifo, unsigned int size, in __kfifo_alloc() 55 void __kfifo_free(struct __kfifo *fifo) in __kfifo_free() 66 int __kfifo_init(struct __kfifo *fifo, void *buffer, in __kfifo_init() 89 static void kfifo_copy_in(struct __kfifo *fifo, const void *src, in kfifo_copy_in() 113 unsigned int __kfifo_in(struct __kfifo *fifo, in __kfifo_in() 128 static void kfifo_copy_out(struct __kfifo *fifo, void *dst, in kfifo_copy_out() 152 unsigned int __kfifo_out_peek(struct __kfifo *fifo, in __kfifo_out_peek() 166 unsigned int __kfifo_out(struct __kfifo *fifo, in __kfifo_out() 175 static unsigned long kfifo_copy_from_user(struct __kfifo *fifo, in kfifo_copy_from_user() [all …]
|
/linux-6.1.9/drivers/iio/buffer/ |
D | kfifo_buf.c | 38 return __kfifo_alloc((struct __kfifo *)&buf->kf, length, in __iio_allocate_kfifo()
|
/linux-6.1.9/sound/soc/intel/avs/ |
D | utils.c | 307 struct __kfifo *__fifo = &fifo->kfifo; in __kfifo_fromio_locked()
|
/linux-6.1.9/drivers/media/platform/chips-media/ |
D | coda-bit.c | 151 struct __kfifo *kfifo = &ctx->bitstream_fifo.kfifo; in coda_kfifo_sync_from_device() 164 struct __kfifo *kfifo = &ctx->bitstream_fifo.kfifo; in coda_kfifo_sync_to_device_full() 176 struct __kfifo *kfifo = &ctx->bitstream_fifo.kfifo; in coda_kfifo_sync_to_device_write()
|