Searched refs:idx_max (Results 1 – 4 of 4) sorted by relevance
76 int idx_max; member503 bitmap_zero(ent_enum->bmap, ent_enum->idx_max); in media_entity_enum_zero()515 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_set()530 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_clear()547 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_test()566 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_test_and_set()581 return bitmap_empty(ent_enum->bmap, ent_enum->idx_max); in media_entity_enum_empty()597 WARN_ON(ent_enum1->idx_max != ent_enum2->idx_max); in media_entity_enum_intersects()600 min(ent_enum1->idx_max, ent_enum2->idx_max)); in media_entity_enum_intersects()
65 int idx_max; in media_entity_enum_init() local67 idx_max = ALIGN(mdev->entity_internal_idx_max + 1, BITS_PER_LONG); in media_entity_enum_init()68 ent_enum->bmap = bitmap_zalloc(idx_max, GFP_KERNEL); in media_entity_enum_init()72 ent_enum->idx_max = idx_max; in media_entity_enum_init()
650 >= mdev->pm_count_walk.ent_enum.idx_max) { in media_device_register_entity()
669 u32 i, idx_max = MBOX_HEADER_SZ / sizeof(u32); in mbox_copy_header() local672 for (i = 0; i < idx_max; i++) in mbox_copy_header()683 u32 i, idx_max; in mbox_copy_send_data() local692 idx_max = ALIGN(data_len, chk_sz) / chk_sz; in mbox_copy_send_data()694 for (i = 0; i < idx_max; i++) in mbox_copy_send_data()