Searched refs:ent_enum (Results 1 – 11 of 11) sorted by relevance
/linux/include/media/ |
A D | media-entity.h | 95 struct media_entity_enum ent_enum; member 456 bitmap_zero(ent_enum->bmap, ent_enum->idx_max); in media_entity_enum_zero() 468 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_set() 471 __set_bit(entity->internal_idx, ent_enum->bmap); in media_entity_enum_set() 483 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_clear() 486 __clear_bit(entity->internal_idx, ent_enum->bmap); in media_entity_enum_clear() 500 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_test() 503 return test_bit(entity->internal_idx, ent_enum->bmap); in media_entity_enum_test() 519 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_test_and_set() 522 return __test_and_set_bit(entity->internal_idx, ent_enum->bmap); in media_entity_enum_test_and_set() [all …]
|
A D | media-device.h | 203 struct media_entity_enum *ent_enum, struct media_device *mdev) in media_entity_enum_init() argument 205 return __media_entity_enum_init(ent_enum, in media_entity_enum_init()
|
/linux/drivers/media/mc/ |
A D | mc-entity.c | 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() 298 media_entity_enum_set(&graph->ent_enum, entity); in media_graph_walk_start() [all …]
|
A D | mc-device.c | 658 >= mdev->pm_count_walk.ent_enum.idx_max) { in media_device_register_entity()
|
/linux/drivers/media/platform/omap3isp/ |
A D | ispvideo.c | 242 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()
|
A D | ispvideo.h | 89 struct media_entity_enum ent_enum; member
|
A D | isp.c | 685 if (media_entity_enum_intersects(&pipe->ent_enum, &isp->crashed)) in isp_pipeline_enable()
|
/linux/drivers/staging/media/omap4iss/ |
A D | iss_video.h | 83 struct media_entity_enum ent_enum; member
|
A D | iss_video.c | 879 ret = media_entity_enum_init(&pipe->ent_enum, entity->graph_obj.mdev); in iss_video_streamon() 897 media_entity_enum_set(&pipe->ent_enum, entity); in iss_video_streamon() 990 media_entity_enum_cleanup(&pipe->ent_enum); in iss_video_streamon() 1031 media_entity_enum_cleanup(&pipe->ent_enum); in iss_video_streamoff()
|
A D | iss.c | 450 if (media_entity_enum_intersects(&pipe->ent_enum, &iss->crashed)) in iss_pipeline_enable()
|
/linux/drivers/media/platform/vsp1/ |
A D | vsp1_video.c | 472 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()
|
Completed in 37 milliseconds