Searched refs:dis_buf (Results 1 – 5 of 5) sorted by relevance
/linux-5.19.10/drivers/staging/media/atomisp/pci/ |
D | atomisp_compat_css20.c | 1078 struct atomisp_dis_buf *dis_buf, in atomisp_q_dis_buffer_to_css() argument 1087 buffer.data.stats_dvs = dis_buf->dis_data; in atomisp_q_dis_buffer_to_css() 1287 struct atomisp_dis_buf *dis_buf, in atomisp_css_allocate_stat_buffers() argument 1309 if (dis_buf && dvs_grid_info && dvs_grid_info->enable) { in atomisp_css_allocate_stat_buffers() 1312 dis_buf->dis_data = ia_css_isp_dvs2_statistics_allocate( in atomisp_css_allocate_stat_buffers() 1314 if (!dis_buf->dis_data) { in atomisp_css_allocate_stat_buffers() 1321 dvs_ptr = hmm_vmap(dis_buf->dis_data->data_ptr, true); in atomisp_css_allocate_stat_buffers() 1322 dis_buf->dvs_map = ia_css_isp_dvs_statistics_map_allocate( in atomisp_css_allocate_stat_buffers() 1323 dis_buf->dis_data, dvs_ptr); in atomisp_css_allocate_stat_buffers() 1333 if (dis_buf) in atomisp_css_allocate_stat_buffers() [all …]
|
D | atomisp_compat.h | 80 struct atomisp_dis_buf *dis_buf, 108 struct atomisp_dis_buf *dis_buf, 115 void atomisp_css_free_dis_buffer(struct atomisp_dis_buf *dis_buf);
|
D | atomisp_fops.c | 173 struct atomisp_dis_buf *dis_buf; in atomisp_q_one_dis_buffer() local 187 dis_buf = list_entry(asd->dis_stats.prev, in atomisp_q_one_dis_buffer() 189 list_del_init(&dis_buf->list); in atomisp_q_one_dis_buffer() 192 hmm_flush_vmap(dis_buf->dis_data->data_ptr); in atomisp_q_one_dis_buffer() 193 if (atomisp_q_dis_buffer_to_css(asd, dis_buf, in atomisp_q_one_dis_buffer() 197 list_add_tail(&dis_buf->list, &asd->dis_stats); in atomisp_q_one_dis_buffer() 202 list_add_tail(&dis_buf->list, &asd->dis_stats_in_css); in atomisp_q_one_dis_buffer()
|
D | atomisp_ioctl.c | 1076 struct atomisp_dis_buf *dis_buf = NULL, *_dis_buf; in atomisp_alloc_css_stat_bufs() local 1108 dis_buf = kzalloc(sizeof(struct atomisp_dis_buf), GFP_KERNEL); in atomisp_alloc_css_stat_bufs() 1109 if (!dis_buf) in atomisp_alloc_css_stat_bufs() 1112 asd, stream_id, NULL, dis_buf, NULL)) { in atomisp_alloc_css_stat_bufs() 1113 kfree(dis_buf); in atomisp_alloc_css_stat_bufs() 1117 list_add_tail(&dis_buf->list, &asd->dis_stats); in atomisp_alloc_css_stat_bufs() 1149 list_for_each_entry_safe(dis_buf, _dis_buf, &asd->dis_stats, list) { in atomisp_alloc_css_stat_bufs() 1150 atomisp_css_free_dis_buffer(dis_buf); in atomisp_alloc_css_stat_bufs() 1151 list_del(&dis_buf->list); in atomisp_alloc_css_stat_bufs() 1152 kfree(dis_buf); in atomisp_alloc_css_stat_bufs()
|
D | atomisp_cmd.c | 905 struct atomisp_dis_buf *dis_buf = NULL, *_dis_buf_tmp, *dis_iter; in atomisp_buf_done() local 1003 dis_buf = dis_iter; in atomisp_buf_done() 1008 if (dis_buf) in atomisp_buf_done() 1010 __func__, dis_buf->dis_data->exp_id); in atomisp_buf_done()
|