Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_efuse.c311 u8 Efuse_WordEnableDataWrite(struct adapter *pAdapter, u16 efuse_addr, u8 word_en, u8 *data) in Efuse_WordEnableDataWrite() argument
320 if (!(word_en & BIT(0))) { in Efuse_WordEnableDataWrite()
330 if (!(word_en & BIT(1))) { in Efuse_WordEnableDataWrite()
340 if (!(word_en & BIT(2))) { in Efuse_WordEnableDataWrite()
350 if (!(word_en & BIT(3))) { in Efuse_WordEnableDataWrite()
492 badworden = Efuse_WordEnableDataWrite(pAdapter, efuse_addr + 1, pFixPkt->word_en, originaldata); in hal_EfuseFixHeaderProcess()
537 pg_header = ((pTargetPkt->offset & 0x78) << 1) | pTargetPkt->word_en; in hal_EfusePgPacketWrite2ByteHeader()
560 fixPkt.word_en = tmp_header & 0x0F; in hal_EfusePgPacketWrite2ByteHeader()
561 fixPkt.word_cnts = Efuse_CalculateWordCnts(fixPkt.word_en); in hal_EfusePgPacketWrite2ByteHeader()
585 pg_header = ((pTargetPkt->offset << 4) & 0xf0) | pTargetPkt->word_en; in hal_EfusePgPacketWrite1ByteHeader()
[all …]
/Linux-v5.10/drivers/staging/rtl8712/
Drtl8712_efuse.c183 static u8 calculate_word_cnts(const u8 word_en) in calculate_word_cnts() argument
189 if (!(word_en & BIT(word_idx))) in calculate_word_cnts()
194 static void pgpacket_copy_data(const u8 word_en, const u8 *sourdata, in pgpacket_copy_data() argument
201 if (!(word_en & BIT(word_idx))) { in pgpacket_copy_data()
277 u8 offset, word_en, value; in fix_header() local
283 pkt.word_en = GET_EFUSE_WORD_EN(header); in fix_header()
284 addr = header_addr + 1 + calculate_word_cnts(pkt.word_en) * 2; in fix_header()
295 word_en = GET_EFUSE_WORD_EN(value); in fix_header()
297 addr += calculate_word_cnts(word_en) * 2; in fix_header()
301 if (BIT(i) & word_en) { in fix_header()
[all …]
Drtl8712_efuse.h18 #define MAKE_EFUSE_HEADER(offset, word_en) (((offset & 0x0F) << 4) | \ argument
19 (word_en & 0x0F))
23 u8 word_en; member
35 const u8 offset, const u8 word_en,
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/
Defuse.c38 u8 word_en, u8 *data);
39 static void efuse_word_enable_data_read(u8 word_en, u8 *sourdata,
42 u16 efuse_addr, u8 word_en, u8 *data);
44 static u8 efuse_calculate_word_cnts(u8 word_en);
416 u8 word_en = 0x0F; in efuse_shadow_update() local
435 word_en = 0x0F; in efuse_shadow_update()
440 word_en &= ~(BIT(i / 2)); in efuse_shadow_update()
448 word_en &= ~(BIT(i / 2)); in efuse_shadow_update()
456 if (word_en != 0x0F) { in efuse_shadow_update()
465 if (!efuse_pg_packet_write(hw, (u8) offset, word_en, in efuse_shadow_update()
[all …]
Defuse.h33 u8 word_en; member
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_efuse.c131 Efuse_CalculateWordCnts(u8 word_en) in Efuse_CalculateWordCnts() argument
134 if (!(word_en & BIT(0))) in Efuse_CalculateWordCnts()
136 if (!(word_en & BIT(1))) in Efuse_CalculateWordCnts()
138 if (!(word_en & BIT(2))) in Efuse_CalculateWordCnts()
140 if (!(word_en & BIT(3))) in Efuse_CalculateWordCnts()
376 u8 word_en, in Efuse_PgPacketWrite() argument
380 return padapter->HalFunc.Efuse_PgPacketWrite(padapter, offset, word_en, in Efuse_PgPacketWrite()
402 efuse_WordEnableDataRead(u8 word_en, in efuse_WordEnableDataRead() argument
406 if (!(word_en&BIT(0))) { in efuse_WordEnableDataRead()
410 if (!(word_en&BIT(1))) { in efuse_WordEnableDataRead()
[all …]
/Linux-v5.10/drivers/net/wireless/realtek/rtw88/
Defuse.c22 #define invalid_efuse_content(word_en, i) \ argument
23 (((word_en) & BIT(i)) != 0x0)
49 u8 word_en; in rtw_dump_logical_efuse_map() local
61 word_en = hdr2 & 0xf; in rtw_dump_logical_efuse_map()
66 word_en = hdr1 & 0xf; in rtw_dump_logical_efuse_map()
71 if (invalid_efuse_content(word_en, i)) in rtw_dump_logical_efuse_map()
/Linux-v5.10/drivers/staging/rtl8723bs/include/
Drtw_efuse.h62 u8 word_en; member
107 u8 Efuse_CalculateWordCnts(u8 word_en);
114 int Efuse_PgPacketWrite(struct adapter *padapter, u8 offset, u8 word_en, u8 *data, bool bPseudoTest…
115 void efuse_WordEnableDataRead(u8 word_en, u8 *sourdata, u8 *targetdata);
116 u8 Efuse_WordEnableDataWrite(struct adapter *padapter, u16 efuse_addr, u8 word_en, u8 *data, bool b…
Dhal_intf.h255 …int (*Efuse_PgPacketWrite)(struct adapter *padapter, u8 offset, u8 word_en, u8 *data, bool bPseudo…
256 …u8 (*Efuse_WordEnableDataWrite)(struct adapter *padapter, u16 efuse_addr, u8 word_en, u8 *data, bo…
257 …bool (*Efuse_PgPacketWrite_BT)(struct adapter *padapter, u8 offset, u8 word_en, u8 *data, bool bPs…
/Linux-v5.10/drivers/staging/rtl8188eu/include/
Drtw_efuse.h54 u8 word_en; member
79 u8 Efuse_CalculateWordCnts(u8 word_en);
87 void efuse_WordEnableDataRead(u8 word_en, u8 *sourdata, u8 *targetdata);
89 u8 word_en, u8 *data);
/Linux-v5.10/drivers/staging/rtl8723bs/hal/
Drtl8723b_hal_init.c1387 u8 word_en, in Hal_EfuseWordEnableDataWrite() argument
1401 if (!(word_en & BIT(0))) { in Hal_EfuseWordEnableDataWrite()
1412 if (!(word_en & BIT(1))) { in Hal_EfuseWordEnableDataWrite()
1424 if (!(word_en & BIT(2))) { in Hal_EfuseWordEnableDataWrite()
1436 if (!(word_en & BIT(3))) { in Hal_EfuseWordEnableDataWrite()
1550 u8 word_en, in hal_EfuseConstructPGPkt() argument
1557 pTargetPkt->word_en = word_en; in hal_EfuseConstructPGPkt()
1558 efuse_WordEnableDataRead(word_en, pData, pTargetPkt->data); in hal_EfuseConstructPGPkt()
1559 pTargetPkt->word_cnts = Efuse_CalculateWordCnts(pTargetPkt->word_en); in hal_EfuseConstructPGPkt()
1625 curPkt.word_en = efuse_data & 0x0F; in hal_EfusePartialWriteCheck()
[all …]