Searched refs:kfifo_len (Results 1 - 25 of 38) sorted by relevance
12
/linux-master/samples/kfifo/ |
H A D | dma-example.c | 45 printk(KERN_INFO "queue len: %u\n", kfifo_len(&fifo)); 121 ret = kfifo_len(&fifo); 122 printk(KERN_INFO "queue len: %u\n", kfifo_len(&fifo));
|
H A D | bytestream-example.c | 68 printk(KERN_INFO "fifo len: %u\n", kfifo_len(&test)); 89 printk(KERN_INFO "queue len: %u\n", kfifo_len(&test));
|
H A D | inttype-example.c | 65 printk(KERN_INFO "fifo len: %u\n", kfifo_len(&test)); 82 printk(KERN_INFO "queue len: %u\n", kfifo_len(&test));
|
H A D | record-example.c | 93 printk(KERN_INFO "fifo len: %u\n", kfifo_len(&test));
|
/linux-master/drivers/media/platform/amphion/ |
H A D | vpu_msgs.c | 257 if (kfifo_len(&inst->msg_fifo) < bytes) 355 while (kfifo_len(&core->msg_fifo) >= SIZE) { 384 if (kfifo_len(&core->msg_fifo) >= bytes) 394 if (inst->workqueue && kfifo_len(&inst->msg_fifo) >= bytes)
|
H A D | vpu_dbg.c | 198 num = scnprintf(str, sizeof(str), "kfifo len = 0x%x\n", kfifo_len(&inst->msg_fifo)); 280 num = scnprintf(str, sizeof(str), "kfifo len = 0x%x\n", kfifo_len(&core->msg_fifo));
|
/linux-master/include/linux/ |
H A D | kfifo.h | 230 * 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) : \
|
/linux-master/drivers/iio/buffer/ |
H A D | kfifo_buf.c | 126 samples = kfifo_len(&kf->kf);
|
/linux-master/drivers/tty/serial/ |
H A D | kgdb_nmi.c | 200 !kfifo_len(&priv->fifo)))
|
/linux-master/drivers/mmc/core/ |
H A D | sdio_uart.c | 424 if (tty == NULL || !kfifo_len(xmit) || 437 len = kfifo_len(xmit); 785 return FIFO_SIZE - kfifo_len(&port->xmit_fifo); 791 return kfifo_len(&port->xmit_fifo);
|
/linux-master/drivers/usb/serial/ |
H A D | generic.c | 166 if (!port->write_urbs_free || !kfifo_len(&port->write_fifo)) { 260 chars = kfifo_len(&port->write_fifo) + port->tx_bytes;
|
H A D | oti6858.c | 281 count = kfifo_len(&port->write_fifo); 387 chars = kfifo_len(&port->write_fifo); 740 count = kfifo_len(&port->write_fifo);
|
H A D | keyspan_pda.c | 481 count = kfifo_len(&port->write_fifo);
|
/linux-master/drivers/usb/host/ |
H A D | xhci-dbgtty.c | 32 len = kfifo_len(&port->write_fifo); 269 chars = kfifo_len(&port->write_fifo);
|
H A D | fhci.h | 485 return kfifo_len(kfifo) / sizeof(void *);
|
/linux-master/drivers/usb/gadget/function/ |
H A D | u_serial.c | 211 len = kfifo_len(&port->port_write_buf); 671 cond = p->port_usb == NULL || !kfifo_len(&p->port_write_buf) || 703 if (kfifo_len(&port->port_write_buf) > 0 && gser) { 809 chars = kfifo_len(&port->port_write_buf);
|
/linux-master/drivers/media/platform/chips-media/coda/ |
H A D | coda.h | 344 return kfifo_len(&ctx->bitstream_fifo);
|
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_smi_events.c | 97 to_copy = kfifo_len(&client->fifo);
|
/linux-master/sound/usb/line6/ |
H A D | driver.c | 570 while (kfifo_len(&line6->messages.fifo) == 0) { 578 kfifo_len(&line6->messages.fifo) != 0); 632 rv = kfifo_len(&line6->messages.fifo) == 0 ? 0 : EPOLLIN | EPOLLRDNORM;
|
/linux-master/drivers/char/ |
H A D | sonypi.c | 904 if ((kfifo_len(&sonypi_device.fifo) == 0) && 909 kfifo_len(&sonypi_device.fifo) != 0); 932 if (kfifo_len(&sonypi_device.fifo))
|
/linux-master/drivers/media/i2c/cx25840/ |
H A D | cx25840-ir.c | 618 if (kfifo_len(&ir_state->rx_kfifo) >= CX25840_IR_RX_KFIFO_SIZE / 2) 846 n = CX25840_IR_TX_KFIFO_SIZE - kfifo_len(ir_state->tx_kfifo);
|
/linux-master/drivers/net/wireless/marvell/libertas/ |
H A D | main.c | 474 else if (kfifo_len(&priv->event_fifo)) 526 while (kfifo_len(&priv->event_fifo)) {
|
H A D | cmd.c | 1396 if (!kfifo_len(&priv->event_fifo) && !priv->resp_len[priv->resp_idx]) 1428 if (kfifo_len(&priv->event_fifo) || priv->resp_len[priv->resp_idx]) {
|
/linux-master/drivers/mtd/ |
H A D | sm_ftl.c | 861 if (!kfifo_len(&zone->free_sectors)) { 868 i %= (kfifo_len(&zone->free_sectors) / 2);
|
/linux-master/drivers/tty/ |
H A D | nozomi.c | 909 if (kfifo_len(&dc->port[port].fifo_ul)) { 913 kfifo_len(&dc->port[port].fifo_ul)); 1771 return kfifo_len(&port->fifo_ul);
|
Completed in 298 milliseconds
12