Searched refs:ent_enum (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.6/include/media/ |
D | media-entity.h | 96 struct media_entity_enum ent_enum; member 149 struct media_entity_enum ent_enum; member 508 __must_check int media_entity_enum_init(struct media_entity_enum *ent_enum, 516 void media_entity_enum_cleanup(struct media_entity_enum *ent_enum); 523 static inline void media_entity_enum_zero(struct media_entity_enum *ent_enum) in media_entity_enum_zero() argument 525 bitmap_zero(ent_enum->bmap, ent_enum->idx_max); in media_entity_enum_zero() 534 static inline void media_entity_enum_set(struct media_entity_enum *ent_enum, in media_entity_enum_set() argument 537 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_set() 540 __set_bit(entity->internal_idx, ent_enum->bmap); in media_entity_enum_set() 549 static inline void media_entity_enum_clear(struct media_entity_enum *ent_enum, in media_entity_enum_clear() argument [all …]
|
/Linux-v6.6/drivers/media/mc/ |
D | mc-entity.c | 62 __must_check int media_entity_enum_init(struct media_entity_enum *ent_enum, in media_entity_enum_init() argument 68 ent_enum->bmap = bitmap_zalloc(idx_max, GFP_KERNEL); in media_entity_enum_init() 69 if (!ent_enum->bmap) in media_entity_enum_init() 72 ent_enum->idx_max = idx_max; in media_entity_enum_init() 78 void media_entity_enum_cleanup(struct media_entity_enum *ent_enum) in media_entity_enum_cleanup() argument 80 bitmap_free(ent_enum->bmap); in media_entity_enum_cleanup() 318 return media_entity_enum_init(&graph->ent_enum, mdev); in media_graph_walk_init() 328 media_entity_enum_cleanup(&graph->ent_enum); in media_graph_walk_cleanup() 335 media_entity_enum_zero(&graph->ent_enum); in media_graph_walk_start() 336 media_entity_enum_set(&graph->ent_enum, entity); in media_graph_walk_start() [all …]
|
D | mc-device.c | 650 >= mdev->pm_count_walk.ent_enum.idx_max) { in media_device_register_entity()
|
/Linux-v6.6/drivers/media/platform/ti/omap3isp/ |
D | ispvideo.c | 236 media_entity_enum_set(&pipe->ent_enum, entity); in isp_video_get_graph_data() 977 if (!media_entity_enum_test(&pipe->ent_enum, ents[i])) in isp_video_check_external_subdevs() 1028 if (media_entity_enum_test(&pipe->ent_enum, in isp_video_check_external_subdevs() 1094 ret = media_entity_enum_init(&pipe->ent_enum, &video->isp->media_dev); in isp_video_streamon() 1172 media_entity_enum_cleanup(&pipe->ent_enum); in isp_video_streamon() 1228 media_entity_enum_cleanup(&pipe->ent_enum); in isp_video_streamoff()
|
D | ispvideo.h | 89 struct media_entity_enum ent_enum; member
|
D | isp.c | 686 if (media_entity_enum_intersects(&pipe->ent_enum, &isp->crashed)) in isp_pipeline_enable()
|
/Linux-v6.6/drivers/staging/media/omap4iss/ |
D | iss_video.h | 83 struct media_entity_enum ent_enum; member
|
D | iss_video.c | 873 ret = media_entity_enum_init(&pipe->ent_enum, mdev); in iss_video_streamon() 885 media_entity_enum_set(&pipe->ent_enum, pad->entity); in iss_video_streamon() 977 media_entity_enum_cleanup(&pipe->ent_enum); in iss_video_streamon() 1018 media_entity_enum_cleanup(&pipe->ent_enum); in iss_video_streamoff()
|
D | iss.c | 450 if (media_entity_enum_intersects(&pipe->ent_enum, &iss->crashed)) in iss_pipeline_enable()
|
/Linux-v6.6/drivers/media/platform/renesas/vsp1/ |
D | vsp1_video.c | 473 struct media_entity_enum ent_enum; in vsp1_video_pipeline_build_branch() local 479 ret = media_entity_enum_init(&ent_enum, &input->entity.vsp1->media_dev); in vsp1_video_pipeline_build_branch() 527 if (media_entity_enum_test_and_set(&ent_enum, in vsp1_video_pipeline_build_branch() 554 media_entity_enum_cleanup(&ent_enum); in vsp1_video_pipeline_build_branch()
|