/Linux-v4.19/drivers/staging/rtl8712/ |
D | usb_halinit.c | 46 r8712_write8(padapter, SYS_CLKR, val8); in r8712_usb_hal_bus_init() 50 r8712_write8(padapter, SPS1_CTRL, val8); in r8712_usb_hal_bus_init() 54 r8712_write8(padapter, AFE_MISC, val8); in r8712_usb_hal_bus_init() 58 r8712_write8(padapter, LDOA15_CTRL, val8); in r8712_usb_hal_bus_init() 62 r8712_write8(padapter, SPS1_CTRL, val8); in r8712_usb_hal_bus_init() 66 r8712_write8(padapter, AFE_MISC, val8); in r8712_usb_hal_bus_init() 70 r8712_write8(padapter, SYS_ISO_CTRL + 1, val8); in r8712_usb_hal_bus_init() 74 r8712_write8(padapter, SYS_ISO_CTRL + 1, val8); in r8712_usb_hal_bus_init() 78 r8712_write8(padapter, AFE_XTAL_CTRL + 1, val8); in r8712_usb_hal_bus_init() 82 r8712_write8(padapter, AFE_PLL_CTRL, val8); in r8712_usb_hal_bus_init() [all …]
|
D | rtl871x_eeprom.c | 37 r8712_write8(padapter, EE_9346CR, (u8)*x); in up_clk() 44 r8712_write8(padapter, EE_9346CR, (u8)*x); in down_clk() 63 r8712_write8(padapter, EE_9346CR, (u8)x); in shift_out_bits() 72 r8712_write8(padapter, EE_9346CR, (u8)x); in shift_out_bits() 106 r8712_write8(padapter, EE_9346CR, x); in standby() 109 r8712_write8(padapter, EE_9346CR, x); in standby() 138 r8712_write8(padapter, EE_9346CR, (u8)x); in eeprom_clean() 155 r8712_write8(padapter, 0x102502f1, tmp8_new); in r8712_eeprom_write16() 159 r8712_write8(padapter, 0x10250003, tmp8_clk_new); in r8712_eeprom_write16() 163 r8712_write8(padapter, EE_9346CR, x); in r8712_eeprom_write16() [all …]
|
D | hal_init.c | 246 r8712_write8(padapter, SYS_CLKR, tmp8 | BIT(2)); in rtl8712_dl_fw() 252 r8712_write8(padapter, SYS_FUNC_EN + 1, tmp8 | BIT(2)); in rtl8712_dl_fw() 342 r8712_write8(padapter, 0x102500B5, r8712_read8(padapter, 0x102500B5) | in rtl8712_hal_init() 344 r8712_write8(padapter, 0x102500BD, r8712_read8(padapter, 0x102500BD) | in rtl8712_hal_init() 346 r8712_write8(padapter, 0x102500D9, 1); /* TH=1 => means that invalidate in rtl8712_hal_init() 349 r8712_write8(padapter, 0x1025FE5B, 0x04); /* 1.7ms/4 */ in rtl8712_hal_init() 351 r8712_write8(padapter, 0x1025fe5C, r8712_read8(padapter, 0x1025fe5C) in rtl8712_hal_init() 361 r8712_write8(padapter, RF_CTRL, 0x00); in rtl8712_hal_deinit() 365 r8712_write8(padapter, SYS_CLKR + 1, 0x38); /* Switch Control Path */ in rtl8712_hal_deinit() 366 r8712_write8(padapter, SYS_FUNC_EN + 1, 0x70); in rtl8712_hal_deinit() [all …]
|
D | rtl8712_efuse.c | 48 r8712_write8(padapter, EFUSE_TEST + 3, tmpu8); in efuse_reg_ctrl() 51 r8712_write8(padapter, EFUSE_CLK_CTRL, 0x03); in efuse_reg_ctrl() 59 r8712_write8(padapter, EFUSE_TEST + 3, tmpu8); in efuse_reg_ctrl() 61 r8712_write8(padapter, EFUSE_CLK_CTRL, 0x02); in efuse_reg_ctrl() 83 r8712_write8(padapter, EFUSE_CTRL + 1, (u8)(addr & 0xFF)); /* address */ in efuse_one_byte_read() 84 r8712_write8(padapter, EFUSE_CTRL + 2, ((u8)((addr >> 8) & 0x03)) | in efuse_one_byte_read() 86 r8712_write8(padapter, EFUSE_CTRL + 3, 0x72); /* read cmd */ in efuse_one_byte_read() 106 r8712_write8(padapter, EFUSE_CTRL + 1, (u8)(addr & 0xFF)); /* address */ in efuse_one_byte_write() 107 r8712_write8(padapter, EFUSE_CTRL + 2, ((u8)((addr >> 8) & 0x03)) | in efuse_one_byte_write() 109 r8712_write8(padapter, EFUSE_CTRL, data); /* data */ in efuse_one_byte_write() [all …]
|
D | xmit_linux.c | 115 r8712_write8(padapter, 0x117, newvalue); in r8712_SetFilter() 123 r8712_write8(padapter, 0x117, oldvalue); in r8712_SetFilter()
|
D | rtl871x_pwrctrl.c | 66 r8712_write8(padapter, 0x1025FE58, rpwm); in r8712_set_rpwm() 186 r8712_write8(padapter, 0x1025FE58, 0); in r8712_init_pwrctrl_priv()
|
D | rtl8712_io.c | 58 void r8712_write8(struct _adapter *adapter, u32 addr, u8 val) in r8712_write8() function
|
D | rtl871x_mp_ioctl.c | 295 r8712_write8(Adapter, MSR, 1); /* Link in ad hoc network, 0x1025004C */ in oid_rt_pro_start_test_hdl() 296 r8712_write8(Adapter, RCR, 0); /* RCR : disable all pkt, 0x10250048 */ in oid_rt_pro_start_test_hdl() 298 r8712_write8(Adapter, RCR + 2, 0x57); in oid_rt_pro_start_test_hdl() 661 r8712_write8(Adapter, RegRWStruct->offset, in oid_rt_pro_write_register_hdl()
|
D | rtl8712_cmd.c | 59 r8712_write8(padapter, MAC_PINMUX_CTRL, (GPIOMUX_EN | GPIOSEL_GPIO)); in check_hw_pbc() 62 r8712_write8(padapter, GPIO_IO_SEL, tmp1byte); in check_hw_pbc()
|
D | usb_intf.c | 443 r8712_write8(padapter, EFUSE_TEST + 3, tmpU1b | 0x80); in r871xu_drv_init() 445 r8712_write8(padapter, EFUSE_TEST + 3, in r871xu_drv_init()
|
D | rtl871x_io.h | 240 void r8712_write8(struct _adapter *adapter, u32 addr, u8 val);
|
D | rtl8712_led.c | 132 r8712_write8(padapter, LEDCFG, LedCfg & 0xf0); in SwLedOn() 136 r8712_write8(padapter, LEDCFG, LedCfg & 0x0f); in SwLedOn() 160 r8712_write8(padapter, LEDCFG, (LedCfg | BIT(3))); in SwLedOff() 164 r8712_write8(padapter, LEDCFG, (LedCfg | BIT(7))); in SwLedOff()
|
D | rtl871x_mp.c | 359 r8712_write8(pAdapter, 0x10250203, regBwOpMode); in r8712_SwitchBandwidth()
|
D | rtl871x_mlme.c | 1677 r8712_write8(padapter, 0x102500D9, 48);/*TH = 48 pages, 6k*/ in r8712_joinbss_reset() 1681 r8712_write8(padapter, 0x102500D9, 1); in r8712_joinbss_reset()
|