Searched refs:cur_value (Results 1 – 1 of 1) sorted by relevance
154 static uint32_t npcm7xx_otp_compute_fcfg(uint32_t cur_value, uint32_t new_value) in npcm7xx_otp_compute_fcfg() argument163 lock_mask = (cur_value & FCFG_FCFGLK_MASK) >> 8; in npcm7xx_otp_compute_fcfg()166 value = cur_value & (FCFG_FDIS | FCFG_FCFGLK_MASK); in npcm7xx_otp_compute_fcfg()168 value |= cur_value & lock_mask; in npcm7xx_otp_compute_fcfg()