Home
last modified time | relevance | path

Searched refs:hgt (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
H A 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 in hgt_hue_areas_s_ctrl() local
133 struct vsp1_hgt *hgt = to_hgt(&entity->subdev); hgt_configure_stream() local
189 struct vsp1_hgt *hgt; vsp1_hgt_create() local
[all...]
H A 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()
H A 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()
H A Dvsp1_hgt.h36 void vsp1_hgt_frame_end(struct vsp1_entity *hgt);
H A Dvsp1_pipe.h100 * @hgt: HGT entity, if present
132 struct vsp1_entity *hgt; member
H A Dvsp1.h87 struct vsp1_hgt *hgt; member
H A Dvsp1_video.c614 pipe->hgt = e; in vsp1_video_pipeline_build()
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/
H A 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 in hgt_hue_areas_s_ctrl() local
133 struct vsp1_hgt *hgt = to_hgt(&entity->subdev); hgt_configure_stream() local
189 struct vsp1_hgt *hgt; vsp1_hgt_create() local
[all...]
H A Dvsp1_drv.c167 if (vsp1->hgt) { in vsp1_uapi_create_links()
168 ret = media_create_pad_link(&vsp1->hgt->histo.entity.subdev.entity, in vsp1_uapi_create_links()
170 &vsp1->hgt->histo.video.entity, 0, in vsp1_uapi_create_links()
333 vsp1->hgt = vsp1_hgt_create(vsp1); in vsp1_create_entities()
334 if (IS_ERR(vsp1->hgt)) { in vsp1_create_entities()
335 ret = PTR_ERR(vsp1->hgt); in vsp1_create_entities()
339 list_add_tail(&vsp1->hgt->histo.entity.list_dev, in vsp1_create_entities()
H A Dvsp1_pipe.c288 pipe->hgt = NULL; in vsp1_pipeline_reset()
371 if (pipe->hgt) in vsp1_pipeline_stop()
409 if (pipe->hgt) in vsp1_pipeline_frame_end()
410 vsp1_hgt_frame_end(pipe->hgt); in vsp1_pipeline_frame_end()
H A Dvsp1_hgt.h36 void vsp1_hgt_frame_end(struct vsp1_entity *hgt);
H A Dvsp1_pipe.h100 * @hgt: HGT entity, if present
132 struct vsp1_entity *hgt; member
H A Dvsp1.h91 struct vsp1_hgt *hgt; member
H A Dvsp1_video.c615 pipe->hgt = e; in vsp1_video_pipeline_build()
/kernel/linux/linux-5.10/fs/gfs2/
H A Dbmap.c289 unsigned int hgt; in clone_metapath() local
292 for (hgt = 0; hgt < mp->mp_aheight; hgt++) in clone_metapath()
293 get_bh(clone->mp_bh[hgt]); in clone_metapath()
393 int hgt; in metapath_to_block() local
395 for (hgt = mp->mp_fheight - 1; hgt >= 0; hgt--) { in metapath_to_block()
396 if (hgt < m in metapath_to_block()
473 unsigned int hgt; gfs2_walk_metadata() local
553 unsigned int hgt; gfs2_hole_walker() local
[all...]
/kernel/linux/linux-6.6/fs/gfs2/
H A Dbmap.c289 unsigned int hgt; in clone_metapath() local
292 for (hgt = 0; hgt < mp->mp_aheight; hgt++) in clone_metapath()
293 get_bh(clone->mp_bh[hgt]); in clone_metapath()
392 int hgt; in metapath_to_block() local
394 for (hgt = mp->mp_fheight - 1; hgt >= 0; hgt--) { in metapath_to_block()
395 if (hgt < m in metapath_to_block()
472 unsigned int hgt; gfs2_walk_metadata() local
552 unsigned int hgt; gfs2_hole_walker() local
[all...]

Completed in 12 milliseconds