Home
last modified time | relevance | path

Searched refs:kfifo_is_empty (Results 1 – 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/media/rc/
Dlirc_dev.c600 !kfifo_is_empty(&fh->scancodes)) in lirc_poll()
604 !kfifo_is_empty(&fh->rawir)) in lirc_poll()
623 if (kfifo_is_empty(&fh->rawir)) { in lirc_read_mode2()
628 !kfifo_is_empty(&fh->rawir) || in lirc_read_mode2()
662 if (kfifo_is_empty(&fh->scancodes)) { in lirc_read_scancode()
667 !kfifo_is_empty(&fh->scancodes) || in lirc_read_scancode()
Drc-ir-raw.c55 } else if (!kfifo_is_empty(&raw->kfifo)) in ir_raw_event_thread()
/kernel/linux/linux-5.10/drivers/soc/aspeed/
Daspeed-lpc-snoop.c89 if (kfifo_is_empty(&chan->fifo)) { in snoop_file_read()
93 !kfifo_is_empty(&chan->fifo)); in snoop_file_read()
110 return !kfifo_is_empty(&chan->fifo) ? EPOLLIN : 0; in snoop_file_poll()
/kernel/linux/linux-5.10/drivers/gnss/
Dcore.c96 while (kfifo_is_empty(&gdev->read_fifo)) { in gnss_read()
107 !kfifo_is_empty(&gdev->read_fifo)); in gnss_read()
194 if (!kfifo_is_empty(&gdev->read_fifo)) in gnss_poll()
/kernel/linux/linux-5.10/include/linux/
Dkfifo.h243 #define kfifo_is_empty(fifo) \ macro
260 __ret = kfifo_is_empty(fifo); \
275 __ret = kfifo_is_empty(fifo); \
454 __ret = !kfifo_is_empty(__tmp); \
493 __ret = !kfifo_is_empty(__tmp); \
/kernel/linux/linux-5.10/drivers/memstick/host/
Dr592.c330 if (!kfifo_is_empty(&dev->pio_fifo)) { in r592_write_fifo_pio()
345 WARN_ON(!kfifo_is_empty(&dev->pio_fifo)); in r592_write_fifo_pio()
365 if (kfifo_is_empty(&dev->pio_fifo)) in r592_flush_fifo_write()
383 if (!kfifo_is_empty(&dev->pio_fifo)) { in r592_read_fifo_pio()
389 if (!kfifo_is_empty(&dev->pio_fifo)) in r592_read_fifo_pio()
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/
Drt2800mmio.c320 if (!kfifo_is_empty(&rt2x00dev->txstatus_fifo)) in rt2800mmio_txstatus_tasklet()
351 if (!kfifo_is_empty(&rt2x00dev->txstatus_fifo)) in rt2800mmio_interrupt()
797 while (!kfifo_is_empty(&rt2x00dev->txstatus_fifo) || in rt2800mmio_work_txdone()
823 if (!kfifo_is_empty(&rt2x00dev->txstatus_fifo)) in rt2800mmio_tx_sta_fifo_timeout()
Drt2800usb.c461 while (!kfifo_is_empty(&rt2x00dev->txstatus_fifo) || in rt2800usb_work_txdone()
Drt2x00usb.c292 !kfifo_is_empty(&rt2x00dev->txstatus_fifo)) in rt2x00usb_interrupt_txdone()
/kernel/linux/linux-5.10/drivers/iio/
Dindustrialio-event.c110 if (!kfifo_is_empty(&ev_int->det_events)) in iio_event_poll()
134 if (kfifo_is_empty(&ev_int->det_events)) { in iio_event_chrdev_read()
139 !kfifo_is_empty(&ev_int->det_events) || in iio_event_chrdev_read()
/kernel/linux/linux-5.10/drivers/most/
Dmost_cdev.c249 (!kfifo_is_empty(&c->fifo) || in comp_read()
290 if (!c->dev || !kfifo_is_empty(&c->fifo)) in comp_poll()
293 if (!c->dev || !kfifo_is_empty(&c->fifo) || ch_has_mbo(c)) in comp_poll()
/kernel/linux/linux-5.10/samples/kfifo/
Drecord-example.c102 while (!kfifo_is_empty(&test)) { in testfunc()
/kernel/linux/linux-5.10/drivers/hid/
Dhid-sensor-custom.c649 if (kfifo_is_empty(&sensor_inst->data_fifo)) { in hid_sensor_custom_read()
654 !kfifo_is_empty(&sensor_inst->data_fifo)); in hid_sensor_custom_read()
704 if (!kfifo_is_empty(&sensor_inst->data_fifo)) in hid_sensor_custom_poll()
Dhid-debug.c1103 if (kfifo_is_empty(&list->hid_debug_fifo)) { in hid_debug_events_read()
1107 while (kfifo_is_empty(&list->hid_debug_fifo)) { in hid_debug_events_read()
1160 if (!kfifo_is_empty(&list->hid_debug_fifo)) in hid_debug_events_poll()
/kernel/linux/linux-5.10/drivers/crypto/caam/
Dcaamrng.c158 if (kfifo_is_empty(&ctx->fifo)) in caam_read()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpiolib-cdev.c1230 if (kfifo_is_empty(&lr->events)) { in linereq_read()
1242 !kfifo_is_empty(&lr->events)); in linereq_read()
1546 if (kfifo_is_empty(&le->events)) { in lineevent_read()
1558 !kfifo_is_empty(&le->events)); in lineevent_read()
2224 if (kfifo_is_empty(&cdev->events)) { in lineinfo_watch_read()
2236 !kfifo_is_empty(&cdev->events)); in lineinfo_watch_read()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_smi_events.c69 if (!kfifo_is_empty(&client->fifo)) in kfd_smi_ev_poll()
/kernel/linux/linux-5.10/drivers/media/radio/
Dradio-si476x.c1104 if (kfifo_is_empty(&radio->core->rds_fifo)) { in si476x_radio_fops_read()
1109 (!kfifo_is_empty(&radio->core->rds_fifo) || in si476x_radio_fops_read()
1147 if (!kfifo_is_empty(&radio->core->rds_fifo)) in si476x_radio_fops_poll()
/kernel/linux/linux-5.10/drivers/net/ieee802154/
Dca8210.c2576 if (kfifo_is_empty(&priv->test.up_fifo)) in ca8210_test_int_user_read()
2582 !kfifo_is_empty(&priv->test.up_fifo) in ca8210_test_int_user_read()
2660 if (!kfifo_is_empty(&priv->test.up_fifo)) in ca8210_test_int_poll()
2664 !kfifo_is_empty(&priv->test.up_fifo))) { in ca8210_test_int_poll()
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec/
Dsec_algs.c402 (kfifo_is_empty(&queue->softqueue) && in sec_send_request()
485 !kfifo_is_empty(&ctx->queue->softqueue) && in sec_skcipher_alg_callback()
/kernel/linux/linux-5.10/drivers/input/rmi4/
Drmi_driver.c211 if (!kfifo_is_empty(&drvdata->attn_fifo)) in rmi_irq_fn()
935 while (!kfifo_is_empty(&data->attn_fifo)) { in rmi_disable_irq()
/kernel/linux/linux-5.10/drivers/staging/pi433/
Dpi433_if.c570 (!kfifo_is_empty(&device->tx_fifo) || in pi433_tx_thread()
748 if (kfifo_is_empty(&device->tx_fifo)) { in pi433_tx_thread()
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Df_generic.c821 if (!kfifo_is_empty(&ffs->reqEventFifo)) { in ffs_ep0_ioctl()
871 if (!kfifo_is_empty(&ffs->reqEventFifo)) in ffs_ep0_poll()
1399 if (kfifo_is_empty(&epfile->reqEventFifo)) { in ffs_epfile_read()
1420 if (!kfifo_is_empty(&epfile->reqEventFifo)) { in ffs_epfile_poll()
Du_serial.c259 req->zero = kfifo_is_empty(&port->port_write_buf); in gs_start_tx()
/kernel/linux/linux-5.10/drivers/tty/serial/
Difx6x60.c496 is_fifo_empty = kfifo_is_empty(&ifx_dev->tx_fifo); in ifx_spi_write()

12