Home
last modified time | relevance | path

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

/linux/include/media/
A Dmedia-entity.h75 int idx_max; member
440 int idx_max);
456 bitmap_zero(ent_enum->bmap, ent_enum->idx_max); in media_entity_enum_zero()
468 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_set()
483 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_clear()
500 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_test()
519 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_test_and_set()
534 return bitmap_empty(ent_enum->bmap, ent_enum->idx_max); in media_entity_enum_empty()
550 WARN_ON(ent_enum1->idx_max != ent_enum2->idx_max); in media_entity_enum_intersects()
553 min(ent_enum1->idx_max, ent_enum2->idx_max)); in media_entity_enum_intersects()
/linux/drivers/media/mc/
A 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()
A Dmc-device.c658 >= mdev->pm_count_walk.ent_enum.idx_max) { in media_device_register_entity()
/linux/drivers/net/ethernet/huawei/hinic/
A 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()

Completed in 14 milliseconds