Home
last modified time | relevance | path

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

/linux/drivers/mfd/
H A Dcs42l43.c716 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()
[all …]