Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/media/tuners/
Dtuner-xc2028.c113 __u16 hwmodel; member
724 u16 version, hwmodel; in check_firmware() local
838 xc2028_get_reg(priv, 0x0008, &hwmodel) < 0) { in check_firmware()
844 hwmodel, (version & 0xf000) >> 12, (version & 0xf00) >> 8, in check_firmware()
858 hwmodel = 3028; in check_firmware()
863 if (priv->hwmodel == 0 && (hwmodel == 2028 || hwmodel == 3028)) { in check_firmware()
864 priv->hwmodel = hwmodel; in check_firmware()
866 } else if (priv->hwmodel == 0 || priv->hwmodel != hwmodel || in check_firmware()
Dxc4000.c98 __u16 hwmodel; member
939 u16 hwmodel; in check_firmware() local
1039 if (xc4000_readreg(priv, XREG_PRODUCT_ID, &hwmodel) < 0) { in check_firmware()
1051 hwmodel, hw_major, hw_minor, fw_major, fw_minor); in check_firmware()
1062 if (priv->hwmodel == 0 && in check_firmware()
1063 (hwmodel == XC_PRODUCT_ID_XC4000 || in check_firmware()
1064 hwmodel == XC_PRODUCT_ID_XC4100)) { in check_firmware()
1065 priv->hwmodel = hwmodel; in check_firmware()
1067 } else if (priv->hwmodel == 0 || priv->hwmodel != hwmodel || in check_firmware()
1710 priv->hwmodel : XC_PRODUCT_ID_FW_NOT_LOADED); in xc4000_attach()