Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / include / linux / soc / brcmstb / brcmstb.h
blob8e884e0dda0a01de6ad4d7594bdea10728b5ac5a
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)
12 return reg & 0xff;
16 * Helper functions for getting family or product id from the
17 * SoC driver.
19 u32 brcmstb_get_family_id(void);
20 u32 brcmstb_get_product_id(void);
22 #endif /* __BRCMSTB_SOC_H */