Searched refs:dis_buf (Results 1 – 5 of 5) sorted by relevance
/drivers/staging/media/atomisp/pci/ |
D | atomisp_compat_css20.c | 965 struct atomisp_dis_buf *dis_buf, in atomisp_q_dis_buffer_to_css() argument 974 buffer.data.stats_dvs = dis_buf->dis_data; in atomisp_q_dis_buffer_to_css() 1119 struct atomisp_dis_buf *dis_buf, in atomisp_css_allocate_stat_buffers() argument 1141 if (dis_buf && dvs_grid_info && dvs_grid_info->enable) { in atomisp_css_allocate_stat_buffers() 1144 dis_buf->dis_data = ia_css_isp_dvs2_statistics_allocate( in atomisp_css_allocate_stat_buffers() 1146 if (!dis_buf->dis_data) { in atomisp_css_allocate_stat_buffers() 1153 dvs_ptr = hmm_vmap(dis_buf->dis_data->data_ptr, true); in atomisp_css_allocate_stat_buffers() 1154 dis_buf->dvs_map = ia_css_isp_dvs_statistics_map_allocate( in atomisp_css_allocate_stat_buffers() 1155 dis_buf->dis_data, dvs_ptr); in atomisp_css_allocate_stat_buffers() 1165 if (dis_buf) in atomisp_css_allocate_stat_buffers() [all …]
|
D | atomisp_fops.c | 193 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()
|
D | atomisp_compat.h | 75 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);
|
D | atomisp_ioctl.c | 923 struct atomisp_dis_buf *dis_buf = NULL, *_dis_buf; in atomisp_alloc_css_stat_bufs() local 955 dis_buf = kzalloc(sizeof(struct atomisp_dis_buf), GFP_KERNEL); in atomisp_alloc_css_stat_bufs() 956 if (!dis_buf) in atomisp_alloc_css_stat_bufs() 959 asd, stream_id, NULL, dis_buf, NULL)) { in atomisp_alloc_css_stat_bufs() 960 kfree(dis_buf); in atomisp_alloc_css_stat_bufs() 964 list_add_tail(&dis_buf->list, &asd->dis_stats); in atomisp_alloc_css_stat_bufs() 996 list_for_each_entry_safe(dis_buf, _dis_buf, &asd->dis_stats, list) { in atomisp_alloc_css_stat_bufs() 997 atomisp_css_free_dis_buffer(dis_buf); in atomisp_alloc_css_stat_bufs() 998 list_del(&dis_buf->list); in atomisp_alloc_css_stat_bufs() 999 kfree(dis_buf); in atomisp_alloc_css_stat_bufs()
|
D | atomisp_cmd.c | 675 struct atomisp_dis_buf *dis_buf = NULL, *_dis_buf_tmp, *dis_iter; in atomisp_buf_done() local 768 dis_buf = dis_iter; in atomisp_buf_done() 773 if (dis_buf) in atomisp_buf_done() 775 __func__, dis_buf->dis_data->exp_id); in atomisp_buf_done()
|