/linux/drivers/net/wireless/ath/ath10k/ |
H A D | pci.c | 431 static bool ath10k_pci_is_awake(struct ath10k *ar) in ath10k_pci_is_awake() 440 static void __ath10k_pci_wake(struct ath10k *ar) in __ath10k_pci_wake() 454 static void __ath10k_pci_sleep(struct ath10k *ar) in __ath10k_pci_sleep() 469 static int ath10k_pci_wake_wait(struct ath10k *ar) in ath10k_pci_wake_wait() 492 static int ath10k_pci_force_wake(struct ath10k *ar) in ath10k_pci_force_wake() 518 static void ath10k_pci_force_sleep(struct ath10k *ar) in ath10k_pci_force_sleep() 533 static int ath10k_pci_wake(struct ath10k *ar) in ath10k_pci_wake() 568 static void ath10k_pci_sleep(struct ath10k *ar) in ath10k_pci_sleep() 596 struct ath10k *ar = ar_pci->ar; in ath10k_pci_ps_timer() local 613 static void ath10k_pci_sleep_sync(struct ath10k *ar) in ath10k_pci_sleep_sync() [all …]
|
H A D | core.c | 795 void ath10k_core_get_fw_features_str(struct ath10k *ar, in ath10k_core_get_fw_features_str() 814 static void ath10k_send_suspend_complete(struct ath10k *ar) in ath10k_send_suspend_complete() 821 static int ath10k_init_sdio(struct ath10k *ar, enum ath10k_firmware_mode mode) in ath10k_init_sdio() 868 static int ath10k_init_configure_target(struct ath10k *ar) in ath10k_init_configure_target() 936 static const struct firmware *ath10k_fetch_fw_file(struct ath10k *ar, in ath10k_fetch_fw_file() 970 static int ath10k_push_board_ext_data(struct ath10k *ar, const void *data, in ath10k_push_board_ext_data() 1017 static int ath10k_core_get_board_id_from_otp(struct ath10k *ar) in ath10k_core_get_board_id_from_otp() 1095 struct ath10k *ar = data; in ath10k_core_check_bdfext() local 1148 static int ath10k_core_check_smbios(struct ath10k *ar) in ath10k_core_check_smbios() 1159 int ath10k_core_check_dt(struct ath10k *ar) in ath10k_core_check_dt() [all …]
|
H A D | snoc.c | 474 static void ath10k_snoc_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_snoc_write32() 481 static u32 ath10k_snoc_read32(struct ath10k *ar, u32 offset) in ath10k_snoc_read32() 494 struct ath10k *ar = pipe->hif_ce_state; in __ath10k_snoc_rx_post_buf() local 532 struct ath10k *ar = pipe->hif_ce_state; in ath10k_snoc_rx_post_pipe() local 560 static void ath10k_snoc_rx_post(struct ath10k *ar) in ath10k_snoc_rx_post() 570 void (*callback)(struct ath10k *ar, in ath10k_snoc_process_rx_cb() 573 struct ath10k *ar = ce_state->ar; in ath10k_snoc_process_rx_cb() local 633 static void ath10k_snoc_htt_rx_deliver(struct ath10k *ar, struct sk_buff *skb) in ath10k_snoc_htt_rx_deliver() 649 struct ath10k *ar = ar_snoc->ar; in ath10k_snoc_rx_replenish_retry() local 656 struct ath10k *ar = ce_state->ar; in ath10k_snoc_htc_tx_cb() local [all …]
|
H A D | wmi.c | 1700 void ath10k_wmi_put_wmi_channel(struct ath10k *ar, struct wmi_channel *ch, in ath10k_wmi_put_wmi_channel() 1765 int ath10k_wmi_wait_for_service_ready(struct ath10k *ar) in ath10k_wmi_wait_for_service_ready() 1796 int ath10k_wmi_wait_for_unified_ready(struct ath10k *ar) in ath10k_wmi_wait_for_unified_ready() 1807 struct sk_buff *ath10k_wmi_alloc_skb(struct ath10k *ar, u32 len) in ath10k_wmi_alloc_skb() 1826 static void ath10k_wmi_htc_tx_complete(struct ath10k *ar, struct sk_buff *skb) in ath10k_wmi_htc_tx_complete() 1831 int ath10k_wmi_cmd_send_nowait(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_cmd_send_nowait() 1863 struct ath10k *ar = arvif->ar; in ath10k_wmi_tx_beacon_nowait() local 1916 static void ath10k_wmi_tx_beacons_nowait(struct ath10k *ar) in ath10k_wmi_tx_beacons_nowait() 1924 static void ath10k_wmi_op_ep_tx_credits(struct ath10k *ar) in ath10k_wmi_op_ep_tx_credits() 1932 int ath10k_wmi_cmd_send(struct ath10k *ar, struct sk_buff *skb, u32 cmd_id) in ath10k_wmi_cmd_send() [all …]
|
H A D | wmi-ops.h | 238 ath10k_wmi_rx(struct ath10k *ar, struct sk_buff *skb) in ath10k_wmi_rx() 248 ath10k_wmi_map_svc(struct ath10k *ar, const __le32 *in, unsigned long *out, in ath10k_wmi_map_svc() 259 ath10k_wmi_map_svc_ext(struct ath10k *ar, const __le32 *in, unsigned long *out, in ath10k_wmi_map_svc_ext() 270 ath10k_wmi_pull_scan(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_scan() 280 ath10k_wmi_pull_mgmt_tx_compl(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_mgmt_tx_compl() 290 ath10k_wmi_pull_mgmt_tx_bundle_compl(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_mgmt_tx_bundle_compl() 300 ath10k_wmi_pull_mgmt_rx(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_mgmt_rx() 310 ath10k_wmi_pull_ch_info(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_ch_info() 320 ath10k_wmi_pull_vdev_start(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_vdev_start() 330 ath10k_wmi_pull_peer_kick(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_peer_kick() [all …]
|
H A D | mac.c | 215 int ath10k_mac_ext_resource_config(struct ath10k *ar, u32 val) in ath10k_mac_ext_resource_config() 244 struct ath10k *ar = arvif->ar; in ath10k_send_key() local 305 struct ath10k *ar = arvif->ar; in ath10k_install_key() local 330 struct ath10k *ar = arvif->ar; in ath10k_install_peer_wep_keys() local 418 struct ath10k *ar = arvif->ar; in ath10k_clear_peer_keys() local 456 bool ath10k_mac_is_peer_wep_key_set(struct ath10k *ar, const u8 *addr, in ath10k_mac_is_peer_wep_key_set() 484 struct ath10k *ar = arvif->ar; in ath10k_clear_vdev_key() local 532 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_update_wep_key() local 687 static int ath10k_mac_num_chanctxs(struct ath10k *ar) in ath10k_mac_num_chanctxs() 708 static void ath10k_wait_for_peer_delete_done(struct ath10k *ar, u32 vdev_id, in ath10k_wait_for_peer_delete_done() [all …]
|
H A D | debug.h | 104 #define ATH10K_DFS_STAT_INC(ar, c) (ar->debug.dfs_stats.c++) argument 115 static inline u64 ath10k_debug_get_fw_dbglog_mask(struct ath10k *ar) in ath10k_debug_get_fw_dbglog_mask() 120 static inline u32 ath10k_debug_get_fw_dbglog_level(struct ath10k *ar) in ath10k_debug_get_fw_dbglog_level() 125 static inline int ath10k_debug_is_extd_tx_stats_enabled(struct ath10k *ar) in ath10k_debug_is_extd_tx_stats_enabled() 134 static inline int ath10k_debug_start(struct ath10k *ar) in ath10k_debug_start() 139 static inline void ath10k_debug_stop(struct ath10k *ar) in ath10k_debug_stop() 143 static inline int ath10k_debug_create(struct ath10k *ar) in ath10k_debug_create() 148 static inline void ath10k_debug_destroy(struct ath10k *ar) in ath10k_debug_destroy() 152 static inline int ath10k_debug_register(struct ath10k *ar) in ath10k_debug_register() 157 static inline void ath10k_debug_unregister(struct ath10k *ar) in ath10k_debug_unregister() [all …]
|
H A D | ce.c | 54 static inline u32 shadow_sr_wr_ind_addr(struct ath10k *ar, in shadow_sr_wr_ind_addr() 90 static inline u32 ath10k_ce_read32(struct ath10k *ar, u32 offset) in ath10k_ce_read32() 97 static inline void ath10k_ce_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_ce_write32() 104 static inline void ath10k_ce_dest_ring_write_index_set(struct ath10k *ar, in ath10k_ce_dest_ring_write_index_set() 112 static inline u32 ath10k_ce_dest_ring_write_index_get(struct ath10k *ar, in ath10k_ce_dest_ring_write_index_get() 119 static inline void ath10k_ce_src_ring_write_index_set(struct ath10k *ar, in ath10k_ce_src_ring_write_index_set() 127 static inline u32 ath10k_ce_src_ring_write_index_get(struct ath10k *ar, in ath10k_ce_src_ring_write_index_get() 134 static inline u32 ath10k_ce_src_ring_read_index_from_ddr(struct ath10k *ar, in ath10k_ce_src_ring_read_index_from_ddr() 142 static inline u32 ath10k_ce_src_ring_read_index_get(struct ath10k *ar, in ath10k_ce_src_ring_read_index_get() 161 ath10k_ce_shadow_src_ring_write_index_set(struct ath10k *ar, in ath10k_ce_shadow_src_ring_write_index_set() [all …]
|
H A D | sdio.c | 133 static int ath10k_sdio_config(struct ath10k *ar) in ath10k_sdio_config() 218 static int ath10k_sdio_write32(struct ath10k *ar, u32 addr, u32 val) in ath10k_sdio_write32() 242 static int ath10k_sdio_writesb32(struct ath10k *ar, u32 addr, u32 val) in ath10k_sdio_writesb32() 275 static int ath10k_sdio_read32(struct ath10k *ar, u32 addr, u32 *val) in ath10k_sdio_read32() 298 static int ath10k_sdio_read(struct ath10k *ar, u32 addr, void *buf, size_t len) in ath10k_sdio_read() 323 static int ath10k_sdio_write(struct ath10k *ar, u32 addr, const void *buf, size_t len) in ath10k_sdio_write() 351 static int ath10k_sdio_readsb(struct ath10k *ar, u32 addr, void *buf, size_t len) in ath10k_sdio_readsb() 380 static int ath10k_sdio_mbox_rx_process_packet(struct ath10k *ar, in ath10k_sdio_mbox_rx_process_packet() 418 static int ath10k_sdio_mbox_rx_process_packets(struct ath10k *ar, in ath10k_sdio_mbox_rx_process_packets() 500 static int ath10k_sdio_mbox_alloc_bundle(struct ath10k *ar, in ath10k_sdio_mbox_alloc_bundle() [all …]
|
H A D | hif.h | 102 static inline int ath10k_hif_tx_sg(struct ath10k *ar, u8 pipe_id, in ath10k_hif_tx_sg() 109 static inline int ath10k_hif_diag_read(struct ath10k *ar, u32 address, void *buf, in ath10k_hif_diag_read() 115 static inline int ath10k_hif_diag_write(struct ath10k *ar, u32 address, in ath10k_hif_diag_write() 124 static inline int ath10k_hif_exchange_bmi_msg(struct ath10k *ar, in ath10k_hif_exchange_bmi_msg() 132 static inline int ath10k_hif_start(struct ath10k *ar) in ath10k_hif_start() 137 static inline void ath10k_hif_stop(struct ath10k *ar) in ath10k_hif_stop() 142 static inline int ath10k_hif_start_post(struct ath10k *ar) in ath10k_hif_start_post() 149 static inline int ath10k_hif_get_htt_tx_complete(struct ath10k *ar) in ath10k_hif_get_htt_tx_complete() 156 static inline int ath10k_hif_map_service_to_pipe(struct ath10k *ar, in ath10k_hif_map_service_to_pipe() 164 static inline void ath10k_hif_get_default_pipe(struct ath10k *ar, in ath10k_hif_get_default_pipe() [all …]
|
H A D | debug.c | 28 void ath10k_info(struct ath10k *ar, const char *fmt, ...) in ath10k_info() 43 void ath10k_debug_print_hwfw_info(struct ath10k *ar) in ath10k_debug_print_hwfw_info() 75 void ath10k_debug_print_board_info(struct ath10k *ar) in ath10k_debug_print_board_info() 99 void ath10k_debug_print_boot_info(struct ath10k *ar) in ath10k_debug_print_boot_info() 112 void ath10k_print_driver_info(struct ath10k *ar) in ath10k_print_driver_info() 120 void ath10k_err(struct ath10k *ar, const char *fmt, ...) in ath10k_err() 135 void ath10k_warn(struct ath10k *ar, const char *fmt, ...) in ath10k_warn() 157 struct ath10k *ar = file->private_data; in ath10k_read_wmi_services() local 246 static void ath10k_debug_fw_stats_reset(struct ath10k *ar) in ath10k_debug_fw_stats_reset() 258 void ath10k_debug_fw_stats_process(struct ath10k *ar, struct sk_buff *skb) in ath10k_debug_fw_stats_process() [all …]
|
H A D | wmi-tlv.c | 71 ath10k_wmi_tlv_iter(struct ath10k *ar, const void *ptr, size_t len, in ath10k_wmi_tlv_iter() 72 int (*iter)(struct ath10k *ar, u16 tag, u16 len, in ath10k_wmi_tlv_iter() 123 static int ath10k_wmi_tlv_iter_parse(struct ath10k *ar, u16 tag, u16 len, in ath10k_wmi_tlv_iter_parse() 134 static int ath10k_wmi_tlv_parse(struct ath10k *ar, const void **tb, in ath10k_wmi_tlv_parse() 142 ath10k_wmi_tlv_parse_alloc(struct ath10k *ar, const void *ptr, in ath10k_wmi_tlv_parse_alloc() 169 static int ath10k_wmi_tlv_event_bcn_tx_status(struct ath10k *ar, in ath10k_wmi_tlv_event_bcn_tx_status() 216 static void ath10k_wmi_tlv_event_vdev_delete_resp(struct ath10k *ar, in ath10k_wmi_tlv_event_vdev_delete_resp() 223 static int ath10k_wmi_tlv_parse_peer_stats_info(struct ath10k *ar, u16 tag, u16 len, in ath10k_wmi_tlv_parse_peer_stats_info() 262 static int ath10k_wmi_tlv_op_pull_peer_stats_info(struct ath10k *ar, in ath10k_wmi_tlv_op_pull_peer_stats_info() 303 static void ath10k_wmi_tlv_event_peer_stats_info(struct ath10k *ar, in ath10k_wmi_tlv_event_peer_stats_info() [all …]
|
H A D | htt_tx.c | 43 struct ath10k *ar = hw->priv; in __ath10k_htt_tx_txq_recalc() local 90 static void __ath10k_htt_tx_txq_sync(struct ath10k *ar) in __ath10k_htt_tx_txq_sync() 120 struct ath10k *ar = hw->priv; in ath10k_htt_tx_txq_recalc() local 127 void ath10k_htt_tx_txq_sync(struct ath10k *ar) in ath10k_htt_tx_txq_sync() 137 struct ath10k *ar = hw->priv; in ath10k_htt_tx_txq_update() local 174 struct ath10k *ar = htt->ar; in ath10k_htt_tx_mgmt_inc_pending() local 202 struct ath10k *ar = htt->ar; in ath10k_htt_tx_alloc_msdu_id() local 217 struct ath10k *ar = htt->ar; in ath10k_htt_tx_free_msdu_id() local 228 struct ath10k *ar = htt->ar; in ath10k_htt_tx_free_cont_txbuf_32() local 242 struct ath10k *ar = htt->ar; in ath10k_htt_tx_alloc_cont_txbuf_32() local [all …]
|
H A D | htc.c | 19 static void ath10k_htc_control_tx_complete(struct ath10k *ar, in ath10k_htc_control_tx_complete() 25 static struct sk_buff *ath10k_htc_build_tx_ctrl_skb(void *ar) in ath10k_htc_build_tx_ctrl_skb() 57 struct ath10k *ar = ep->htc->ar; in ath10k_htc_notify_tx_completion() local 114 struct ath10k *ar = htc->ar; in ath10k_htc_consume_credit() local 147 struct ath10k *ar = htc->ar; in ath10k_htc_release_credit() local 170 struct ath10k *ar = htc->ar; in ath10k_htc_send() local 228 void ath10k_htc_tx_completion_handler(struct ath10k *ar, struct sk_buff *skb) in ath10k_htc_tx_completion_handler() 255 struct ath10k *ar = htc->ar; in ath10k_htc_process_credit_report() local 292 struct ath10k *ar = htc->ar; in ath10k_htc_process_lookahead() local 324 struct ath10k *ar = htc->ar; in ath10k_htc_process_lookahead_bundle() local [all …]
|
/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | hif-ops.h | 24 static inline int hif_read_write_sync(struct ath6kl *ar, u32 addr, u8 *buf, in hif_read_write_sync() 35 static inline int hif_write_async(struct ath6kl *ar, u32 address, u8 *buffer, in hif_write_async() 46 static inline void ath6kl_hif_irq_enable(struct ath6kl *ar) in ath6kl_hif_irq_enable() 53 static inline void ath6kl_hif_irq_disable(struct ath6kl *ar) in ath6kl_hif_irq_disable() 60 static inline struct hif_scatter_req *hif_scatter_req_get(struct ath6kl *ar) in hif_scatter_req_get() 65 static inline void hif_scatter_req_add(struct ath6kl *ar, in hif_scatter_req_add() 71 static inline int ath6kl_hif_enable_scatter(struct ath6kl *ar) in ath6kl_hif_enable_scatter() 76 static inline int ath6kl_hif_scat_req_rw(struct ath6kl *ar, in ath6kl_hif_scat_req_rw() 82 static inline void ath6kl_hif_cleanup_scatter(struct ath6kl *ar) in ath6kl_hif_cleanup_scatter() 87 static inline int ath6kl_hif_suspend(struct ath6kl *ar, in ath6kl_hif_suspend() [all …]
|
H A D | init.c | 251 static int ath6kl_set_host_app_area(struct ath6kl *ar) in ath6kl_set_host_app_area() 273 static inline void set_ac2_ep_map(struct ath6kl *ar, in set_ac2_ep_map() 282 static int ath6kl_connectservice(struct ath6kl *ar, in ath6kl_connectservice() 324 static int ath6kl_init_service_ep(struct ath6kl *ar) in ath6kl_init_service_ep() 416 static int ath6kl_set_htc_params(struct ath6kl *ar, u32 mbox_isr_yield_val, in ath6kl_set_htc_params() 452 static int ath6kl_target_config_wlan_params(struct ath6kl *ar, int idx) in ath6kl_target_config_wlan_params() 536 int ath6kl_configure_target(struct ath6kl *ar) in ath6kl_configure_target() 674 static int ath6kl_get_fw(struct ath6kl *ar, const char *filename, in ath6kl_get_fw() 702 static bool check_device_tree(struct ath6kl *ar) in check_device_tree() 733 static bool check_device_tree(struct ath6kl *ar) in check_device_tree() [all …]
|
H A D | main.c | 28 struct ath6kl *ar = vif->ar; in ath6kl_find_sta() local 47 struct ath6kl_sta *ath6kl_find_sta_by_aid(struct ath6kl *ar, u8 aid) in ath6kl_find_sta_by_aid() 65 struct ath6kl *ar = vif->ar; in ath6kl_add_new_sta() local 86 static void ath6kl_sta_cleanup(struct ath6kl *ar, u8 i) in ath6kl_sta_cleanup() 117 static u8 ath6kl_remove_sta(struct ath6kl *ar, u8 *mac, u16 reason) in ath6kl_remove_sta() 151 struct ath6kl *ar = devt; in ath6kl_ac2_endpoint_id() local 155 struct ath6kl_cookie *ath6kl_alloc_cookie(struct ath6kl *ar) in ath6kl_alloc_cookie() 168 void ath6kl_cookie_init(struct ath6kl *ar) in ath6kl_cookie_init() 181 void ath6kl_cookie_cleanup(struct ath6kl *ar) in ath6kl_cookie_cleanup() 187 void ath6kl_free_cookie(struct ath6kl *ar, struct ath6kl_cookie *cookie) in ath6kl_free_cookie() [all …]
|
H A D | cfg80211.c | 147 struct ath6kl *ar = vif->ar; in __ath6kl_cfg80211_sscan_stop() local 164 struct ath6kl *ar = vif->ar; in ath6kl_cfg80211_sscan_disable() local 286 struct ath6kl *ar = vif->ar; in ath6kl_cfg80211_ready() local 324 struct ath6kl *ar = vif->ar; in ath6kl_set_assoc_req_ies() local 389 static bool ath6kl_is_valid_iftype(struct ath6kl *ar, enum nl80211_iftype type, in ath6kl_is_valid_iftype() 424 static bool ath6kl_is_tx_pending(struct ath6kl *ar) in ath6kl_is_tx_pending() 457 struct ath6kl *ar = ath6kl_priv(dev); in ath6kl_cfg80211_connect() local 686 struct ath6kl *ar = vif->ar; in ath6kl_add_bss_if_needed() local 743 struct ath6kl *ar = vif->ar; in ath6kl_cfg80211_connect_event() local 824 struct ath6kl *ar = ath6kl_priv(dev); in ath6kl_cfg80211_disconnect() local [all …]
|
H A D | recovery.c | 23 struct ath6kl *ar = container_of(work, struct ath6kl, in ath6kl_recovery_work() local 42 void ath6kl_recovery_err_notify(struct ath6kl *ar, enum ath6kl_fw_err reason) in ath6kl_recovery_err_notify() 57 void ath6kl_recovery_hb_event(struct ath6kl *ar, u32 cookie) in ath6kl_recovery_hb_event() 65 struct ath6kl *ar = timer_container_of(ar, t, fw_recovery.hb_timer); in ath6kl_recovery_hb_timer() local 98 void ath6kl_recovery_init(struct ath6kl *ar) in ath6kl_recovery_init() 115 void ath6kl_recovery_cleanup(struct ath6kl *ar) in ath6kl_recovery_cleanup() 126 void ath6kl_recovery_suspend(struct ath6kl *ar) in ath6kl_recovery_suspend() 144 void ath6kl_recovery_resume(struct ath6kl *ar) in ath6kl_recovery_resume()
|
/linux/drivers/net/wireless/ath/ar5523/ |
H A D | ar5523.c | 48 static void ar5523_read_reply(struct ar5523 *ar, struct ar5523_cmd_hdr *hdr, in ar5523_read_reply() 94 struct ar5523 *ar = urb->context; in ar5523_cmd_rx_cb() local 175 static int ar5523_alloc_rx_cmd(struct ar5523 *ar) in ar5523_alloc_rx_cmd() 191 static void ar5523_cancel_rx_cmd(struct ar5523 *ar) in ar5523_cancel_rx_cmd() 196 static void ar5523_free_rx_cmd(struct ar5523 *ar) in ar5523_free_rx_cmd() 203 static int ar5523_submit_rx_cmd(struct ar5523 *ar) in ar5523_submit_rx_cmd() 228 struct ar5523 *ar = cmd->ar; in ar5523_cmd_tx_cb() local 244 static void ar5523_cancel_tx_cmd(struct ar5523 *ar) in ar5523_cancel_tx_cmd() 249 static int ar5523_cmd(struct ar5523 *ar, u32 code, const void *idata, in ar5523_cmd() 297 static int ar5523_cmd_write(struct ar5523 *ar, u32 code, const void *data, in ar5523_cmd_write() [all …]
|
/linux/drivers/net/wireless/ath/carl9170/ |
H A D | usb.c | 133 static void carl9170_usb_submit_data_urb(struct ar9170 *ar) in carl9170_usb_submit_data_urb() 169 struct ar9170 *ar = usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0)); in carl9170_usb_tx_data_complete() local 212 static int carl9170_usb_submit_cmd_urb(struct ar9170 *ar) in carl9170_usb_submit_cmd_urb() 241 struct ar9170 *ar = urb->context; in carl9170_usb_cmd_complete() local 279 struct ar9170 *ar = urb->context; in carl9170_usb_rx_irq_complete() local 316 static int carl9170_usb_submit_rx_urb(struct ar9170 *ar, gfp_t gfp) in carl9170_usb_submit_rx_urb() 342 static void carl9170_usb_rx_work(struct ar9170 *ar) in carl9170_usb_rx_work() 367 void carl9170_usb_handle_tx_err(struct ar9170 *ar) in carl9170_usb_handle_tx_err() 382 struct ar9170 *ar = from_tasklet(ar, t, usb_tasklet); in carl9170_usb_tasklet() local 400 struct ar9170 *ar = urb->context; in carl9170_usb_rx_complete() local [all …]
|
H A D | main.c | 184 static void carl9170_ampdu_gc(struct ar9170 *ar) in carl9170_ampdu_gc() 219 static void carl9170_flush(struct ar9170 *ar, bool drop_queued) in carl9170_flush() 249 static void carl9170_flush_ba(struct ar9170 *ar) in carl9170_flush_ba() 276 static void carl9170_zap_queues(struct ar9170 *ar) in carl9170_zap_queues() 338 struct ar9170 *ar = hw->priv; in carl9170_op_start() local 430 static void carl9170_cancel_worker(struct ar9170 *ar) in carl9170_cancel_worker() 444 struct ar9170 *ar = hw->priv; in carl9170_op_stop() local 469 struct ar9170 *ar = container_of(work, struct ar9170, in carl9170_restart_work() local 506 void carl9170_restart(struct ar9170 *ar, const enum carl9170_restart_reasons r) in carl9170_restart() 545 struct ar9170 *ar = container_of(work, struct ar9170, ping_work); in carl9170_ping_work() local [all …]
|
H A D | mac.c | 44 int carl9170_set_dyn_sifs_ack(struct ar9170 *ar) in carl9170_set_dyn_sifs_ack() 60 int carl9170_set_rts_cts_rate(struct ar9170 *ar) in carl9170_set_rts_cts_rate() 84 int carl9170_set_slot_time(struct ar9170 *ar) in carl9170_set_slot_time() 106 int carl9170_set_mac_rates(struct ar9170 *ar) in carl9170_set_mac_rates() 136 int carl9170_set_qos(struct ar9170 *ar) in carl9170_set_qos() 171 int carl9170_init_mac(struct ar9170 *ar) in carl9170_init_mac() 257 static int carl9170_set_mac_reg(struct ar9170 *ar, in carl9170_set_mac_reg() 275 int carl9170_mod_virtual_mac(struct ar9170 *ar, const unsigned int id, in carl9170_mod_virtual_mac() 285 int carl9170_update_multicast(struct ar9170 *ar, const u64 mc_hash) in carl9170_update_multicast() 301 int carl9170_set_operating_mode(struct ar9170 *ar) in carl9170_set_operating_mode() [all …]
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | mac.c | 573 struct ath11k_vif *ath11k_mac_get_arvif(struct ath11k *ar, u32 vdev_id) in ath11k_mac_get_arvif() 658 struct ath11k *ar; in ath11k_mac_get_vif_up() local 684 struct ath11k *ar = arvif->ar; in ath11k_mac_get_target_pdev_id_from_vif() local 705 u8 ath11k_mac_get_target_pdev_id(struct ath11k *ar) in ath11k_mac_get_target_pdev_id() 717 static void ath11k_pdev_caps_update(struct ath11k *ar) in ath11k_pdev_caps_update() 735 static int ath11k_mac_txpower_recalc(struct ath11k *ar) in ath11k_mac_txpower_recalc() 794 struct ath11k *ar = arvif->ar; in ath11k_recalc_rtscts_prot() local 833 struct ath11k *ar = arvif->ar; in ath11k_mac_set_kickout() local 876 void ath11k_mac_peer_cleanup_all(struct ath11k *ar) in ath11k_mac_peer_cleanup_all() 898 static inline int ath11k_mac_vdev_setup_sync(struct ath11k *ar) in ath11k_mac_vdev_setup_sync() [all …]
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | wow.c | 39 int ath12k_wow_enable(struct ath12k *ar) in ath12k_wow_enable() 81 int ath12k_wow_wakeup(struct ath12k *ar) in ath12k_wow_wakeup() 106 struct ath12k *ar = arvif->ar; in ath12k_wow_vif_cleanup() local 130 static int ath12k_wow_cleanup(struct ath12k *ar) in ath12k_wow_cleanup() 160 ath12k_wow_convert_8023_to_80211(struct ath12k *ar, in ath12k_wow_convert_8023_to_80211() 264 ath12k_wow_pno_check_and_convert(struct ath12k *ar, u32 vdev_id, in ath12k_wow_pno_check_and_convert() 361 struct ath12k *ar = arvif->ar; in ath12k_wow_vif_set_wakeups() local 473 static int ath12k_wow_set_wakeups(struct ath12k *ar, in ath12k_wow_set_wakeups() 495 static int ath12k_wow_vdev_clean_nlo(struct ath12k *ar, u32 vdev_id) in ath12k_wow_vdev_clean_nlo() 523 struct ath12k *ar = arvif->ar; in ath12k_wow_vif_clean_nlo() local [all …]
|