Lines Matching refs:mcu_rev
716 unsigned int mcu_rev, in cs42l43_mcu_is_hw_compatible() argument
723 if (mcu_rev < CS42L43_MCU_SUPPORTED_REV && in cs42l43_mcu_is_hw_compatible()
740 unsigned int mcu_rev, bios_rev, boot_status, secure_cfg; in cs42l43_mcu_update_step() local
745 regmap_read(cs42l43->regmap, CS42L43_SOFT_INT, &mcu_rev); in cs42l43_mcu_update_step()
753 ret = regmap_read(cs42l43->regmap, CS42L43_MCU_SW_REV, &mcu_rev); in cs42l43_mcu_update_step()
759 bios_rev = (((mcu_rev & CS42L43_BIOS_MAJOR_REV_MASK) << 12) | in cs42l43_mcu_update_step()
760 ((mcu_rev & CS42L43_BIOS_MINOR_REV_MASK) << 4) | in cs42l43_mcu_update_step()
761 ((mcu_rev & CS42L43_BIOS_SUBMINOR_REV_MASK) >> 8)) >> in cs42l43_mcu_update_step()
763 mcu_rev = ((mcu_rev & CS42L43_FW_MAJOR_REV_MASK) << 12) | in cs42l43_mcu_update_step()
764 ((mcu_rev & CS42L43_FW_MINOR_REV_MASK) << 4) | in cs42l43_mcu_update_step()
765 ((mcu_rev & CS42L43_FW_SUBMINOR_REV_MASK) >> 8); in cs42l43_mcu_update_step()
771 patched = mcu_rev != CS42L43_MCU_ROM_REV || bios_rev != CS42L43_MCU_ROM_BIOS_REV; in cs42l43_mcu_update_step()
776 shadow = mcu_rev >= CS42L43_MCU_SHADOW_REGS_REQUIRED_REV; in cs42l43_mcu_update_step()
792 mcu_rev, bios_rev, boot_status); in cs42l43_mcu_update_step()
817 ret = cs42l43_mcu_is_hw_compatible(cs42l43, mcu_rev, bios_rev); in cs42l43_mcu_update_step()