Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/accel/habanalabs/common/
Dcommand_submission.c1188 struct hw_queue_properties *hw_queue_prop; in validate_queue_index() local
1199 hw_queue_prop = &asic->hw_queues_props[chunk->queue_index]; in validate_queue_index()
1201 if (hw_queue_prop->type == QUEUE_TYPE_NA) { in validate_queue_index()
1207 if (hw_queue_prop->binned) { in validate_queue_index()
1213 if (hw_queue_prop->driver_only) { in validate_queue_index()
1223 if (hw_queue_prop->type == QUEUE_TYPE_HW) { in validate_queue_index()
1225 if (!(hw_queue_prop->cb_alloc_flags & CB_ALLOC_USER)) { in validate_queue_index()
1234 if (!(hw_queue_prop->cb_alloc_flags & in validate_queue_index()
1245 *is_kernel_allocated_cb = !!(hw_queue_prop->cb_alloc_flags in validate_queue_index()
1249 *queue_type = hw_queue_prop->type; in validate_queue_index()
[all …]
/Linux-v6.6/drivers/accel/habanalabs/gaudi/
Dgaudi.c1430 struct hw_queue_properties *hw_queue_prop; in gaudi_collective_wait_create_job() local
1462 hw_queue_prop = &hdev->asic_prop.hw_queues_props[queue_id]; in gaudi_collective_wait_create_job()
1463 job = hl_cs_allocate_job(hdev, hw_queue_prop->type, true); in gaudi_collective_wait_create_job()
1509 if (hw_queue_prop->type == QUEUE_TYPE_EXT) in gaudi_collective_wait_create_job()
1527 struct hw_queue_properties *hw_queue_prop; in gaudi_collective_wait_create_jobs() local
1534 hw_queue_prop = &hdev->asic_prop.hw_queues_props[wait_queue_id]; in gaudi_collective_wait_create_jobs()
1535 if (!(hw_queue_prop->collective_mode == HL_COLLECTIVE_MASTER)) { in gaudi_collective_wait_create_jobs()