1015d239aSKenneth LeeWhat: /sys/class/uacce/<dev_name>/api 2015d239aSKenneth LeeDate: Feb 2020 3015d239aSKenneth LeeKernelVersion: 5.7 4015d239aSKenneth LeeContact: linux-accelerators@lists.ozlabs.org 5015d239aSKenneth LeeDescription: Api of the device 6015d239aSKenneth Lee Can be any string and up to userspace to parse. 7015d239aSKenneth Lee Application use the api to match the correct driver 8015d239aSKenneth Lee 9015d239aSKenneth LeeWhat: /sys/class/uacce/<dev_name>/flags 10015d239aSKenneth LeeDate: Feb 2020 11015d239aSKenneth LeeKernelVersion: 5.7 12015d239aSKenneth LeeContact: linux-accelerators@lists.ozlabs.org 13015d239aSKenneth LeeDescription: Attributes of the device, see UACCE_DEV_xxx flag defined in uacce.h 14015d239aSKenneth Lee 15015d239aSKenneth LeeWhat: /sys/class/uacce/<dev_name>/available_instances 16015d239aSKenneth LeeDate: Feb 2020 17015d239aSKenneth LeeKernelVersion: 5.7 18015d239aSKenneth LeeContact: linux-accelerators@lists.ozlabs.org 19015d239aSKenneth LeeDescription: Available instances left of the device 20015d239aSKenneth Lee Return -ENODEV if uacce_ops get_available_instances is not provided 21015d239aSKenneth Lee 22015d239aSKenneth LeeWhat: /sys/class/uacce/<dev_name>/algorithms 23015d239aSKenneth LeeDate: Feb 2020 24015d239aSKenneth LeeKernelVersion: 5.7 25015d239aSKenneth LeeContact: linux-accelerators@lists.ozlabs.org 26015d239aSKenneth LeeDescription: Algorithms supported by this accelerator, separated by new line. 27015d239aSKenneth Lee Can be any string and up to userspace to parse. 28015d239aSKenneth Lee 29015d239aSKenneth LeeWhat: /sys/class/uacce/<dev_name>/region_mmio_size 30015d239aSKenneth LeeDate: Feb 2020 31015d239aSKenneth LeeKernelVersion: 5.7 32015d239aSKenneth LeeContact: linux-accelerators@lists.ozlabs.org 33015d239aSKenneth LeeDescription: Size (bytes) of mmio region queue file 34015d239aSKenneth Lee 35015d239aSKenneth LeeWhat: /sys/class/uacce/<dev_name>/region_dus_size 36015d239aSKenneth LeeDate: Feb 2020 37015d239aSKenneth LeeKernelVersion: 5.7 38015d239aSKenneth LeeContact: linux-accelerators@lists.ozlabs.org 39015d239aSKenneth LeeDescription: Size (bytes) of dus region queue file 40