Home
last modified time | relevance | path

Searched refs:hgt (Results 1 – 7 of 7) sorted by relevance

/drivers/media/platform/vsp1/
Dvsp1_hgt.c26 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 …]
Dvsp1_pipe.c270 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()
Dvsp1_drv.c158 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()
Dvsp1_hgt.h36 void vsp1_hgt_frame_end(struct vsp1_entity *hgt);
Dvsp1_pipe.h132 struct vsp1_entity *hgt; member
Dvsp1.h87 struct vsp1_hgt *hgt; member
Dvsp1_video.c614 pipe->hgt = e; in vsp1_video_pipeline_build()