Home
last modified time | relevance | path

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

/openbmc/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.c1131 if (!s3a_buf->s3a_data) { in atomisp_css_allocate_stat_buffers()
1148 if (s3a_buf) in atomisp_css_allocate_stat_buffers()
1163 if (s3a_buf) in atomisp_css_allocate_stat_buffers()
1178 if (s3a_buf->s3a_data) in atomisp_css_free_3a_buffer()
1182 s3a_buf->s3a_map = NULL; in atomisp_css_free_3a_buffer()
1245 list_del(&s3a_buf->list); in atomisp_css_free_stat_buffers()
1246 kfree(s3a_buf); in atomisp_css_free_stat_buffers()
1251 list_del(&s3a_buf->list); in atomisp_css_free_stat_buffers()
1252 kfree(s3a_buf); in atomisp_css_free_stat_buffers()
1257 list_del(&s3a_buf->list); in atomisp_css_free_stat_buffers()
[all …]
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_ioctl.c922 struct atomisp_s3a_buf *s3a_buf = NULL, *_s3a_buf; in atomisp_alloc_css_stat_bufs() local
936 s3a_buf = kzalloc(sizeof(struct atomisp_s3a_buf), GFP_KERNEL); in atomisp_alloc_css_stat_bufs()
937 if (!s3a_buf) in atomisp_alloc_css_stat_bufs()
941 asd, stream_id, s3a_buf, NULL, NULL)) { in atomisp_alloc_css_stat_bufs()
942 kfree(s3a_buf); in atomisp_alloc_css_stat_bufs()
946 list_add_tail(&s3a_buf->list, &asd->s3a_stats); in atomisp_alloc_css_stat_bufs()
1002 list_for_each_entry_safe(s3a_buf, _s3a_buf, &asd->s3a_stats, list) { in atomisp_alloc_css_stat_bufs()
1003 atomisp_css_free_3a_buffer(s3a_buf); in atomisp_alloc_css_stat_bufs()
1004 list_del(&s3a_buf->list); in atomisp_alloc_css_stat_bufs()
1005 kfree(s3a_buf); in atomisp_alloc_css_stat_bufs()
H A Datomisp_cmd.c717 s3a_buf = s3a_iter; in atomisp_buf_done()
724 if (s3a_buf) in atomisp_buf_done()
726 __func__, s3a_buf->s3a_data->exp_id); in atomisp_buf_done()
1803 struct atomisp_s3a_buf *s3a_buf; in atomisp_3a_stat() local
1825 s3a_buf = list_entry(asd->s3a_stats_ready.next, in atomisp_3a_stat()
1827 if (s3a_buf->s3a_map) in atomisp_3a_stat()
1829 asd->params.s3a_user_stat, s3a_buf->s3a_map); in atomisp_3a_stat()
1832 s3a_buf->s3a_data); in atomisp_3a_stat()
1834 config->exp_id = s3a_buf->s3a_data->exp_id; in atomisp_3a_stat()
1846 list_del_init(&s3a_buf->list); in atomisp_3a_stat()
[all …]
H A Dsh_css_internal.h553 struct ia_css_buffer_sp s3a_buf; member
H A Dsh_css_sp.c903 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()
/openbmc/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