Home
last modified time | relevance | path

Searched refs:r8712_write8 (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.10/drivers/staging/rtl8712/
Dusb_halinit.c34 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 …]
Drtl871x_eeprom.c25 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 …]
Dhal_init.c238 r8712_write8(adapter, SYS_CLKR, tmp8 | BIT(2)); in rtl8712_dl_fw()
244 r8712_write8(adapter, SYS_FUNC_EN + 1, tmp8 | BIT(2)); in rtl8712_dl_fw()
334 r8712_write8(padapter, 0x102500B5, r8712_read8(padapter, 0x102500B5) | in rtl8712_hal_init()
336 r8712_write8(padapter, 0x102500BD, r8712_read8(padapter, 0x102500BD) | in rtl8712_hal_init()
338 r8712_write8(padapter, 0x102500D9, 1); /* TH=1 => means that invalidate in rtl8712_hal_init()
341 r8712_write8(padapter, 0x1025FE5B, 0x04); /* 1.7ms/4 */ in rtl8712_hal_init()
343 r8712_write8(padapter, 0x1025fe5C, r8712_read8(padapter, 0x1025fe5C) in rtl8712_hal_init()
353 r8712_write8(padapter, RF_CTRL, 0x00); in rtl8712_hal_deinit()
357 r8712_write8(padapter, SYS_CLKR + 1, 0x38); /* Switch Control Path */ in rtl8712_hal_deinit()
358 r8712_write8(padapter, SYS_FUNC_EN + 1, 0x70); in rtl8712_hal_deinit()
[all …]
Drtl8712_efuse.c36 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 …]
Dxmit_linux.c103 r8712_write8(adapter, 0x117, newvalue); in r8712_SetFilter()
111 r8712_write8(adapter, 0x117, oldvalue); in r8712_SetFilter()
Drtl871x_pwrctrl.c54 r8712_write8(padapter, 0x1025FE58, rpwm); in r8712_set_rpwm()
174 r8712_write8(padapter, 0x1025FE58, 0); in r8712_init_pwrctrl_priv()
Drtl8712_io.c46 void r8712_write8(struct _adapter *adapter, u32 addr, u8 val) in r8712_write8() function
Drtl871x_mp_ioctl.c266 r8712_write8(Adapter, MSR, 1); /* Link in ad hoc network, 0x1025004C */ in oid_rt_pro_start_test_hdl()
267 r8712_write8(Adapter, RCR, 0); /* RCR : disable all pkt, 0x10250048 */ in oid_rt_pro_start_test_hdl()
269 r8712_write8(Adapter, RCR + 2, 0x57); in oid_rt_pro_start_test_hdl()
608 r8712_write8(Adapter, RegRWStruct->offset, in oid_rt_pro_write_register_hdl()
Drtl8712_cmd.c47 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()
Dusb_intf.c415 r8712_write8(padapter, EFUSE_TEST + 3, tmpU1b | 0x80); in r871xu_drv_init()
417 r8712_write8(padapter, EFUSE_TEST + 3, in r871xu_drv_init()
Drtl871x_io.h228 void r8712_write8(struct _adapter *adapter, u32 addr, u8 val);
Drtl8712_led.c120 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()
Drtl871x_mp.c344 r8712_write8(pAdapter, 0x10250203, regBwOpMode); in r8712_SwitchBandwidth()
Drtl871x_mlme.c1631 r8712_write8(padapter, 0x102500D9, 48);/*TH = 48 pages, 6k*/ in r8712_joinbss_reset()
1635 r8712_write8(padapter, 0x102500D9, 1); in r8712_joinbss_reset()