Lines Matching refs:EFUSE_CTRL
66 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 3, 0x72); in efuse_initialize()
82 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 1, in efuse_read_1byte()
85 rtlpriv->cfg->maps[EFUSE_CTRL] + 2); in efuse_read_1byte()
87 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 2, in efuse_read_1byte()
91 rtlpriv->cfg->maps[EFUSE_CTRL] + 3); in efuse_read_1byte()
93 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 3, in efuse_read_1byte()
97 rtlpriv->cfg->maps[EFUSE_CTRL] + 3); in efuse_read_1byte()
101 maps[EFUSE_CTRL] + 3); in efuse_read_1byte()
106 data = rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL]); in efuse_read_1byte()
127 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL], value); in efuse_write_1byte()
130 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 1, in efuse_write_1byte()
133 rtlpriv->cfg->maps[EFUSE_CTRL] + 2); in efuse_write_1byte()
137 rtlpriv->cfg->maps[EFUSE_CTRL] + 2, temp); in efuse_write_1byte()
140 rtlpriv->cfg->maps[EFUSE_CTRL] + 3); in efuse_write_1byte()
143 rtlpriv->cfg->maps[EFUSE_CTRL] + 3, temp); in efuse_write_1byte()
146 rtlpriv->cfg->maps[EFUSE_CTRL] + 3); in efuse_write_1byte()
151 maps[EFUSE_CTRL] + 3); in efuse_write_1byte()
169 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 1, in read_efuse_byte()
171 readbyte = rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 2); in read_efuse_byte()
172 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 2, in read_efuse_byte()
175 readbyte = rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 3); in read_efuse_byte()
176 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 3, in read_efuse_byte()
180 value32 = rtl_read_dword(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL]); in read_efuse_byte()
183 rtlpriv->cfg->maps[EFUSE_CTRL]); in read_efuse_byte()
188 value32 = rtl_read_dword(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL]); in read_efuse_byte()
587 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 1, in efuse_one_byte_read()
589 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 2, in efuse_one_byte_read()
592 rtlpriv->cfg->maps[EFUSE_CTRL] + 2) & in efuse_one_byte_read()
595 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 3, 0x72); in efuse_one_byte_read()
598 rtlpriv->cfg->maps[EFUSE_CTRL] + 3)) in efuse_one_byte_read()
604 *data = rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL]); in efuse_one_byte_read()
623 rtlpriv->cfg->maps[EFUSE_CTRL] + 1, (u8) (addr & 0xff)); in efuse_one_byte_write()
624 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 2, in efuse_one_byte_write()
626 rtlpriv->cfg->maps[EFUSE_CTRL] + in efuse_one_byte_write()
629 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL], data); in efuse_one_byte_write()
630 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 3, 0xF2); in efuse_one_byte_write()
633 rtlpriv->cfg->maps[EFUSE_CTRL] + 3)) in efuse_one_byte_write()