/linux-6.1.9/drivers/staging/rtl8712/ |
D | usb_halinit.c | 34 r8712_write8(adapter, SYS_CLKR, val8); in r8712_usb_hal_bus_init() 38 r8712_write8(adapter, SPS1_CTRL, val8); in r8712_usb_hal_bus_init() 42 r8712_write8(adapter, AFE_MISC, val8); in r8712_usb_hal_bus_init() 46 r8712_write8(adapter, LDOA15_CTRL, val8); in r8712_usb_hal_bus_init() 50 r8712_write8(adapter, SPS1_CTRL, val8); in r8712_usb_hal_bus_init() 54 r8712_write8(adapter, AFE_MISC, val8); in r8712_usb_hal_bus_init() 58 r8712_write8(adapter, SYS_ISO_CTRL + 1, val8); in r8712_usb_hal_bus_init() 62 r8712_write8(adapter, SYS_ISO_CTRL + 1, val8); in r8712_usb_hal_bus_init() 66 r8712_write8(adapter, AFE_XTAL_CTRL + 1, val8); in r8712_usb_hal_bus_init() 70 r8712_write8(adapter, AFE_PLL_CTRL, val8); in r8712_usb_hal_bus_init() [all …]
|
D | rtl871x_eeprom.c | 25 r8712_write8(padapter, EE_9346CR, (u8)*x); in up_clk() 32 r8712_write8(padapter, EE_9346CR, (u8)*x); in down_clk() 51 r8712_write8(padapter, EE_9346CR, (u8)x); in shift_out_bits() 60 r8712_write8(padapter, EE_9346CR, (u8)x); in shift_out_bits() 94 r8712_write8(padapter, EE_9346CR, x); in standby() 97 r8712_write8(padapter, EE_9346CR, x); in standby() 126 r8712_write8(padapter, EE_9346CR, (u8)x); in eeprom_clean() 143 r8712_write8(padapter, 0x102502f1, tmp8_new); in r8712_eeprom_write16() 147 r8712_write8(padapter, 0x10250003, tmp8_clk_new); in r8712_eeprom_write16() 151 r8712_write8(padapter, EE_9346CR, x); in r8712_eeprom_write16() [all …]
|
D | hal_init.c | 250 r8712_write8(adapter, SYS_CLKR, tmp8 | BIT(2)); in rtl8712_dl_fw() 256 r8712_write8(adapter, SYS_FUNC_EN + 1, tmp8 | BIT(2)); in rtl8712_dl_fw() 346 r8712_write8(padapter, 0x102500B5, r8712_read8(padapter, 0x102500B5) | in rtl8712_hal_init() 348 r8712_write8(padapter, 0x102500BD, r8712_read8(padapter, 0x102500BD) | in rtl8712_hal_init() 350 r8712_write8(padapter, 0x102500D9, 1); /* TH=1 => means that invalidate in rtl8712_hal_init() 353 r8712_write8(padapter, 0x1025FE5B, 0x04); /* 1.7ms/4 */ in rtl8712_hal_init() 355 r8712_write8(padapter, 0x1025fe5C, r8712_read8(padapter, 0x1025fe5C) in rtl8712_hal_init() 365 r8712_write8(padapter, RF_CTRL, 0x00); in rtl8712_hal_deinit() 369 r8712_write8(padapter, SYS_CLKR + 1, 0x38); /* Switch Control Path */ in rtl8712_hal_deinit() 370 r8712_write8(padapter, SYS_FUNC_EN + 1, 0x70); in rtl8712_hal_deinit() [all …]
|
D | rtl8712_efuse.c | 36 r8712_write8(adapter, EFUSE_TEST + 3, tmpu8); in efuse_reg_ctrl() 39 r8712_write8(adapter, EFUSE_CLK_CTRL, 0x03); in efuse_reg_ctrl() 47 r8712_write8(adapter, EFUSE_TEST + 3, tmpu8); in efuse_reg_ctrl() 49 r8712_write8(adapter, EFUSE_CLK_CTRL, 0x02); in efuse_reg_ctrl() 71 r8712_write8(adapter, EFUSE_CTRL + 1, (u8)(addr & 0xFF)); /* address */ in efuse_one_byte_read() 72 r8712_write8(adapter, EFUSE_CTRL + 2, ((u8)((addr >> 8) & 0x03)) | in efuse_one_byte_read() 74 r8712_write8(adapter, EFUSE_CTRL + 3, 0x72); /* read cmd */ in efuse_one_byte_read() 94 r8712_write8(adapter, EFUSE_CTRL + 1, (u8)(addr & 0xFF)); /* address */ in efuse_one_byte_write() 95 r8712_write8(adapter, EFUSE_CTRL + 2, ((u8)((addr >> 8) & 0x03)) | in efuse_one_byte_write() 97 r8712_write8(adapter, EFUSE_CTRL, data); /* data */ in efuse_one_byte_write() [all …]
|
D | xmit_linux.c | 101 r8712_write8(adapter, 0x117, newvalue); in r8712_SetFilter() 104 r8712_write8(adapter, 0x117, oldvalue); in r8712_SetFilter()
|
D | rtl871x_pwrctrl.c | 54 r8712_write8(padapter, 0x1025FE58, rpwm); in r8712_set_rpwm() 174 r8712_write8(padapter, 0x1025FE58, 0); in r8712_init_pwrctrl_priv()
|
D | rtl8712_io.c | 46 void r8712_write8(struct _adapter *adapter, u32 addr, u8 val) in r8712_write8() function
|
D | rtl8712_cmd.c | 47 r8712_write8(padapter, MAC_PINMUX_CTRL, (GPIOMUX_EN | GPIOSEL_GPIO)); in check_hw_pbc() 50 r8712_write8(padapter, GPIO_IO_SEL, tmp1byte); in check_hw_pbc()
|
D | rtl871x_mp_ioctl.c | 271 r8712_write8(Adapter, MSR, 1); /* Link in ad hoc network, 0x1025004C */ in oid_rt_pro_start_test_hdl() 272 r8712_write8(Adapter, RCR, 0); /* RCR : disable all pkt, 0x10250048 */ in oid_rt_pro_start_test_hdl() 274 r8712_write8(Adapter, RCR + 2, 0x57); in oid_rt_pro_start_test_hdl() 613 r8712_write8(Adapter, RegRWStruct->offset, in oid_rt_pro_write_register_hdl()
|
D | usb_intf.c | 410 r8712_write8(padapter, EFUSE_TEST + 3, tmpU1b | 0x80); in r871xu_drv_init() 412 r8712_write8(padapter, EFUSE_TEST + 3, in r871xu_drv_init()
|
D | rtl871x_io.h | 227 void r8712_write8(struct _adapter *adapter, u32 addr, u8 val);
|
D | rtl8712_led.c | 120 r8712_write8(padapter, LEDCFG, LedCfg & 0xf0); in SwLedOn() 124 r8712_write8(padapter, LEDCFG, LedCfg & 0x0f); in SwLedOn() 148 r8712_write8(padapter, LEDCFG, (LedCfg | BIT(3))); in SwLedOff() 152 r8712_write8(padapter, LEDCFG, (LedCfg | BIT(7))); in SwLedOff()
|
D | rtl871x_mp.c | 344 r8712_write8(pAdapter, 0x10250203, regBwOpMode); in r8712_SwitchBandwidth()
|
D | rtl871x_mlme.c | 1589 r8712_write8(padapter, 0x102500D9, 48);/*TH = 48 pages, 6k*/ in r8712_joinbss_reset() 1593 r8712_write8(padapter, 0x102500D9, 1); in r8712_joinbss_reset()
|