Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_efuse.c309 u8 Efuse_WordEnableDataWrite(struct adapter *pAdapter, u16 efuse_addr, u8 word_en, u8 *data) in Efuse_WordEnableDataWrite() argument
312 u16 start_addr = efuse_addr; in Efuse_WordEnableDataWrite()
364 u16 efuse_addr = 0; in Efuse_GetCurrentSize() local
368 rtw_hal_get_hwreg(pAdapter, HW_VAR_EFUSE_BYTES, (u8 *)&efuse_addr); in Efuse_GetCurrentSize()
371 efuse_OneByteRead(pAdapter, efuse_addr, &efuse_data) && in Efuse_GetCurrentSize()
372 AVAILABLE_EFUSE_ADDR(efuse_addr)) { in Efuse_GetCurrentSize()
376 efuse_addr++; in Efuse_GetCurrentSize()
377 efuse_OneByteRead(pAdapter, efuse_addr, &efuse_data); in Efuse_GetCurrentSize()
379 efuse_addr++; in Efuse_GetCurrentSize()
391 efuse_addr = efuse_addr + (word_cnts*2)+1; in Efuse_GetCurrentSize()
[all …]
/Linux-v4.19/drivers/staging/rtlwifi/
Defuse.c64 u16 efuse_addr, u8 word_en, u8 *data);
219 u16 efuse_addr = 0; in read_efuse() local
257 read_efuse_byte(hw, efuse_addr, rtemp8); in read_efuse()
261 "Addr=%d\n", efuse_addr); in read_efuse()
262 efuse_addr++; in read_efuse()
265 while ((*rtemp8 != 0xFF) && (efuse_addr < efuse_len)) { in read_efuse()
269 read_efuse_byte(hw, efuse_addr, rtemp8); in read_efuse()
272 efuse_addr++; in read_efuse()
273 read_efuse_byte(hw, efuse_addr, rtemp8); in read_efuse()
276 (efuse_addr < efuse_len)) { in read_efuse()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/
Defuse.c80 u16 efuse_addr, u8 word_en, u8 *data);
240 u16 efuse_addr = 0; in read_efuse() local
279 read_efuse_byte(hw, efuse_addr, rtemp8); in read_efuse()
283 "Addr=%d\n", efuse_addr); in read_efuse()
284 efuse_addr++; in read_efuse()
287 while ((*rtemp8 != 0xFF) && (efuse_addr < efuse_len)) { in read_efuse()
291 read_efuse_byte(hw, efuse_addr, rtemp8); in read_efuse()
294 efuse_addr++; in read_efuse()
295 read_efuse_byte(hw, efuse_addr, rtemp8); in read_efuse()
298 (efuse_addr < efuse_len)) { in read_efuse()
[all …]
/Linux-v4.19/drivers/staging/rtl8712/
Drtl8712_efuse.c224 u16 efuse_addr = 0; in r8712_efuse_get_current_size() local
228 while (bContinual && efuse_one_byte_read(padapter, efuse_addr, in r8712_efuse_get_current_size()
229 &efuse_data) && (efuse_addr < efuse_available_max_size)) { in r8712_efuse_get_current_size()
234 efuse_addr = efuse_addr + (word_cnts * 2) + 1; in r8712_efuse_get_current_size()
239 return efuse_addr; in r8712_efuse_get_current_size()
245 u16 efuse_addr = 0; in r8712_efuse_pg_packet_read() local
256 while (efuse_addr < efuse_available_max_size) { in r8712_efuse_pg_packet_read()
257 if (efuse_one_byte_read(padapter, efuse_addr, &efuse_data)) { in r8712_efuse_pg_packet_read()
268 efuse_addr + 1 + tmpidx, in r8712_efuse_pg_packet_read()
277 efuse_addr += 1 + (word_cnts * 2); in r8712_efuse_pg_packet_read()
[all …]
Drtl8712_hal.h138 unsigned short efuse_addr; member
/Linux-v4.19/drivers/staging/rtl8723bs/hal/
Drtl8723b_hal_init.c1151 u16 efuse_addr = 0; in hal_EfuseGetCurrentSize_WiFi() local
1160 efuse_addr = (u16)pEfuseHal->fakeEfuseUsedBytes; in hal_EfuseGetCurrentSize_WiFi()
1162 efuse_addr = (u16)fakeEfuseUsedBytes; in hal_EfuseGetCurrentSize_WiFi()
1165 rtw_hal_get_hwreg(padapter, HW_VAR_EFUSE_BYTES, (u8 *)&efuse_addr); in hal_EfuseGetCurrentSize_WiFi()
1167 start_addr = efuse_addr; in hal_EfuseGetCurrentSize_WiFi()
1168 DBG_8192C("%s: start_efuse_addr = 0x%X\n", __func__, efuse_addr); in hal_EfuseGetCurrentSize_WiFi()
1174 while (AVAILABLE_EFUSE_ADDR(efuse_addr)) { in hal_EfuseGetCurrentSize_WiFi()
1175 if (efuse_OneByteRead(padapter, efuse_addr, &efuse_data, bPseudoTest) == false) { in hal_EfuseGetCurrentSize_WiFi()
1176 DBG_8192C(KERN_ERR "%s: efuse_OneByteRead Fail! addr = 0x%X !!\n", __func__, efuse_addr); in hal_EfuseGetCurrentSize_WiFi()
1183 if ((start_addr != 0) && (efuse_addr == start_addr)) { in hal_EfuseGetCurrentSize_WiFi()
[all …]
/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils_fw2x.c158 u32 efuse_addr = aq_hw_read_reg(self, HW_ATL_FW2X_MPI_EFUSE_ADDR); in aq_fw2x_get_mac_permanent() local
160 if (efuse_addr != 0) { in aq_fw2x_get_mac_permanent()
162 efuse_addr + (40U * 4U), in aq_fw2x_get_mac_permanent()
/Linux-v4.19/drivers/staging/rtl8188eu/include/
Drtw_efuse.h89 u8 Efuse_WordEnableDataWrite(struct adapter *adapter, u16 efuse_addr,
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_efuse.c445 u16 efuse_addr, in Efuse_WordEnableDataWrite() argument
452 …ret = padapter->HalFunc.Efuse_WordEnableDataWrite(padapter, efuse_addr, word_en, data, bPseudoTes… in Efuse_WordEnableDataWrite()
/Linux-v4.19/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.h256 …u8 (*Efuse_WordEnableDataWrite)(struct adapter *padapter, u16 efuse_addr, u8 word_en, u8 *data, bo…
/Linux-v4.19/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_core.c1807 u16 val16, efuse_addr, offset; in rtl8xxxu_read_efuse() local
1852 efuse_addr = 0; in rtl8xxxu_read_efuse()
1853 while (efuse_addr < EFUSE_REAL_CONTENT_LEN_8723A) { in rtl8xxxu_read_efuse()
1856 ret = rtl8xxxu_read_efuse8(priv, efuse_addr++, &header); in rtl8xxxu_read_efuse()
1863 ret = rtl8xxxu_read_efuse8(priv, efuse_addr++, in rtl8xxxu_read_efuse()
1896 ret = rtl8xxxu_read_efuse8(priv, efuse_addr++, &val8); in rtl8xxxu_read_efuse()
1901 ret = rtl8xxxu_read_efuse8(priv, efuse_addr++, &val8); in rtl8xxxu_read_efuse()