Home
last modified time | relevance | path

Searched refs:s3a_buf (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/staging/media/atomisp/pci/
Datomisp_compat_css20.c1040 struct atomisp_s3a_buf *s3a_buf, in atomisp_q_s3a_buffer_to_css() argument
1049 buffer.data.stats_3a = s3a_buf->s3a_data; in atomisp_q_s3a_buffer_to_css()
1250 struct atomisp_s3a_buf *s3a_buf, in atomisp_css_allocate_stat_buffers() argument
1258 if (s3a_buf && asd->params.curr_grid_info.s3a_grid.enable) { in atomisp_css_allocate_stat_buffers()
1261 s3a_buf->s3a_data = ia_css_isp_3a_statistics_allocate( in atomisp_css_allocate_stat_buffers()
1263 if (!s3a_buf->s3a_data) { in atomisp_css_allocate_stat_buffers()
1268 s3a_ptr = hmm_vmap(s3a_buf->s3a_data->data_ptr, true); in atomisp_css_allocate_stat_buffers()
1269 s3a_buf->s3a_map = ia_css_isp_3a_statistics_map_allocate( in atomisp_css_allocate_stat_buffers()
1270 s3a_buf->s3a_data, s3a_ptr); in atomisp_css_allocate_stat_buffers()
1280 if (s3a_buf) in atomisp_css_allocate_stat_buffers()
[all …]
Datomisp_fops.c129 struct atomisp_s3a_buf *s3a_buf; in atomisp_q_one_s3a_buffer() local
146 s3a_buf = list_entry(s3a_list->next, struct atomisp_s3a_buf, list); in atomisp_q_one_s3a_buffer()
147 list_del_init(&s3a_buf->list); in atomisp_q_one_s3a_buffer()
148 exp_id = s3a_buf->s3a_data->exp_id; in atomisp_q_one_s3a_buffer()
150 hmm_flush_vmap(s3a_buf->s3a_data->data_ptr); in atomisp_q_one_s3a_buffer()
151 if (atomisp_q_s3a_buffer_to_css(asd, s3a_buf, in atomisp_q_one_s3a_buffer()
154 list_add(&s3a_buf->list, s3a_list); in atomisp_q_one_s3a_buffer()
157 list_add_tail(&s3a_buf->list, &asd->s3a_stats_in_css); in atomisp_q_one_s3a_buffer()
Datomisp_compat.h70 struct atomisp_s3a_buf *s3a_buf,
107 struct atomisp_s3a_buf *s3a_buf,
113 void atomisp_css_free_3a_buffer(struct atomisp_s3a_buf *s3a_buf);
Datomisp_ioctl.c1006 struct atomisp_s3a_buf *s3a_buf = NULL, *_s3a_buf; in atomisp_alloc_css_stat_bufs() local
1020 s3a_buf = kzalloc(sizeof(struct atomisp_s3a_buf), GFP_KERNEL); in atomisp_alloc_css_stat_bufs()
1021 if (!s3a_buf) in atomisp_alloc_css_stat_bufs()
1025 asd, stream_id, s3a_buf, NULL, NULL)) { in atomisp_alloc_css_stat_bufs()
1026 kfree(s3a_buf); in atomisp_alloc_css_stat_bufs()
1030 list_add_tail(&s3a_buf->list, &asd->s3a_stats); in atomisp_alloc_css_stat_bufs()
1086 list_for_each_entry_safe(s3a_buf, _s3a_buf, &asd->s3a_stats, list) { in atomisp_alloc_css_stat_bufs()
1087 atomisp_css_free_3a_buffer(s3a_buf); in atomisp_alloc_css_stat_bufs()
1088 list_del(&s3a_buf->list); in atomisp_alloc_css_stat_bufs()
1089 kfree(s3a_buf); in atomisp_alloc_css_stat_bufs()
Datomisp_cmd.c878 struct atomisp_s3a_buf *s3a_buf = NULL, *_s3a_buf_tmp, *s3a_iter; in atomisp_buf_done() local
927 s3a_buf = s3a_iter; in atomisp_buf_done()
934 if (s3a_buf) in atomisp_buf_done()
936 __func__, s3a_buf->s3a_data->exp_id); in atomisp_buf_done()
2350 struct atomisp_s3a_buf *s3a_buf; in atomisp_3a_stat() local
2372 s3a_buf = list_entry(asd->s3a_stats_ready.next, in atomisp_3a_stat()
2374 if (s3a_buf->s3a_map) in atomisp_3a_stat()
2376 asd->params.s3a_user_stat, s3a_buf->s3a_map); in atomisp_3a_stat()
2379 s3a_buf->s3a_data); in atomisp_3a_stat()
2381 config->exp_id = s3a_buf->s3a_data->exp_id; in atomisp_3a_stat()
[all …]
Dsh_css_internal.h563 struct ia_css_buffer_sp s3a_buf; member
Dsh_css_sp.c901 initialize_frame_buffer_attribute(&frames->s3a_buf); in initialize_stage_frames()
1018 sh_css_copy_buffer_attr_to_spbuffer(&sh_css_sp_stage.frames.s3a_buf, queue_id, in sh_css_sp_init_stage()
/linux-6.1.9/drivers/staging/media/ipu3/
Dipu3-css.c902 frames_sp->s3a_buf = buffer_sp_init; in imgu_css_pipeline_init()
969 frames_sp->s3a_buf.buf_src.queue_id = IMGU_ABI_QUEUE_F_ID; in imgu_css_pipeline_init()
970 frames_sp->s3a_buf.buf_type = IMGU_ABI_BUFFER_TYPE_3A_STATISTICS; in imgu_css_pipeline_init()
Dipu3-abi.h1436 struct imgu_abi_buffer_sp s3a_buf; member