Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/wireless/realtek/rtlwifi/
Defuse.c42 u16 efuse_addr, u8 word_en, u8 *data);
200 u16 efuse_addr = 0; in read_efuse() local
239 read_efuse_byte(hw, efuse_addr, rtemp8); in read_efuse()
243 "Addr=%d\n", efuse_addr); in read_efuse()
244 efuse_addr++; in read_efuse()
247 while ((*rtemp8 != 0xFF) && (efuse_addr < efuse_len)) { in read_efuse()
251 read_efuse_byte(hw, efuse_addr, rtemp8); in read_efuse()
254 efuse_addr++; in read_efuse()
255 read_efuse_byte(hw, efuse_addr, rtemp8); in read_efuse()
258 (efuse_addr < efuse_len)) { in read_efuse()
[all …]
/Linux-v6.6/drivers/staging/rtl8712/
Drtl8712_efuse.c212 u16 efuse_addr = 0; in r8712_efuse_get_current_size() local
216 while (bContinual && efuse_one_byte_read(adapter, efuse_addr, in r8712_efuse_get_current_size()
217 &efuse_data) && (efuse_addr < efuse_available_max_size)) { in r8712_efuse_get_current_size()
222 efuse_addr = efuse_addr + (word_cnts * 2) + 1; in r8712_efuse_get_current_size()
227 return efuse_addr; in r8712_efuse_get_current_size()
233 u16 efuse_addr = 0; in r8712_efuse_pg_packet_read() local
244 while (efuse_addr < efuse_available_max_size) { in r8712_efuse_pg_packet_read()
245 if (efuse_one_byte_read(adapter, efuse_addr, &efuse_data)) { in r8712_efuse_pg_packet_read()
256 efuse_addr + 1 + tmpidx, in r8712_efuse_pg_packet_read()
265 efuse_addr += 1 + (word_cnts * 2); in r8712_efuse_pg_packet_read()
[all …]
Drtl8712_hal.h126 unsigned short efuse_addr; member
/Linux-v6.6/drivers/staging/rtl8723bs/hal/
Drtl8723b_hal_init.c955 u16 efuse_addr = 0; in hal_EfuseGetCurrentSize_WiFi() local
964 efuse_addr = (u16)pEfuseHal->fakeEfuseUsedBytes; in hal_EfuseGetCurrentSize_WiFi()
966 efuse_addr = (u16)fakeEfuseUsedBytes; in hal_EfuseGetCurrentSize_WiFi()
969 rtw_hal_get_hwreg(padapter, HW_VAR_EFUSE_BYTES, (u8 *)&efuse_addr); in hal_EfuseGetCurrentSize_WiFi()
971 start_addr = efuse_addr; in hal_EfuseGetCurrentSize_WiFi()
977 while (AVAILABLE_EFUSE_ADDR(efuse_addr)) { in hal_EfuseGetCurrentSize_WiFi()
978 if (efuse_OneByteRead(padapter, efuse_addr, &efuse_data, bPseudoTest) == false) in hal_EfuseGetCurrentSize_WiFi()
984 if ((start_addr != 0) && (efuse_addr == start_addr)) { in hal_EfuseGetCurrentSize_WiFi()
993 efuse_addr = 0; in hal_EfuseGetCurrentSize_WiFi()
1005 efuse_addr++; in hal_EfuseGetCurrentSize_WiFi()
[all …]
/Linux-v6.6/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_8710b.c868 u16 efuse_addr, offset; in rtl8710b_read_efuse() local
879 efuse_addr = 0; in rtl8710b_read_efuse()
880 while (efuse_addr < EFUSE_REAL_CONTENT_LEN_8723A) { in rtl8710b_read_efuse()
883 ret = rtl8710b_read_efuse8(priv, efuse_addr++, &header); in rtl8710b_read_efuse()
890 ret = rtl8710b_read_efuse8(priv, efuse_addr++, &extheader); in rtl8710b_read_efuse()
916 ret = rtl8710b_read_efuse8(priv, efuse_addr++, &val8); in rtl8710b_read_efuse()
927 ret = rtl8710b_read_efuse8(priv, efuse_addr++, &val8); in rtl8710b_read_efuse()
Drtl8xxxu_core.c1823 u16 val16, efuse_addr, offset; in rtl8xxxu_read_efuse() local
1868 efuse_addr = 0; in rtl8xxxu_read_efuse()
1869 while (efuse_addr < EFUSE_REAL_CONTENT_LEN_8723A) { in rtl8xxxu_read_efuse()
1872 ret = rtl8xxxu_read_efuse8(priv, efuse_addr++, &header); in rtl8xxxu_read_efuse()
1879 ret = rtl8xxxu_read_efuse8(priv, efuse_addr++, in rtl8xxxu_read_efuse()
1905 ret = rtl8xxxu_read_efuse8(priv, efuse_addr++, &val8); in rtl8xxxu_read_efuse()
1917 ret = rtl8xxxu_read_efuse8(priv, efuse_addr++, &val8); in rtl8xxxu_read_efuse()
/Linux-v6.6/drivers/staging/rtl8723bs/core/
Drtw_efuse.c389 u16 efuse_addr, in Efuse_WordEnableDataWrite() argument
394 return padapter->HalFunc.Efuse_WordEnableDataWrite(padapter, efuse_addr, in Efuse_WordEnableDataWrite()
/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils_fw2x.c281 u32 efuse_addr = aq_hw_read_reg(self, HW_ATL_FW2X_MPI_EFUSE_ADDR); in aq_fw2x_get_mac_permanent() local
285 if (efuse_addr != 0) { in aq_fw2x_get_mac_permanent()
287 efuse_addr + (40U * 4U), in aq_fw2x_get_mac_permanent()
Dhw_atl_utils.c746 u32 efuse_addr; in hw_atl_utils_get_mac_permanent() local
761 efuse_addr = aq_hw_read_reg(self, 0x00000374U); in hw_atl_utils_get_mac_permanent()
763 err = hw_atl_utils_fw_downld_dwords(self, efuse_addr + (40U * 4U), in hw_atl_utils_get_mac_permanent()
/Linux-v6.6/drivers/staging/rtl8723bs/include/
Drtw_efuse.h116 u8 Efuse_WordEnableDataWrite(struct adapter *padapter, u16 efuse_addr, u8 word_en, u8 *data, bool b…
Dhal_intf.h248 …u8 (*Efuse_WordEnableDataWrite)(struct adapter *padapter, u16 efuse_addr, u8 word_en, u8 *data, bo…