Searched refs:uacce (Results 1 – 13 of 13) sorted by relevance
/kernel/linux/linux-5.10/drivers/misc/uacce/ |
D | uacce.c | 26 if (q->uacce->ops->start_queue) { in uacce_start_queue() 27 ret = q->uacce->ops->start_queue(q); in uacce_start_queue() 42 struct uacce_device *uacce = q->uacce; in uacce_put_queue() local 49 if ((q->state == UACCE_Q_STARTED) && uacce->ops->stop_queue) in uacce_put_queue() 50 uacce->ops->stop_queue(q); in uacce_put_queue() 53 uacce->ops->put_queue) in uacce_put_queue() 54 uacce->ops->put_queue(q); in uacce_put_queue() 67 struct uacce_device *uacce = q->uacce; in uacce_fops_unl_ioctl() local 77 if (!uacce->ops->ioctl) in uacce_fops_unl_ioctl() 80 return uacce->ops->ioctl(q, cmd, arg); in uacce_fops_unl_ioctl() [all …]
|
D | Kconfig | 9 include/uapi/misc/uacce/uacce.h 11 See Documentation/misc-devices/uacce.rst for more details.
|
D | Makefile | 2 obj-$(CONFIG_UACCE) += uacce.o
|
/kernel/linux/linux-5.10/include/linux/ |
D | uacce.h | 35 int (*get_available_instances)(struct uacce_device *uacce); 36 int (*get_queue)(struct uacce_device *uacce, unsigned long arg, 78 struct uacce_device *uacce; member 126 int uacce_register(struct uacce_device *uacce); 127 void uacce_remove(struct uacce_device *uacce); 138 static inline int uacce_register(struct uacce_device *uacce) in uacce_register() argument 143 static inline void uacce_remove(struct uacce_device *uacce) {} in uacce_remove() argument
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-driver-uacce | 1 What: /sys/class/uacce/<dev_name>/api 9 What: /sys/class/uacce/<dev_name>/flags 13 Description: Attributes of the device, see UACCE_DEV_xxx flag defined in uacce.h 15 What: /sys/class/uacce/<dev_name>/available_instances 22 What: /sys/class/uacce/<dev_name>/algorithms 29 What: /sys/class/uacce/<dev_name>/region_mmio_size 35 What: /sys/class/uacce/<dev_name>/region_dus_size
|
/kernel/linux/linux-5.10/Documentation/misc-devices/ |
D | uacce.rst | 47 The uacce device, built around the IOMMU SVA API, can access multiple 68 | Other framework | | uacce | | r/w interface 130 The register API is defined in uacce.h. 154 int uacce_register(struct uacce_device *uacce); 155 void uacce_remove(struct uacce_device *uacce); 159 a. If uacce module is not compiled, ERR_PTR(-ENODEV) 165 uacce_interface.flags = UACCE_DEV_SVA but uacce->flags = ~UACCE_DEV_SVA 167 So user driver need check return value as well as the negotiated uacce->flags. 176 More details in Documentation/ABI/testing/sysfs-driver-uacce.
|
D | index.rst | 29 uacce
|
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/ |
D | qm.c | 2020 static int hisi_qm_get_available_instances(struct uacce_device *uacce) in hisi_qm_get_available_instances() argument 2022 return hisi_qm_get_free_qp_num(uacce->priv); in hisi_qm_get_available_instances() 2025 static int hisi_qm_uacce_get_queue(struct uacce_device *uacce, in hisi_qm_uacce_get_queue() argument 2029 struct hisi_qm *qm = uacce->priv; in hisi_qm_uacce_get_queue() 2038 q->uacce = uacce; in hisi_qm_uacce_get_queue() 2117 struct hisi_qm *qm = q->uacce->priv; in qm_set_sqctype() 2167 struct uacce_device *uacce; in qm_alloc_uacce() local 2181 uacce = uacce_alloc(&pdev->dev, &interface); in qm_alloc_uacce() 2182 if (IS_ERR(uacce)) in qm_alloc_uacce() 2183 return PTR_ERR(uacce); in qm_alloc_uacce() [all …]
|
D | qm.h | 251 struct uacce_device *uacce; member
|
/kernel/linux/linux-5.10/drivers/misc/ |
D | Makefile | 57 obj-$(CONFIG_UACCE) += uacce/
|
D | Kconfig | 483 source "drivers/misc/uacce/Kconfig"
|
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/zip/ |
D | zip_main.c | 832 if (qm->uacce) { in hisi_zip_probe() 833 ret = uacce_register(qm->uacce); in hisi_zip_probe()
|
/kernel/linux/linux-5.10/ |
D | MAINTAINERS | 17876 F: Documentation/ABI/testing/sysfs-driver-uacce 17877 F: Documentation/misc-devices/uacce.rst 17878 F: drivers/misc/uacce/ 17879 F: include/linux/uacce.h 17880 F: include/uapi/misc/uacce/
|