Home
last modified time | relevance | path

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

/drivers/staging/media/atomisp/pci/
Datomisp_compat_css20.c1066 struct atomisp_s3a_buf *s3a_buf, in atomisp_q_s3a_buffer_to_css() argument
1075 buffer.data.stats_3a = s3a_buf->s3a_data; in atomisp_q_s3a_buffer_to_css()
1295 struct atomisp_s3a_buf *s3a_buf, in atomisp_css_allocate_stat_buffers() argument
1303 if (s3a_buf && asd->params.curr_grid_info.s3a_grid.enable) { in atomisp_css_allocate_stat_buffers()
1306 s3a_buf->s3a_data = ia_css_isp_3a_statistics_allocate( in atomisp_css_allocate_stat_buffers()
1308 if (!s3a_buf->s3a_data) { in atomisp_css_allocate_stat_buffers()
1313 s3a_ptr = hmm_vmap(s3a_buf->s3a_data->data_ptr, true); in atomisp_css_allocate_stat_buffers()
1314 s3a_buf->s3a_map = ia_css_isp_3a_statistics_map_allocate( in atomisp_css_allocate_stat_buffers()
1315 s3a_buf->s3a_data, s3a_ptr); in atomisp_css_allocate_stat_buffers()
1325 if (s3a_buf) in atomisp_css_allocate_stat_buffers()
[all …]
Datomisp_fops.c131 struct atomisp_s3a_buf *s3a_buf; in atomisp_q_one_s3a_buffer() local
148 s3a_buf = list_entry(s3a_list->next, struct atomisp_s3a_buf, list); in atomisp_q_one_s3a_buffer()
149 list_del_init(&s3a_buf->list); in atomisp_q_one_s3a_buffer()
150 exp_id = s3a_buf->s3a_data->exp_id; in atomisp_q_one_s3a_buffer()
152 hmm_flush_vmap(s3a_buf->s3a_data->data_ptr); in atomisp_q_one_s3a_buffer()
153 if (atomisp_q_s3a_buffer_to_css(asd, s3a_buf, in atomisp_q_one_s3a_buffer()
156 list_add(&s3a_buf->list, s3a_list); in atomisp_q_one_s3a_buffer()
159 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,
109 struct atomisp_s3a_buf *s3a_buf,
115 void atomisp_css_free_3a_buffer(struct atomisp_s3a_buf *s3a_buf);
Datomisp_ioctl.c1016 struct atomisp_s3a_buf *s3a_buf = NULL, *_s3a_buf; in atomisp_alloc_css_stat_bufs() local
1030 s3a_buf = kzalloc(sizeof(struct atomisp_s3a_buf), GFP_KERNEL); in atomisp_alloc_css_stat_bufs()
1031 if (!s3a_buf) in atomisp_alloc_css_stat_bufs()
1035 asd, stream_id, s3a_buf, NULL, NULL)) { in atomisp_alloc_css_stat_bufs()
1036 kfree(s3a_buf); in atomisp_alloc_css_stat_bufs()
1040 list_add_tail(&s3a_buf->list, &asd->s3a_stats); in atomisp_alloc_css_stat_bufs()
1096 list_for_each_entry_safe(s3a_buf, _s3a_buf, &asd->s3a_stats, list) { in atomisp_alloc_css_stat_bufs()
1097 atomisp_css_free_3a_buffer(s3a_buf); in atomisp_alloc_css_stat_bufs()
1098 list_del(&s3a_buf->list); in atomisp_alloc_css_stat_bufs()
1099 kfree(s3a_buf); in atomisp_alloc_css_stat_bufs()
Datomisp_cmd.c902 struct atomisp_s3a_buf *s3a_buf = NULL, *_s3a_buf_tmp, *s3a_iter; in atomisp_buf_done() local
950 s3a_buf = s3a_iter; in atomisp_buf_done()
957 if (s3a_buf) in atomisp_buf_done()
959 __func__, s3a_buf->s3a_data->exp_id); in atomisp_buf_done()
2786 struct atomisp_s3a_buf *s3a_buf; in atomisp_3a_stat() local
2808 s3a_buf = list_entry(asd->s3a_stats_ready.next, in atomisp_3a_stat()
2810 if (s3a_buf->s3a_map) in atomisp_3a_stat()
2812 asd->params.s3a_user_stat, s3a_buf->s3a_map); in atomisp_3a_stat()
2815 s3a_buf->s3a_data); in atomisp_3a_stat()
2817 config->exp_id = s3a_buf->s3a_data->exp_id; in atomisp_3a_stat()
[all …]
Dsh_css_internal.h581 struct ia_css_buffer_sp s3a_buf; member
Dsh_css_sp.c882 initialize_frame_buffer_attribute(&frames->s3a_buf); in initialize_stage_frames()
1003 sh_css_copy_buffer_attr_to_spbuffer(&sh_css_sp_stage.frames.s3a_buf, queue_id, in sh_css_sp_init_stage()
/drivers/staging/media/ipu3/
Dipu3-css.c915 frames_sp->s3a_buf = buffer_sp_init; in imgu_css_pipeline_init()
982 frames_sp->s3a_buf.buf_src.queue_id = IMGU_ABI_QUEUE_F_ID; in imgu_css_pipeline_init()
983 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