Searched refs:cal_ctx (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/ |
H A D | cal.h | 96 * The cal_ctx structure represents the combination of one CSI-2 context, one 97 * processing context and one DMA context. Instance of struct cal_ctx are named 132 struct cal_ctx *ctx[CAL_NUM_CONTEXT]; 140 * There is one cal_ctx structure for each camera core context. 142 struct cal_ctx { struct 256 void cal_ctx_csi2_config(struct cal_ctx *ctx); 257 void cal_ctx_pix_proc_config(struct cal_ctx *ctx); 258 void cal_ctx_wr_dma_config(struct cal_ctx *ctx, unsigned int width, 260 void cal_ctx_wr_dma_addr(struct cal_ctx *ctx, unsigned int dmaaddr); 262 int cal_ctx_v4l2_register(struct cal_ctx *ct [all...] |
H A D | cal-video.c | 149 static const struct cal_fmt *find_format_by_pix(struct cal_ctx *ctx, in find_format_by_pix() 164 static const struct cal_fmt *find_format_by_code(struct cal_ctx *ctx, in find_format_by_code() 182 struct cal_ctx *ctx = video_drvdata(file); in cal_querycap() 195 struct cal_ctx *ctx = video_drvdata(file); in cal_enum_fmt_vid_cap() 208 static int __subdev_get_format(struct cal_ctx *ctx, in __subdev_get_format() 230 static int __subdev_set_format(struct cal_ctx *ctx, in __subdev_set_format() 251 static int cal_calc_format_size(struct cal_ctx *ctx, in cal_calc_format_size() 288 struct cal_ctx *ctx = video_drvdata(file); in cal_g_fmt_vid_cap() 298 struct cal_ctx *ctx = video_drvdata(file); in cal_try_fmt_vid_cap() 357 struct cal_ctx *ct in cal_s_fmt_vid_cap() [all...] |
H A D | cal.c | 159 void cal_ctx_csi2_config(struct cal_ctx *ctx) in cal_ctx_csi2_config() 184 void cal_ctx_pix_proc_config(struct cal_ctx *ctx) in cal_ctx_pix_proc_config() 235 void cal_ctx_wr_dma_config(struct cal_ctx *ctx, unsigned int width, in cal_ctx_wr_dma_config() 290 void cal_ctx_wr_dma_addr(struct cal_ctx *ctx, unsigned int dmaaddr) in cal_ctx_wr_dma_addr() 300 static inline void cal_schedule_next_buffer(struct cal_ctx *ctx) in cal_schedule_next_buffer() 314 static inline void cal_process_buffer_complete(struct cal_ctx *ctx) in cal_process_buffer_complete() 327 struct cal_ctx *ctx; in cal_irq() 612 static struct cal_ctx *cal_ctx_create(struct cal_dev *cal, int inst) in cal_ctx_create() 614 struct cal_ctx *ctx; in cal_ctx_create() 745 struct cal_ctx *ct in cal_probe() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/ti/cal/ |
H A D | cal.h | 160 * The cal_ctx structure represents the combination of one CSI-2 context, one 161 * processing context and one DMA context. Instance of struct cal_ctx are named 208 struct cal_ctx *ctx[CAL_MAX_NUM_CONTEXT]; 218 * There is one cal_ctx structure for each camera core context. 220 struct cal_ctx { struct 328 int cal_ctx_prepare(struct cal_ctx *ctx); 329 void cal_ctx_unprepare(struct cal_ctx *ctx); 330 void cal_ctx_set_dma_addr(struct cal_ctx *ctx, dma_addr_t addr); 331 void cal_ctx_start(struct cal_ctx *ctx); 332 void cal_ctx_stop(struct cal_ctx *ct [all...] |
H A D | cal-video.c | 59 struct cal_ctx *ctx = video_drvdata(file); in cal_g_fmt_vid_cap() 71 static const struct cal_format_info *find_format_by_pix(struct cal_ctx *ctx, in find_format_by_pix() 86 static const struct cal_format_info *find_format_by_code(struct cal_ctx *ctx, in find_format_by_code() 104 struct cal_ctx *ctx = video_drvdata(file); in cal_legacy_enum_fmt_vid_cap() 117 static int __subdev_get_format(struct cal_ctx *ctx, in __subdev_get_format() 139 static int __subdev_set_format(struct cal_ctx *ctx, in __subdev_set_format() 161 static void cal_calc_format_size(struct cal_ctx *ctx, in cal_calc_format_size() 192 struct cal_ctx *ctx = video_drvdata(file); in cal_legacy_try_fmt_vid_cap() 254 struct cal_ctx *ctx = video_drvdata(file); in cal_legacy_s_fmt_vid_cap() 305 struct cal_ctx *ct in cal_legacy_enum_framesizes() [all...] |
H A D | cal.c | 300 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() 508 void cal_ctx_unprepare(struct cal_ctx *ct [all...] |
Completed in 6 milliseconds