Home
last modified time | relevance | path

Searched refs:word_en (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
318 if (!(word_en & BIT(0))) { in Efuse_WordEnableDataWrite()
328 if (!(word_en & BIT(1))) { in Efuse_WordEnableDataWrite()
338 if (!(word_en & BIT(2))) { in Efuse_WordEnableDataWrite()
348 if (!(word_en & BIT(3))) { in Efuse_WordEnableDataWrite()
494 badworden = Efuse_WordEnableDataWrite(pAdapter, efuse_addr+1, pFixPkt->word_en, originaldata); in hal_EfuseFixHeaderProcess()
539 pg_header = ((pTargetPkt->offset & 0x78) << 1) | pTargetPkt->word_en; in hal_EfusePgPacketWrite2ByteHeader()
562 fixPkt.word_en = tmp_header & 0x0F; in hal_EfusePgPacketWrite2ByteHeader()
563 fixPkt.word_cnts = Efuse_CalculateWordCnts(fixPkt.word_en); in hal_EfusePgPacketWrite2ByteHeader()
587 pg_header = ((pTargetPkt->offset << 4) & 0xf0) | pTargetPkt->word_en; in hal_EfusePgPacketWrite1ByteHeader()
[all …]
/Linux-v4.19/drivers/staging/rtlwifi/
Defuse.c60 u8 word_en, u8 *data);
61 static void efuse_word_enable_data_read(u8 word_en, u8 *sourdata,
64 u16 efuse_addr, u8 word_en, u8 *data);
66 static u8 efuse_calculate_word_cnts(u8 word_en);
431 u8 word_en = 0x0F; in efuse_shadow_update() local
449 word_en = 0x0F; in efuse_shadow_update()
454 word_en &= ~(BIT(i / 2)); in efuse_shadow_update()
461 word_en &= ~(BIT(i / 2)); in efuse_shadow_update()
468 if (word_en != 0x0F) { in efuse_shadow_update()
477 if (!efuse_pg_packet_write(hw, (u8)offset, word_en, in efuse_shadow_update()
[all …]
Defuse.h44 u8 word_en; member
/Linux-v4.19/drivers/staging/rtl8712/
Drtl8712_efuse.c195 static u8 calculate_word_cnts(const u8 word_en) in calculate_word_cnts() argument
201 if (!(word_en & BIT(word_idx))) in calculate_word_cnts()
206 static void pgpacket_copy_data(const u8 word_en, const u8 *sourdata, in pgpacket_copy_data() argument
213 if (!(word_en & BIT(word_idx))) { in pgpacket_copy_data()
289 u8 offset, word_en, value; in fix_header() local
295 pkt.word_en = GET_EFUSE_WORD_EN(header); in fix_header()
296 addr = header_addr + 1 + calculate_word_cnts(pkt.word_en) * 2; in fix_header()
307 word_en = GET_EFUSE_WORD_EN(value); in fix_header()
309 addr += calculate_word_cnts(word_en) * 2; in fix_header()
313 if (BIT(i) & word_en) { in fix_header()
[all …]
Drtl8712_efuse.h19 #define MAKE_EFUSE_HEADER(offset, word_en) (((offset & 0x0F) << 4) | \ argument
20 (word_en & 0x0F))
24 u8 word_en; member
36 const u8 offset, const u8 word_en,
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/
Defuse.c76 u8 word_en, u8 *data);
77 static void efuse_word_enable_data_read(u8 word_en, u8 *sourdata,
80 u16 efuse_addr, u8 word_en, u8 *data);
82 static u8 efuse_calculate_word_cnts(u8 word_en);
456 u8 word_en = 0x0F; in efuse_shadow_update() local
475 word_en = 0x0F; in efuse_shadow_update()
480 word_en &= ~(BIT(i / 2)); in efuse_shadow_update()
488 word_en &= ~(BIT(i / 2)); in efuse_shadow_update()
496 if (word_en != 0x0F) { in efuse_shadow_update()
504 if (!efuse_pg_packet_write(hw, (u8) offset, word_en, in efuse_shadow_update()
[all …]
Defuse.h55 u8 word_en; member
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_efuse.c137 Efuse_CalculateWordCnts(u8 word_en) in Efuse_CalculateWordCnts() argument
140 if (!(word_en & BIT(0))) in Efuse_CalculateWordCnts()
142 if (!(word_en & BIT(1))) in Efuse_CalculateWordCnts()
144 if (!(word_en & BIT(2))) in Efuse_CalculateWordCnts()
146 if (!(word_en & BIT(3))) in Efuse_CalculateWordCnts()
391 u8 word_en, in Efuse_PgPacketWrite() argument
397 ret = padapter->HalFunc.Efuse_PgPacketWrite(padapter, offset, word_en, data, bPseudoTest); in Efuse_PgPacketWrite()
420 efuse_WordEnableDataRead(u8 word_en, in efuse_WordEnableDataRead() argument
424 if (!(word_en&BIT(0))) { in efuse_WordEnableDataRead()
428 if (!(word_en&BIT(1))) { in efuse_WordEnableDataRead()
[all …]
/Linux-v4.19/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-v4.19/drivers/staging/rtl8188eu/include/
Drtw_efuse.h54 u8 word_en; member
79 u8 Efuse_CalculateWordCnts(u8 word_en);
88 void efuse_WordEnableDataRead(u8 word_en, u8 *sourdata, u8 *targetdata);
90 u8 word_en, u8 *data);
/Linux-v4.19/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 …]