Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/platform/amphion/
H A Dvpu_core.c85 core->supported_instance_count = vpu_iface_get_max_instance_count(core); in vpu_core_boot_done()
89 core->supported_instance_count = min(core->supported_instance_count, count); in vpu_core_boot_done()
91 if (core->supported_instance_count >= BITS_PER_TYPE(core->instance_mask)) in vpu_core_boot_done()
92 core->supported_instance_count = BITS_PER_TYPE(core->instance_mask); in vpu_core_boot_done()
328 if (id >= core->supported_instance_count) in vpu_core_acquire_instance()
338 if (id < 0 || id >= core->supported_instance_count) in vpu_core_release_instance()
438 if (inst->id >= 0 && inst->id < core->supported_instance_count) in vpu_inst_register()
473 if (inst->id >= 0 && inst->id < core->supported_instance_count) { in vpu_inst_unregister()
503 if (index >= core->supported_instance_count || !test_bit(index, &core->instance_mask)) in vpu_core_find_instance()
H A Dvpu.h142 u32 supported_instance_count; member
H A Dvpu_msgs.c388 for (i = 0; i < core->supported_instance_count; i++) { in vpu_msg_delayed_work()
H A Dvpu_dbg.c261 core->supported_instance_count, in vpu_dbg_core()