Home
last modified time | relevance | path

Searched refs:idx_max (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/include/media/
Dmedia-entity.h82 int idx_max; member
416 int idx_max);
432 bitmap_zero(ent_enum->bmap, ent_enum->idx_max); in media_entity_enum_zero()
444 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_set()
459 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_clear()
476 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_test()
495 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_test_and_set()
510 return bitmap_empty(ent_enum->bmap, ent_enum->idx_max); in media_entity_enum_empty()
526 WARN_ON(ent_enum1->idx_max != ent_enum2->idx_max); in media_entity_enum_intersects()
529 min(ent_enum1->idx_max, ent_enum2->idx_max)); in media_entity_enum_intersects()
/Linux-v4.19/drivers/media/
Dmedia-entity.c73 int idx_max) in __media_entity_enum_init() argument
75 idx_max = ALIGN(idx_max, BITS_PER_LONG); in __media_entity_enum_init()
76 ent_enum->bmap = kcalloc(idx_max / BITS_PER_LONG, sizeof(long), in __media_entity_enum_init()
81 bitmap_zero(ent_enum->bmap, idx_max); in __media_entity_enum_init()
82 ent_enum->idx_max = idx_max; in __media_entity_enum_init()
Dmedia-device.c610 >= mdev->pm_count_walk.ent_enum.idx_max) { in media_device_register_entity()