1*c2ce6bbcSDave JiangWhat: sys/bus/dsa/devices/dsa<m>/version 2*c2ce6bbcSDave JiangDate: Apr 15, 2020 3*c2ce6bbcSDave JiangKernelVersion: 5.8.0 4*c2ce6bbcSDave JiangContact: dmaengine@vger.kernel.org 5*c2ce6bbcSDave JiangDescription: The hardware version number. 6*c2ce6bbcSDave Jiang 7b131ad59SJing LinWhat: sys/bus/dsa/devices/dsa<m>/cdev_major 8b131ad59SJing LinDate: Oct 25, 2019 9b131ad59SJing LinKernelVersion: 5.6.0 10b131ad59SJing LinContact: dmaengine@vger.kernel.org 11b131ad59SJing LinDescription: The major number that the character device driver assigned to 12b131ad59SJing Lin this device. 13b131ad59SJing Lin 14b131ad59SJing LinWhat: sys/bus/dsa/devices/dsa<m>/errors 15b131ad59SJing LinDate: Oct 25, 2019 16b131ad59SJing LinKernelVersion: 5.6.0 17b131ad59SJing LinContact: dmaengine@vger.kernel.org 18b131ad59SJing LinDescription: The error information for this device. 19b131ad59SJing Lin 20b131ad59SJing LinWhat: sys/bus/dsa/devices/dsa<m>/max_batch_size 21b131ad59SJing LinDate: Oct 25, 2019 22b131ad59SJing LinKernelVersion: 5.6.0 23b131ad59SJing LinContact: dmaengine@vger.kernel.org 24b131ad59SJing LinDescription: The largest number of work descriptors in a batch. 25b131ad59SJing Lin 26b131ad59SJing LinWhat: sys/bus/dsa/devices/dsa<m>/max_work_queues_size 27b131ad59SJing LinDate: Oct 25, 2019 28b131ad59SJing LinKernelVersion: 5.6.0 29b131ad59SJing LinContact: dmaengine@vger.kernel.org 30b131ad59SJing LinDescription: The maximum work queue size supported by this device. 31b131ad59SJing Lin 32b131ad59SJing LinWhat: sys/bus/dsa/devices/dsa<m>/max_engines 33b131ad59SJing LinDate: Oct 25, 2019 34b131ad59SJing LinKernelVersion: 5.6.0 35b131ad59SJing LinContact: dmaengine@vger.kernel.org 36b131ad59SJing LinDescription: The maximum number of engines supported by this device. 37b131ad59SJing Lin 38b131ad59SJing LinWhat: sys/bus/dsa/devices/dsa<m>/max_groups 39b131ad59SJing LinDate: Oct 25, 2019 40b131ad59SJing LinKernelVersion: 5.6.0 41b131ad59SJing LinContact: dmaengine@vger.kernel.org 42b131ad59SJing LinDescription: The maximum number of groups can be created under this device. 43b131ad59SJing Lin 44b131ad59SJing LinWhat: sys/bus/dsa/devices/dsa<m>/max_tokens 45b131ad59SJing LinDate: Oct 25, 2019 46b131ad59SJing LinKernelVersion: 5.6.0 47b131ad59SJing LinContact: dmaengine@vger.kernel.org 48b131ad59SJing LinDescription: The total number of bandwidth tokens supported by this device. 49b131ad59SJing Lin The bandwidth tokens represent resources within the DSA 50b131ad59SJing Lin implementation, and these resources are allocated by engines to 51b131ad59SJing Lin support operations. 52b131ad59SJing Lin 53b131ad59SJing LinWhat: sys/bus/dsa/devices/dsa<m>/max_transfer_size 54b131ad59SJing LinDate: Oct 25, 2019 55b131ad59SJing LinKernelVersion: 5.6.0 56b131ad59SJing LinContact: dmaengine@vger.kernel.org 57b131ad59SJing LinDescription: The number of bytes to be read from the source address to 58b131ad59SJing Lin perform the operation. The maximum transfer size is dependent on 59b131ad59SJing Lin the workqueue the descriptor was submitted to. 60b131ad59SJing Lin 61b131ad59SJing LinWhat: sys/bus/dsa/devices/dsa<m>/max_work_queues 62b131ad59SJing LinDate: Oct 25, 2019 63b131ad59SJing LinKernelVersion: 5.6.0 64b131ad59SJing LinContact: dmaengine@vger.kernel.org 65b131ad59SJing LinDescription: The maximum work queue number that this device supports. 66b131ad59SJing Lin 67b131ad59SJing LinWhat: sys/bus/dsa/devices/dsa<m>/numa_node 68b131ad59SJing LinDate: Oct 25, 2019 69b131ad59SJing LinKernelVersion: 5.6.0 70b131ad59SJing LinContact: dmaengine@vger.kernel.org 71b131ad59SJing LinDescription: The numa node number for this device. 72b131ad59SJing Lin 73b131ad59SJing LinWhat: sys/bus/dsa/devices/dsa<m>/op_cap 74b131ad59SJing LinDate: Oct 25, 2019 75b131ad59SJing LinKernelVersion: 5.6.0 76b131ad59SJing LinContact: dmaengine@vger.kernel.org 77b131ad59SJing LinDescription: The operation capability bit mask specify the operation types 78b131ad59SJing Lin supported by the this device. 79b131ad59SJing Lin 80b131ad59SJing LinWhat: sys/bus/dsa/devices/dsa<m>/state 81b131ad59SJing LinDate: Oct 25, 2019 82b131ad59SJing LinKernelVersion: 5.6.0 83b131ad59SJing LinContact: dmaengine@vger.kernel.org 84b131ad59SJing LinDescription: The state information of this device. It can be either enabled 85b131ad59SJing Lin or disabled. 86b131ad59SJing Lin 87b131ad59SJing LinWhat: sys/bus/dsa/devices/dsa<m>/group<m>.<n> 88b131ad59SJing LinDate: Oct 25, 2019 89b131ad59SJing LinKernelVersion: 5.6.0 90b131ad59SJing LinContact: dmaengine@vger.kernel.org 91b131ad59SJing LinDescription: The assigned group under this device. 92b131ad59SJing Lin 93b131ad59SJing LinWhat: sys/bus/dsa/devices/dsa<m>/engine<m>.<n> 94b131ad59SJing LinDate: Oct 25, 2019 95b131ad59SJing LinKernelVersion: 5.6.0 96b131ad59SJing LinContact: dmaengine@vger.kernel.org 97b131ad59SJing LinDescription: The assigned engine under this device. 98b131ad59SJing Lin 99b131ad59SJing LinWhat: sys/bus/dsa/devices/dsa<m>/wq<m>.<n> 100b131ad59SJing LinDate: Oct 25, 2019 101b131ad59SJing LinKernelVersion: 5.6.0 102b131ad59SJing LinContact: dmaengine@vger.kernel.org 103b131ad59SJing LinDescription: The assigned work queue under this device. 104b131ad59SJing Lin 105b131ad59SJing LinWhat: sys/bus/dsa/devices/dsa<m>/configurable 106b131ad59SJing LinDate: Oct 25, 2019 107b131ad59SJing LinKernelVersion: 5.6.0 108b131ad59SJing LinContact: dmaengine@vger.kernel.org 109b131ad59SJing LinDescription: To indicate if this device is configurable or not. 110b131ad59SJing Lin 111b131ad59SJing LinWhat: sys/bus/dsa/devices/dsa<m>/token_limit 112b131ad59SJing LinDate: Oct 25, 2019 113b131ad59SJing LinKernelVersion: 5.6.0 114b131ad59SJing LinContact: dmaengine@vger.kernel.org 115b131ad59SJing LinDescription: The maximum number of bandwidth tokens that may be in use at 116b131ad59SJing Lin one time by operations that access low bandwidth memory in the 117b131ad59SJing Lin device. 118b131ad59SJing Lin 119b131ad59SJing LinWhat: sys/bus/dsa/devices/wq<m>.<n>/group_id 120b131ad59SJing LinDate: Oct 25, 2019 121b131ad59SJing LinKernelVersion: 5.6.0 122b131ad59SJing LinContact: dmaengine@vger.kernel.org 123b131ad59SJing LinDescription: The group id that this work queue belongs to. 124b131ad59SJing Lin 125b131ad59SJing LinWhat: sys/bus/dsa/devices/wq<m>.<n>/size 126b131ad59SJing LinDate: Oct 25, 2019 127b131ad59SJing LinKernelVersion: 5.6.0 128b131ad59SJing LinContact: dmaengine@vger.kernel.org 129b131ad59SJing LinDescription: The work queue size for this work queue. 130b131ad59SJing Lin 131b131ad59SJing LinWhat: sys/bus/dsa/devices/wq<m>.<n>/type 132b131ad59SJing LinDate: Oct 25, 2019 133b131ad59SJing LinKernelVersion: 5.6.0 134b131ad59SJing LinContact: dmaengine@vger.kernel.org 135b131ad59SJing LinDescription: The type of this work queue, it can be "kernel" type for work 136b131ad59SJing Lin queue usages in the kernel space or "user" type for work queue 137b131ad59SJing Lin usages by applications in user space. 138b131ad59SJing Lin 139b131ad59SJing LinWhat: sys/bus/dsa/devices/wq<m>.<n>/cdev_minor 140b131ad59SJing LinDate: Oct 25, 2019 141b131ad59SJing LinKernelVersion: 5.6.0 142b131ad59SJing LinContact: dmaengine@vger.kernel.org 143b131ad59SJing LinDescription: The minor number assigned to this work queue by the character 144b131ad59SJing Lin device driver. 145b131ad59SJing Lin 146b131ad59SJing LinWhat: sys/bus/dsa/devices/wq<m>.<n>/mode 147b131ad59SJing LinDate: Oct 25, 2019 148b131ad59SJing LinKernelVersion: 5.6.0 149b131ad59SJing LinContact: dmaengine@vger.kernel.org 150b131ad59SJing LinDescription: The work queue mode type for this work queue. 151b131ad59SJing Lin 152b131ad59SJing LinWhat: sys/bus/dsa/devices/wq<m>.<n>/priority 153b131ad59SJing LinDate: Oct 25, 2019 154b131ad59SJing LinKernelVersion: 5.6.0 155b131ad59SJing LinContact: dmaengine@vger.kernel.org 156b131ad59SJing LinDescription: The priority value of this work queue, it is a vlue relative to 157b131ad59SJing Lin other work queue in the same group to control quality of service 158b131ad59SJing Lin for dispatching work from multiple workqueues in the same group. 159b131ad59SJing Lin 160b131ad59SJing LinWhat: sys/bus/dsa/devices/wq<m>.<n>/state 161b131ad59SJing LinDate: Oct 25, 2019 162b131ad59SJing LinKernelVersion: 5.6.0 163b131ad59SJing LinContact: dmaengine@vger.kernel.org 164b131ad59SJing LinDescription: The current state of the work queue. 165b131ad59SJing Lin 166b131ad59SJing LinWhat: sys/bus/dsa/devices/wq<m>.<n>/threshold 167b131ad59SJing LinDate: Oct 25, 2019 168b131ad59SJing LinKernelVersion: 5.6.0 169b131ad59SJing LinContact: dmaengine@vger.kernel.org 170b131ad59SJing LinDescription: The number of entries in this work queue that may be filled 171b131ad59SJing Lin via a limited portal. 172b131ad59SJing Lin 173b131ad59SJing LinWhat: sys/bus/dsa/devices/engine<m>.<n>/group_id 174b131ad59SJing LinDate: Oct 25, 2019 175b131ad59SJing LinKernelVersion: 5.6.0 176b131ad59SJing LinContact: dmaengine@vger.kernel.org 177b131ad59SJing LinDescription: The group that this engine belongs to. 178