Home
last modified time | relevance | path

Searched refs:num_engine_cores (Results 1 – 3 of 3) sorted by relevance

/drivers/misc/habanalabs/common/
Dcommand_submission.c2363 u32 num_engine_cores, u32 core_command) in cs_ioctl_engine_cores() argument
2370 if (!num_engine_cores || num_engine_cores > hdev->asic_prop.num_engine_cores) { in cs_ioctl_engine_cores()
2371 dev_err(hdev->dev, "Number of engine cores %d is invalid\n", num_engine_cores); in cs_ioctl_engine_cores()
2381 cores = kmalloc_array(num_engine_cores, sizeof(u32), GFP_KERNEL); in cs_ioctl_engine_cores()
2385 if (copy_from_user(cores, engine_cores_arr, num_engine_cores * sizeof(u32))) { in cs_ioctl_engine_cores()
2391 rc = hdev->asic_funcs->set_engine_cores(hdev, cores, num_engine_cores, core_command); in cs_ioctl_engine_cores()
2451 args->in.num_engine_cores, args->in.core_command); in hl_cs_ioctl()
Dhabanalabs.h759 u32 num_engine_cores; member
/drivers/misc/habanalabs/gaudi2/
Dgaudi2.c2032 prop->num_engine_cores = CPU_ID_MAX; in gaudi2_set_fixed_properties()