Home
last modified time | relevance | path

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

/drivers/staging/rtl8188eu/core/
Drtw_efuse.c448 u8 efuse_data, word_cnts = 0; in Efuse_GetCurrentSize() local
453 efuse_OneByteRead(pAdapter, efuse_addr, &efuse_data) && in Efuse_GetCurrentSize()
455 if (efuse_data != 0xFF) { in Efuse_GetCurrentSize()
456 if ((efuse_data&0x1F) == 0x0F) { /* extended header */ in Efuse_GetCurrentSize()
457 hoffset = efuse_data; in Efuse_GetCurrentSize()
459 efuse_OneByteRead(pAdapter, efuse_addr, &efuse_data); in Efuse_GetCurrentSize()
460 if ((efuse_data & 0x0F) == 0x0F) { in Efuse_GetCurrentSize()
464 hoffset = ((hoffset & 0xE0) >> 5) | ((efuse_data & 0xF0) >> 1); in Efuse_GetCurrentSize()
465 hworden = efuse_data & 0x0F; in Efuse_GetCurrentSize()
468 hoffset = (efuse_data>>4) & 0x0F; in Efuse_GetCurrentSize()
[all …]
/drivers/staging/rtl8712/
Drtl8712_efuse.c223 u8 efuse_data, word_cnts = 0; in r8712_efuse_get_current_size() local
226 &efuse_data) && (efuse_addr < efuse_available_max_size)) { in r8712_efuse_get_current_size()
227 if (efuse_data != 0xFF) { in r8712_efuse_get_current_size()
228 hoffset = (efuse_data >> 4) & 0x0F; in r8712_efuse_get_current_size()
229 hworden = efuse_data & 0x0F; in r8712_efuse_get_current_size()
243 u8 efuse_data; in r8712_efuse_pg_packet_read() local
254 if (efuse_one_byte_read(padapter, efuse_addr, &efuse_data) == in r8712_efuse_pg_packet_read()
256 if (efuse_data == 0xFF) in r8712_efuse_pg_packet_read()
258 hoffset = (efuse_data >> 4) & 0x0F; in r8712_efuse_pg_packet_read()
259 hworden = efuse_data & 0x0F; in r8712_efuse_pg_packet_read()
[all …]
/drivers/staging/rtl8723au/hal/
Drtl8723a_hal_init.c618 u8 efuse_data, word_cnts = 0; in rtl8723a_EfuseGetCurrentSize_WiFi() local
629 if (efuse_OneByteRead23a(padapter, efuse_addr, &efuse_data) == in rtl8723a_EfuseGetCurrentSize_WiFi()
636 if (efuse_data == 0xFF) in rtl8723a_EfuseGetCurrentSize_WiFi()
639 if (EXT_HEADER(efuse_data)) { in rtl8723a_EfuseGetCurrentSize_WiFi()
640 hoffset = GET_HDR_OFFSET_2_0(efuse_data); in rtl8723a_EfuseGetCurrentSize_WiFi()
642 efuse_OneByteRead23a(padapter, efuse_addr, &efuse_data); in rtl8723a_EfuseGetCurrentSize_WiFi()
643 if (ALL_WORDS_DISABLED(efuse_data)) { in rtl8723a_EfuseGetCurrentSize_WiFi()
647 hoffset |= ((efuse_data & 0xF0) >> 1); in rtl8723a_EfuseGetCurrentSize_WiFi()
648 hworden = efuse_data & 0x0F; in rtl8723a_EfuseGetCurrentSize_WiFi()
650 hoffset = (efuse_data >> 4) & 0x0F; in rtl8723a_EfuseGetCurrentSize_WiFi()
[all …]
/drivers/net/wireless/rtlwifi/
Defuse.c685 u8 efuse_data, u8 offset, u8 *tmpdata, in efuse_read_data_case1() argument
694 hoffset = (efuse_data >> 4) & 0x0F; in efuse_read_data_case1()
695 hworden = efuse_data & 0x0F; in efuse_read_data_case1()
701 &efuse_data)) { in efuse_read_data_case1()
702 tmpdata[tmpidx] = efuse_data; in efuse_read_data_case1()
703 if (efuse_data != 0xff) in efuse_read_data_case1()
727 u8 efuse_data, word_cnts = 0; in efuse_pg_packet_read() local
741 if (efuse_one_byte_read(hw, efuse_addr, &efuse_data) in efuse_pg_packet_read()
742 && (efuse_data != 0xFF)) in efuse_pg_packet_read()
744 efuse_data, offset, in efuse_pg_packet_read()
[all …]