Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.c73 u32 otp_ctrl_data; in atl1c_get_permanent_address() local
83 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()
120 otp_ctrl_data &= ~OTP_CTRL_CLK_EN; in atl1c_get_permanent_address()
121 AT_WRITE_REG(hw, REG_OTP_CTRL, otp_ctrl_data); in atl1c_get_permanent_address()
144 u32 otp_ctrl_data; in atl1c_read_eeprom() local
151 AT_READ_REG(hw, REG_OTP_CTRL, &otp_ctrl_data); in atl1c_read_eeprom()
152 if (!(otp_ctrl_data & OTP_CTRL_CLK_EN)) in atl1c_read_eeprom()
[all …]