18c2ecf20Sopenharmony_ciWhat: /sys/class/uacce/<dev_name>/api 28c2ecf20Sopenharmony_ciDate: Feb 2020 38c2ecf20Sopenharmony_ciKernelVersion: 5.7 48c2ecf20Sopenharmony_ciContact: linux-accelerators@lists.ozlabs.org 58c2ecf20Sopenharmony_ciDescription: Api of the device 68c2ecf20Sopenharmony_ci Can be any string and up to userspace to parse. 78c2ecf20Sopenharmony_ci Application use the api to match the correct driver 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ciWhat: /sys/class/uacce/<dev_name>/flags 108c2ecf20Sopenharmony_ciDate: Feb 2020 118c2ecf20Sopenharmony_ciKernelVersion: 5.7 128c2ecf20Sopenharmony_ciContact: linux-accelerators@lists.ozlabs.org 138c2ecf20Sopenharmony_ciDescription: Attributes of the device, see UACCE_DEV_xxx flag defined in uacce.h 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciWhat: /sys/class/uacce/<dev_name>/available_instances 168c2ecf20Sopenharmony_ciDate: Feb 2020 178c2ecf20Sopenharmony_ciKernelVersion: 5.7 188c2ecf20Sopenharmony_ciContact: linux-accelerators@lists.ozlabs.org 198c2ecf20Sopenharmony_ciDescription: Available instances left of the device 208c2ecf20Sopenharmony_ci Return -ENODEV if uacce_ops get_available_instances is not provided 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ciWhat: /sys/class/uacce/<dev_name>/algorithms 238c2ecf20Sopenharmony_ciDate: Feb 2020 248c2ecf20Sopenharmony_ciKernelVersion: 5.7 258c2ecf20Sopenharmony_ciContact: linux-accelerators@lists.ozlabs.org 268c2ecf20Sopenharmony_ciDescription: Algorithms supported by this accelerator, separated by new line. 278c2ecf20Sopenharmony_ci Can be any string and up to userspace to parse. 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ciWhat: /sys/class/uacce/<dev_name>/region_mmio_size 308c2ecf20Sopenharmony_ciDate: Feb 2020 318c2ecf20Sopenharmony_ciKernelVersion: 5.7 328c2ecf20Sopenharmony_ciContact: linux-accelerators@lists.ozlabs.org 338c2ecf20Sopenharmony_ciDescription: Size (bytes) of mmio region queue file 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ciWhat: /sys/class/uacce/<dev_name>/region_dus_size 368c2ecf20Sopenharmony_ciDate: Feb 2020 378c2ecf20Sopenharmony_ciKernelVersion: 5.7 388c2ecf20Sopenharmony_ciContact: linux-accelerators@lists.ozlabs.org 398c2ecf20Sopenharmony_ciDescription: Size (bytes) of dus region queue file 40