/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8821a/ |
H A D | r21a_init.c | 76 RTWN_CHK(rtwn_setbits_1(sc, R92C_GPIO_INTM + 2, 0x01, 0)); in r21a_power_on() 83 RTWN_CHK(rtwn_setbits_1(sc, R92C_LDOA15_CTRL, 0, R92C_LDOA15_CTRL_EN)); in r21a_power_on() 86 RTWN_CHK(rtwn_setbits_1(sc, 0x067, 0x10, 0)); in r21a_power_on() 92 RTWN_CHK(rtwn_setbits_1(sc, R92C_SYS_ISO_CTRL, in r21a_power_on() 137 RTWN_CHK(rtwn_setbits_1(sc, R92C_LEDCFG3, 0, 0x01)); in r21a_power_on() 140 RTWN_CHK(rtwn_setbits_1(sc, 0x067, 0, 0x30)); in r21a_power_on() 142 RTWN_CHK(rtwn_setbits_1(sc, 0x025, 0x40, 0)); in r21a_power_on() 145 RTWN_CHK(rtwn_setbits_1(sc, R92C_GPIO_INTM + 1, 0, 0x02)); in r21a_power_on() 148 RTWN_CHK(rtwn_setbits_1(sc, 0x063, 0, 0x02)); in r21a_power_on() 151 RTWN_CHK(rtwn_setbits_1(sc, 0x062, 0x02, 0)); in r21a_power_on() [all …]
|
H A D | r21a_fw.c | 62 rtwn_setbits_1(sc, R92C_RSV_CTRL, 0x02, 0); in r21a_fw_reset() 63 rtwn_setbits_1(sc, R92C_RSV_CTRL + 1, 0x01, 0); in r21a_fw_reset() 69 rtwn_setbits_1(sc, R92C_RSV_CTRL, 0x02, 0); in r21a_fw_reset() 70 rtwn_setbits_1(sc, R92C_RSV_CTRL + 1, 0, 0x01); in r21a_fw_reset()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8188e/pci/ |
H A D | r88ee_init.c | 86 rtwn_setbits_1(sc, R88E_XCK_OUT_CTRL, R88E_XCK_OUT_CTRL_EN, 0); in r88ee_power_on() 105 rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, in r88ee_power_on() 109 rtwn_setbits_1(sc, R92C_AFE_XTAL_CTRL + 2, 0, 0x80); in r88ee_power_on() 131 rtwn_setbits_1(sc, R92C_PCIE_CTRL_REG + 2, 0, 0x04); in r88ee_power_on() 134 rtwn_setbits_1(sc, R92C_LPLDO_CTRL, R92C_LPLDO_CTRL_SLEEP, 0); in r88ee_power_on() 136 rtwn_setbits_1(sc, R92C_APS_FSMCO, 0, R92C_APS_FSMCO_PDN_EN); in r88ee_power_on() 137 rtwn_setbits_1(sc, R92C_PCIE_CTRL_REG + 2, 0, 0x04); in r88ee_power_on() 138 rtwn_setbits_1(sc, R92C_AFE_XTAL_CTRL_EXT + 1, 0, 0x02); in r88ee_power_on() 139 rtwn_setbits_1(sc, R92C_SYS_CLKR, 0, 0x08); in r88ee_power_on() 164 rtwn_setbits_1(sc, R88E_TX_RPT_CTRL, in r88ee_power_off() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8188e/usb/ |
H A D | r88eu_init.c | 94 RTWN_CHK(rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, in r88eu_power_on() 97 RTWN_CHK(rtwn_setbits_1(sc, R92C_AFE_XTAL_CTRL + 2, 0, 0x80)); in r88eu_power_on() 119 RTWN_CHK(rtwn_setbits_1(sc, R92C_LPLDO_CTRL, in r88eu_power_on() 142 error = rtwn_setbits_1(sc, R88E_TX_RPT_CTRL, in r88eu_power_off() 168 rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, R92C_SYS_FUNC_EN_BBRSTB, 0); in r88eu_power_off() 182 rtwn_setbits_1(sc, R92C_DUAL_TSF_RST, 0, 0x20); in r88eu_power_off() 194 rtwn_setbits_1(sc, R88E_32K_CTRL, 0x01, 0); in r88eu_power_off() 201 rtwn_setbits_1(sc, R92C_LPLDO_CTRL, 0, R92C_LPLDO_CTRL_SLEEP); in r88eu_power_off() 222 rtwn_setbits_1(sc, R92C_AFE_XTAL_CTRL + 2, 0, 0x80); in r88eu_power_off() 232 rtwn_setbits_1(sc, R92C_GPIO_MUXCFG + 1, 0x10, 0); in r88eu_power_off() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8812a/usb/ |
H A D | r12au_init.c | 67 rtwn_setbits_1(sc, R92C_TRXDMA_CTRL, 0, in r12au_init_rx_agg() 78 rtwn_setbits_1(sc, R12A_RXDMA_PRO, R12A_BURST_SZ_M, in r12au_init_burstlen_usb2() 82 rtwn_setbits_1(sc, R12A_RXDMA_PRO, R12A_BURST_SZ_M, in r12au_init_burstlen_usb2() 96 rtwn_setbits_1(sc, R12A_RXDMA_PRO, R12A_BURST_SZ_M, in r12au_init_burstlen() 99 rtwn_setbits_1(sc, 0xf008, 0x18, 0); in r12au_init_burstlen() 126 rtwn_setbits_1(sc, R92C_FWHW_TXQ_CTRL, in r12au_init_ampdu_fwhw() 154 rtwn_setbits_1(sc, R12A_HT_SINGLE_AMPDU, 0, in r12au_init_ampdu() 167 rtwn_setbits_1(sc, R92C_RSV_CTRL, 0, 0x60); in r12au_init_ampdu() 177 rtwn_setbits_1(sc, R92C_QUEUE_CTRL, 0x08, 0); in r12au_post_init()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8188e/ |
H A D | r88e_beacon.c | 51 rtwn_setbits_1(sc, R92C_MBID_NUM, 0, R88E_MBID_TXBCN_RPT(id)); in r88e_beacon_enable() 52 rtwn_setbits_1(sc, R92C_BCN_CTRL(id), in r88e_beacon_enable() 55 rtwn_setbits_1(sc, R92C_MBID_NUM, R88E_MBID_TXBCN_RPT(id), 0); in r88e_beacon_enable() 56 rtwn_setbits_1(sc, R92C_BCN_CTRL(id), in r88e_beacon_enable()
|
H A D | r88e_led.c | 56 rtwn_setbits_1(sc, R92C_LEDCFG2, 0x6f, in r88e_set_led() 58 rtwn_setbits_1(sc, R92C_MAC_PINMUX_CFG, 0x01, 0); in r88e_set_led() 60 rtwn_setbits_1(sc, R92C_LEDCFG2, 0x0f, 0x60); in r88e_set_led()
|
H A D | r88e_fw.c | 121 rtwn_setbits_1(sc, R92C_MCUFWDL, 0, R92C_MCUFWDL_EN); in r88e_fw_download_enable() 127 rtwn_setbits_1(sc, R92C_MCUFWDL, R92C_MCUFWDL_EN, 0); in r88e_fw_download_enable()
|
H A D | r88e_chan.c | 134 rtwn_setbits_1(sc, R92C_BWOPMODE, 0, R92C_BWOPMODE_20MHZ); in r88e_set_bw20()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8812a/ |
H A D | r12a_init.c | 115 return (rtwn_setbits_1(sc, R92C_PBP, R92C_PBP_PSTX_M, in r12a_set_page_size() 134 rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, 0, R92C_SYS_FUNC_EN_USBA); in r12a_init_bb() 137 rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, 0, in r12a_init_bb() 256 RTWN_CHK(rtwn_setbits_1(sc, R92C_SPS0_CTRL + 1, 0, 0x01)); in r12a_power_on() 262 RTWN_CHK(rtwn_setbits_1(sc, R92C_LPLDO_CTRL, R92C_LPLDO_CTRL_SLEEP, in r12a_power_on() 355 rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, R92C_SYS_FUNC_EN_BBRSTB, 0); in r12a_power_off() 360 rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, R92C_SYS_FUNC_EN_BB_GLB_RST, 0); in r12a_power_off() 370 rtwn_setbits_1(sc, R92C_DUAL_TSF_RST, 0, R92C_DUAL_TSF_RST_TXOK); in r12a_power_off() 389 rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, R92C_SYS_FUNC_EN_BB_GLB_RST, 0); in r12a_power_off() 398 rtwn_setbits_1(sc, R92C_SYS_CLKR, R92C_SYS_CLKR_ANA8M, 0); in r12a_power_off() [all …]
|
H A D | r12a_fw.c | 68 rtwn_setbits_1(sc, R92C_RSV_CTRL, R92C_RSV_CTRL_WLOCK_00, 0); in r12a_fw_reset() 69 rtwn_setbits_1(sc, R92C_RSV_CTRL + 1, 0x08, 0); in r12a_fw_reset() 75 rtwn_setbits_1(sc, R92C_RSV_CTRL, R92C_RSV_CTRL_WLOCK_00, 0); in r12a_fw_reset() 76 rtwn_setbits_1(sc, R92C_RSV_CTRL + 1, 0, 0x08); in r12a_fw_reset() 87 rtwn_setbits_1(sc, R92C_MCUFWDL, 0, R92C_MCUFWDL_EN); in r12a_fw_download_enable() 93 rtwn_setbits_1(sc, R92C_MCUFWDL, R92C_MCUFWDL_EN, 0); in r12a_fw_download_enable()
|
H A D | r12a_led.c | 63 rtwn_setbits_1(sc, R92C_LEDCFG0, 0x8f, in r12a_set_led()
|
H A D | r12a_calib.c | 196 rtwn_setbits_1(sc, R92C_BCN_CTRL(0), R92C_BCN_CTRL_EN_BCN, 0); in r12a_iq_config_mac() 197 rtwn_setbits_1(sc, R92C_BCN_CTRL(1), R92C_BCN_CTRL_EN_BCN, 0); in r12a_iq_config_mac()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192e/usb/ |
H A D | r92eu_init.c | 65 rtwn_setbits_1(sc, R12A_RXDMA_PRO, 0x20, 0x1e); in r92eu_init_rx_agg() 68 rtwn_setbits_1(sc, R92C_TRXDMA_CTRL, 0, in r92eu_init_rx_agg() 77 rtwn_setbits_1(sc, R92C_QUEUE_CTRL, 0x08, 0); in r92eu_post_init()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192e/ |
H A D | r92e_init.c | 214 rtwn_setbits_1(sc, R92C_AFE_PLL_CTRL, R92C_AFE_PLL_CTRL_FREF_SEL, 0); in r92e_adj_crystal() 216 rtwn_setbits_1(sc, R92C_AFE_PLL_CTRL, 0x40, 0); in r92e_adj_crystal() 315 rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, R92C_SYS_FUNC_EN_BBRSTB, 0); in r92e_power_off() 320 rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, R92C_SYS_FUNC_EN_BB_GLB_RST, 0); in r92e_power_off() 330 rtwn_setbits_1(sc, R92C_DUAL_TSF_RST, 0, R92C_DUAL_TSF_RST_TXOK); in r92e_power_off() 337 rtwn_setbits_1(sc, R92C_RSV_CTRL + 1, 0x01, 0); in r92e_power_off() 343 rtwn_setbits_1(sc, R92C_RSV_CTRL + 1, 0, 0x01); in r92e_power_off() 351 rtwn_setbits_1(sc, R92C_LEDCFG2, 0x80, 0); in r92e_power_off() 376 rtwn_setbits_1(sc, 0xcc, 0, 0x4); in r92e_power_off() 379 rtwn_setbits_1(sc, R92C_SPS0_CTRL, 0x1, 0); in r92e_power_off()
|
H A D | r92e_led.c | 62 rtwn_setbits_1(sc, R92C_LEDCFG1, 0, R92C_LEDCFG1_DIS); in r92e_set_led() 64 rtwn_setbits_1(sc, R92C_LEDCFG1, R92C_LEDCFG1_DIS, 0); in r92e_set_led()
|
H A D | r92e_fw.c | 68 rtwn_setbits_1(sc, R92C_RSV_CTRL + 1, 0x01, 0); in r92e_fw_reset() 74 rtwn_setbits_1(sc, R92C_RSV_CTRL + 1, 0, 0x01); in r92e_fw_reset()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/pci/ |
H A D | r92ce_init.c | 188 rtwn_setbits_1(sc, R92C_AFE_XTAL_CTRL + 2, 0x02, 0); in r92ce_power_on() 191 rtwn_setbits_1(sc, R92C_GPIO_MUXCFG, R92C_GPIO_MUXCFG_RFKILL, 0); in r92ce_power_on() 202 rtwn_setbits_1(sc, R92C_APSD_CTRL, R92C_APSD_CTRL_OFF, 0); in r92ce_power_on() 252 rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, 0, R92C_SYS_FUNC_EN_BB_GLB_RST); in r92ce_power_off() 253 rtwn_setbits_1(sc, R92C_SYS_FUNC_EN, R92C_SYS_FUNC_EN_BB_GLB_RST, 0); in r92ce_power_off()
|
H A D | r92ce_led.c | 61 rtwn_setbits_1(sc, R92C_LEDCFG2, 0x0f, in r92ce_set_led()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/ |
H A D | r92c_beacon.c | 77 rtwn_setbits_1(sc, R92C_BCN_CTRL(id), in r92c_beacon_enable() 80 rtwn_setbits_1(sc, R92C_BCN_CTRL(id), in r92c_beacon_enable()
|
H A D | r92c_init.c | 318 rtwn_setbits_1(sc, R92C_LEDCFG2, 0, 0x80); in r92c_init_antsel() 322 rtwn_setbits_1(sc, R92C_LEDCFG2, 0x80, 0); in r92c_init_antsel() 340 rtwn_setbits_1(sc, 0x16, 0xf0, 0x90); in r92c_pa_bias_init()
|
H A D | r92c_chan.c | 249 rtwn_setbits_1(sc, R92C_BWOPMODE, R92C_BWOPMODE_20MHZ, 0); in r92c_set_bw40() 250 rtwn_setbits_1(sc, R92C_RRSR + 2, 0x6f, (prichlo ? 1 : 2) << 5); in r92c_set_bw40() 277 rtwn_setbits_1(sc, R92C_BWOPMODE, 0, R92C_BWOPMODE_20MHZ); in r92c_set_bw20()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/usb/ |
H A D | r92cu_init.c | 118 RTWN_CHK(rtwn_setbits_1(sc, R92C_SYS_ISO_CTRL, in r92cu_power_on() 149 RTWN_CHK(rtwn_setbits_1(sc, R92C_APSD_CTRL, in r92cu_power_on() 302 rtwn_setbits_1(sc, R92C_LDOV12D_CTRL, in r92cu_power_off() 341 rtwn_setbits_1(sc, R92C_TRXDMA_CTRL, 0, in r92cu_init_rx_agg() 343 rtwn_setbits_1(sc, R92C_USB_SPECIAL_OPTION, 0, in r92cu_init_rx_agg()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/ |
H A D | if_rtwn.c | 922 rtwn_setbits_1(sc, R92C_BCN_CTRL(uvp->id), in rtwn_tsf_sync_adhoc_task() 929 rtwn_setbits_1(sc, R92C_BCN_CTRL(uvp->id), in rtwn_tsf_sync_adhoc_task() 955 rtwn_setbits_1(sc, R92C_BCN_CTRL(uvp->id), in rtwn_tsf_sync_enable() 990 rtwn_setbits_1(sc, R92C_MSR, R92C_MSR_MASK << id * 2, mode << id * 2); in rtwn_set_mode() 1098 rtwn_setbits_1(sc, R92C_BCN_CTRL(uvp->id), in rtwn_newstate() 1145 rtwn_setbits_1(sc, R92C_TXPAUSE, 0, R92C_TX_QUEUE_AC); in rtwn_newstate() 1159 rtwn_setbits_1(sc, R92C_TXPAUSE, 0, in rtwn_newstate() 1480 rtwn_setbits_1(sc, R92C_TXPAUSE, 0, R92C_TX_QUEUE_BCN); in rtwn_scan_start() 1517 rtwn_setbits_1(sc, R92C_TXPAUSE, R92C_TX_QUEUE_BCN, 0); in rtwn_scan_end() 1607 rtwn_setbits_1(sc, R92C_ACMHWCTRL, R92C_ACMHWCTRL_ACM_MASK, acm); in rtwn_wme_update() [all …]
|
H A D | if_rtwn_fw.c | 166 rtwn_setbits_1(sc, R92C_MCUFWDL, 0, R92C_MCUFWDL_CHKSUM_RPT); in rtwn_load_firmware()
|