Home
last modified time | relevance | path

Searched refs:cal_ctx (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/media/platform/ti/cal/
H A Dcal.h209 struct cal_ctx *ctx[CAL_MAX_NUM_CONTEXT];
221 struct cal_ctx { struct
330 int cal_ctx_prepare(struct cal_ctx *ctx);
331 void cal_ctx_unprepare(struct cal_ctx *ctx);
332 void cal_ctx_set_dma_addr(struct cal_ctx *ctx, dma_addr_t addr);
333 void cal_ctx_start(struct cal_ctx *ctx);
334 void cal_ctx_stop(struct cal_ctx *ctx);
336 int cal_ctx_v4l2_register(struct cal_ctx *ctx);
337 void cal_ctx_v4l2_unregister(struct cal_ctx *ctx);
338 int cal_ctx_v4l2_init(struct cal_ctx *ctx);
[all …]
H A Dcal-video.c45 struct cal_ctx *ctx = video_drvdata(file); in cal_g_fmt_vid_cap()
57 static const struct cal_format_info *find_format_by_pix(struct cal_ctx *ctx, in find_format_by_pix()
72 static const struct cal_format_info *find_format_by_code(struct cal_ctx *ctx, in find_format_by_code()
90 struct cal_ctx *ctx = video_drvdata(file); in cal_legacy_enum_fmt_vid_cap()
103 static int __subdev_get_format(struct cal_ctx *ctx, in __subdev_get_format()
126 static int __subdev_set_format(struct cal_ctx *ctx, in __subdev_set_format()
149 static void cal_calc_format_size(struct cal_ctx *ctx, in cal_calc_format_size()
180 struct cal_ctx *ctx = video_drvdata(file); in cal_legacy_try_fmt_vid_cap()
243 struct cal_ctx *ctx = video_drvdata(file); in cal_legacy_s_fmt_vid_cap()
295 struct cal_ctx *ctx = video_drvdata(file); in cal_legacy_enum_framesizes()
[all …]
H A Dcal.c300 static void cal_ctx_csi2_config(struct cal_ctx *ctx) in cal_ctx_csi2_config()
326 static void cal_ctx_pix_proc_config(struct cal_ctx *ctx) in cal_ctx_pix_proc_config()
377 static void cal_ctx_wr_dma_config(struct cal_ctx *ctx) in cal_ctx_wr_dma_config()
414 void cal_ctx_set_dma_addr(struct cal_ctx *ctx, dma_addr_t addr) in cal_ctx_set_dma_addr()
419 static void cal_ctx_wr_dma_enable(struct cal_ctx *ctx) in cal_ctx_wr_dma_enable()
428 static void cal_ctx_wr_dma_disable(struct cal_ctx *ctx) in cal_ctx_wr_dma_disable()
437 static bool cal_ctx_wr_dma_stopped(struct cal_ctx *ctx) in cal_ctx_wr_dma_stopped()
449 cal_get_remote_frame_desc_entry(struct cal_ctx *ctx, in cal_get_remote_frame_desc_entry()
473 int cal_ctx_prepare(struct cal_ctx *ctx) in cal_ctx_prepare()
509 void cal_ctx_unprepare(struct cal_ctx *ctx) in cal_ctx_unprepare()
[all …]