Lines Matching +full:fimc +full:- +full:is

1 /* SPDX-License-Identifier: GPL-2.0-only */
18 #include <media/media-entity.h>
19 #include <media/videobuf2-v4l2.h>
20 #include <media/v4l2-ctrls.h>
21 #include <media/v4l2-device.h>
22 #include <media/v4l2-mediabus.h>
23 #include <media/drv-intf/exynos-fimc.h>
25 #define FIMC_LITE_DRV_NAME "exynos-fimc-lite"
51 * struct flite_drvdata - FIMC-LITE IP variant data structure
60 * @num_instances: total number of FIMC-LITE IP instances available
79 * struct flite_frame - source/target frame properties
93 * struct flite_buffer - video buffer structure
107 * struct fimc_lite - fimc lite structure
108 * @pdev: pointer to FIMC-LITE platform device
113 * @subdev: FIMC-LITE subdev
116 * @sensor: sensor subdev attached to FIMC-LITE directly or through MIPI-CSIS
119 * @index: FIMC-LITE platform device index
122 * @clock: FIMC-LITE gate clock
138 * @streaming: is streaming in progress?
179 static inline bool fimc_lite_active(struct fimc_lite *fimc) in fimc_lite_active() argument
184 spin_lock_irqsave(&fimc->slock, flags); in fimc_lite_active()
185 ret = fimc->state & (1 << ST_FLITE_RUN) || in fimc_lite_active()
186 fimc->state & (1 << ST_FLITE_PENDING); in fimc_lite_active()
187 spin_unlock_irqrestore(&fimc->slock, flags); in fimc_lite_active()
194 list_add_tail(&buf->list, &dev->active_buf_q); in fimc_lite_active_queue_add()
200 struct flite_buffer *buf = list_entry(dev->active_buf_q.next, in fimc_lite_active_queue_pop()
202 list_del(&buf->list); in fimc_lite_active_queue_pop()
209 list_add_tail(&buf->list, &dev->pending_buf_q); in fimc_lite_pending_queue_add()
215 struct flite_buffer *buf = list_entry(dev->pending_buf_q.next, in fimc_lite_pending_queue_pop()
217 list_del(&buf->list); in fimc_lite_pending_queue_pop()