Home
last modified time | relevance | path

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

/linux-3.4.99/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()
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() local
186 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 …]