Searched refs:otp_ctrl_data (Results 1 – 1 of 1) sorted by relevance
86 u32 otp_ctrl_data; in atl1c_get_permanent_address() local96 AT_READ_REG(hw, REG_OTP_CTRL, &otp_ctrl_data); in atl1c_get_permanent_address()100 if (!(otp_ctrl_data & OTP_CTRL_CLK_EN)) { in atl1c_get_permanent_address()101 otp_ctrl_data |= OTP_CTRL_CLK_EN; in atl1c_get_permanent_address()102 AT_WRITE_REG(hw, REG_OTP_CTRL, otp_ctrl_data); in atl1c_get_permanent_address()133 otp_ctrl_data &= ~OTP_CTRL_CLK_EN; in atl1c_get_permanent_address()134 AT_WRITE_REG(hw, REG_OTP_CTRL, otp_ctrl_data); in atl1c_get_permanent_address()157 u32 otp_ctrl_data; in atl1c_read_eeprom() local164 AT_READ_REG(hw, REG_OTP_CTRL, &otp_ctrl_data); in atl1c_read_eeprom()165 if (!(otp_ctrl_data & OTP_CTRL_CLK_EN)) in atl1c_read_eeprom()[all …]