Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/accel/habanalabs/common/
Dcommand_submission.c1209 struct hw_queue_properties *hw_queue_prop; in validate_queue_index() local
1220 hw_queue_prop = &asic->hw_queues_props[chunk->queue_index]; in validate_queue_index()
1222 if (hw_queue_prop->type == QUEUE_TYPE_NA) { in validate_queue_index()
1228 if (hw_queue_prop->binned) { in validate_queue_index()
1234 if (hw_queue_prop->driver_only) { in validate_queue_index()
1244 if (hw_queue_prop->type == QUEUE_TYPE_HW) { in validate_queue_index()
1246 if (!(hw_queue_prop->cb_alloc_flags & CB_ALLOC_USER)) { in validate_queue_index()
1255 if (!(hw_queue_prop->cb_alloc_flags & in validate_queue_index()
1266 *is_kernel_allocated_cb = !!(hw_queue_prop->cb_alloc_flags in validate_queue_index()
1270 *queue_type = hw_queue_prop->type; in validate_queue_index()
[all …]
/linux-6.12.1/drivers/accel/habanalabs/gaudi/
Dgaudi.c1433 struct hw_queue_properties *hw_queue_prop; in gaudi_collective_wait_create_job() local
1465 hw_queue_prop = &hdev->asic_prop.hw_queues_props[queue_id]; in gaudi_collective_wait_create_job()
1466 job = hl_cs_allocate_job(hdev, hw_queue_prop->type, true); in gaudi_collective_wait_create_job()
1512 if (hw_queue_prop->type == QUEUE_TYPE_EXT) in gaudi_collective_wait_create_job()
1530 struct hw_queue_properties *hw_queue_prop; in gaudi_collective_wait_create_jobs() local
1537 hw_queue_prop = &hdev->asic_prop.hw_queues_props[wait_queue_id]; in gaudi_collective_wait_create_jobs()
1538 if (!(hw_queue_prop->collective_mode == HL_COLLECTIVE_MASTER)) { in gaudi_collective_wait_create_jobs()