Home
last modified time | relevance | path

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

/drivers/media/mc/
Dmc-entity.c63 __must_check int __media_entity_enum_init(struct media_entity_enum *ent_enum, in __media_entity_enum_init() argument
67 ent_enum->bmap = kcalloc(idx_max / BITS_PER_LONG, sizeof(long), in __media_entity_enum_init()
69 if (!ent_enum->bmap) in __media_entity_enum_init()
72 bitmap_zero(ent_enum->bmap, idx_max); in __media_entity_enum_init()
73 ent_enum->idx_max = idx_max; in __media_entity_enum_init()
79 void media_entity_enum_cleanup(struct media_entity_enum *ent_enum) in media_entity_enum_cleanup() argument
81 kfree(ent_enum->bmap); in media_entity_enum_cleanup()
280 return media_entity_enum_init(&graph->ent_enum, mdev); in media_graph_walk_init()
290 media_entity_enum_cleanup(&graph->ent_enum); in media_graph_walk_cleanup()
297 media_entity_enum_zero(&graph->ent_enum); in media_graph_walk_start()
[all …]
Dmc-device.c663 >= mdev->pm_count_walk.ent_enum.idx_max) { in media_device_register_entity()
/drivers/media/platform/omap3isp/
Dispvideo.c242 media_entity_enum_set(&pipe->ent_enum, entity); in isp_video_get_graph_data()
980 if (!media_entity_enum_test(&pipe->ent_enum, ents[i])) in isp_video_check_external_subdevs()
1032 if (media_entity_enum_test(&pipe->ent_enum, in isp_video_check_external_subdevs()
1099 ret = media_entity_enum_init(&pipe->ent_enum, &video->isp->media_dev); in isp_video_streamon()
1177 media_entity_enum_cleanup(&pipe->ent_enum); in isp_video_streamon()
1233 media_entity_enum_cleanup(&pipe->ent_enum); in isp_video_streamoff()
Dispvideo.h89 struct media_entity_enum ent_enum; member
Disp.c685 if (media_entity_enum_intersects(&pipe->ent_enum, &isp->crashed)) in isp_pipeline_enable()
/drivers/staging/media/omap4iss/
Diss_video.h84 struct media_entity_enum ent_enum; member
Diss_video.c878 ret = media_entity_enum_init(&pipe->ent_enum, entity->graph_obj.mdev); in iss_video_streamon()
895 media_entity_enum_set(&pipe->ent_enum, entity); in iss_video_streamon()
987 media_entity_enum_cleanup(&pipe->ent_enum); in iss_video_streamon()
1028 media_entity_enum_cleanup(&pipe->ent_enum); in iss_video_streamoff()
Diss.c450 if (media_entity_enum_intersects(&pipe->ent_enum, &iss->crashed)) in iss_pipeline_enable()
/drivers/media/platform/vsp1/
Dvsp1_video.c472 struct media_entity_enum ent_enum; in vsp1_video_pipeline_build_branch() local
478 ret = media_entity_enum_init(&ent_enum, &input->entity.vsp1->media_dev); in vsp1_video_pipeline_build_branch()
526 if (media_entity_enum_test_and_set(&ent_enum, in vsp1_video_pipeline_build_branch()
553 media_entity_enum_cleanup(&ent_enum); in vsp1_video_pipeline_build_branch()