1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __BRCMSTB_SOC_H
3 #define __BRCMSTB_SOC_H
5 static inline u32 BRCM_ID(u32 reg)
7 return reg >> 28 ? reg >> 16 : reg >> 8;
10 static inline u32 BRCM_REV(u32 reg)
16 * Helper functions for getting family or product id from the
19 u32 brcmstb_get_family_id(void);
20 u32 brcmstb_get_product_id(void);
22 #endif /* __BRCMSTB_SOC_H */