Home
last modified time | relevance | path

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

/linux/drivers/staging/media/atomisp/pci/
H A Datomisp_fops.c152 struct atomisp_s3a_buf *s3a_buf; in atomisp_q_one_s3a_buffer() local
169 s3a_buf = list_entry(s3a_list->next, struct atomisp_s3a_buf, list); in atomisp_q_one_s3a_buffer()
170 list_del_init(&s3a_buf->list); in atomisp_q_one_s3a_buffer()
171 exp_id = s3a_buf->s3a_data->exp_id; in atomisp_q_one_s3a_buffer()
173 hmm_flush_vmap(s3a_buf->s3a_data->data_ptr); in atomisp_q_one_s3a_buffer()
174 if (atomisp_q_s3a_buffer_to_css(asd, s3a_buf, in atomisp_q_one_s3a_buffer()
177 list_add(&s3a_buf->list, s3a_list); in atomisp_q_one_s3a_buffer()
180 list_add_tail(&s3a_buf->list, &asd->s3a_stats_in_css); in atomisp_q_one_s3a_buffer()
H A Datomisp_compat_css20.c926 struct atomisp_s3a_buf *s3a_buf, in atomisp_q_s3a_buffer_to_css() argument
935 buffer.data.stats_3a = s3a_buf->s3a_data; in atomisp_q_s3a_buffer_to_css()
1100 struct atomisp_s3a_buf *s3a_buf, in atomisp_css_allocate_stat_buffers() argument
1108 if (s3a_buf && asd->params.curr_grid_info.s3a_grid.enable) { in atomisp_css_allocate_stat_buffers()
1111 s3a_buf->s3a_data = ia_css_isp_3a_statistics_allocate( in atomisp_css_allocate_stat_buffers()
1113 if (!s3a_buf->s3a_data) { in atomisp_css_allocate_stat_buffers()
1118 s3a_ptr = hmm_vmap(s3a_buf->s3a_data->data_ptr, true); in atomisp_css_allocate_stat_buffers()
1119 s3a_buf->s3a_map = ia_css_isp_3a_statistics_map_allocate( in atomisp_css_allocate_stat_buffers()
1120 s3a_buf->s3a_data, s3a_ptr); in atomisp_css_allocate_stat_buffers()
1130 if (s3a_buf) in atomisp_css_allocate_stat_buffers()
[all …]
H A Datomisp_ioctl.c696 struct atomisp_s3a_buf *s3a_buf = NULL, *_s3a_buf; in atomisp_alloc_css_stat_bufs() local
710 s3a_buf = kzalloc(sizeof(struct atomisp_s3a_buf), GFP_KERNEL); in atomisp_alloc_css_stat_bufs()
711 if (!s3a_buf) in atomisp_alloc_css_stat_bufs()
715 asd, stream_id, s3a_buf, NULL, NULL)) { in atomisp_alloc_css_stat_bufs()
716 kfree(s3a_buf); in atomisp_alloc_css_stat_bufs()
720 list_add_tail(&s3a_buf->list, &asd->s3a_stats); in atomisp_alloc_css_stat_bufs()
776 list_for_each_entry_safe(s3a_buf, _s3a_buf, &asd->s3a_stats, list) { in atomisp_alloc_css_stat_bufs()
777 atomisp_css_free_3a_buffer(s3a_buf); in atomisp_alloc_css_stat_bufs()
778 list_del(&s3a_buf->list); in atomisp_alloc_css_stat_bufs()
779 kfree(s3a_buf); in atomisp_alloc_css_stat_bufs()
H A Datomisp_compat.h65 struct atomisp_s3a_buf *s3a_buf,
101 struct atomisp_s3a_buf *s3a_buf,
107 void atomisp_css_free_3a_buffer(struct atomisp_s3a_buf *s3a_buf);
H A Datomisp_cmd.c667 struct atomisp_s3a_buf *s3a_buf = NULL, *_s3a_buf_tmp, *s3a_iter; in atomisp_buf_done() local
709 s3a_buf = s3a_iter; in atomisp_buf_done()
716 if (s3a_buf) in atomisp_buf_done()
718 __func__, s3a_buf->s3a_data->exp_id); in atomisp_buf_done()
1687 struct atomisp_s3a_buf *s3a_buf; in atomisp_3a_stat() local
1709 s3a_buf = list_entry(asd->s3a_stats_ready.next, in atomisp_3a_stat()
1711 if (s3a_buf->s3a_map) in atomisp_3a_stat()
1713 asd->params.s3a_user_stat, s3a_buf->s3a_map); in atomisp_3a_stat()
1716 s3a_buf->s3a_data); in atomisp_3a_stat()
1718 config->exp_id = s3a_buf->s3a_data->exp_id; in atomisp_3a_stat()
[all …]
H A Dsh_css_internal.h537 struct ia_css_buffer_sp s3a_buf; member
H A Dsh_css_sp.c867 initialize_frame_buffer_attribute(&frames->s3a_buf); in initialize_stage_frames()
983 sh_css_copy_buffer_attr_to_spbuffer(&sh_css_sp_stage.frames.s3a_buf, queue_id, in sh_css_sp_init_stage()
/linux/drivers/staging/media/ipu3/
H A 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()
H A Dipu3-abi.h1436 struct imgu_abi_buffer_sp s3a_buf; member