Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/wireless/realtek/rtw88/
Defuse.c89 u32 efuse_ctl; in rtw_dump_physical_efuse_map() local
98 efuse_ctl = rtw_read32(rtwdev, REG_EFUSE_CTRL); in rtw_dump_physical_efuse_map()
101 efuse_ctl &= ~(BIT_MASK_EF_DATA | BITS_EF_ADDR); in rtw_dump_physical_efuse_map()
102 efuse_ctl |= (addr & BIT_MASK_EF_ADDR) << BIT_SHIFT_EF_ADDR; in rtw_dump_physical_efuse_map()
103 rtw_write32(rtwdev, REG_EFUSE_CTRL, efuse_ctl & (~BIT_EF_FLAG)); in rtw_dump_physical_efuse_map()
108 efuse_ctl = rtw_read32(rtwdev, REG_EFUSE_CTRL); in rtw_dump_physical_efuse_map()
111 } while (!(efuse_ctl & BIT_EF_FLAG)); in rtw_dump_physical_efuse_map()
113 *(map + addr) = (u8)(efuse_ctl & BIT_MASK_EF_DATA); in rtw_dump_physical_efuse_map()