summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorWeili Qian <qianweili@huawei.com>2024-02-07 10:51:00 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2024-02-17 02:09:16 +0100
commitce133a22123055f5f988499cd9ac7953d2bf0677 (patch)
tree1214f390104a6304f509bba329149a28bad997f7 /drivers/ata
parentcrypto: hisilicon/qm - add stop function by hardware (diff)
downloadlinux-ce133a22123055f5f988499cd9ac7953d2bf0677.tar.xz
linux-ce133a22123055f5f988499cd9ac7953d2bf0677.zip
crypto: hisilicon/qm - obtain stop queue status
The debugfs files 'dev_state' and 'dev_timeout' are added. Users can query the current queue stop status through these two files. And set the waiting timeout when the queue is released. dev_state: if dev_timeout is set, dev_state indicates the status of stopping the queue. 0 indicates that the queue is stopped successfully. Other values indicate that the queue stops fail. If dev_timeout is not set, the value of dev_state is 0; dev_timeout: if the queue fails to stop, the queue is released after waiting dev_timeout * 20ms. Signed-off-by: Weili Qian <qianweili@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions