Home
last modified time | relevance | path

Searched +full:ethos +full:- +full:u65 (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/accel/ethosu/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
4 tristate "Arm Ethos-U65/U85 NPU"
12 Enables driver for Arm Ethos-U65/U85 NPUs
H A Dethosu_drv.c1 // SPDX-License-Identifier: GPL-2.0-only or MIT
32 if (!args->pointer) { in ethosu_ioctl_dev_query()
33 switch (args->type) { in ethosu_ioctl_dev_query()
35 args->size = sizeof(ethosudev->npu_info); in ethosu_ioctl_dev_query()
38 return -EINVAL; in ethosu_ioctl_dev_query()
42 switch (args->type) { in ethosu_ioctl_dev_query()
44 if (args->size < offsetofend(struct drm_ethosu_npu_info, sram_size)) in ethosu_ioctl_dev_query()
45 return -EINVAL; in ethosu_ioctl_dev_query()
46 return copy_struct_to_user(u64_to_user_ptr(args->pointer), in ethosu_ioctl_dev_query()
47 args->size, in ethosu_ioctl_dev_query()
[all …]