r8712_write8 239 drivers/staging/rtl8712/hal_init.c r8712_write8(adapter, SYS_CLKR, tmp8 | BIT(2)); r8712_write8 245 drivers/staging/rtl8712/hal_init.c r8712_write8(adapter, SYS_FUNC_EN + 1, tmp8 | BIT(2)); r8712_write8 335 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, 0x102500B5, r8712_read8(padapter, 0x102500B5) | r8712_write8 337 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, 0x102500BD, r8712_read8(padapter, 0x102500BD) | r8712_write8 339 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, 0x102500D9, 1); /* TH=1 => means that invalidate r8712_write8 342 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, 0x1025FE5B, 0x04); /* 1.7ms/4 */ r8712_write8 344 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, 0x1025fe5C, r8712_read8(padapter, 0x1025fe5C) r8712_write8 354 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, RF_CTRL, 0x00); r8712_write8 358 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, SYS_CLKR + 1, 0x38); /* Switch Control Path */ r8712_write8 359 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, SYS_FUNC_EN + 1, 0x70); r8712_write8 360 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, PMC_FSM, 0x06); /* Enable Loader Data Keep */ r8712_write8 361 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, SYS_ISO_CTRL, 0xF9); /* Isolation signals from r8712_write8 364 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, SYS_ISO_CTRL + 1, 0xe8); /* Enable EFUSE 1.2V */ r8712_write8 365 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, AFE_PLL_CTRL, 0x00); /* Disable AFE PLL. */ r8712_write8 366 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, LDOA15_CTRL, 0x54); /* Disable A15V */ r8712_write8 367 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, SYS_FUNC_EN + 1, 0x50); /* Disable E-Fuse 1.2V */ r8712_write8 368 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, LDOV12D_CTRL, 0x24); /* Disable LDO12(for CE) */ r8712_write8 369 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, AFE_MISC, 0x30); /* Disable AFE BG&MB */ r8712_write8 371 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, SPS0_CTRL, 0x56); /* Disable 1.6V LDO */ r8712_write8 372 drivers/staging/rtl8712/hal_init.c r8712_write8(padapter, SPS0_CTRL + 1, 0x43); /* Set SW PFM */ r8712_write8 47 drivers/staging/rtl8712/rtl8712_cmd.c r8712_write8(padapter, MAC_PINMUX_CTRL, (GPIOMUX_EN | GPIOSEL_GPIO)); r8712_write8 50 drivers/staging/rtl8712/rtl8712_cmd.c r8712_write8(padapter, GPIO_IO_SEL, tmp1byte); r8712_write8 36 drivers/staging/rtl8712/rtl8712_efuse.c r8712_write8(adapter, EFUSE_TEST + 3, tmpu8); r8712_write8 39 drivers/staging/rtl8712/rtl8712_efuse.c r8712_write8(adapter, EFUSE_CLK_CTRL, 0x03); r8712_write8 47 drivers/staging/rtl8712/rtl8712_efuse.c r8712_write8(adapter, EFUSE_TEST + 3, tmpu8); r8712_write8 49 drivers/staging/rtl8712/rtl8712_efuse.c r8712_write8(adapter, EFUSE_CLK_CTRL, 0x02); r8712_write8 71 drivers/staging/rtl8712/rtl8712_efuse.c r8712_write8(adapter, EFUSE_CTRL + 1, (u8)(addr & 0xFF)); /* address */ r8712_write8 72 drivers/staging/rtl8712/rtl8712_efuse.c r8712_write8(adapter, EFUSE_CTRL + 2, ((u8)((addr >> 8) & 0x03)) | r8712_write8 74 drivers/staging/rtl8712/rtl8712_efuse.c r8712_write8(adapter, EFUSE_CTRL + 3, 0x72); /* read cmd */ r8712_write8 94 drivers/staging/rtl8712/rtl8712_efuse.c r8712_write8(adapter, EFUSE_CTRL + 1, (u8)(addr & 0xFF)); /* address */ r8712_write8 95 drivers/staging/rtl8712/rtl8712_efuse.c r8712_write8(adapter, EFUSE_CTRL + 2, ((u8)((addr >> 8) & 0x03)) | r8712_write8 97 drivers/staging/rtl8712/rtl8712_efuse.c r8712_write8(adapter, EFUSE_CTRL, data); /* data */ r8712_write8 98 drivers/staging/rtl8712/rtl8712_efuse.c r8712_write8(adapter, EFUSE_CTRL + 3, 0xF2); /* write cmd */ r8712_write8 116 drivers/staging/rtl8712/rtl8712_efuse.c r8712_write8(adapter, EFUSE_CTRL + 1, (u8)(addr & 0xFF)); /* address */ r8712_write8 119 drivers/staging/rtl8712/rtl8712_efuse.c r8712_write8(adapter, EFUSE_CTRL + 2, tmpv8); r8712_write8 121 drivers/staging/rtl8712/rtl8712_efuse.c r8712_write8(adapter, EFUSE_CTRL + 3, 0x72); /* read cmd */ r8712_write8 133 drivers/staging/rtl8712/rtl8712_efuse.c r8712_write8(adapter, EFUSE_CTRL, *data); /* data */ r8712_write8 134 drivers/staging/rtl8712/rtl8712_efuse.c r8712_write8(adapter, EFUSE_CTRL + 3, 0xF2); /* write cmd */ r8712_write8 120 drivers/staging/rtl8712/rtl8712_led.c r8712_write8(padapter, LEDCFG, LedCfg & 0xf0); r8712_write8 124 drivers/staging/rtl8712/rtl8712_led.c r8712_write8(padapter, LEDCFG, LedCfg & 0x0f); r8712_write8 148 drivers/staging/rtl8712/rtl8712_led.c r8712_write8(padapter, LEDCFG, (LedCfg | BIT(3))); r8712_write8 152 drivers/staging/rtl8712/rtl8712_led.c r8712_write8(padapter, LEDCFG, (LedCfg | BIT(7))); r8712_write8 25 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, EE_9346CR, (u8)*x); r8712_write8 32 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, EE_9346CR, (u8)*x); r8712_write8 51 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, EE_9346CR, (u8)x); r8712_write8 60 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, EE_9346CR, (u8)x); r8712_write8 94 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, EE_9346CR, x); r8712_write8 97 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, EE_9346CR, x); r8712_write8 126 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, EE_9346CR, (u8)x); r8712_write8 143 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, 0x102502f1, tmp8_new); r8712_write8 147 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, 0x10250003, tmp8_clk_new); r8712_write8 151 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, EE_9346CR, x); r8712_write8 178 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, 0x10250003, tmp8_clk_ori); r8712_write8 180 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, 0x102502f1, tmp8_ori); r8712_write8 192 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, 0x102502f1, tmp8_new); r8712_write8 196 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, 0x10250003, tmp8_clk_new); r8712_write8 205 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, EE_9346CR, (unsigned char)x); r8712_write8 216 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, 0x10250003, tmp8_clk_ori); r8712_write8 218 drivers/staging/rtl8712/rtl871x_eeprom.c r8712_write8(padapter, 0x102502f1, tmp8_ori); r8712_write8 228 drivers/staging/rtl8712/rtl871x_io.h void r8712_write8(struct _adapter *adapter, u32 addr, u8 val); r8712_write8 1632 drivers/staging/rtl8712/rtl871x_mlme.c r8712_write8(padapter, 0x102500D9, 48);/*TH = 48 pages, 6k*/ r8712_write8 1636 drivers/staging/rtl8712/rtl871x_mlme.c r8712_write8(padapter, 0x102500D9, 1); r8712_write8 344 drivers/staging/rtl8712/rtl871x_mp.c r8712_write8(pAdapter, 0x10250203, regBwOpMode); r8712_write8 267 drivers/staging/rtl8712/rtl871x_mp_ioctl.c r8712_write8(Adapter, MSR, 1); /* Link in ad hoc network, 0x1025004C */ r8712_write8 268 drivers/staging/rtl8712/rtl871x_mp_ioctl.c r8712_write8(Adapter, RCR, 0); /* RCR : disable all pkt, 0x10250048 */ r8712_write8 270 drivers/staging/rtl8712/rtl871x_mp_ioctl.c r8712_write8(Adapter, RCR + 2, 0x57); r8712_write8 633 drivers/staging/rtl8712/rtl871x_mp_ioctl.c r8712_write8(Adapter, RegRWStruct->offset, r8712_write8 54 drivers/staging/rtl8712/rtl871x_pwrctrl.c r8712_write8(padapter, 0x1025FE58, rpwm); r8712_write8 174 drivers/staging/rtl8712/rtl871x_pwrctrl.c r8712_write8(padapter, 0x1025FE58, 0); r8712_write8 34 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR, val8); r8712_write8 38 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SPS1_CTRL, val8); r8712_write8 42 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_MISC, val8); r8712_write8 46 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, LDOA15_CTRL, val8); r8712_write8 50 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SPS1_CTRL, val8); r8712_write8 54 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_MISC, val8); r8712_write8 58 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_ISO_CTRL + 1, val8); r8712_write8 62 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_ISO_CTRL + 1, val8); r8712_write8 66 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_XTAL_CTRL + 1, val8); r8712_write8 70 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_PLL_CTRL, val8); r8712_write8 73 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_ISO_CTRL, val8); r8712_write8 77 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR + 1, val8); r8712_write8 81 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_FUNC_EN + 1, val8); r8712_write8 84 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_FUNC_EN + 1, val8); r8712_write8 88 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR + 1, val8); r8712_write8 90 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, CR, val8); r8712_write8 92 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, CR + 1, val8); r8712_write8 94 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, 0x102500ab, r8712_read8(adapter, r8712_write8 97 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, 0x10250008, r8712_read8(adapter, r8712_write8 101 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SPS0_CTRL + 1, 0x53); r8712_write8 102 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SPS0_CTRL, 0x57); r8712_write8 107 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_MISC, (val8 | AFE_MISC_BGEN | r8712_write8 111 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, LDOA15_CTRL, (val8 | LDA15_EN)); r8712_write8 113 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SPS1_CTRL, (val8 | SPS1_LDEN)); r8712_write8 117 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SPS1_CTRL, (val8 | SPS1_SWEN)); r8712_write8 120 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_ISO_CTRL + 1, (val8 | 0x08)); r8712_write8 123 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_FUNC_EN + 1, (val8 | 0x20)); r8712_write8 125 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_ISO_CTRL + 1, (val8 & 0x6F)); r8712_write8 128 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_XTAL_CTRL + 1, (val8 & 0xfb)); r8712_write8 131 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_PLL_CTRL, (val8 | 0x11)); r8712_write8 134 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_ISO_CTRL, (val8 & 0xEE)); r8712_write8 137 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR, val8 & (~SYS_CLKSEL)); r8712_write8 142 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR + 1, (val8 | 0x18)); r8712_write8 144 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, PMC_FSM, 0x02); r8712_write8 147 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_FUNC_EN + 1, (val8 | 0x08)); r8712_write8 150 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_FUNC_EN + 1, (val8 | 0x80)); r8712_write8 153 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR + 1, (val8 | 0x80) & 0xBF); r8712_write8 154 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, CR, 0xFC); r8712_write8 155 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, CR + 1, 0x37); r8712_write8 158 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, 0x1025FE5c, (val8 | BIT(7))); r8712_write8 160 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, 0x102500ab, (val8 | BIT(6) | BIT(7))); r8712_write8 163 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR, val8 & (~CPU_CLKSEL)); r8712_write8 169 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, 0x37, 0xb0); r8712_write8 171 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, 0x37, 0x30); r8712_write8 179 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR + 1, val8); r8712_write8 183 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_FUNC_EN + 1, val8); r8712_write8 189 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SPS0_CTRL + 1, 0x53); r8712_write8 190 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SPS0_CTRL, 0x57); r8712_write8 193 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_MISC, (val8 | AFE_MISC_BGEN)); r8712_write8 194 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_MISC, (val8 | AFE_MISC_BGEN | r8712_write8 198 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, LDOA15_CTRL, (val8 | LDA15_EN)); r8712_write8 201 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, LDOV12D_CTRL, (val8 | LDV12_EN)); r8712_write8 203 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_ISO_CTRL + 1, (val8 | 0x08)); r8712_write8 206 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_FUNC_EN + 1, (val8 | 0x20)); r8712_write8 209 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_ISO_CTRL + 1, (val8 & 0x68)); r8712_write8 212 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_XTAL_CTRL + 1, (val8 & 0xfb)); r8712_write8 215 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_PLL_CTRL, (val8 | 0x11)); r8712_write8 222 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_PLL_CTRL, (val8 | 0x51)); r8712_write8 224 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, AFE_PLL_CTRL, (val8 | 0x11)); r8712_write8 228 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_ISO_CTRL, (val8 & 0xEE)); r8712_write8 230 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR, 0x00); r8712_write8 235 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR, (val8 | 0xa0)); r8712_write8 238 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR + 1, (val8 | 0x18)); r8712_write8 240 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, PMC_FSM, 0x02); r8712_write8 243 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_FUNC_EN + 1, (val8 | 0x08)); r8712_write8 246 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_FUNC_EN + 1, (val8 | 0x80)); r8712_write8 249 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR + 1, (val8 | 0x80) & 0xBF); r8712_write8 250 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, CR, 0xFC); r8712_write8 251 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, CR + 1, 0x37); r8712_write8 254 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, 0x1025FE5c, (val8 | BIT(7))); r8712_write8 257 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, SYS_CLKR, val8 & (~CPU_CLKSEL)); r8712_write8 259 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, 0x1025fe1c, 0x80); r8712_write8 272 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, CR, val8 & (~_TXDMA_EN)); r8712_write8 275 drivers/staging/rtl8712/usb_halinit.c r8712_write8(adapter, CR, val8 | _TXDMA_EN); r8712_write8 415 drivers/staging/rtl8712/usb_intf.c r8712_write8(padapter, EFUSE_TEST + 3, tmpU1b | 0x80); r8712_write8 417 drivers/staging/rtl8712/usb_intf.c r8712_write8(padapter, EFUSE_TEST + 3, r8712_write8 103 drivers/staging/rtl8712/xmit_linux.c r8712_write8(adapter, 0x117, newvalue); r8712_write8 111 drivers/staging/rtl8712/xmit_linux.c r8712_write8(adapter, 0x117, oldvalue);