| /linux/drivers/net/wireless/ath/wcn36xx/ |
| H A D | dxe.c | 30 static void wcn36xx_ccu_write_register(struct wcn36xx *wcn, int addr, int data) in wcn36xx_ccu_write_register() argument 36 writel(data, wcn->ccu_base + addr); in wcn36xx_ccu_write_register() 39 static void wcn36xx_dxe_write_register(struct wcn36xx *wcn, int addr, int data) in wcn36xx_dxe_write_register() argument 45 writel(data, wcn->dxe_base + addr); in wcn36xx_dxe_write_register() 48 static void wcn36xx_dxe_read_register(struct wcn36xx *wcn, int addr, int *data) in wcn36xx_dxe_read_register() argument 50 *data = readl(wcn->dxe_base + addr); in wcn36xx_dxe_read_register() 101 int wcn36xx_dxe_alloc_ctl_blks(struct wcn36xx *wcn) in wcn36xx_dxe_alloc_ctl_blks() argument 105 wcn->dxe_tx_l_ch.ch_type = WCN36XX_DXE_CH_TX_L; in wcn36xx_dxe_alloc_ctl_blks() 106 wcn->dxe_tx_h_ch.ch_type = WCN36XX_DXE_CH_TX_H; in wcn36xx_dxe_alloc_ctl_blks() 107 wcn->dxe_rx_l_ch.ch_type = WCN36XX_DXE_CH_RX_L; in wcn36xx_dxe_alloc_ctl_blks() [all …]
|
| H A D | main.c | 50 /* The wcn firmware expects channel values to matching 195 static void wcn36xx_feat_caps_info(struct wcn36xx *wcn) in wcn36xx_feat_caps_info() argument 200 if (wcn36xx_firmware_get_feat_caps(wcn->fw_feat_caps, i)) { in wcn36xx_feat_caps_info() 209 struct wcn36xx *wcn = hw->priv; in wcn36xx_start() local 215 ret = wcn36xx_smd_open(wcn); in wcn36xx_start() 222 ret = wcn36xx_dxe_allocate_mem_pools(wcn); in wcn36xx_start() 228 ret = wcn36xx_dxe_alloc_ctl_blks(wcn); in wcn36xx_start() 234 ret = wcn36xx_smd_load_nv(wcn); in wcn36xx_start() 240 ret = wcn36xx_smd_start(wcn); in wcn36xx_start() 246 if (!wcn36xx_is_fw_version(wcn, 1, 2, 2, 24)) { in wcn36xx_start() [all …]
|
| H A D | debug.c | 31 struct wcn36xx *wcn = file->private_data; in read_file_bool_bmps() local 36 list_for_each_entry(vif_priv, &wcn->vif_list, list) { in read_file_bool_bmps() 56 struct wcn36xx *wcn = file->private_data; in write_file_bool_bmps() local 71 list_for_each_entry(vif_priv, &wcn->vif_list, list) { in write_file_bool_bmps() 74 wcn36xx_enable_keep_alive_null_packet(wcn, vif); in write_file_bool_bmps() 75 wcn36xx_pmc_enter_bmps_state(wcn, vif); in write_file_bool_bmps() 82 list_for_each_entry(vif_priv, &wcn->vif_list, list) { in write_file_bool_bmps() 85 wcn36xx_pmc_exit_bmps_state(wcn, vif); in write_file_bool_bmps() 103 struct wcn36xx *wcn = file->private_data; in write_file_dump() local 130 wcn36xx_smd_dump_cmd_req(wcn, arg[0], arg[1], arg[2], arg[3], arg[4]); in write_file_dump() [all …]
|
| H A D | txrx.c | 275 static void wcn36xx_update_survey(struct wcn36xx *wcn, int rssi, int snr, in wcn36xx_update_survey() argument 286 idx = wcn->hw->wiphy->bands[NL80211_BAND_2GHZ]->n_channels; in wcn36xx_update_survey() 288 sband = wcn->hw->wiphy->bands[band]; in wcn36xx_update_survey() 298 spin_lock(&wcn->survey_lock); in wcn36xx_update_survey() 299 wcn->chan_survey[idx].rssi = rssi; in wcn36xx_update_survey() 300 wcn->chan_survey[idx].snr = snr; in wcn36xx_update_survey() 301 spin_unlock(&wcn->survey_lock); in wcn36xx_update_survey() 306 int wcn36xx_rx_skb(struct wcn36xx *wcn, struct sk_buff *skb) in wcn36xx_rx_skb() argument 379 status.band = WCN36XX_BAND(wcn); in wcn36xx_rx_skb() 380 status.freq = WCN36XX_CENTER_FREQ(wcn); in wcn36xx_rx_skb() [all …]
|
| H A D | dxe.h | 138 #define WCN36XX_DXE_WQ_TX_L(wcn) ((wcn)->is_pronto_v3 ? 0x6 : 0x17) argument 139 #define WCN36XX_DXE_WQ_TX_H(wcn) ((wcn)->is_pronto_v3 ? 0x6 : 0x17) argument 456 int wcn36xx_dxe_allocate_mem_pools(struct wcn36xx *wcn); 457 void wcn36xx_dxe_free_mem_pools(struct wcn36xx *wcn); 458 void wcn36xx_dxe_rx_frame(struct wcn36xx *wcn); 459 int wcn36xx_dxe_alloc_ctl_blks(struct wcn36xx *wcn); 460 void wcn36xx_dxe_free_ctl_blks(struct wcn36xx *wcn); 461 int wcn36xx_dxe_init(struct wcn36xx *wcn); 462 void wcn36xx_dxe_deinit(struct wcn36xx *wcn); 463 int wcn36xx_dxe_init_channels(struct wcn36xx *wcn); [all …]
|
| H A D | pmc.c | 23 int wcn36xx_pmc_enter_bmps_state(struct wcn36xx *wcn, in wcn36xx_pmc_enter_bmps_state() argument 29 ret = wcn36xx_smd_enter_bmps(wcn, vif); in wcn36xx_pmc_enter_bmps_state() 51 int wcn36xx_pmc_exit_bmps_state(struct wcn36xx *wcn, in wcn36xx_pmc_exit_bmps_state() argument 62 wcn36xx_smd_exit_bmps(wcn, vif); in wcn36xx_pmc_exit_bmps_state() 68 int wcn36xx_enable_keep_alive_null_packet(struct wcn36xx *wcn, in wcn36xx_enable_keep_alive_null_packet() argument 72 return wcn36xx_smd_keep_alive_req(wcn, vif, in wcn36xx_enable_keep_alive_null_packet()
|
| H A D | debug.h | 37 void wcn36xx_debugfs_init(struct wcn36xx *wcn); 38 void wcn36xx_debugfs_exit(struct wcn36xx *wcn); 41 static inline void wcn36xx_debugfs_init(struct wcn36xx *wcn) in wcn36xx_debugfs_init() argument 44 static inline void wcn36xx_debugfs_exit(struct wcn36xx *wcn) in wcn36xx_debugfs_exit() argument
|
| H A D | pmc.h | 27 int wcn36xx_pmc_enter_bmps_state(struct wcn36xx *wcn, 29 int wcn36xx_pmc_exit_bmps_state(struct wcn36xx *wcn, 31 int wcn36xx_enable_keep_alive_null_packet(struct wcn36xx *wcn,
|
| H A D | txrx.h | 163 int wcn36xx_rx_skb(struct wcn36xx *wcn, struct sk_buff *skb); 164 int wcn36xx_start_tx(struct wcn36xx *wcn,
|
| /linux/drivers/power/sequencing/ |
| H A D | Kconfig | 17 tristate "Qualcomm WCN family PMU driver" 22 WCN Bluetooth/WLAN chipsets. 24 Typically, a package from the Qualcomm WCN family contains the BT
|
| H A D | Makefile | 6 obj-$(CONFIG_POWER_SEQUENCING_QCOM_WCN) += pwrseq-qcom-wcn.o
|
| H A D | pwrseq-qcom-wcn.c | 477 MODULE_DESCRIPTION("Qualcomm WCN PMU power sequencing driver");
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | x1e80100-asus-vivobook-s15.dts | 167 vreg_wcn_0p95: regulator-wcn-0p95 { 177 vreg_wcn_1p9: regulator-wcn-1p9 { 187 vreg_wcn_3p3: regulator-wcn-3p3 { 849 wcn_bt_en: wcn-bt-en-state { 856 wcn_sw_en: wcn-sw-en-state { 863 wcn_wlan_en: wcn-wlan-en-state {
|
| H A D | hamoa-iot-evk.dts | 364 vreg_wcn_0p95: regulator-wcn-0p95 { 374 vreg_wcn_1p9: regulator-wcn-1p9 { 384 vreg_wcn_3p3: regulator-wcn-3p3 { 1139 wcn_bt_en: wcn-bt-en-state { 1153 wcn_sw_en: wcn-sw-en-state { 1161 wcn_usb_sw_n: wcn-usb-sw-n-state {
|
| H A D | x1-asus-zenbook-a14.dtsi | 415 vreg_wcn_0p95: regulator-wcn-0p95 { 425 vreg_wcn_1p9: regulator-wcn-1p9 { 435 vreg_wcn_3p3: regulator-wcn-3p3 { 1362 wcn_bt_en: wcn-bt-en-state { 1369 wcn_sw_en: wcn-sw-en-state { 1376 wcn_wlan_en: wcn-wlan-en-state {
|
| H A D | x1e80100-dell-xps13-9345.dts | 293 vreg_wcn_0p95: regulator-wcn-0p95 { 303 vreg_wcn_1p9: regulator-wcn-1p9 { 313 vreg_wcn_3p3: regulator-wcn-3p3 { 1240 wcn_sw_en: wcn-sw-en-state { 1247 wcn_wlan_bt_en: wcn-wlan-bt-en-state {
|
| H A D | x1e80100-qcp.dts | 285 vreg_wcn_0p95: regulator-wcn-0p95 { 295 vreg_wcn_1p9: regulator-wcn-1p9 { 305 vreg_wcn_3p3: regulator-wcn-3p3 { 1369 wcn_wlan_bt_en: wcn-wlan-bt-en-state { 1376 wcn_sw_en: wcn-sw-en-state {
|
| H A D | x1e80100-microsoft-romulus.dtsi | 334 vreg_wcn_0p95: regulator-wcn-0p95 { 344 vreg_wcn_1p9: regulator-wcn-1p9 { 354 vreg_wcn_3p3: regulator-wcn-3p3 { 1349 wcn_wlan_bt_en: wcn-wlan-bt-en-state { 1431 wcn_sw_en: wcn-sw-en-state {
|
| H A D | x1e80100-lenovo-yoga-slim7x.dts | 409 vreg_wcn_3p3: regulator-wcn-3p3 { 431 vreg_wcn_0p95: regulator-wcn-0p95 { 441 vreg_wcn_1p9: regulator-wcn-1p9 { 1518 wcn_sw_en: wcn-sw-en-state { 1525 wcn_wlan_bt_en: wcn-wlan-bt-en-state {
|
| H A D | x1-dell-thena.dtsi | 412 vreg_wcn_3p3: regulator-wcn-3p3 { 428 vreg_wcn_0p95: regulator-wcn-0p95 { 438 vreg_wcn_1p9: regulator-wcn-1p9 { 1522 wcn_sw_en: wcn-sw-en-state { 1529 wcn_wlan_bt_en: wcn-wlan-bt-en-state {
|
| H A D | x1p42100-lenovo-thinkbook-16.dts | 378 vreg_wcn_0p95: regulator-wcn-0p95 { 388 vreg_wcn_1p9: regulator-wcn-1p9 { 398 vreg_wcn_3p3: regulator-wcn-3p3 { 1458 wcn_sw_en: wcn-sw-en-state { 1465 wcn_wlan_bt_en: wcn-wlan-bt-en-state {
|
| /linux/Documentation/devicetree/bindings/net/wireless/ |
| H A D | qcom,ath10k.yaml | 161 on WCN in the case of WoW (Wake on Wireless).
|
| /linux/arch/m68k/include/asm/ |
| H A D | MC68328.h | 789 #define WCN WORD_REF(WCN_ADDR) macro
|