/drivers/staging/r8188eu/core/ |
D | rtw_efuse.c | 119 Efuse_CalculateWordCnts(u8 word_en) in Efuse_CalculateWordCnts() argument 122 if (!(word_en & BIT(0))) in Efuse_CalculateWordCnts() 124 if (!(word_en & BIT(1))) in Efuse_CalculateWordCnts() 126 if (!(word_en & BIT(2))) in Efuse_CalculateWordCnts() 128 if (!(word_en & BIT(3))) in Efuse_CalculateWordCnts() 345 int Efuse_PgPacketWrite(struct adapter *pAdapter, u8 offset, u8 word_en, u8 *data, bool pseudo) in Efuse_PgPacketWrite() argument 349 ret = pAdapter->HalFunc.Efuse_PgPacketWrite(pAdapter, offset, word_en, data, pseudo); in Efuse_PgPacketWrite() 354 static int Efuse_PgPacketWrite_BT(struct adapter *pAdapter, u8 offset, u8 word_en, u8 *data, bool p… in Efuse_PgPacketWrite_BT() argument 358 ret = pAdapter->HalFunc.Efuse_PgPacketWrite_BT(pAdapter, offset, word_en, data, pseudo); in Efuse_PgPacketWrite_BT() 380 void efuse_WordEnableDataRead(u8 word_en, u8 *sourdata, u8 *targetdata) in efuse_WordEnableDataRead() argument [all …]
|
D | rtw_mp_ioctl.c | 984 if (Efuse_PgPacketWrite(Adapter, ppgpkt->offset, ppgpkt->word_en, ppgpkt->data, false)) in rtl8188eu_oid_rt_pro_rw_efuse_pgpkt_hdl()
|
/drivers/net/wireless/realtek/rtlwifi/ |
D | efuse.c | 38 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 …]
|
D | efuse.h | 33 u8 word_en; member
|
/drivers/staging/rtl8712/ |
D | rtl8712_efuse.c | 183 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 …]
|
D | rtl8712_efuse.h | 18 #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,
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_efuse.c | 118 Efuse_CalculateWordCnts(u8 word_en) in Efuse_CalculateWordCnts() argument 121 if (!(word_en & BIT(0))) in Efuse_CalculateWordCnts() 123 if (!(word_en & BIT(1))) in Efuse_CalculateWordCnts() 125 if (!(word_en & BIT(2))) in Efuse_CalculateWordCnts() 127 if (!(word_en & BIT(3))) in Efuse_CalculateWordCnts() 344 u8 word_en, in Efuse_PgPacketWrite() argument 348 return padapter->HalFunc.Efuse_PgPacketWrite(padapter, offset, word_en, in Efuse_PgPacketWrite() 370 efuse_WordEnableDataRead(u8 word_en, in efuse_WordEnableDataRead() argument 374 if (!(word_en&BIT(0))) { in efuse_WordEnableDataRead() 378 if (!(word_en&BIT(1))) { in efuse_WordEnableDataRead() [all …]
|
/drivers/net/wireless/realtek/rtw88/ |
D | efuse.c | 22 #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()
|
/drivers/staging/r8188eu/hal/ |
D | rtl8188e_hal_init.c | 1071 static u8 Hal_EfuseWordEnableDataWrite(struct adapter *pAdapter, u16 efuse_addr, u8 word_en, u8 *da… in Hal_EfuseWordEnableDataWrite() argument 1080 if (!(word_en & BIT(0))) { in Hal_EfuseWordEnableDataWrite() 1090 if (!(word_en & BIT(1))) { in Hal_EfuseWordEnableDataWrite() 1100 if (!(word_en & BIT(2))) { in Hal_EfuseWordEnableDataWrite() 1110 if (!(word_en & BIT(3))) { in Hal_EfuseWordEnableDataWrite() 1123 static u8 Hal_EfuseWordEnableDataWrite_Pseudo(struct adapter *pAdapter, u16 efuse_addr, u8 word_en,… in Hal_EfuseWordEnableDataWrite_Pseudo() argument 1127 ret = Hal_EfuseWordEnableDataWrite(pAdapter, efuse_addr, word_en, data, bPseudoTest); in Hal_EfuseWordEnableDataWrite_Pseudo() 1131 static u8 rtl8188e_Efuse_WordEnableDataWrite(struct adapter *pAdapter, u16 efuse_addr, u8 word_en, … in rtl8188e_Efuse_WordEnableDataWrite() argument 1136 ret = Hal_EfuseWordEnableDataWrite_Pseudo(pAdapter, efuse_addr, word_en, data, bPseudoTest); in rtl8188e_Efuse_WordEnableDataWrite() 1138 ret = Hal_EfuseWordEnableDataWrite(pAdapter, efuse_addr, word_en, data, bPseudoTest); in rtl8188e_Efuse_WordEnableDataWrite() [all …]
|
/drivers/staging/rtl8723bs/include/ |
D | rtw_efuse.h | 62 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…
|
D | hal_intf.h | 247 …int (*Efuse_PgPacketWrite)(struct adapter *padapter, u8 offset, u8 word_en, u8 *data, bool bPseudo… 248 …u8 (*Efuse_WordEnableDataWrite)(struct adapter *padapter, u16 efuse_addr, u8 word_en, u8 *data, bo… 249 …bool (*Efuse_PgPacketWrite_BT)(struct adapter *padapter, u8 offset, u8 word_en, u8 *data, bool bPs…
|
/drivers/staging/r8188eu/include/ |
D | rtw_efuse.h | 61 u8 word_en; member 115 u8 Efuse_CalculateWordCnts(u8 word_en); 126 void efuse_WordEnableDataRead(u8 word_en, u8 *sourdata, u8 *targetdata); 128 u8 word_en, u8 *data, bool test);
|
D | hal_intf.h | 234 u8 word_en, u8 *data, bool bPseudoTest); 236 u16 efuse_addr, u8 word_en, 239 u8 word_en, u8 *data, bool test);
|
/drivers/staging/rtl8723bs/hal/ |
D | rtl8723b_hal_init.c | 1172 u8 word_en, in Hal_EfuseWordEnableDataWrite() argument 1184 if (!(word_en & BIT(0))) { in Hal_EfuseWordEnableDataWrite() 1195 if (!(word_en & BIT(1))) { in Hal_EfuseWordEnableDataWrite() 1207 if (!(word_en & BIT(2))) { in Hal_EfuseWordEnableDataWrite() 1219 if (!(word_en & BIT(3))) { in Hal_EfuseWordEnableDataWrite() 1325 u8 word_en, in hal_EfuseConstructPGPkt() argument 1332 pTargetPkt->word_en = word_en; in hal_EfuseConstructPGPkt() 1333 efuse_WordEnableDataRead(word_en, pData, pTargetPkt->data); in hal_EfuseConstructPGPkt() 1334 pTargetPkt->word_cnts = Efuse_CalculateWordCnts(pTargetPkt->word_en); in hal_EfuseConstructPGPkt() 1395 curPkt.word_en = efuse_data & 0x0F; in hal_EfusePartialWriteCheck() [all …]
|