Home
last modified time | relevance | path

Searched refs:internal_idx (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/include/media/
Dmedia-entity.h300 int internal_idx; member
467 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_set()
470 __set_bit(entity->internal_idx, ent_enum->bmap); in media_entity_enum_set()
482 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_clear()
485 __clear_bit(entity->internal_idx, ent_enum->bmap); in media_entity_enum_clear()
499 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_test()
502 return test_bit(entity->internal_idx, ent_enum->bmap); in media_entity_enum_test()
518 if (WARN_ON(entity->internal_idx >= ent_enum->idx_max)) in media_entity_enum_test_and_set()
521 return __test_and_set_bit(entity->internal_idx, ent_enum->bmap); in media_entity_enum_test_and_set()
/kernel/linux/linux-5.10/drivers/media/mc/
Dmc-device.c586 ida_free(&mdev->entity_internal_idx, entity->internal_idx); in __media_device_unregister_entity()
639 entity->internal_idx = ret; in media_device_register_entity()
643 max(mdev->entity_internal_idx_max, entity->internal_idx); in media_device_register_entity()