Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/
Defuse.c91 u32 efuse_ctl; in rtw_dump_physical_efuse_map() local
102 efuse_ctl = rtw_read32(rtwdev, REG_EFUSE_CTRL); in rtw_dump_physical_efuse_map()
105 efuse_ctl &= ~(BIT_MASK_EF_DATA | BITS_EF_ADDR); in rtw_dump_physical_efuse_map()
106 efuse_ctl |= (addr & BIT_MASK_EF_ADDR) << BIT_SHIFT_EF_ADDR; in rtw_dump_physical_efuse_map()
107 rtw_write32(rtwdev, REG_EFUSE_CTRL, efuse_ctl & (~BIT_EF_FLAG)); in rtw_dump_physical_efuse_map()
112 efuse_ctl = rtw_read32(rtwdev, REG_EFUSE_CTRL); in rtw_dump_physical_efuse_map()
115 } while (!(efuse_ctl & BIT_EF_FLAG)); in rtw_dump_physical_efuse_map()
117 *(map + addr) = (u8)(efuse_ctl & BIT_MASK_EF_DATA); in rtw_dump_physical_efuse_map()
127 u32 efuse_ctl; in rtw_read8_physical_efuse() local
133 ret = read_poll_timeout(rtw_read32, efuse_ctl, efuse_ctl & BIT_EF_FLAG, in rtw_read8_physical_efuse()