diff options
author | Dafna Hirschfeld <dhirschfeld@habana.ai> | 2022-10-30 16:49:42 +0200 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2022-11-23 16:44:42 +0200 |
commit | 0abcae8b48850e0f488d0eb7232323d93bdc4b13 (patch) | |
tree | 73bb7da5df7708eb0616815784cae1c380afea25 /io_uring/uring_cmd.h | |
parent | 56fb517775f4d71dbca2b1fb3562276138361072 (diff) | |
download | linux-0abcae8b48850e0f488d0eb7232323d93bdc4b13.tar.bz2 |
habanalabs: add RMWREG32_SHIFTED to set a val within a mask
This is similar to RMWREG32, but the given 'val' is already shifted
according to the mask.
This allows several 'ORed' vals and masks to be set at once
The patch also fixes wrong usage of RMWREG32 by replacing
it with RMWREG32_SHIFTED
Signed-off-by: Dafna Hirschfeld <dhirschfeld@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'io_uring/uring_cmd.h')
0 files changed, 0 insertions, 0 deletions