/linux/drivers/net/wireless/ath/ath10k/ |
H A D | pci.c | 430 static bool ath10k_pci_is_awake(struct ath10k *ar) in ath10k_pci_is_awake() 439 static void __ath10k_pci_wake(struct ath10k *ar) in __ath10k_pci_wake() 453 static void __ath10k_pci_sleep(struct ath10k *ar) in __ath10k_pci_sleep() 468 static int ath10k_pci_wake_wait(struct ath10k *ar) in ath10k_pci_wake_wait() 491 static int ath10k_pci_force_wake(struct ath10k *ar) in ath10k_pci_force_wake() 517 static void ath10k_pci_force_sleep(struct ath10k *ar) in ath10k_pci_force_sleep() 532 static int ath10k_pci_wake(struct ath10k *ar) in ath10k_pci_wake() 567 static void ath10k_pci_sleep(struct ath10k *ar) in ath10k_pci_sleep() 595 struct ath10k *ar = ar_pci->ar; in ath10k_pci_ps_timer() local 612 static void ath10k_pci_sleep_sync(struct ath10k *ar) in ath10k_pci_sleep_sync() [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-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 | 214 int ath10k_mac_ext_resource_config(struct ath10k *ar, u32 val) in ath10k_mac_ext_resource_config() 243 struct ath10k *ar = arvif->ar; in ath10k_send_key() local 304 struct ath10k *ar = arvif->ar; in ath10k_install_key() local 329 struct ath10k *ar = arvif->ar; in ath10k_install_peer_wep_keys() local 417 struct ath10k *ar = arvif->ar; in ath10k_clear_peer_keys() local 455 bool ath10k_mac_is_peer_wep_key_set(struct ath10k *ar, const u8 *addr, in ath10k_mac_is_peer_wep_key_set() 483 struct ath10k *ar = arvif->ar; in ath10k_clear_vdev_key() local 531 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_update_wep_key() local 686 static int ath10k_mac_num_chanctxs(struct ath10k *ar) in ath10k_mac_num_chanctxs() 707 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 | 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 | 26 void ath10k_info(struct ath10k *ar, const char *fmt, ...) in ath10k_info() 41 void ath10k_debug_print_hwfw_info(struct ath10k *ar) in ath10k_debug_print_hwfw_info() 73 void ath10k_debug_print_board_info(struct ath10k *ar) in ath10k_debug_print_board_info() 97 void ath10k_debug_print_boot_info(struct ath10k *ar) in ath10k_debug_print_boot_info() 110 void ath10k_print_driver_info(struct ath10k *ar) in ath10k_print_driver_info() 118 void ath10k_err(struct ath10k *ar, const char *fmt, ...) in ath10k_err() 133 void ath10k_warn(struct ath10k *ar, const char *fmt, ...) in ath10k_warn() 155 struct ath10k *ar = file->private_data; in ath10k_read_wmi_services() local 244 static void ath10k_debug_fw_stats_reset(struct ath10k *ar) in ath10k_debug_fw_stats_reset() 256 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 | 41 struct ath10k *ar = hw->priv; in __ath10k_htt_tx_txq_recalc() local 88 static void __ath10k_htt_tx_txq_sync(struct ath10k *ar) in __ath10k_htt_tx_txq_sync() 118 struct ath10k *ar = hw->priv; in ath10k_htt_tx_txq_recalc() local 125 void ath10k_htt_tx_txq_sync(struct ath10k *ar) in ath10k_htt_tx_txq_sync() 135 struct ath10k *ar = hw->priv; in ath10k_htt_tx_txq_update() local 172 struct ath10k *ar = htt->ar; in ath10k_htt_tx_mgmt_inc_pending() local 200 struct ath10k *ar = htt->ar; in ath10k_htt_tx_alloc_msdu_id() local 215 struct ath10k *ar = htt->ar; in ath10k_htt_tx_free_msdu_id() local 226 struct ath10k *ar = htt->ar; in ath10k_htt_tx_free_cont_txbuf_32() local 240 struct ath10k *ar = htt->ar; in ath10k_htt_tx_alloc_cont_txbuf_32() local [all …]
|
H A D | qmi.c | 36 struct ath10k *ar = qmi->ar; in ath10k_qmi_map_msa_permission() local 68 struct ath10k *ar = qmi->ar; in ath10k_qmi_unmap_msa_permission() local 125 struct ath10k *ar = qmi->ar; in ath10k_qmi_msa_mem_info_send_sync_msg() local 203 struct ath10k *ar = qmi->ar; in ath10k_qmi_msa_ready_send_sync_msg() local 242 struct ath10k *ar = qmi->ar; in ath10k_qmi_bdf_dnld_send_sync() local 328 struct ath10k *ar = qmi->ar; in ath10k_qmi_send_cal_report_req() local 381 ath10k_qmi_mode_send_sync_msg(struct ath10k *ar, enum wlfw_driver_mode_enum_v01 mode) in ath10k_qmi_mode_send_sync_msg() 428 ath10k_qmi_cfg_send_sync_msg(struct ath10k *ar, in ath10k_qmi_cfg_send_sync_msg() 515 int ath10k_qmi_wlan_enable(struct ath10k *ar, in ath10k_qmi_wlan_enable() 540 int ath10k_qmi_wlan_disable(struct ath10k *ar) in ath10k_qmi_wlan_disable() [all …]
|
H A D | coredump.c | 1421 static u32 ath10k_coredump_get_ramdump_size(struct ath10k *ar) in ath10k_coredump_get_ramdump_size() 1449 const struct ath10k_hw_mem_layout *ath10k_coredump_get_mem_layout(struct ath10k *ar) in ath10k_coredump_get_mem_layout() 1458 const struct ath10k_hw_mem_layout *_ath10k_coredump_get_mem_layout(struct ath10k *ar) in _ath10k_coredump_get_mem_layout() 1475 struct ath10k_fw_crash_data *ath10k_coredump_new(struct ath10k *ar) in ath10k_coredump_new() 1492 static struct ath10k_dump_file_data *ath10k_coredump_build(struct ath10k *ar) in ath10k_coredump_build() 1597 int ath10k_coredump_submit(struct ath10k *ar) in ath10k_coredump_submit() 1616 int ath10k_coredump_create(struct ath10k *ar) in ath10k_coredump_create() 1629 int ath10k_coredump_register(struct ath10k *ar) in ath10k_coredump_register() 1647 void ath10k_coredump_unregister(struct ath10k *ar) in ath10k_coredump_unregister() 1654 void ath10k_coredump_destroy(struct ath10k *ar) in ath10k_coredump_destroy()
|
/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 | 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()
|
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 | bmi.c | 23 int ath6kl_bmi_done(struct ath6kl *ar) in ath6kl_bmi_done() 44 int ath6kl_bmi_get_target_info(struct ath6kl *ar, in ath6kl_bmi_get_target_info() 116 int ath6kl_bmi_read(struct ath6kl *ar, u32 addr, u8 *buf, u32 len) in ath6kl_bmi_read() 172 int ath6kl_bmi_write(struct ath6kl *ar, u32 addr, u8 *buf, u32 len) in ath6kl_bmi_write() 239 int ath6kl_bmi_execute(struct ath6kl *ar, u32 addr, u32 *param) in ath6kl_bmi_execute() 286 int ath6kl_bmi_set_app_start(struct ath6kl *ar, u32 addr) in ath6kl_bmi_set_app_start() 322 int ath6kl_bmi_reg_read(struct ath6kl *ar, u32 addr, u32 *param) in ath6kl_bmi_reg_read() 365 int ath6kl_bmi_reg_write(struct ath6kl *ar, u32 addr, u32 param) in ath6kl_bmi_reg_write() 405 int ath6kl_bmi_lz_data(struct ath6kl *ar, u8 *buf, u32 len) in ath6kl_bmi_lz_data() 456 int ath6kl_bmi_lz_stream_start(struct ath6kl *ar, u32 addr) in ath6kl_bmi_lz_stream_start() [all …]
|
/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 …]
|
H A D | mac.c | 589 struct ath12k *ar = arvif->ar; in ath12k_mac_get_tx_arvif() local 610 struct ath12k *ar = arvif->ar; in ath12k_mac_get_link_bss_conf() local 704 struct ath12k_link_vif *ath12k_mac_get_arvif(struct ath12k *ar, u32 vdev_id) in ath12k_mac_get_arvif() 806 struct ath12k *ar; in ath12k_mac_get_ar_by_chan() local 868 static struct ath12k_link_vif *ath12k_mac_get_vif_up(struct ath12k *ar) in ath12k_mac_get_vif_up() 903 struct ath12k *ar = arvif->ar; in ath12k_mac_get_target_pdev_id_from_vif() local 924 u8 ath12k_mac_get_target_pdev_id(struct ath12k *ar) in ath12k_mac_get_target_pdev_id() 945 static void ath12k_pdev_caps_update(struct ath12k *ar) in ath12k_pdev_caps_update() 963 static int ath12k_mac_txpower_recalc(struct ath12k *ar) in ath12k_mac_txpower_recalc() 1022 struct ath12k *ar = arvif->ar; in ath12k_recalc_rtscts_prot() local [all …]
|