Home
last modified time | relevance | path

Searched refs:usb_write8 (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.10/drivers/staging/rtl8188eu/hal/
Dusb_halinit.c141 usb_write8(Adapter, REG_USB_SPECIAL_OPTION, usb_opt); in _InitInterrupt()
166 usb_write8(Adapter, REG_RQPN_NPQ, value8); in _InitQueueReservedPage()
182 usb_write8(Adapter, REG_TXPKTBUF_BCNQ_BDNY, txpktbuf_bndy); in _InitTxBufferBoundary()
183 usb_write8(Adapter, REG_TXPKTBUF_MGQ_BDNY, txpktbuf_bndy); in _InitTxBufferBoundary()
184 usb_write8(Adapter, REG_TXPKTBUF_WMAC_LBK_BF_HD, txpktbuf_bndy); in _InitTxBufferBoundary()
185 usb_write8(Adapter, REG_TRXFF_BNDY, txpktbuf_bndy); in _InitTxBufferBoundary()
186 usb_write8(Adapter, REG_TDECTRL + 1, txpktbuf_bndy); in _InitTxBufferBoundary()
332 usb_write8(Adapter, REG_PBP, value8); in _InitTransferPageSize()
337 usb_write8(Adapter, REG_RX_DRVINFO_SZ, drvInfoSize); in _InitDriverInfoSize()
400 usb_write8(Adapter, REG_RD_CTRL, 0xFF); in _InitRDGSetting()
[all …]
Dfw.c30 usb_write8(adapt, REG_MCUFWDL, tmp | 0x01); in _rtl88e_enable_fw_download()
33 usb_write8(adapt, REG_MCUFWDL + 2, tmp & 0xf7); in _rtl88e_enable_fw_download()
36 usb_write8(adapt, REG_MCUFWDL, tmp & 0xfe); in _rtl88e_enable_fw_download()
38 usb_write8(adapt, REG_MCUFWDL + 1, 0x00); in _rtl88e_enable_fw_download()
60 usb_write8(adapt, write_address, byte_buffer[i]); in _rtl88e_fw_block_write()
71 usb_write8(adapt, (REG_MCUFWDL + 2), value8); in _rtl88e_fw_page_write()
102 usb_write8(adapt, REG_SYS_FUNC_EN + 1, (u1b_tmp & (~BIT(2)))); in rtl88e_firmware_selfreset()
103 usb_write8(adapt, REG_SYS_FUNC_EN + 1, (u1b_tmp | BIT(2))); in rtl88e_firmware_selfreset()
191 usb_write8(adapt, REG_MCUFWDL, 0); in rtl88eu_download_fw()
195 usb_write8(adapt, REG_MCUFWDL, in rtl88eu_download_fw()
Drtl8188eu_led.c20 usb_write8(padapter, REG_LEDCFG2, (led_cfg & 0xf0) | BIT(5) | BIT(6)); in sw_led_on()
35 usb_write8(padapter, REG_LEDCFG2, (led_cfg | BIT(3))); in sw_led_off()
38 usb_write8(padapter, REG_MAC_PINMUX_CFG, led_cfg); in sw_led_off()
Dmac_cfg.c116 usb_write8(adapt, ptrarray[i], (u8)ptrarray[i + 1]); in rtl88eu_phy_mac_config()
118 usb_write8(adapt, REG_MAX_AGGR_NUM, MAX_AGGR_NUM); in rtl88eu_phy_mac_config()
Drtl8188e_cmd.c91 usb_write8(adapt, msgbox_ex_addr + cmd_idx, *((u8 *)(&h2c_cmd_ex) + cmd_idx)); in FillH2CCmd_88E()
96 usb_write8(adapt, msgbox_addr + cmd_idx, *((u8 *)(&h2c_cmd) + cmd_idx)); in FillH2CCmd_88E()
554 usb_write8(adapt, REG_CR + 1, haldata->RegCR_1); in rtl8188e_set_FwJoinBssReport_cmd()
559 usb_write8(adapt, REG_BCN_CTRL, usb_read8(adapt, REG_BCN_CTRL) & (~BIT(3))); in rtl8188e_set_FwJoinBssReport_cmd()
560 usb_write8(adapt, REG_BCN_CTRL, usb_read8(adapt, REG_BCN_CTRL) | BIT(4)); in rtl8188e_set_FwJoinBssReport_cmd()
568 usb_write8(adapt, REG_FWHW_TXQ_CTRL + 2, (haldata->RegFwHwTxQCtrl & (~BIT(6)))); in rtl8188e_set_FwJoinBssReport_cmd()
602 usb_write8(adapt, REG_BCN_CTRL, usb_read8(adapt, REG_BCN_CTRL) | BIT(3)); in rtl8188e_set_FwJoinBssReport_cmd()
603 usb_write8(adapt, REG_BCN_CTRL, usb_read8(adapt, REG_BCN_CTRL) & (~BIT(4))); in rtl8188e_set_FwJoinBssReport_cmd()
611 usb_write8(adapt, REG_FWHW_TXQ_CTRL + 2, (haldata->RegFwHwTxQCtrl | BIT(6))); in rtl8188e_set_FwJoinBssReport_cmd()
624 usb_write8(adapt, REG_CR + 1, haldata->RegCR_1); in rtl8188e_set_FwJoinBssReport_cmd()
Drtl8188e_hal_init.c25 usb_write8(padapter, REG_SYS_CFG, reg_0xf0 | SW_OFFLOAD_EN); in iol_mode_enable()
35 usb_write8(padapter, REG_SYS_CFG, reg_0xf0 & ~SW_OFFLOAD_EN); in iol_mode_enable()
47 usb_write8(padapter, REG_HMEBOX_E0, reg_0x88 | control); in iol_execute()
67 usb_write8(padapter, REG_TDECTRL + 1, txpktbuf_bndy); in iol_InitLLTTable()
96 usb_write8(padapter, REG_SYS_FUNC_EN + 1, u1bTmp & (~BIT(2))); in _8051Reset88E()
97 usb_write8(padapter, REG_SYS_FUNC_EN + 1, u1bTmp | (BIT(2))); in _8051Reset88E()
166 usb_write8(adapter, rOFDM0_RxDSP + 1, usb_read8(adapter, rOFDM0_RxDSP + 1) | BIT(1)); in rtw_hal_notch_filter()
169 usb_write8(adapter, rOFDM0_RxDSP + 1, usb_read8(adapter, rOFDM0_RxDSP + 1) & ~BIT(1)); in rtw_hal_notch_filter()
Dphy.c212 usb_write8(adapt, REG_BWOPMODE, reg_bw_opmode); in phy_set_bw_mode_callback()
216 usb_write8(adapt, REG_BWOPMODE, reg_bw_opmode); in phy_set_bw_mode_callback()
219 usb_write8(adapt, REG_RRSR + 2, reg_prsr_rsc); in phy_set_bw_mode_callback()
823 usb_write8(adapt, mac_reg[i], (u8)backup[i]); in reload_mac_registers()
851 usb_write8(adapt, mac_reg[i], 0x3F); in mac_setting_calibration()
854 usb_write8(adapt, mac_reg[i], (u8)(backup[i] & (~BIT(3)))); in mac_setting_calibration()
856 usb_write8(adapt, mac_reg[i], (u8)(backup[i] & (~BIT(5)))); in mac_setting_calibration()
1143 usb_write8(adapt, 0xd03, tmpreg & 0x8F); in phy_lc_calibrate()
1145 usb_write8(adapt, REG_TXPAUSE, 0xFF); in phy_lc_calibrate()
1182 usb_write8(adapt, 0xd03, tmpreg); in phy_lc_calibrate()
[all …]
Dbb_cfg.c667 usb_write8(adapt, REG_RF_CTRL, RF_EN | RF_RSTB | RF_SDMRSTB); in rtl88eu_phy_bb_config()
669 usb_write8(adapt, REG_SYS_FUNC_EN, FEN_USBA | in rtl88eu_phy_bb_config()
Dpwrseqcmd.c59 usb_write8(padapter, offset, value); in rtl88eu_pwrseqcmdparsing()
Drtl8188e_dm.c29 usb_write8(Adapter, REG_GPIO_MUXCFG, tmp1byte); in dm_InitGPIOSetting()
Dodm.c614 usb_write8(adapt, ODM_REG_CCK_CCA_11N, CurCCK_CCAThres); in ODM_Write_CCK_CCA_Thres()
/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_efuse.c34 usb_write8(pAdapter, REG_EFUSE_ACCESS, EFUSE_ACCESS_ON); in efuse_power_switch()
61 usb_write8(pAdapter, EFUSE_TEST + 3, (tempval | 0x80)); in efuse_power_switch()
64 usb_write8(pAdapter, REG_EFUSE_ACCESS, EFUSE_ACCESS_OFF); in efuse_power_switch()
69 usb_write8(pAdapter, EFUSE_TEST + 3, (tempval & 0x7F)); in efuse_power_switch()
225 usb_write8(adapter, REG_PKT_BUFF_ACCESS_CTRL, TXPKT_BUF_SELECT); in efuse_read_phymap_from_txpktbuf()
232 usb_write8(adapter, REG_TXPKTBUF_DBG, 0); in efuse_read_phymap_from_txpktbuf()
280 usb_write8(adapter, REG_PKT_BUFF_ACCESS_CTRL, DISABLE_TRXPKT_BUF_ACCESS); in efuse_read_phymap_from_txpktbuf()
291 usb_write8(padapter, REG_TDECTRL + 1, txpktbuf_bndy); in iol_read_efuse()
293 usb_write8(padapter, REG_PKT_BUFF_ACCESS_CTRL, TXPKT_BUF_SELECT); in iol_read_efuse()
814 usb_write8(pAdapter, EFUSE_CTRL + 1, (u8)(addr & 0xff)); in efuse_OneByteRead()
[all …]
Drtw_debug.c54 usb_write8(padapter, addr, (u8)val); in proc_set_write_reg()
/Linux-v5.10/drivers/staging/rtl8712/
Dusb_ops.c85 static void usb_write8(struct intf_hdl *intfhdl, u32 addr, u8 val) in usb_write8() function
181 ops->_write8 = usb_write8; in r8712_usb_set_intf_ops()
/Linux-v5.10/drivers/staging/rtl8188eu/include/
Dusb_ops_linux.h51 int usb_write8(struct adapter *adapter, u32 addr, u8 val);
/Linux-v5.10/drivers/staging/rtl8188eu/os_dep/
Dusb_ops_linux.c509 int usb_write8(struct adapter *adapter, u32 addr, u8 val) in usb_write8() function