Searched refs:otp_ctrl_data (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_hw.c | 73 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 in atl1c_read_eeprom() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_hw.c | 73 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 in atl1c_read_eeprom() [all...] |
Completed in 2 milliseconds