Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/media/rc/
H A 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()
/OK3568_Linux_fs/kernel/drivers/soc/aspeed/
H A 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()
/OK3568_Linux_fs/kernel/include/linux/
H A 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); \
/OK3568_Linux_fs/kernel/drivers/tty/hvc/
H A Dhvc_dcc.c183 if (smp_processor_id() || (!kfifo_is_empty(&outbuf))) { in hvc_dcc0_put_chars()
215 if (smp_processor_id() || (!kfifo_is_empty(&inbuf))) { in hvc_dcc0_get_chars()
/OK3568_Linux_fs/kernel/drivers/gnss/
H A 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()
/OK3568_Linux_fs/kernel/drivers/memstick/host/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ralink/rt2x00/
H A 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()
/OK3568_Linux_fs/kernel/drivers/most/
H A 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()
/OK3568_Linux_fs/kernel/drivers/iio/
H A 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()
/OK3568_Linux_fs/kernel/drivers/soc/rockchip/fiq_debugger/
H A Drk_fiq_debugger.c337 if (console_thread_stop || (kfifo_is_empty(&fifo) && kfifo_is_empty(&tty_fifo))) { in console_thread()
346 while (!console_thread_stop && (!kfifo_is_empty(&fifo) || !kfifo_is_empty(&tty_fifo))) { in console_thread()
/OK3568_Linux_fs/kernel/samples/kfifo/
H A Drecord-example.c102 while (!kfifo_is_empty(&test)) { in testfunc()
/OK3568_Linux_fs/kernel/drivers/hid/
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpio/
H A Dgpiolib-cdev.c1216 if (kfifo_is_empty(&lr->events)) { in linereq_read()
1228 !kfifo_is_empty(&lr->events)); in linereq_read()
1526 if (kfifo_is_empty(&le->events)) { in lineevent_read()
1538 !kfifo_is_empty(&le->events)); in lineevent_read()
2193 if (kfifo_is_empty(&cdev->events)) { in lineinfo_watch_read()
2205 !kfifo_is_empty(&cdev->events)); in lineinfo_watch_read()
/OK3568_Linux_fs/kernel/drivers/crypto/caam/
H A Dcaamrng.c158 if (kfifo_is_empty(&ctx->fifo)) in caam_read()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_smi_events.c69 if (!kfifo_is_empty(&client->fifo)) in kfd_smi_ev_poll()
/OK3568_Linux_fs/kernel/drivers/media/radio/
H A 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()
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp1/
H A Disp_stats.c382 if (kfifo_is_empty(&dev->emd_data_fifo[idx].mipi_kfifo)) in rkisp1_stats_get_emb_data()
517 while (!kfifo_is_empty(&vdev->rd_kfifo)) { in rkisp1_stats_readout_task()
/OK3568_Linux_fs/kernel/drivers/net/ieee802154/
H A 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()
/OK3568_Linux_fs/kernel/drivers/input/rmi4/
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/sec/
H A Dsec_algs.c402 (kfifo_is_empty(&queue->softqueue) && in sec_send_request()
485 !kfifo_is_empty(&ctx->queue->softqueue) && in sec_skcipher_alg_callback()
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp/
H A Disp_stats.c271 while (!kfifo_is_empty(&vdev->rd_kfifo)) { in rkisp_stats_readout_task()
H A Disp_stats_v1x.c194 if (kfifo_is_empty(&dev->emd_data_fifo[idx].mipi_kfifo)) in rkisp1_stats_get_emb_data()
/OK3568_Linux_fs/kernel/drivers/staging/pi433/
H A 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()
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/cif/
H A Dcif-luma.c279 while (!kfifo_is_empty(&vdev->rd_kfifo)) { in rkcif_luma_readout_task()

12