| /OK3568_Linux_fs/kernel/drivers/media/rc/ |
| H A D | lirc_dev.c | 600 !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 D | aspeed-lpc-snoop.c | 89 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 D | kfifo.h | 243 #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 D | hvc_dcc.c | 183 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 D | core.c | 96 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 D | r592.c | 330 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 D | rt2800mmio.c | 320 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 D | most_cdev.c | 249 (!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 D | industrialio-event.c | 110 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 D | rk_fiq_debugger.c | 337 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 D | record-example.c | 102 while (!kfifo_is_empty(&test)) { in testfunc()
|
| /OK3568_Linux_fs/kernel/drivers/hid/ |
| H A D | hid-sensor-custom.c | 649 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 D | hid-debug.c | 1103 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 D | gpiolib-cdev.c | 1216 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 D | caamrng.c | 158 if (kfifo_is_empty(&ctx->fifo)) in caam_read()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_smi_events.c | 69 if (!kfifo_is_empty(&client->fifo)) in kfd_smi_ev_poll()
|
| /OK3568_Linux_fs/kernel/drivers/media/radio/ |
| H A D | radio-si476x.c | 1104 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 D | isp_stats.c | 382 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 D | ca8210.c | 2576 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 D | rmi_driver.c | 211 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 D | sec_algs.c | 402 (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 D | isp_stats.c | 271 while (!kfifo_is_empty(&vdev->rd_kfifo)) { in rkisp_stats_readout_task()
|
| H A D | isp_stats_v1x.c | 194 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 D | pi433_if.c | 570 (!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 D | cif-luma.c | 279 while (!kfifo_is_empty(&vdev->rd_kfifo)) { in rkcif_luma_readout_task()
|