Lines Matching refs:bdisp_ctx

36 #define fh_to_ctx(__fh) container_of(__fh, struct bdisp_ctx, fh)
120 static inline void bdisp_ctx_state_lock_set(u32 state, struct bdisp_ctx *ctx) in bdisp_ctx_state_lock_set()
129 static inline void bdisp_ctx_state_lock_clear(u32 state, struct bdisp_ctx *ctx) in bdisp_ctx_state_lock_clear()
138 static inline bool bdisp_ctx_state_is_set(u32 mask, struct bdisp_ctx *ctx) in bdisp_ctx_state_is_set()
164 static struct bdisp_frame *ctx_get_frame(struct bdisp_ctx *ctx, in ctx_get_frame()
181 static void bdisp_job_finish(struct bdisp_ctx *ctx, int vb_state) in bdisp_job_finish()
208 static int bdisp_ctx_stop_req(struct bdisp_ctx *ctx) in bdisp_ctx_stop_req()
210 struct bdisp_ctx *curr_ctx; in bdisp_ctx_stop_req()
236 static void __bdisp_job_abort(struct bdisp_ctx *ctx) in __bdisp_job_abort()
250 __bdisp_job_abort((struct bdisp_ctx *)priv); in bdisp_job_abort()
253 static int bdisp_get_addr(struct bdisp_ctx *ctx, struct vb2_buffer *vb, in bdisp_get_addr()
281 static int bdisp_get_bufs(struct bdisp_ctx *ctx) in bdisp_get_bufs()
307 struct bdisp_ctx *ctx = priv; in bdisp_device_run()
368 static int __bdisp_s_ctrl(struct bdisp_ctx *ctx, struct v4l2_ctrl *ctrl) in __bdisp_s_ctrl()
392 struct bdisp_ctx *ctx = container_of(ctrl->handler, struct bdisp_ctx, in bdisp_s_ctrl()
408 static int bdisp_ctrls_create(struct bdisp_ctx *ctx) in bdisp_ctrls_create()
432 static void bdisp_ctrls_delete(struct bdisp_ctx *ctx) in bdisp_ctrls_delete()
444 struct bdisp_ctx *ctx = vb2_get_drv_priv(vq); in bdisp_queue_setup()
468 struct bdisp_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in bdisp_buf_prepare()
485 struct bdisp_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in bdisp_buf_queue()
500 struct bdisp_ctx *ctx = q->drv_priv; in bdisp_start_streaming()
523 struct bdisp_ctx *ctx = q->drv_priv; in bdisp_stop_streaming()
543 struct bdisp_ctx *ctx = priv; in queue_init()
578 struct bdisp_ctx *ctx = NULL; in bdisp_open()
649 struct bdisp_ctx *ctx = fh_to_ctx(file->private_data); in bdisp_release()
687 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_querycap()
699 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_enum_fmt()
719 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_g_fmt()
743 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_try_fmt()
793 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_s_fmt()
847 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_g_selection()
925 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_s_selection()
1002 struct bdisp_ctx *ctx = fh_to_ctx(fh); in bdisp_streamon()
1094 struct bdisp_ctx *ctx; in bdisp_irq_thread()
1145 struct bdisp_ctx *ctx; in bdisp_irq_timeout()
1190 struct bdisp_ctx *ctx; in bdisp_m2m_resume()