Lines Matching refs:tegra_ctx

49 static inline struct tegra_ctx *fh_to_tegra_ctx(struct v4l2_fh *fh)  in fh_to_tegra_ctx()
51 return container_of(fh, struct tegra_ctx, fh); in fh_to_tegra_ctx()
54 static void tegra_set_control_data(struct tegra_ctx *ctx, void *data, u32 id) in tegra_set_control_data()
69 void tegra_vde_prepare_control_data(struct tegra_ctx *ctx, u32 id) in tegra_vde_prepare_control_data()
89 struct tegra_ctx *ctx = vb2_get_drv_priv(vq); in tegra_queue_setup()
127 struct tegra_ctx *ctx = vb2_get_drv_priv(vq); in __tegra_buf_cleanup()
151 struct tegra_ctx *ctx = vb2_get_drv_priv(vq); in tegra_buf_init()
220 struct tegra_ctx *ctx = vb2_get_drv_priv(vq); in tegra_buf_prepare()
283 struct tegra_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in tegra_buf_queue()
291 struct tegra_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in tegra_buf_request_complete()
303 struct tegra_ctx *ctx = vb2_get_drv_priv(vq); in tegra_stop_streaming()
339 struct tegra_ctx *ctx = priv; in tegra_queue_init()
407 static void tegra_reset_fmt(struct tegra_ctx *ctx, struct v4l2_format *f, in tegra_reset_fmt()
419 static void tegra_reset_coded_fmt(struct tegra_ctx *ctx) in tegra_reset_coded_fmt()
467 static void tegra_reset_decoded_fmt(struct tegra_ctx *ctx) in tegra_reset_decoded_fmt()
479 static void tegra_job_finish(struct tegra_ctx *ctx, in tegra_job_finish()
488 struct tegra_ctx *ctx = container_of(work, struct tegra_ctx, work); in tegra_decode_complete()
511 struct tegra_ctx *ctx = fh_to_tegra_ctx(priv); in tegra_enum_decoded_fmt()
527 struct tegra_ctx *ctx = fh_to_tegra_ctx(priv); in tegra_g_decoded_fmt()
537 struct tegra_ctx *ctx = fh_to_tegra_ctx(priv); in tegra_try_decoded_fmt()
576 struct tegra_ctx *ctx = fh_to_tegra_ctx(priv); in tegra_s_decoded_fmt()
598 struct tegra_ctx *ctx = fh_to_tegra_ctx(priv); in tegra_enum_coded_fmt()
612 struct tegra_ctx *ctx = fh_to_tegra_ctx(priv); in tegra_g_coded_fmt()
619 tegra_find_coded_fmt_desc(struct tegra_ctx *ctx, u32 fourcc) in tegra_find_coded_fmt_desc()
636 struct tegra_ctx *ctx = fh_to_tegra_ctx(priv); in tegra_try_coded_fmt()
661 struct tegra_ctx *ctx = fh_to_tegra_ctx(priv); in tegra_s_coded_fmt()
723 struct tegra_ctx *ctx = fh_to_tegra_ctx(priv); in tegra_enum_framesizes()
768 static int tegra_init_ctrls(struct tegra_ctx *ctx) in tegra_init_ctrls()
800 static int tegra_init_m2m(struct tegra_ctx *ctx) in tegra_init_m2m()
813 struct tegra_ctx *ctx; in tegra_open()
816 ctx = kzalloc(offsetof(struct tegra_ctx, ctrls[ARRAY_SIZE(ctrl_cfgs)]), in tegra_open()
859 struct tegra_ctx *ctx = fh_to_tegra_ctx(fh); in tegra_release()
884 struct tegra_ctx *ctx = priv; in tegra_device_run()