| /OK3568_Linux_fs/kernel/samples/kfifo/ |
| H A D | dma-example.c | 45 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 D | inttype-example.c | 65 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 D | bytestream-example.c | 68 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 D | record-example.c | 93 printk(KERN_INFO "fifo len: %u\n", kfifo_len(&test)); in testfunc()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | kfifo.h | 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) : \
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_linux_wq.c | 67 #define kfifo_avail(fifo) (fifo->size - kfifo_len(fifo)) 73 ((fifo) && (kfifo_len(fifo) >= DEFRD_EVT_SIZE))
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_linux_wq.c | 67 #define kfifo_avail(fifo) (fifo->size - kfifo_len(fifo)) 73 ((fifo) && (kfifo_len(fifo) >= DEFRD_EVT_SIZE))
|
| /OK3568_Linux_fs/kernel/drivers/tty/serial/ |
| H A D | ifx6x60.c | 447 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()
|
| H A D | kgdb_nmi.c | 200 !kfifo_len(&priv->fifo))) in kgdb_nmi_tty_receiver()
|
| /OK3568_Linux_fs/kernel/sound/usb/line6/ |
| H A D | driver.c | 569 while (kfifo_len(&line6->messages.fifo) == 0) { in line6_hwdep_read() 577 kfifo_len(&line6->messages.fifo) != 0); in line6_hwdep_read() 631 rv = kfifo_len(&line6->messages.fifo) == 0 ? 0 : EPOLLIN | EPOLLRDNORM; in line6_hwdep_poll()
|
| /OK3568_Linux_fs/kernel/drivers/mmc/core/ |
| H A D | sdio_uart.c | 441 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()
|
| /OK3568_Linux_fs/kernel/drivers/usb/serial/ |
| H A D | oti6858.c | 280 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()
|
| H A D | generic.c | 166 if (!port->write_urbs_free || !kfifo_len(&port->write_fifo)) { in usb_serial_generic_write_start() 260 chars = kfifo_len(&port->write_fifo) + port->tx_bytes; in usb_serial_generic_chars_in_buffer()
|
| /OK3568_Linux_fs/kernel/drivers/soc/rockchip/fiq_debugger/ |
| H A D | rk_fiq_debugger.c | 241 return (TTY_FIFO_SIZE - kfifo_len(&tty_fifo)); in write_room() 405 if (kfifo_len(&fifo) + count <= FIFO_SIZE) in console_write() 426 if (kfifo_len(&tty_fifo) + count <= TTY_FIFO_SIZE) in tty_write()
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | xhci-dbgtty.c | 32 len = kfifo_len(&port->write_fifo); in dbc_send_packet() 263 chars = kfifo_len(&port->write_fifo); in dbc_tty_chars_in_buffer()
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/function/ |
| H A D | u_serial.c | 207 len = kfifo_len(&port->port_write_buf); in gs_send_packet() 663 cond = p->port_usb == NULL || !kfifo_len(&p->port_write_buf) || in gs_close_flush_done() 695 if (kfifo_len(&port->port_write_buf) > 0 && gser) { in gs_close() 801 chars = kfifo_len(&port->port_write_buf); in gs_chars_in_buffer()
|
| /OK3568_Linux_fs/kernel/drivers/iio/buffer/ |
| H A D | kfifo_buf.c | 126 samples = kfifo_len(&kf->kf); in iio_kfifo_buf_data_available()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | dhd_linux_wq.c | 69 ((fifo) && (kfifo_len(fifo) >= DEFRD_EVT_SIZE))
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | dhd_linux_wq.c | 70 ((fifo) && (kfifo_len(fifo) >= DEFRD_EVT_SIZE))
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | dhd_linux_wq.c | 70 ((fifo) && (kfifo_len(fifo) >= DEFRD_EVT_SIZE))
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | dhd_linux_wq.c | 70 ((fifo) && (kfifo_len(fifo) >= DEFRD_EVT_SIZE))
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_smi_events.c | 92 to_copy = kfifo_len(&client->fifo); in kfd_smi_ev_read()
|
| /OK3568_Linux_fs/kernel/drivers/char/ |
| H A D | sonypi.c | 904 if ((kfifo_len(&sonypi_device.fifo) == 0) && in sonypi_misc_read() 909 kfifo_len(&sonypi_device.fifo) != 0); in sonypi_misc_read() 932 if (kfifo_len(&sonypi_device.fifo)) in sonypi_misc_poll()
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/coda/ |
| H A D | coda.h | 333 return kfifo_len(&ctx->bitstream_fifo); in coda_get_bitstream_payload()
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/meye/ |
| H A D | meye.c | 1309 if (kfifo_len(&meye.doneq) == 0 && file->f_flags & O_NONBLOCK) { in vidioc_dqbuf() 1315 kfifo_len(&meye.doneq) != 0) < 0) { in vidioc_dqbuf() 1415 if (kfifo_len(&meye.doneq)) in meye_poll()
|