Searched refs:hgt (Results 1 – 7 of 7) sorted by relevance
/drivers/media/platform/vsp1/ |
D | vsp1_hgt.c | 26 static inline u32 vsp1_hgt_read(struct vsp1_hgt *hgt, u32 reg) in vsp1_hgt_read() argument 28 return vsp1_read(hgt->histo.entity.vsp1, reg); in vsp1_hgt_read() 31 static inline void vsp1_hgt_write(struct vsp1_hgt *hgt, in vsp1_hgt_write() argument 43 struct vsp1_hgt *hgt = to_hgt(&entity->subdev); in vsp1_hgt_frame_end() local 49 buf = vsp1_histogram_buffer_get(&hgt->histo); in vsp1_hgt_frame_end() 55 *data++ = vsp1_hgt_read(hgt, VI6_HGT_MAXMIN); in vsp1_hgt_frame_end() 56 *data++ = vsp1_hgt_read(hgt, VI6_HGT_SUM); in vsp1_hgt_frame_end() 60 *data++ = vsp1_hgt_read(hgt, VI6_HGT_HISTO(m, n)); in vsp1_hgt_frame_end() 62 vsp1_histogram_buffer_complete(&hgt->histo, buf, HGT_DATA_SIZE); in vsp1_hgt_frame_end() 100 struct vsp1_hgt *hgt = container_of(ctrl->handler, struct vsp1_hgt, in hgt_hue_areas_s_ctrl() local [all …]
|
D | vsp1_pipe.c | 270 pipe->hgt = NULL; in vsp1_pipeline_reset() 353 if (pipe->hgt) in vsp1_pipeline_stop() 391 if (pipe->hgt) in vsp1_pipeline_frame_end() 392 vsp1_hgt_frame_end(pipe->hgt); in vsp1_pipeline_frame_end()
|
D | vsp1_drv.c | 158 if (vsp1->hgt) { in vsp1_uapi_create_links() 159 ret = media_create_pad_link(&vsp1->hgt->histo.entity.subdev.entity, in vsp1_uapi_create_links() 161 &vsp1->hgt->histo.video.entity, 0, in vsp1_uapi_create_links() 326 vsp1->hgt = vsp1_hgt_create(vsp1); in vsp1_create_entities() 327 if (IS_ERR(vsp1->hgt)) { in vsp1_create_entities() 328 ret = PTR_ERR(vsp1->hgt); in vsp1_create_entities() 332 list_add_tail(&vsp1->hgt->histo.entity.list_dev, in vsp1_create_entities()
|
D | vsp1_hgt.h | 36 void vsp1_hgt_frame_end(struct vsp1_entity *hgt);
|
D | vsp1_pipe.h | 132 struct vsp1_entity *hgt; member
|
D | vsp1.h | 87 struct vsp1_hgt *hgt; member
|
D | vsp1_video.c | 614 pipe->hgt = e; in vsp1_video_pipeline_build()
|