Home
last modified time | relevance | path

Searched refs:uacce (Results 1 – 15 of 15) sorted by relevance

/Linux-v6.1/drivers/misc/uacce/
Duacce.c30 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() local
44 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() local
71 mutex_lock(&uacce->mutex); in uacce_fops_unl_ioctl()
83 if (uacce->ops->ioctl) in uacce_fops_unl_ioctl()
[all …]
DKconfig9 include/uapi/misc/uacce/uacce.h
11 See Documentation/misc-devices/uacce.rst for more details.
DMakefile2 obj-$(CONFIG_UACCE) += uacce.o
/Linux-v6.1/include/linux/
Duacce.h35 int (*get_available_instances)(struct uacce_device *uacce);
36 int (*get_queue)(struct uacce_device *uacce, unsigned long arg,
79 struct uacce_device *uacce; member
128 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() argument
145 static inline void uacce_remove(struct uacce_device *uacce) {} in uacce_remove() argument
Dhisi_acc_qm.h339 struct uacce_device *uacce; member
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-driver-uacce1 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
/Linux-v6.1/Documentation/misc-devices/
Duacce.rst47 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.
Dindex.rst31 uacce
/Linux-v6.1/drivers/crypto/hisilicon/
Dqm.c3259 static int hisi_qm_get_available_instances(struct uacce_device *uacce) in hisi_qm_get_available_instances() argument
3261 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() argument
3283 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() local
3472 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 …]
/Linux-v6.1/drivers/misc/
DMakefile58 obj-$(CONFIG_UACCE) += uacce/
DKconfig514 source "drivers/misc/uacce/Kconfig"
/Linux-v6.1/drivers/crypto/hisilicon/sec2/
Dsec_main.c1104 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()
/Linux-v6.1/drivers/crypto/hisilicon/zip/
Dzip_main.c441 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()
/Linux-v6.1/drivers/crypto/hisilicon/hpre/
Dhpre_main.c386 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()
/Linux-v6.1/
DMAINTAINERS21021 F: Documentation/ABI/testing/sysfs-driver-uacce
21022 F: Documentation/misc-devices/uacce.rst
21023 F: drivers/misc/uacce/
21024 F: include/linux/uacce.h
21025 F: include/uapi/misc/uacce/