Home
last modified time | relevance | path

Searched refs:dis_buf (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/staging/media/atomisp/pci/
Datomisp_fops.c193 struct atomisp_dis_buf *dis_buf; in atomisp_q_one_dis_buffer() local
207 dis_buf = list_entry(asd->dis_stats.prev, in atomisp_q_one_dis_buffer()
209 list_del_init(&dis_buf->list); in atomisp_q_one_dis_buffer()
212 hmm_flush_vmap(dis_buf->dis_data->data_ptr); in atomisp_q_one_dis_buffer()
213 if (atomisp_q_dis_buffer_to_css(asd, dis_buf, in atomisp_q_one_dis_buffer()
217 list_add_tail(&dis_buf->list, &asd->dis_stats); in atomisp_q_one_dis_buffer()
222 list_add_tail(&dis_buf->list, &asd->dis_stats_in_css); in atomisp_q_one_dis_buffer()
Datomisp_compat_css20.c947 struct atomisp_dis_buf *dis_buf, in atomisp_q_dis_buffer_to_css() argument
956 buffer.data.stats_dvs = dis_buf->dis_data; in atomisp_q_dis_buffer_to_css()
1101 struct atomisp_dis_buf *dis_buf, in atomisp_css_allocate_stat_buffers() argument
1123 if (dis_buf && dvs_grid_info && dvs_grid_info->enable) { in atomisp_css_allocate_stat_buffers()
1126 dis_buf->dis_data = ia_css_isp_dvs2_statistics_allocate( in atomisp_css_allocate_stat_buffers()
1128 if (!dis_buf->dis_data) { in atomisp_css_allocate_stat_buffers()
1135 dvs_ptr = hmm_vmap(dis_buf->dis_data->data_ptr, true); in atomisp_css_allocate_stat_buffers()
1136 dis_buf->dvs_map = ia_css_isp_dvs_statistics_map_allocate( in atomisp_css_allocate_stat_buffers()
1137 dis_buf->dis_data, dvs_ptr); in atomisp_css_allocate_stat_buffers()
1147 if (dis_buf) in atomisp_css_allocate_stat_buffers()
[all …]
Datomisp_ioctl.c697 struct atomisp_dis_buf *dis_buf = NULL, *_dis_buf; in atomisp_alloc_css_stat_bufs() local
729 dis_buf = kzalloc(sizeof(struct atomisp_dis_buf), GFP_KERNEL); in atomisp_alloc_css_stat_bufs()
730 if (!dis_buf) in atomisp_alloc_css_stat_bufs()
733 asd, stream_id, NULL, dis_buf, NULL)) { in atomisp_alloc_css_stat_bufs()
734 kfree(dis_buf); in atomisp_alloc_css_stat_bufs()
738 list_add_tail(&dis_buf->list, &asd->dis_stats); in atomisp_alloc_css_stat_bufs()
770 list_for_each_entry_safe(dis_buf, _dis_buf, &asd->dis_stats, list) { in atomisp_alloc_css_stat_bufs()
771 atomisp_css_free_dis_buffer(dis_buf); in atomisp_alloc_css_stat_bufs()
772 list_del(&dis_buf->list); in atomisp_alloc_css_stat_bufs()
773 kfree(dis_buf); in atomisp_alloc_css_stat_bufs()
Datomisp_compat.h75 struct atomisp_dis_buf *dis_buf,
102 struct atomisp_dis_buf *dis_buf,
109 void atomisp_css_free_dis_buffer(struct atomisp_dis_buf *dis_buf);
Datomisp_cmd.c668 struct atomisp_dis_buf *dis_buf = NULL, *_dis_buf_tmp, *dis_iter; in atomisp_buf_done() local
760 dis_buf = dis_iter; in atomisp_buf_done()
765 if (dis_buf) in atomisp_buf_done()
767 __func__, dis_buf->dis_data->exp_id); in atomisp_buf_done()