Home
last modified time | relevance | path

Searched refs:kfifo_len (Results 1 - 25 of 74) sorted by relevance

123

/kernel/linux/linux-5.10/samples/kfifo/
H A Ddma-example.c45 printk(KERN_INFO "queue len: %u\n", kfifo_len(&fifo)); in example_init()
121 ret = kfifo_len(&fifo); in example_init()
122 printk(KERN_INFO "queue len: %u\n", kfifo_len(&fifo)); in example_init()
H A Dbytestream-example.c68 printk(KERN_INFO "fifo len: %u\n", kfifo_len(&test)); in testfunc()
89 printk(KERN_INFO "queue len: %u\n", kfifo_len(&test)); in testfunc()
H A Dinttype-example.c65 printk(KERN_INFO "fifo len: %u\n", kfifo_len(&test)); in testfunc()
82 printk(KERN_INFO "queue len: %u\n", kfifo_len(&test)); in testfunc()
H A Drecord-example.c93 printk(KERN_INFO "fifo len: %u\n", kfifo_len(&test)); in testfunc()
/kernel/linux/linux-6.6/samples/kfifo/
H A Ddma-example.c45 printk(KERN_INFO "queue len: %u\n", kfifo_len(&fifo)); in example_init()
121 ret = kfifo_len(&fifo); in example_init()
122 printk(KERN_INFO "queue len: %u\n", kfifo_len(&fifo)); in example_init()
H A Dbytestream-example.c68 printk(KERN_INFO "fifo len: %u\n", kfifo_len(&test)); in testfunc()
89 printk(KERN_INFO "queue len: %u\n", kfifo_len(&test)); in testfunc()
H A Dinttype-example.c65 printk(KERN_INFO "fifo len: %u\n", kfifo_len(&test)); in testfunc()
82 printk(KERN_INFO "queue len: %u\n", kfifo_len(&test)); in testfunc()
H A Drecord-example.c93 printk(KERN_INFO "fifo len: %u\n", kfifo_len(&test)); in testfunc()
/kernel/linux/linux-6.6/drivers/media/platform/amphion/
H A Dvpu_msgs.c257 if (kfifo_len(&inst->msg_fifo) < bytes) in vpu_inst_receive_msg()
355 while (kfifo_len(&core->msg_fifo) >= SIZE) { in vpu_core_run_msg_work()
384 if (kfifo_len(&core->msg_fifo) >= bytes) in vpu_msg_delayed_work()
394 if (inst->workqueue && kfifo_len(&inst->msg_fifo) >= bytes) in vpu_msg_delayed_work()
H A Dvpu_dbg.c184 num = scnprintf(str, sizeof(str), "kfifo len = 0x%x\n", kfifo_len(&inst->msg_fifo)); in vpu_dbg_instance()
266 num = scnprintf(str, sizeof(str), "kfifo len = 0x%x\n", kfifo_len(&core->msg_fifo)); in vpu_dbg_core()
/kernel/linux/linux-5.10/include/linux/
H A Dkfifo.h230 * kfifo_len - returns the number of used elements in the fifo
233 #define kfifo_len(fifo) \ macro
287 kfifo_len(__tmpq) > __tmpq->kfifo.mask; \
299 unsigned int __avail = kfifo_size(__tmpq) - kfifo_len(__tmpq); \
333 (!__recsize) ? kfifo_len(__tmp) * sizeof(*__tmp->type) : \
/kernel/linux/linux-6.6/include/linux/
H A Dkfifo.h230 * kfifo_len - returns the number of used elements in the fifo
233 #define kfifo_len(fifo) \ macro
287 kfifo_len(__tmpq) > __tmpq->kfifo.mask; \
299 unsigned int __avail = kfifo_size(__tmpq) - kfifo_len(__tmpq); \
333 (!__recsize) ? kfifo_len(__tmp) * sizeof(*__tmp->type) : \
/kernel/linux/linux-5.10/drivers/mmc/core/
H A Dsdio_uart.c441 if (tty == NULL || !kfifo_len(xmit) || in sdio_uart_transmit_chars()
454 len = kfifo_len(xmit); in sdio_uart_transmit_chars()
803 return FIFO_SIZE - kfifo_len(&port->xmit_fifo); in sdio_uart_write_room()
809 return kfifo_len(&port->xmit_fifo); in sdio_uart_chars_in_buffer()
/kernel/linux/linux-5.10/drivers/tty/serial/
H A Difx6x60.c447 queue_length = kfifo_len(&ifx_dev->tx_fifo); in ifx_spi_prepare_tx_buffer()
515 return IFX_SPI_FIFO_SIZE - kfifo_len(&ifx_dev->tx_fifo); in ifx_spi_write_room()
528 return kfifo_len(&ifx_dev->tx_fifo); in ifx_spi_chars_in_buffer()
691 queue_length = kfifo_len(&ifx_dev->tx_fifo); in ifx_spi_complete()
/kernel/linux/linux-6.6/drivers/mmc/core/
H A Dsdio_uart.c428 if (tty == NULL || !kfifo_len(xmit) || in sdio_uart_transmit_chars()
441 len = kfifo_len(xmit); in sdio_uart_transmit_chars()
789 return FIFO_SIZE - kfifo_len(&port->xmit_fifo); in sdio_uart_write_room()
795 return kfifo_len(&port->xmit_fifo); in sdio_uart_chars_in_buffer()
/kernel/linux/linux-5.10/drivers/iio/buffer/
H A Dkfifo_buf.c126 samples = kfifo_len(&kf->kf); in iio_kfifo_buf_data_available()
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci-dbgtty.c32 len = kfifo_len(&port->write_fifo); in dbc_send_packet()
263 chars = kfifo_len(&port->write_fifo); in dbc_tty_chars_in_buffer()
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxhci-dbgtty.c32 len = kfifo_len(&port->write_fifo); in dbc_send_packet()
269 chars = kfifo_len(&port->write_fifo); in dbc_tty_chars_in_buffer()
/kernel/linux/linux-5.10/drivers/usb/serial/
H A Doti6858.c280 count = kfifo_len(&port->write_fifo); in send_data()
388 chars = kfifo_len(&port->write_fifo); in oti6858_chars_in_buffer()
741 count = kfifo_len(&port->write_fifo); in oti6858_read_int_callback()
/kernel/linux/linux-5.10/sound/usb/line6/
H A Ddriver.c570 while (kfifo_len(&line6->messages.fifo) == 0) { in line6_hwdep_read()
578 kfifo_len(&line6->messages.fifo) != 0); in line6_hwdep_read()
632 rv = kfifo_len(&line6->messages.fifo) == 0 ? 0 : EPOLLIN | EPOLLRDNORM; in line6_hwdep_poll()
/kernel/linux/linux-6.6/drivers/usb/serial/
H A Doti6858.c281 count = kfifo_len(&port->write_fifo); in send_data()
387 chars = kfifo_len(&port->write_fifo); in oti6858_chars_in_buffer()
741 count = kfifo_len(&port->write_fifo); in oti6858_read_int_callback()
/kernel/linux/linux-6.6/sound/usb/line6/
H A Ddriver.c570 while (kfifo_len(&line6->messages.fifo) == 0) { in line6_hwdep_read()
578 kfifo_len(&line6->messages.fifo) != 0); in line6_hwdep_read()
632 rv = kfifo_len(&line6->messages.fifo) == 0 ? 0 : EPOLLIN | EPOLLRDNORM; in line6_hwdep_poll()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_smi_events.c92 to_copy = kfifo_len(&client->fifo); in kfd_smi_ev_read()
/kernel/linux/linux-6.6/drivers/iio/buffer/
H A Dkfifo_buf.c126 samples = kfifo_len(&kf->kf); in iio_kfifo_buf_data_available()
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
H A Du_serial.c210 len = kfifo_len(&port->port_write_buf); in gs_send_packet()
668 cond = p->port_usb == NULL || !kfifo_len(&p->port_write_buf) || in gs_close_flush_done()
700 if (kfifo_len(&port->port_write_buf) > 0 && gser) { in gs_close()
806 chars = kfifo_len(&port->port_write_buf); in gs_chars_in_buffer()

Completed in 22 milliseconds

123