Searched refs:uacce (Results 1 – 15 of 15) sorted by relevance
30 if (q->uacce->ops->start_queue) { in uacce_start_queue()31 ret = q->uacce->ops->start_queue(q); in uacce_start_queue()42 struct uacce_device *uacce = q->uacce; in uacce_put_queue() local44 if ((q->state == UACCE_Q_STARTED) && uacce->ops->stop_queue) in uacce_put_queue()45 uacce->ops->stop_queue(q); in uacce_put_queue()48 uacce->ops->put_queue) in uacce_put_queue()49 uacce->ops->put_queue(q); in uacce_put_queue()60 struct uacce_device *uacce = q->uacce; in uacce_fops_unl_ioctl() local71 mutex_lock(&uacce->mutex); in uacce_fops_unl_ioctl()83 if (uacce->ops->ioctl) in uacce_fops_unl_ioctl()[all …]
9 include/uapi/misc/uacce/uacce.h11 See Documentation/misc-devices/uacce.rst for more details.
2 obj-$(CONFIG_UACCE) += uacce.o
35 int (*get_available_instances)(struct uacce_device *uacce);36 int (*get_queue)(struct uacce_device *uacce, unsigned long arg,79 struct uacce_device *uacce; member128 int uacce_register(struct uacce_device *uacce);129 void uacce_remove(struct uacce_device *uacce);140 static inline int uacce_register(struct uacce_device *uacce) in uacce_register() argument145 static inline void uacce_remove(struct uacce_device *uacce) {} in uacce_remove() argument
339 struct uacce_device *uacce; member
1 What: /sys/class/uacce/<dev_name>/api9 What: /sys/class/uacce/<dev_name>/flags13 Description: Attributes of the device, see UACCE_DEV_xxx flag defined in uacce.h15 What: /sys/class/uacce/<dev_name>/available_instances22 What: /sys/class/uacce/<dev_name>/algorithms29 What: /sys/class/uacce/<dev_name>/region_mmio_size35 What: /sys/class/uacce/<dev_name>/region_dus_size
47 The uacce device, built around the IOMMU SVA API, can access multiple68 | Other framework | | uacce | | r/w interface130 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_SVA167 So user driver need check return value as well as the negotiated uacce->flags.176 More details in Documentation/ABI/testing/sysfs-driver-uacce.
31 uacce
3259 static int hisi_qm_get_available_instances(struct uacce_device *uacce) in hisi_qm_get_available_instances() argument3261 struct hisi_qm *qm = uacce->priv; in hisi_qm_get_available_instances()3279 static int hisi_qm_uacce_get_queue(struct uacce_device *uacce, in hisi_qm_uacce_get_queue() argument3283 struct hisi_qm *qm = uacce->priv; in hisi_qm_uacce_get_queue()3292 q->uacce = uacce; in hisi_qm_uacce_get_queue()3393 struct hisi_qm *qm = q->uacce->priv; in qm_set_sqctype()3457 struct uacce_device *uacce; in qm_alloc_uacce() local3472 uacce = uacce_alloc(&pdev->dev, &interface); in qm_alloc_uacce()3473 if (IS_ERR(uacce)) in qm_alloc_uacce()3474 return PTR_ERR(uacce); in qm_alloc_uacce()[all …]
58 obj-$(CONFIG_UACCE) += uacce/
514 source "drivers/misc/uacce/Kconfig"
1104 qm->uacce->algs = algs; in sec_set_qm_algs()1246 if (qm->uacce) { in sec_probe()1247 ret = uacce_register(qm->uacce); in sec_probe()
441 qm->uacce->algs = algs; in hisi_zip_set_qm_algs()1237 if (qm->uacce) { in hisi_zip_probe()1238 ret = uacce_register(qm->uacce); in hisi_zip_probe()
386 qm->uacce->algs = algs; in hpre_set_qm_algs()1402 if (qm->uacce) { in hpre_probe()1403 ret = uacce_register(qm->uacce); in hpre_probe()
21021 F: Documentation/ABI/testing/sysfs-driver-uacce21022 F: Documentation/misc-devices/uacce.rst21023 F: drivers/misc/uacce/21024 F: include/linux/uacce.h21025 F: include/uapi/misc/uacce/