ent_enum 625 drivers/media/mc/mc-device.c >= mdev->pm_count_walk.ent_enum.idx_max) { ent_enum 63 drivers/media/mc/mc-entity.c __must_check int __media_entity_enum_init(struct media_entity_enum *ent_enum, ent_enum 67 drivers/media/mc/mc-entity.c ent_enum->bmap = kcalloc(idx_max / BITS_PER_LONG, sizeof(long), ent_enum 69 drivers/media/mc/mc-entity.c if (!ent_enum->bmap) ent_enum 72 drivers/media/mc/mc-entity.c bitmap_zero(ent_enum->bmap, idx_max); ent_enum 73 drivers/media/mc/mc-entity.c ent_enum->idx_max = idx_max; ent_enum 79 drivers/media/mc/mc-entity.c void media_entity_enum_cleanup(struct media_entity_enum *ent_enum) ent_enum 81 drivers/media/mc/mc-entity.c kfree(ent_enum->bmap); ent_enum 280 drivers/media/mc/mc-entity.c return media_entity_enum_init(&graph->ent_enum, mdev); ent_enum 290 drivers/media/mc/mc-entity.c media_entity_enum_cleanup(&graph->ent_enum); ent_enum 297 drivers/media/mc/mc-entity.c media_entity_enum_zero(&graph->ent_enum); ent_enum 298 drivers/media/mc/mc-entity.c media_entity_enum_set(&graph->ent_enum, entity); ent_enum 330 drivers/media/mc/mc-entity.c if (media_entity_enum_test_and_set(&graph->ent_enum, next)) { ent_enum 687 drivers/media/platform/omap3isp/isp.c if (media_entity_enum_intersects(&pipe->ent_enum, &isp->crashed)) ent_enum 243 drivers/media/platform/omap3isp/ispvideo.c media_entity_enum_set(&pipe->ent_enum, entity); ent_enum 981 drivers/media/platform/omap3isp/ispvideo.c if (!media_entity_enum_test(&pipe->ent_enum, ents[i])) ent_enum 1033 drivers/media/platform/omap3isp/ispvideo.c if (media_entity_enum_test(&pipe->ent_enum, ent_enum 1100 drivers/media/platform/omap3isp/ispvideo.c ret = media_entity_enum_init(&pipe->ent_enum, &video->isp->media_dev); ent_enum 1178 drivers/media/platform/omap3isp/ispvideo.c media_entity_enum_cleanup(&pipe->ent_enum); ent_enum 1234 drivers/media/platform/omap3isp/ispvideo.c media_entity_enum_cleanup(&pipe->ent_enum); ent_enum 89 drivers/media/platform/omap3isp/ispvideo.h struct media_entity_enum ent_enum; ent_enum 472 drivers/media/platform/vsp1/vsp1_video.c struct media_entity_enum ent_enum; ent_enum 478 drivers/media/platform/vsp1/vsp1_video.c ret = media_entity_enum_init(&ent_enum, &input->entity.vsp1->media_dev); ent_enum 526 drivers/media/platform/vsp1/vsp1_video.c if (media_entity_enum_test_and_set(&ent_enum, ent_enum 553 drivers/media/platform/vsp1/vsp1_video.c media_entity_enum_cleanup(&ent_enum); ent_enum 450 drivers/staging/media/omap4iss/iss.c if (media_entity_enum_intersects(&pipe->ent_enum, &iss->crashed)) ent_enum 878 drivers/staging/media/omap4iss/iss_video.c ret = media_entity_enum_init(&pipe->ent_enum, entity->graph_obj.mdev); ent_enum 895 drivers/staging/media/omap4iss/iss_video.c media_entity_enum_set(&pipe->ent_enum, entity); ent_enum 987 drivers/staging/media/omap4iss/iss_video.c media_entity_enum_cleanup(&pipe->ent_enum); ent_enum 1028 drivers/staging/media/omap4iss/iss_video.c media_entity_enum_cleanup(&pipe->ent_enum); ent_enum 84 drivers/staging/media/omap4iss/iss_video.h struct media_entity_enum ent_enum; ent_enum 203 include/media/media-device.h struct media_entity_enum *ent_enum, struct media_device *mdev) ent_enum 205 include/media/media-device.h return __media_entity_enum_init(ent_enum, ent_enum 94 include/media/media-entity.h struct media_entity_enum ent_enum; ent_enum 437 include/media/media-entity.h __must_check int __media_entity_enum_init(struct media_entity_enum *ent_enum, ent_enum 445 include/media/media-entity.h void media_entity_enum_cleanup(struct media_entity_enum *ent_enum); ent_enum 452 include/media/media-entity.h static inline void media_entity_enum_zero(struct media_entity_enum *ent_enum) ent_enum 454 include/media/media-entity.h bitmap_zero(ent_enum->bmap, ent_enum->idx_max); ent_enum 463 include/media/media-entity.h static inline void media_entity_enum_set(struct media_entity_enum *ent_enum, ent_enum 466 include/media/media-entity.h if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) ent_enum 469 include/media/media-entity.h __set_bit(entity->internal_idx, ent_enum->bmap); ent_enum 478 include/media/media-entity.h static inline void media_entity_enum_clear(struct media_entity_enum *ent_enum, ent_enum 481 include/media/media-entity.h if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) ent_enum 484 include/media/media-entity.h __clear_bit(entity->internal_idx, ent_enum->bmap); ent_enum 495 include/media/media-entity.h static inline bool media_entity_enum_test(struct media_entity_enum *ent_enum, ent_enum 498 include/media/media-entity.h if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) ent_enum 501 include/media/media-entity.h return test_bit(entity->internal_idx, ent_enum->bmap); ent_enum 514 include/media/media-entity.h media_entity_enum_test_and_set(struct media_entity_enum *ent_enum, ent_enum 517 include/media/media-entity.h if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) ent_enum 520 include/media/media-entity.h return __test_and_set_bit(entity->internal_idx, ent_enum->bmap); ent_enum 530 include/media/media-entity.h static inline bool media_entity_enum_empty(struct media_entity_enum *ent_enum) ent_enum 532 include/media/media-entity.h return bitmap_empty(ent_enum->bmap, ent_enum->idx_max);