Home
last modified time | relevance | path

Searched refs:hwmodel (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/media/tuners/
H A Dxc2028.c113 __u16 hwmodel; member
723 u16 version, hwmodel; in check_firmware() local
837 xc2028_get_reg(priv, 0x0008, &hwmodel) < 0) { in check_firmware()
843 hwmodel, (version & 0xf000) >> 12, (version & 0xf00) >> 8, in check_firmware()
857 hwmodel = 3028; in check_firmware()
862 if (priv->hwmodel == 0 && (hwmodel == 2028 || hwmodel == 3028)) { in check_firmware()
863 priv->hwmodel = hwmodel; in check_firmware()
865 } else if (priv->hwmodel == 0 || priv->hwmodel != hwmodel || in check_firmware()
H A Dxc4000.c89 __u16 hwmodel; member
927 u16 hwmodel; in check_firmware() local
1027 if (xc4000_readreg(priv, XREG_PRODUCT_ID, &hwmodel) < 0) { in check_firmware()
1039 hwmodel, hw_major, hw_minor, fw_major, fw_minor); in check_firmware()
1050 if (priv->hwmodel == 0 && in check_firmware()
1051 (hwmodel == XC_PRODUCT_ID_XC4000 || in check_firmware()
1052 hwmodel == XC_PRODUCT_ID_XC4100)) { in check_firmware()
1053 priv->hwmodel = hwmodel; in check_firmware()
1055 } else if (priv->hwmodel == 0 || priv->hwmodel != hwmodel || in check_firmware()
1698 priv->hwmodel : XC_PRODUCT_ID_FW_NOT_LOADED); in xc4000_attach()