Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/media/
Dmedia-entity.h74 int idx_max; member
439 int idx_max);
455 bitmap_zero(ent_enum->bmap, ent_enum->idx_max); in media_entity_enum_zero()
467 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_set()
482 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_clear()
499 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_test()
518 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_test_and_set()
533 return bitmap_empty(ent_enum->bmap, ent_enum->idx_max); in media_entity_enum_empty()
549 WARN_ON(ent_enum1->idx_max != ent_enum2->idx_max); in media_entity_enum_intersects()
552 min(ent_enum1->idx_max, ent_enum2->idx_max)); in media_entity_enum_intersects()
/kernel/linux/linux-5.10/drivers/media/mc/
Dmc-entity.c64 int idx_max) in __media_entity_enum_init() argument
66 idx_max = ALIGN(idx_max, BITS_PER_LONG); in __media_entity_enum_init()
67 ent_enum->bmap = kcalloc(idx_max / BITS_PER_LONG, sizeof(long), 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()
Dmc-device.c658 >= mdev->pm_count_walk.ent_enum.idx_max) { in media_device_register_entity()
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_mbox.c674 u32 i, idx_max = MBOX_HEADER_SZ / sizeof(u32); in mbox_copy_header() local
677 for (i = 0; i < idx_max; i++) in mbox_copy_header()
688 u32 i, idx_max; in mbox_copy_send_data() local
697 idx_max = ALIGN(data_len, chk_sz) / chk_sz; in mbox_copy_send_data()
699 for (i = 0; i < idx_max; i++) in mbox_copy_send_data()