aboutsummaryrefslogtreecommitdiff
path: root/drivers/ntb
diff options
context:
space:
mode:
authorWeili Qian2021-04-06 20:56:02 +0800
committerHerbert Xu2021-04-16 21:16:31 +1000
commit7ed83901326f781524af2d969185440efe23f964 (patch)
tree1c2837124ce5ecce0066f78bc29157f69bb0f568 /drivers/ntb
parent7dad7d007ab73b36a4a2438f063dfabbdc2df288 (diff)
crypto: hisilicon/qm - add stop queue by hardware
Kunpeng930 could be able to stop queue by writing hardware registers, which will trigger tasks in device to be flushed out. In order to be compatible with the kunpeng920 driver, add 'qm_hw_ops_v3' to adapt Kunpeng930. And 'stop_qp' callback is added in 'qm_hw_ops_v3' to write hardware registers. Call 'stop_qp' to drain the tasks in device before releasing queue. Signed-off-by: Weili Qian <qianweili@huawei.com> Reviewed-by: Longfang Liu <liulongfang@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/ntb')
0 files changed, 0 insertions, 0 deletions