| /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 | smd.c | 182 static int put_cfg_tlv_u32(struct wcn36xx *wcn, size_t *len, u32 id, u32 value) in put_cfg_tlv_u32() argument 192 entry = (struct wcn36xx_hal_cfg *) (wcn->hal_buf + *len); in put_cfg_tlv_u32() 206 static void wcn36xx_smd_set_bss_nw_type(struct wcn36xx *wcn, in wcn36xx_smd_set_bss_nw_type() argument 210 if (NL80211_BAND_5GHZ == WCN36XX_BAND(wcn)) in wcn36xx_smd_set_bss_nw_type() 289 static void wcn36xx_smd_set_sta_vht_params(struct wcn36xx *wcn, in wcn36xx_smd_set_sta_vht_params() argument 299 if (wcn36xx_firmware_get_feat_caps(wcn->fw_feat_caps, MU_MIMO)) { in wcn36xx_smd_set_sta_vht_params() 337 static void wcn36xx_smd_set_sta_default_vht_params(struct wcn36xx *wcn, in wcn36xx_smd_set_sta_default_vht_params() argument 340 if (wcn->rf_id == RF_IRIS_WCN3680) { in wcn36xx_smd_set_sta_default_vht_params() 353 static void wcn36xx_smd_set_sta_default_ht_ldpc_params(struct wcn36xx *wcn, in wcn36xx_smd_set_sta_default_ht_ldpc_params() argument 356 if (wcn->rf_id == RF_IRIS_WCN3680) in wcn36xx_smd_set_sta_default_ht_ldpc_params() [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/pci/pwrctrl/ |
| H A D | pci-pwrctrl-pwrseq.c | 34 * the WCN family of chips since before power sequencing was added in pwrseq_pwrctrl_qcm_wcn_validate_device() 42 * WCN models before moving forward. in pwrseq_pwrctrl_qcm_wcn_validate_device()
|
| /linux/arch/arm64/boot/dts/qcom/ |
| 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 | 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 {
|
| /linux/Documentation/devicetree/bindings/net/wireless/ |
| H A D | qcom,ath10k.yaml | 161 on WCN in the case of WoW (Wake on Wireless).
|
| /linux/drivers/bluetooth/ |
| H A D | btqca.c | 836 * without the "wcn" prefix. The mapping between the chip and its in qca_uart_setup()
|
| /linux/arch/m68k/include/asm/ |
| H A D | MC68328.h | 789 #define WCN WORD_REF(WCN_ADDR) macro
|