Searched refs:otp_ctrl_data (Results 1 – 1 of 1) sorted by relevance
73 u32 otp_ctrl_data; in atl1c_get_permanent_address() local83 AT_READ_REG(hw, REG_OTP_CTRL, &otp_ctrl_data); in atl1c_get_permanent_address()87 if (!(otp_ctrl_data & OTP_CTRL_CLK_EN)) { in atl1c_get_permanent_address()88 otp_ctrl_data |= OTP_CTRL_CLK_EN; in atl1c_get_permanent_address()89 AT_WRITE_REG(hw, REG_OTP_CTRL, otp_ctrl_data); in atl1c_get_permanent_address()136 otp_ctrl_data &= ~OTP_CTRL_CLK_EN; in atl1c_get_permanent_address()137 AT_WRITE_REG(hw, REG_OTP_CTRL, otp_ctrl_data); in atl1c_get_permanent_address()179 u32 otp_ctrl_data; in atl1c_read_eeprom() local186 AT_READ_REG(hw, REG_OTP_CTRL, &otp_ctrl_data); in atl1c_read_eeprom()187 if (!(otp_ctrl_data & OTP_CTRL_CLK_EN)) in atl1c_read_eeprom()[all …]