Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/accel/habanalabs/common/
Dcommand_submission.c2448 u32 num_engine_cores, u32 core_command) in cs_ioctl_engine_cores() argument
2458 if (!num_engine_cores || num_engine_cores > hdev->asic_prop.num_engine_cores) { in cs_ioctl_engine_cores()
2459 dev_err(hdev->dev, "Number of engine cores %d is invalid\n", num_engine_cores); in cs_ioctl_engine_cores()
2469 cores = kmalloc_array(num_engine_cores, sizeof(u32), GFP_KERNEL); in cs_ioctl_engine_cores()
2473 if (copy_from_user(cores, engine_cores_arr, num_engine_cores * sizeof(u32))) { in cs_ioctl_engine_cores()
2479 rc = hdev->asic_funcs->set_engine_cores(hdev, cores, num_engine_cores, core_command); in cs_ioctl_engine_cores()
2503 max_num_of_engines = hdev->asic_prop.num_engine_cores; in cs_ioctl_engines()
2596 args->in.num_engine_cores, args->in.core_command); in hl_cs_ioctl()
Dhabanalabs.h770 u32 num_engine_cores; member
/linux-6.6.21/include/uapi/drm/
Dhabanalabs_accel.h1597 __u32 num_engine_cores; member
/linux-6.6.21/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c2420 prop->num_engine_cores = CPU_ID_MAX; in gaudi2_set_fixed_properties()