summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/linux/misc/bcm_vk.h
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-25 19:24:38 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-25 20:35:03 +0100
commita984eb367c032dbe2577f01238c3d1268526be70 (patch)
tree437fef40379b2758b129ccea39df3570fa2d145e /include/arch/x86_64/linux/misc/bcm_vk.h
parent8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff)
Clang-tidy fixes
Diffstat (limited to 'include/arch/x86_64/linux/misc/bcm_vk.h')
-rw-r--r--include/arch/x86_64/linux/misc/bcm_vk.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/include/arch/x86_64/linux/misc/bcm_vk.h b/include/arch/x86_64/linux/misc/bcm_vk.h
index 100f8543..b8657040 100644
--- a/include/arch/x86_64/linux/misc/bcm_vk.h
+++ b/include/arch/x86_64/linux/misc/bcm_vk.h
@@ -48,20 +48,17 @@ struct vk_reset {
#define VK_FWSTS_APP_INIT_START (1UL << 8)
#define VK_FWSTS_APP_INIT_DONE (1UL << 9)
#define VK_FWSTS_MASK 0xffffffff
-#define VK_FWSTS_READY \
- (VK_FWSTS_INIT_START | VK_FWSTS_ARCH_INIT_DONE | \
- VK_FWSTS_PRE_KNL1_INIT_DONE | VK_FWSTS_PRE_KNL2_INIT_DONE | \
- VK_FWSTS_POST_KNL_INIT_DONE | VK_FWSTS_INIT_DONE | \
- VK_FWSTS_APP_INIT_START | VK_FWSTS_APP_INIT_DONE)
+#define VK_FWSTS_READY \
+ (VK_FWSTS_INIT_START | VK_FWSTS_ARCH_INIT_DONE | VK_FWSTS_PRE_KNL1_INIT_DONE | VK_FWSTS_PRE_KNL2_INIT_DONE | \
+ VK_FWSTS_POST_KNL_INIT_DONE | VK_FWSTS_INIT_DONE | VK_FWSTS_APP_INIT_START | VK_FWSTS_APP_INIT_DONE)
/* Deinit */
#define VK_FWSTS_APP_DEINIT_START (1UL << 23)
#define VK_FWSTS_APP_DEINIT_DONE (1UL << 24)
#define VK_FWSTS_DRV_DEINIT_START (1UL << 25)
#define VK_FWSTS_DRV_DEINIT_DONE (1UL << 26)
#define VK_FWSTS_RESET_DONE (1UL << 27)
-#define VK_FWSTS_DEINIT_TRIGGERED \
- (VK_FWSTS_APP_DEINIT_START | VK_FWSTS_APP_DEINIT_DONE | \
- VK_FWSTS_DRV_DEINIT_START | VK_FWSTS_DRV_DEINIT_DONE)
+#define VK_FWSTS_DEINIT_TRIGGERED \
+ (VK_FWSTS_APP_DEINIT_START | VK_FWSTS_APP_DEINIT_DONE | VK_FWSTS_DRV_DEINIT_START | VK_FWSTS_DRV_DEINIT_DONE)
/* Last nibble for reboot reason */
#define VK_FWSTS_RESET_REASON_SHIFT 28
#define VK_FWSTS_RESET_REASON_MASK (0xf << VK_FWSTS_RESET_REASON_SHIFT)