Home
last modified time | relevance | path

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

/linux-6.1.9/include/media/
Dmedia-entity.h76 int idx_max; member
503 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()
/linux-6.1.9/drivers/media/mc/
Dmc-entity.c65 int idx_max; in media_entity_enum_init() local
67 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()
Dmc-device.c650 >= mdev->pm_count_walk.ent_enum.idx_max) { in media_device_register_entity()
/linux-6.1.9/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_mbox.c669 u32 i, idx_max = MBOX_HEADER_SZ / sizeof(u32); in mbox_copy_header() local
672 for (i = 0; i < idx_max; i++) in mbox_copy_header()
683 u32 i, idx_max; in mbox_copy_send_data() local
692 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()