crypto: hisilicon/qm - simplify the status of qm
authorWeili Qian <qianweili@huawei.com>
Sat, 25 Nov 2023 11:50:10 +0000 (19:50 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 1 Dec 2023 10:03:26 +0000 (18:03 +0800)
commitc66272a4c9932d6c585eef99039747617d48d662
tree76f40ba7c9858bde584a98ebca8508dcb488691b
parentfb4ac519c6caf5fdfcc30ef838cae55dbc919e2e
crypto: hisilicon/qm - simplify the status of qm

The 'QM_INIT' and 'QM_CLOSE' status of qm and 'QP_INIT'
and 'QP_CLOSE' status of queue are not actually used. Currently,
driver only needs to switch status when the device or queue
is enabled or stopped, Therefore, remove unneeded status to
simplify driver. In addition, rename'QM_START to'QM_WORK' for
ease to understand.

Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/ABI/testing/debugfs-hisi-hpre
Documentation/ABI/testing/debugfs-hisi-sec
Documentation/ABI/testing/debugfs-hisi-zip
drivers/crypto/hisilicon/debugfs.c
drivers/crypto/hisilicon/qm.c
drivers/crypto/hisilicon/qm_common.h
include/linux/hisi_acc_qm.h