Searched refs:efuse_ctl (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/net/wireless/realtek/rtw88/ |
D | efuse.c | 91 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()
|
/Linux-v6.6/drivers/net/wireless/realtek/rtw89/ |
D | efuse.c | 93 u32 efuse_ctl; in rtw89_dump_physical_efuse_map_ddv() local 100 efuse_ctl = u32_encode_bits(addr, B_AX_EF_ADDR_MASK); in rtw89_dump_physical_efuse_map_ddv() 101 rtw89_write32(rtwdev, R_AX_EFUSE_CTRL, efuse_ctl & ~B_AX_EF_RDY); in rtw89_dump_physical_efuse_map_ddv() 103 ret = read_poll_timeout_atomic(rtw89_read32, efuse_ctl, in rtw89_dump_physical_efuse_map_ddv() 104 efuse_ctl & B_AX_EF_RDY, 1, 1000000, in rtw89_dump_physical_efuse_map_ddv() 109 *map++ = (u8)(efuse_ctl & 0xff); in rtw89_dump_physical_efuse_map_ddv()
|