Home
last modified time | relevance | path

Searched refs:hgo (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
Dvsp1_hgo.c26 static inline u32 vsp1_hgo_read(struct vsp1_hgo *hgo, u32 reg) in vsp1_hgo_read() argument
28 return vsp1_read(hgo->histo.entity.vsp1, reg); in vsp1_hgo_read()
31 static inline void vsp1_hgo_write(struct vsp1_hgo *hgo, in vsp1_hgo_write() argument
43 struct vsp1_hgo *hgo = to_hgo(&entity->subdev); in vsp1_hgo_frame_end() local
49 buf = vsp1_histogram_buffer_get(&hgo->histo); in vsp1_hgo_frame_end()
55 if (hgo->num_bins == 256) { in vsp1_hgo_frame_end()
56 *data++ = vsp1_hgo_read(hgo, VI6_HGO_G_MAXMIN); in vsp1_hgo_frame_end()
57 *data++ = vsp1_hgo_read(hgo, VI6_HGO_G_SUM); in vsp1_hgo_frame_end()
60 vsp1_write(hgo->histo.entity.vsp1, in vsp1_hgo_frame_end()
62 *data++ = vsp1_hgo_read(hgo, VI6_HGO_EXT_HIST_DATA); in vsp1_hgo_frame_end()
[all …]
Dvsp1_pipe.c269 pipe->hgo = NULL; in vsp1_pipeline_reset()
348 if (pipe->hgo) in vsp1_pipeline_stop()
388 if (pipe->hgo) in vsp1_pipeline_frame_end()
389 vsp1_hgo_frame_end(pipe->hgo); in vsp1_pipeline_frame_end()
Dvsp1_drv.c148 if (vsp1->hgo) { in vsp1_uapi_create_links()
149 ret = media_create_pad_link(&vsp1->hgo->histo.entity.subdev.entity, in vsp1_uapi_create_links()
151 &vsp1->hgo->histo.video.entity, 0, in vsp1_uapi_create_links()
315 vsp1->hgo = vsp1_hgo_create(vsp1); in vsp1_create_entities()
316 if (IS_ERR(vsp1->hgo)) { in vsp1_create_entities()
317 ret = PTR_ERR(vsp1->hgo); in vsp1_create_entities()
321 list_add_tail(&vsp1->hgo->histo.entity.list_dev, in vsp1_create_entities()
Dvsp1_hgo.h39 void vsp1_hgo_frame_end(struct vsp1_entity *hgo);
Dvsp1_pipe.h131 struct vsp1_entity *hgo; member
Dvsp1.h86 struct vsp1_hgo *hgo; member
Dvsp1_video.c610 pipe->hgo = e; in vsp1_video_pipeline_build()
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dmeta-formats.rst19 pixfmt-meta-vsp1-hgo
Dpixfmt-meta-vsp1-hgo.rst3 .. _v4l2-meta-fmt-vsp1-hgo: