OpenCloudOS-Kernel/drivers/misc/habanalabs/gaudi2
Dafna Hirschfeld 0abcae8b48 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>
2022-11-23 16:44:42 +02:00
..
Makefile habanalabs/gaudi2: add gaudi2 profiler module 2022-07-12 09:09:28 +03:00
gaudi2.c habanalabs: add RMWREG32_SHIFTED to set a val within a mask 2022-11-23 16:44:42 +02:00
gaudi2P.h habanalabs/gaudi2: add PCI revision 2 support 2022-11-23 16:13:46 +02:00
gaudi2_coresight.c habanalabs/gaudi2: remove unused defines 2022-07-12 09:09:30 +03:00
gaudi2_coresight_regs.h habanalabs/gaudi2: add gaudi2 profiler module 2022-07-12 09:09:28 +03:00
gaudi2_masks.h habanalabs/gaudi2: print RAZWI info upon PCIe access error 2022-09-19 15:08:39 +03:00
gaudi2_security.c habanalabs/gaudi2: unsecure CBU_EARLY_BRESP registers 2022-11-23 16:13:42 +02:00