/drivers/net/wireless/ath/ath6kl/ |
H A D | recovery.c | 23 struct ath6kl *ar = container_of(work, struct ath6kl, local 26 ar->state = ATH6KL_STATE_RECOVERY; 28 del_timer_sync(&ar->fw_recovery.hb_timer); 30 ath6kl_init_hw_restart(ar); 32 ar->state = ATH6KL_STATE_ON; 33 clear_bit(WMI_CTRL_EP_FULL, &ar->flag); 35 ar->fw_recovery.err_reason = 0; 37 if (ar->fw_recovery.hb_poll) 38 mod_timer(&ar->fw_recovery.hb_timer, jiffies + 39 msecs_to_jiffies(ar 42 ath6kl_recovery_err_notify(struct ath6kl *ar, enum ath6kl_fw_err reason) argument 57 ath6kl_recovery_hb_event(struct ath6kl *ar, u32 cookie) argument 65 struct ath6kl *ar = (struct ath6kl *) data; local 98 ath6kl_recovery_init(struct ath6kl *ar) argument 116 ath6kl_recovery_cleanup(struct ath6kl *ar) argument 127 ath6kl_recovery_suspend(struct ath6kl *ar) argument 145 ath6kl_recovery_resume(struct ath6kl *ar) argument [all...] |
H A D | hif-ops.h | 24 static inline int hif_read_write_sync(struct ath6kl *ar, u32 addr, u8 *buf, argument 32 return ar->hif_ops->read_write_sync(ar, addr, buf, len, request); 35 static inline int hif_write_async(struct ath6kl *ar, u32 address, u8 *buffer, argument 43 return ar->hif_ops->write_async(ar, address, buffer, length, 46 static inline void ath6kl_hif_irq_enable(struct ath6kl *ar) argument 50 return ar->hif_ops->irq_enable(ar); 53 static inline void ath6kl_hif_irq_disable(struct ath6kl *ar) argument 60 hif_scatter_req_get(struct ath6kl *ar) argument 65 hif_scatter_req_add(struct ath6kl *ar, struct hif_scatter_req *s_req) argument 71 ath6kl_hif_enable_scatter(struct ath6kl *ar) argument 76 ath6kl_hif_scat_req_rw(struct ath6kl *ar, struct hif_scatter_req *scat_req) argument 82 ath6kl_hif_cleanup_scatter(struct ath6kl *ar) argument 87 ath6kl_hif_suspend(struct ath6kl *ar, struct cfg80211_wowlan *wow) argument 99 ath6kl_hif_diag_read32(struct ath6kl *ar, u32 address, u32 *value) argument 109 ath6kl_hif_diag_write32(struct ath6kl *ar, u32 address, __le32 value) argument 115 ath6kl_hif_bmi_read(struct ath6kl *ar, u8 *buf, u32 len) argument 120 ath6kl_hif_bmi_write(struct ath6kl *ar, u8 *buf, u32 len) argument 125 ath6kl_hif_resume(struct ath6kl *ar) argument 132 ath6kl_hif_power_on(struct ath6kl *ar) argument 139 ath6kl_hif_power_off(struct ath6kl *ar) argument 146 ath6kl_hif_stop(struct ath6kl *ar) argument 153 ath6kl_hif_pipe_send(struct ath6kl *ar, u8 pipe, struct sk_buff *hdr_buf, struct sk_buff *buf) argument 162 ath6kl_hif_pipe_get_default(struct ath6kl *ar, u8 *ul_pipe, u8 *dl_pipe) argument 170 ath6kl_hif_pipe_map_service(struct ath6kl *ar, u16 service_id, u8 *ul_pipe, u8 *dl_pipe) argument 179 ath6kl_hif_pipe_get_free_queue_number(struct ath6kl *ar, u8 pipe) argument [all...] |
H A D | core.c | 52 void ath6kl_core_tx_complete(struct ath6kl *ar, struct sk_buff *skb) argument 54 ath6kl_htc_tx_complete(ar, skb); 58 void ath6kl_core_rx_complete(struct ath6kl *ar, struct sk_buff *skb, u8 pipe) argument 60 ath6kl_htc_rx_complete(ar, skb, pipe); 64 int ath6kl_core_init(struct ath6kl *ar, enum ath6kl_htc_type htc_type) argument 72 ath6kl_htc_mbox_attach(ar); 75 ath6kl_htc_pipe_attach(ar); 82 ar->ath6kl_wq = create_singlethread_workqueue("ath6kl"); 83 if (!ar->ath6kl_wq) 86 ret = ath6kl_bmi_init(ar); 264 struct ath6kl *ar; local 325 ath6kl_core_cleanup(struct ath6kl *ar) argument 354 ath6kl_core_destroy(struct ath6kl *ar) argument [all...] |
H A D | init.c | 250 static int ath6kl_set_host_app_area(struct ath6kl *ar) argument 257 address = ath6kl_get_hi_item_addr(ar, HI_ITEM(hi_app_host_interest)); 258 address = TARG_VTOP(ar->target_type, address); 260 if (ath6kl_diag_read32(ar, address, &data)) 263 address = TARG_VTOP(ar->target_type, data); 265 if (ath6kl_diag_write(ar, address, (u8 *) &host_app_area, 272 static inline void set_ac2_ep_map(struct ath6kl *ar, argument 276 ar->ac2ep_map[ac] = ep; 277 ar->ep2ac_map[ep] = ac; 281 static int ath6kl_connectservice(struct ath6kl *ar, argument 323 ath6kl_init_service_ep(struct ath6kl *ar) argument 415 ath6kl_set_htc_params(struct ath6kl *ar, u32 mbox_isr_yield_val, u8 htc_ctrl_buf) argument 451 ath6kl_target_config_wlan_params(struct ath6kl *ar, int idx) argument 535 ath6kl_configure_target(struct ath6kl *ar) argument 665 ath6kl_get_fw(struct ath6kl *ar, const char *filename, u8 **fw, size_t *fw_len) argument 693 check_device_tree(struct ath6kl *ar) argument 723 check_device_tree(struct ath6kl *ar) argument 729 ath6kl_fetch_board_file(struct ath6kl *ar) argument 774 ath6kl_fetch_otp_file(struct ath6kl *ar) argument 802 ath6kl_fetch_testmode_file(struct ath6kl *ar) argument 842 ath6kl_fetch_fw_file(struct ath6kl *ar) argument 867 ath6kl_fetch_patch_file(struct ath6kl *ar) argument 892 ath6kl_fetch_testscript_file(struct ath6kl *ar) argument 920 ath6kl_fetch_fw_api1(struct ath6kl *ar) argument 943 ath6kl_fetch_fw_apin(struct ath6kl *ar, const char *name) argument 1128 ath6kl_init_fetch_firmwares(struct ath6kl *ar) argument 1176 ath6kl_upload_board_file(struct ath6kl *ar) argument 1282 ath6kl_upload_otp(struct ath6kl *ar) argument 1329 ath6kl_upload_firmware(struct ath6kl *ar) argument 1360 ath6kl_upload_patch(struct ath6kl *ar) argument 1384 ath6kl_upload_testscript(struct ath6kl *ar) argument 1418 ath6kl_init_upload(struct ath6kl *ar) argument 1552 ath6kl_init_hw_params(struct ath6kl *ar) argument 1637 ath6kl_init_get_fwcaps(struct ath6kl *ar, char *buf, size_t buf_len) argument 1674 ath6kl_init_hw_reset(struct ath6kl *ar) argument 1682 __ath6kl_init_hw_start(struct ath6kl *ar) argument 1804 ath6kl_init_hw_start(struct ath6kl *ar) argument 1815 __ath6kl_init_hw_stop(struct ath6kl *ar) argument 1834 ath6kl_init_hw_stop(struct ath6kl *ar) argument 1845 ath6kl_init_hw_restart(struct ath6kl *ar) argument 1862 ath6kl_stop_txrx(struct ath6kl *ar) argument [all...] |
H A D | bmi.h | 226 #define ath6kl_bmi_write_hi32(ar, item, val) \ 231 addr = ath6kl_get_hi_item_addr(ar, HI_ITEM(item)); \ 233 ath6kl_bmi_write(ar, addr, (u8 *) &v, sizeof(v)); \ 236 #define ath6kl_bmi_read_hi32(ar, item, val) \ 243 addr = ath6kl_get_hi_item_addr(ar, HI_ITEM(item)); \ 244 ret = ath6kl_bmi_read(ar, addr, (u8 *) &tmp, 4); \ 250 int ath6kl_bmi_init(struct ath6kl *ar); 251 void ath6kl_bmi_cleanup(struct ath6kl *ar); 252 void ath6kl_bmi_reset(struct ath6kl *ar); 254 int ath6kl_bmi_done(struct ath6kl *ar); [all...] |
H A D | htc-ops.h | 23 static inline void *ath6kl_htc_create(struct ath6kl *ar) argument 25 return ar->htc_ops->create(ar); 30 return target->dev->ar->htc_ops->wait_target(target); 35 return target->dev->ar->htc_ops->start(target); 42 return target->dev->ar->htc_ops->conn_service(target, req, resp); 48 return target->dev->ar->htc_ops->tx(target, packet); 53 return target->dev->ar->htc_ops->stop(target); 58 return target->dev->ar->htc_ops->cleanup(target); 65 return target->dev->ar 99 ath6kl_htc_tx_complete(struct ath6kl *ar, struct sk_buff *skb) argument 106 ath6kl_htc_rx_complete(struct ath6kl *ar, struct sk_buff *skb, u8 pipe) argument [all...] |
/drivers/net/wireless/ath/ath10k/ |
H A D | core.c | 55 static void ath10k_send_suspend_complete(struct ath10k *ar) argument 57 ath10k_dbg(ar, ATH10K_DBG_BOOT, "boot suspend complete\n"); 59 complete(&ar->target_suspend); 62 static int ath10k_init_configure_target(struct ath10k *ar) argument 68 ret = ath10k_bmi_write32(ar, hi_app_host_interest, 71 ath10k_err(ar, "settings HTC version failed\n"); 76 ret = ath10k_bmi_read32(ar, hi_option_flag, ¶m_host); 78 ath10k_err(ar, "setting firmware mode (1/2) failed\n"); 95 ret = ath10k_bmi_write32(ar, hi_option_flag, param_host); 97 ath10k_err(ar, "settin 119 ath10k_fetch_fw_file(struct ath10k *ar, const char *dir, const char *file) argument 141 ath10k_push_board_ext_data(struct ath10k *ar) argument 187 ath10k_download_board_data(struct ath10k *ar) argument 223 ath10k_download_and_run_otp(struct ath10k *ar) argument 261 ath10k_download_fw(struct ath10k *ar, enum ath10k_firmware_mode mode) argument 300 ath10k_core_free_firmware_files(struct ath10k *ar) argument 324 ath10k_core_fetch_firmware_api_1(struct ath10k *ar) argument 385 ath10k_core_fetch_firmware_api_n(struct ath10k *ar, const char *name) argument 561 ath10k_core_fetch_firmware_files(struct ath10k *ar) argument 592 ath10k_init_download_firmware(struct ath10k *ar, enum ath10k_firmware_mode mode) argument 618 ath10k_init_uart(struct ath10k *ar) argument 658 ath10k_init_hw_params(struct ath10k *ar) argument 686 struct ath10k *ar = container_of(work, struct ath10k, restart_work); local 719 ath10k_core_start(struct ath10k *ar, enum ath10k_firmware_mode mode) argument 870 ath10k_wait_for_suspend(struct ath10k *ar, u32 suspend_opt) argument 892 ath10k_core_stop(struct ath10k *ar) argument 913 ath10k_core_probe_fw(struct ath10k *ar) argument 969 ath10k_core_check_chip_id(struct ath10k *ar) argument 999 struct ath10k *ar = container_of(work, struct ath10k, register_work); local 1042 ath10k_core_register(struct ath10k *ar, u32 chip_id) argument 1060 ath10k_core_unregister(struct ath10k *ar) argument 1089 struct ath10k *ar; local 1150 ath10k_core_destroy(struct ath10k *ar) argument [all...] |
H A D | hif.h | 33 int (*tx_completion)(struct ath10k *ar, 36 int (*rx_completion)(struct ath10k *ar, 43 int (*tx_sg)(struct ath10k *ar, u8 pipe_id, 51 int (*exchange_bmi_msg)(struct ath10k *ar, 56 int (*start)(struct ath10k *ar); 60 void (*stop)(struct ath10k *ar); 62 int (*map_service_to_pipe)(struct ath10k *ar, u16 service_id, 66 void (*get_default_pipe)(struct ath10k *ar, u8 *ul_pipe, u8 *dl_pipe); 76 void (*send_complete_check)(struct ath10k *ar, u8 pipe_id, int force); 78 void (*set_callbacks)(struct ath10k *ar, 94 ath10k_hif_tx_sg(struct ath10k *ar, u8 pipe_id, struct ath10k_hif_sg_item *items, int n_items) argument 101 ath10k_hif_exchange_bmi_msg(struct ath10k *ar, void *request, u32 request_len, void *response, u32 *response_len) argument 109 ath10k_hif_start(struct ath10k *ar) argument 114 ath10k_hif_stop(struct ath10k *ar) argument 119 ath10k_hif_map_service_to_pipe(struct ath10k *ar, u16 service_id, u8 *ul_pipe, u8 *dl_pipe, int *ul_is_polled, int *dl_is_polled) argument 130 ath10k_hif_get_default_pipe(struct ath10k *ar, u8 *ul_pipe, u8 *dl_pipe) argument 136 ath10k_hif_send_complete_check(struct ath10k *ar, u8 pipe_id, int force) argument 142 ath10k_hif_set_callbacks(struct ath10k *ar, struct ath10k_hif_cb *callbacks) argument 148 ath10k_hif_get_free_queue_number(struct ath10k *ar, u8 pipe_id) argument 154 ath10k_hif_power_up(struct ath10k *ar) argument 159 ath10k_hif_power_down(struct ath10k *ar) argument 164 ath10k_hif_suspend(struct ath10k *ar) argument 172 ath10k_hif_resume(struct ath10k *ar) argument [all...] |
H A D | debug.h | 43 __printf(2, 3) int ath10k_info(struct ath10k *ar, const char *fmt, ...); 44 __printf(2, 3) int ath10k_err(struct ath10k *ar, const char *fmt, ...); 45 __printf(2, 3) int ath10k_warn(struct ath10k *ar, const char *fmt, ...); 46 void ath10k_print_driver_info(struct ath10k *ar); 49 int ath10k_debug_start(struct ath10k *ar); 50 void ath10k_debug_stop(struct ath10k *ar); 51 int ath10k_debug_create(struct ath10k *ar); 52 void ath10k_debug_destroy(struct ath10k *ar); 53 int ath10k_debug_register(struct ath10k *ar); 54 void ath10k_debug_unregister(struct ath10k *ar); 68 ath10k_debug_start(struct ath10k *ar) argument 73 ath10k_debug_stop(struct ath10k *ar) argument 77 ath10k_debug_create(struct ath10k *ar) argument 82 ath10k_debug_destroy(struct ath10k *ar) argument 86 ath10k_debug_register(struct ath10k *ar) argument 91 ath10k_debug_unregister(struct ath10k *ar) argument 95 ath10k_debug_read_service_map(struct ath10k *ar, void *service_map, size_t map_size) argument 101 ath10k_debug_read_target_stats(struct ath10k *ar, struct wmi_stats_event *ev) argument 106 ath10k_debug_dbglog_add(struct ath10k *ar, u8 *buffer, int len) argument 112 ath10k_debug_get_new_fw_crash_data(struct ath10k *ar) argument 131 ath10k_dbg(struct ath10k *ar, enum ath10k_debug_mask dbg_mask, const char *fmt, ...) argument 138 ath10k_dbg_dump(struct ath10k *ar, enum ath10k_debug_mask mask, const char *msg, const char *prefix, const void *buf, size_t len) argument [all...] |
H A D | testmode.c | 41 bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb) argument 47 ath10k_dbg(ar, ATH10K_DBG_TESTMODE, 51 ath10k_dbg_dump(ar, ATH10K_DBG_TESTMODE, NULL, "", skb->data, skb->len); 53 spin_lock_bh(&ar->data_lock); 55 if (!ar->testmode.utf_monitor) { 66 nl_skb = cfg80211_testmode_alloc_event_skb(ar->hw->wiphy, 70 ath10k_warn(ar, 77 ath10k_warn(ar, 86 ath10k_warn(ar, 95 ath10k_warn(ar, 110 ath10k_tm_cmd_get_version(struct ath10k *ar, struct nlattr *tb[]) argument 142 ath10k_tm_cmd_utf_start(struct ath10k *ar, struct nlattr *tb[]) argument 237 __ath10k_tm_cmd_utf_stop(struct ath10k *ar) argument 260 ath10k_tm_cmd_utf_stop(struct ath10k *ar, struct nlattr *tb[]) argument 284 ath10k_tm_cmd_wmi(struct ath10k *ar, struct nlattr *tb[]) argument 343 struct ath10k *ar = hw->priv; local 369 ath10k_testmode_destroy(struct ath10k *ar) argument [all...] |
H A D | mac.c | 40 struct ath10k *ar = arvif->ar; local 49 lockdep_assert_held(&arvif->ar->conf_mutex); 78 ath10k_warn(ar, "cipher %d is not supported\n", key->cipher); 87 return ath10k_wmi_vdev_install_key(arvif->ar, &arg); 95 struct ath10k *ar = arvif->ar; local 98 lockdep_assert_held(&ar->conf_mutex); 100 reinit_completion(&ar->install_key_done); 106 ret = wait_for_completion_timeout(&ar 116 struct ath10k *ar = arvif->ar; local 148 struct ath10k *ar = arvif->ar; local 185 struct ath10k *ar = arvif->ar; local 323 ath10k_peer_create(struct ath10k *ar, u32 vdev_id, const u8 *addr) argument 351 struct ath10k *ar = arvif->ar; local 396 struct ath10k *ar = arvif->ar; local 409 struct ath10k *ar = arvif->ar; local 421 ath10k_peer_delete(struct ath10k *ar, u32 vdev_id, const u8 *addr) argument 442 ath10k_peer_cleanup(struct ath10k *ar, u32 vdev_id) argument 463 ath10k_peer_cleanup_all(struct ath10k *ar) argument 482 ath10k_vdev_setup_sync(struct ath10k *ar) argument 496 ath10k_monitor_vdev_start(struct ath10k *ar, int vdev_id) argument 556 ath10k_monitor_vdev_stop(struct ath10k *ar) argument 582 ath10k_monitor_vdev_create(struct ath10k *ar) argument 613 ath10k_monitor_vdev_delete(struct ath10k *ar) argument 633 ath10k_monitor_start(struct ath10k *ar) argument 658 ath10k_monitor_stop(struct ath10k *ar) argument 682 ath10k_monitor_recalc(struct ath10k *ar) argument 707 struct ath10k *ar = arvif->ar; local 725 ath10k_start_cac(struct ath10k *ar) argument 746 ath10k_stop_cac(struct ath10k *ar) argument 762 ath10k_recalc_radar_detection(struct ath10k *ar) argument 790 struct ath10k *ar = arvif->ar; local 866 struct ath10k *ar = arvif->ar; local 900 struct ath10k *ar = arvif->ar; local 954 struct ath10k *ar = arvif->ar; local 1002 struct ath10k *ar = arvif->ar; local 1045 ath10k_peer_assoc_h_basic(struct ath10k *ar, struct ath10k_vif *arvif, struct ieee80211_sta *sta, struct ieee80211_bss_conf *bss_conf, struct wmi_peer_assoc_complete_arg *arg) argument 1085 ath10k_peer_assoc_h_crypto(struct ath10k *ar, struct ath10k_vif *arvif, struct wmi_peer_assoc_complete_arg *arg) argument 1127 ath10k_peer_assoc_h_rates(struct ath10k *ar, struct ieee80211_sta *sta, struct wmi_peer_assoc_complete_arg *arg) argument 1154 ath10k_peer_assoc_h_ht(struct ath10k *ar, struct ieee80211_sta *sta, struct wmi_peer_assoc_complete_arg *arg) argument 1237 ath10k_peer_assoc_qos_ap(struct ath10k *ar, struct ath10k_vif *arvif, struct ieee80211_sta *sta) argument 1304 ath10k_peer_assoc_h_vht(struct ath10k *ar, struct ieee80211_sta *sta, struct wmi_peer_assoc_complete_arg *arg) argument 1345 ath10k_peer_assoc_h_qos(struct ath10k *ar, struct ath10k_vif *arvif, struct ieee80211_sta *sta, struct ieee80211_bss_conf *bss_conf, struct wmi_peer_assoc_complete_arg *arg) argument 1370 ath10k_peer_assoc_h_phymode(struct ath10k *ar, struct ath10k_vif *arvif, struct ieee80211_sta *sta, struct wmi_peer_assoc_complete_arg *arg) argument 1421 ath10k_peer_assoc_prepare(struct ath10k *ar, struct ath10k_vif *arvif, struct ieee80211_sta *sta, struct ieee80211_bss_conf *bss_conf, struct wmi_peer_assoc_complete_arg *arg) argument 1449 ath10k_setup_peer_smps(struct ath10k *ar, struct ath10k_vif *arvif, const u8 *addr, const struct ieee80211_sta_ht_cap *ht_cap) argument 1474 struct ath10k *ar = hw->priv; local 1545 struct ath10k *ar = hw->priv; local 1581 ath10k_station_assoc(struct ath10k *ar, struct ath10k_vif *arvif, struct ieee80211_sta *sta, bool reassoc) argument 1638 ath10k_station_disassoc(struct ath10k *ar, struct ath10k_vif *arvif, struct ieee80211_sta *sta) argument 1669 ath10k_update_channel_list(struct ath10k *ar) argument 1781 ath10k_regd_update(struct ath10k *ar) argument 1820 struct ath10k *ar = hw->priv; local 1859 ath10k_tx_h_get_vdev_id(struct ath10k *ar, struct ieee80211_vif *vif) argument 1903 struct ath10k *ar = arvif->ar; local 1939 struct ath10k *ar = arvif->ar; local 1962 ath10k_tx_h_add_p2p_noa_ie(struct ath10k *ar, struct ieee80211_vif *vif, struct sk_buff *skb) argument 1986 ath10k_tx_htt(struct ath10k *ar, struct sk_buff *skb) argument 2032 ath10k_offchan_tx_purge(struct ath10k *ar) argument 2047 struct ath10k *ar = container_of(work, struct ath10k, offchan_tx_work); local 2116 ath10k_mgmt_over_wmi_tx_purge(struct ath10k *ar) argument 2131 struct ath10k *ar = container_of(work, struct ath10k, wmi_mgmt_tx_work); local 2153 __ath10k_scan_finish(struct ath10k *ar) argument 2179 ath10k_scan_finish(struct ath10k *ar) argument 2186 ath10k_scan_stop(struct ath10k *ar) argument 2227 ath10k_scan_abort(struct ath10k *ar) argument 2264 struct ath10k *ar = container_of(work, struct ath10k, local 2272 ath10k_start_scan(struct ath10k *ar, const struct wmi_start_scan_arg *arg) argument 2306 struct ath10k *ar = hw->priv; local 2346 ath10k_drain_tx(struct ath10k *ar) argument 2358 ath10k_halt(struct ath10k *ar) argument 2394 struct ath10k *ar = hw->priv; local 2411 __ath10k_set_antenna(struct ath10k *ar, u32 tx_ant, u32 rx_ant) argument 2445 struct ath10k *ar = hw->priv; local 2456 struct ath10k *ar = hw->priv; local 2556 struct ath10k *ar = hw->priv; local 2571 ath10k_config_ps(struct ath10k *ar) argument 2612 ath10k_config_chan(struct ath10k *ar) argument 2682 struct ath10k *ar = hw->priv; local 2752 struct ath10k *ar = hw->priv; local 2923 struct ath10k *ar = hw->priv; local 2990 struct ath10k *ar = hw->priv; local 3011 struct ath10k *ar = hw->priv; local 3191 struct ath10k *ar = hw->priv; local 3266 struct ath10k *ar = hw->priv; local 3274 ath10k_set_key_h_def_keyidx(struct ath10k *ar, struct ath10k_vif *arvif, enum set_key_cmd cmd, struct ieee80211_key_conf *key) argument 3316 struct ath10k *ar = hw->priv; local 3394 struct ath10k *ar; local 3471 struct ath10k *ar = hw->priv; local 3566 ath10k_conf_tx_uapsd(struct ath10k *ar, struct ieee80211_vif *vif, u16 ac, bool enable) argument 3629 struct ath10k *ar = hw->priv; local 3690 struct ath10k *ar = hw->priv; local 3761 struct ath10k *ar = hw->priv; local 3778 struct ath10k *ar = hw->priv; local 3801 struct ath10k *ar = hw->priv; local 3825 struct ath10k *ar = hw->priv; local 3872 struct ath10k *ar = hw->priv; local 3906 struct ath10k *ar = hw->priv; local 3934 struct ath10k *ar = hw->priv; local 3951 struct ath10k *ar = hw->priv; local 4018 ath10k_default_bitrate_mask(struct ath10k *ar, enum ieee80211_band band, const struct cfg80211_bitrate_mask *mask) argument 4138 ath10k_bitrate_mask_rate(struct ath10k *ar, const struct cfg80211_bitrate_mask *mask, enum ieee80211_band band, u8 *fixed_rate, u8 *fixed_nss) argument 4205 ath10k_get_fixed_rate_nss(struct ath10k *ar, const struct cfg80211_bitrate_mask *mask, enum ieee80211_band band, u8 *fixed_rate, u8 *fixed_nss) argument 4224 struct ath10k *ar = arvif->ar; local 4289 struct ath10k *ar = arvif->ar; local 4320 struct ath10k *ar = hw->priv; local 4404 struct ath10k *ar = hw->priv; local 4561 struct ath10k *ar; local 4573 ath10k_mac_destroy(struct ath10k *ar) argument 4627 ath10k_create_vht_cap(struct ath10k *ar) argument 4650 ath10k_get_ht_cap(struct ath10k *ar) argument 4723 ath10k_get_arvif(struct ath10k *ar, u32 vdev_id) argument 4744 ath10k_mac_register(struct ath10k *ar) argument 4918 ath10k_mac_unregister(struct ath10k *ar) argument [all...] |
H A D | pci.c | 67 static void ath10k_pci_buffer_cleanup(struct ath10k *ar); 68 static int ath10k_pci_cold_reset(struct ath10k *ar); 69 static int ath10k_pci_warm_reset(struct ath10k *ar); 70 static int ath10k_pci_wait_for_target_init(struct ath10k *ar); 71 static int ath10k_pci_init_irq(struct ath10k *ar); 72 static int ath10k_pci_deinit_irq(struct ath10k *ar); 73 static int ath10k_pci_request_irq(struct ath10k *ar); 74 static void ath10k_pci_free_irq(struct ath10k *ar); 318 static bool ath10k_pci_irq_pending(struct ath10k *ar) argument 323 cause = ath10k_pci_read32(ar, SOC_CORE_BASE_ADDRES 331 ath10k_pci_disable_and_clear_legacy_irq(struct ath10k *ar) argument 347 ath10k_pci_enable_legacy_irq(struct ath10k *ar) argument 359 ath10k_pci_get_irq_method(struct ath10k *ar) argument 374 struct ath10k *ar = pipe->hif_ce_state; local 414 struct ath10k *ar = pipe->hif_ce_state; local 441 struct ath10k *ar = pipe->hif_ce_state; local 449 ath10k_pci_rx_post(struct ath10k *ar) argument 462 struct ath10k *ar = (void *)ptr; local 472 ath10k_pci_diag_read_mem(struct ath10k *ar, u32 address, void *data, int nbytes) argument 597 ath10k_pci_diag_read32(struct ath10k *ar, u32 address, u32 *value) argument 608 __ath10k_pci_diag_read_hi(struct ath10k *ar, void *dest, u32 src, u32 len) argument 636 ath10k_pci_diag_write_mem(struct ath10k *ar, u32 address, const void *data, int nbytes) argument 766 ath10k_pci_diag_write32(struct ath10k *ar, u32 address, u32 value) argument 773 ath10k_pci_is_awake(struct ath10k *ar) argument 780 ath10k_pci_wake_wait(struct ath10k *ar) argument 799 ath10k_pci_wake(struct ath10k *ar) argument 806 ath10k_pci_sleep(struct ath10k *ar) argument 815 struct ath10k *ar = ce_state->ar; local 837 struct ath10k *ar = ce_state->ar; local 870 ath10k_pci_hif_tx_sg(struct ath10k *ar, u8 pipe_id, struct ath10k_hif_sg_item *items, int n_items) argument 939 ath10k_pci_hif_get_free_queue_number(struct ath10k *ar, u8 pipe) argument 948 ath10k_pci_dump_registers(struct ath10k *ar, struct ath10k_fw_crash_data *crash_data) argument 982 ath10k_pci_fw_crashed_dump(struct ath10k *ar) argument 1005 ath10k_pci_hif_send_complete_check(struct ath10k *ar, u8 pipe, int force) argument 1031 ath10k_pci_hif_set_callbacks(struct ath10k *ar, struct ath10k_hif_cb *callbacks) argument 1042 ath10k_pci_kill_tasklet(struct ath10k *ar) argument 1056 ath10k_pci_hif_map_service_to_pipe(struct ath10k *ar, u16 service_id, u8 *ul_pipe, u8 *dl_pipe, int *ul_is_polled, int *dl_is_polled) argument 1109 ath10k_pci_hif_get_default_pipe(struct ath10k *ar, u8 *ul_pipe, u8 *dl_pipe) argument 1124 ath10k_pci_irq_disable(struct ath10k *ar) argument 1137 ath10k_pci_irq_enable(struct ath10k *ar) argument 1144 ath10k_pci_hif_start(struct ath10k *ar) argument 1156 struct ath10k *ar; local 1184 struct ath10k *ar; local 1223 ath10k_pci_buffer_cleanup(struct ath10k *ar) argument 1237 ath10k_pci_ce_deinit(struct ath10k *ar) argument 1245 ath10k_pci_flush(struct ath10k *ar) argument 1251 ath10k_pci_hif_stop(struct ath10k *ar) argument 1272 ath10k_pci_hif_exchange_bmi_msg(struct ath10k *ar, void *req, u32 req_len, void *resp, u32 *resp_len) argument 1378 struct ath10k *ar = ce_state->ar; local 1421 ath10k_pci_wake_target_cpu(struct ath10k *ar) argument 1433 ath10k_pci_init_config(struct ath10k *ar) argument 1572 ath10k_pci_alloc_ce(struct ath10k *ar) argument 1588 ath10k_pci_free_ce(struct ath10k *ar) argument 1596 ath10k_pci_ce_init(struct ath10k *ar) argument 1634 ath10k_pci_has_fw_crashed(struct ath10k *ar) argument 1640 ath10k_pci_fw_crashed_clear(struct ath10k *ar) argument 1650 ath10k_pci_warm_reset_si0(struct ath10k *ar) argument 1669 ath10k_pci_warm_reset(struct ath10k *ar) argument 1752 __ath10k_pci_hif_power_up(struct ath10k *ar, bool cold_reset) argument 1809 ath10k_pci_hif_power_up_warm(struct ath10k *ar) argument 1831 ath10k_pci_hif_power_up(struct ath10k *ar) argument 1866 ath10k_pci_hif_power_down(struct ath10k *ar) argument 1877 ath10k_pci_hif_suspend(struct ath10k *ar) argument 1895 ath10k_pci_hif_resume(struct ath10k *ar) argument 1950 struct ath10k *ar = (struct ath10k *)data; local 1967 struct ath10k *ar = arg; local 1991 struct ath10k *ar = arg; local 2005 struct ath10k *ar = arg; local 2022 struct ath10k *ar = (struct ath10k *)data; local 2038 ath10k_pci_request_irq_msix(struct ath10k *ar) argument 2071 ath10k_pci_request_irq_msi(struct ath10k *ar) argument 2088 ath10k_pci_request_irq_legacy(struct ath10k *ar) argument 2105 ath10k_pci_request_irq(struct ath10k *ar) argument 2122 ath10k_pci_free_irq(struct ath10k *ar) argument 2133 ath10k_pci_init_irq_tasklets(struct ath10k *ar) argument 2149 ath10k_pci_init_irq(struct ath10k *ar) argument 2197 ath10k_pci_deinit_irq_legacy(struct ath10k *ar) argument 2203 ath10k_pci_deinit_irq(struct ath10k *ar) argument 2224 ath10k_pci_wait_for_target_init(struct ath10k *ar) argument 2283 ath10k_pci_cold_reset(struct ath10k *ar) argument 2318 ath10k_pci_claim(struct ath10k *ar) argument 2383 ath10k_pci_release(struct ath10k *ar) argument 2398 struct ath10k *ar; local 2512 struct ath10k *ar = pci_get_drvdata(pdev); local [all...] |
H A D | spectral.h | 49 int ath10k_spectral_process_fft(struct ath10k *ar, 53 int ath10k_spectral_start(struct ath10k *ar); 55 int ath10k_spectral_create(struct ath10k *ar); 56 void ath10k_spectral_destroy(struct ath10k *ar); 61 ath10k_spectral_process_fft(struct ath10k *ar, argument 69 static inline int ath10k_spectral_start(struct ath10k *ar) argument 79 static inline int ath10k_spectral_create(struct ath10k *ar) argument 84 static inline void ath10k_spectral_destroy(struct ath10k *ar) argument
|
H A D | testmode.h | 21 void ath10k_testmode_destroy(struct ath10k *ar); 23 bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb); 29 static inline void ath10k_testmode_destroy(struct ath10k *ar) argument 33 static inline bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, argument
|
H A D | txrx.h | 25 struct ath10k_peer *ath10k_peer_find(struct ath10k *ar, int vdev_id, 27 struct ath10k_peer *ath10k_peer_find_by_id(struct ath10k *ar, int peer_id); 28 int ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id, 30 int ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id,
|
H A D | htt.c | 40 status = ath10k_htc_connect_service(&htt->ar->htc, &conn_req, 51 int ath10k_htt_init(struct ath10k *ar) argument 53 struct ath10k_htt *htt = &ar->htt; 55 htt->ar = ar; 77 struct ath10k *ar = htt->ar; local 79 ath10k_dbg(ar, ATH10K_DBG_BOOT, "htt target version %d.%d\n", 84 ath10k_err(ar, "unsupported htt major version %d. supported versions are 2 and 3\n", 94 struct ath10k *ar local [all...] |
H A D | trace.h | 43 TP_PROTO(struct ath10k *ar, struct va_format *vaf), 44 TP_ARGS(ar, vaf), 46 __string(device, dev_name(ar->dev)) 47 __string(driver, dev_driver_string(ar->dev)) 51 __assign_str(device, dev_name(ar->dev)); 52 __assign_str(driver, dev_driver_string(ar->dev)); 67 TP_PROTO(struct ath10k *ar, struct va_format *vaf), 68 TP_ARGS(ar, vaf) 72 TP_PROTO(struct ath10k *ar, struct va_format *vaf), 73 TP_ARGS(ar, va [all...] |
H A D | txrx.c | 24 static void ath10k_report_offchan_tx(struct ath10k *ar, struct sk_buff *skb) argument 33 spin_lock_bh(&ar->data_lock); 34 if (ar->offchan_tx_skb != skb) { 35 ath10k_warn(ar, "completed old offchannel frame\n"); 39 complete(&ar->offchan_tx_completed); 40 ar->offchan_tx_skb = NULL; /* just for sanity */ 42 ath10k_dbg(ar, ATH10K_DBG_HTT, "completed offchannel skb %p\n", skb); 44 spin_unlock_bh(&ar->data_lock); 50 struct ath10k *ar = htt->ar; local 104 ath10k_peer_find(struct ath10k *ar, int vdev_id, const u8 *addr) argument 123 ath10k_peer_find_by_id(struct ath10k *ar, int peer_id) argument 136 ath10k_wait_for_peer_common(struct ath10k *ar, int vdev_id, const u8 *addr, bool expect_mapped) argument 157 ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id, const u8 *addr) argument 162 ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id, const u8 *addr) argument 170 struct ath10k *ar = htt->ar; local 197 struct ath10k *ar = htt->ar; local [all...] |
/drivers/net/wireless/ath/carl9170/ |
H A D | led.c | 43 int carl9170_led_set_state(struct ar9170 *ar, const u32 led_state) argument 45 return carl9170_write_reg(ar, AR9170_GPIO_REG_PORT_DATA, led_state); 48 int carl9170_led_init(struct ar9170 *ar) argument 54 err = carl9170_write_reg(ar, AR9170_GPIO_REG_PORT_TYPE, 3); 59 err = carl9170_led_set_state(ar, 0); 68 struct ar9170 *ar = container_of(work, struct ar9170, led_work.work); local 73 if (!IS_ACCEPTING_CMD(ar)) 76 mutex_lock(&ar->mutex); 78 if (ar->leds[i].registered) { 79 if (ar 110 struct ar9170 *ar = arl->ar; local 124 carl9170_led_register_led(struct ar9170 *ar, int i, char *name, char *trigger) argument 150 carl9170_led_unregister(struct ar9170 *ar) argument 164 carl9170_led_register(struct ar9170 *ar) argument [all...] |
H A D | usb.c | 131 static void carl9170_usb_submit_data_urb(struct ar9170 *ar) argument 136 if (atomic_inc_return(&ar->tx_anch_urbs) > AR9170_NUM_TX_URBS) 139 urb = usb_get_from_anchor(&ar->tx_wait); 143 usb_anchor_urb(urb, &ar->tx_anch); 148 dev_err(&ar->udev->dev, "tx submit failed (%d)\n", 153 usb_anchor_urb(urb, &ar->tx_err); 162 atomic_dec(&ar->tx_anch_urbs); 167 struct ar9170 *ar = usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0)); local 169 if (WARN_ON_ONCE(!ar)) { 174 atomic_dec(&ar 210 carl9170_usb_submit_cmd_urb(struct ar9170 *ar) argument 239 struct ar9170 *ar = urb->context; local 277 struct ar9170 *ar = urb->context; local 314 carl9170_usb_submit_rx_urb(struct ar9170 *ar, gfp_t gfp) argument 340 carl9170_usb_rx_work(struct ar9170 *ar) argument 365 carl9170_usb_handle_tx_err(struct ar9170 *ar) argument 380 struct ar9170 *ar = (struct ar9170 *) data; local 398 struct ar9170 *ar = (struct ar9170 *)urb->context; local 457 carl9170_usb_alloc_rx_urb(struct ar9170 *ar, gfp_t gfp) argument 481 carl9170_usb_send_rx_irq_urb(struct ar9170 *ar) argument 511 carl9170_usb_init_rx_bulk_urbs(struct ar9170 *ar) argument 554 carl9170_usb_flush(struct ar9170 *ar) argument 581 carl9170_usb_cancel_urbs(struct ar9170 *ar) argument 602 __carl9170_exec_cmd(struct ar9170 *ar, struct carl9170_cmd *cmd, const bool free_buf) argument 650 carl9170_exec_cmd(struct ar9170 *ar, const enum carl9170_cmd_oids cmd, unsigned int plen, void *payload, unsigned int outlen, void *out) argument 711 carl9170_usb_tx(struct ar9170 *ar, struct sk_buff *skb) argument 755 carl9170_release_firmware(struct ar9170 *ar) argument 763 carl9170_usb_stop(struct ar9170 *ar) argument 792 carl9170_usb_open(struct ar9170 *ar) argument 800 carl9170_usb_load_firmware(struct ar9170 *ar) argument 865 carl9170_usb_restart(struct ar9170 *ar) argument 907 carl9170_usb_reset(struct ar9170 *ar) argument 925 carl9170_usb_init_device(struct ar9170 *ar) argument 968 carl9170_usb_firmware_failed(struct ar9170 *ar) argument 994 carl9170_usb_firmware_finish(struct ar9170 *ar) argument 1027 struct ar9170 *ar = context; local 1043 struct ar9170 *ar; local 1114 struct ar9170 *ar = usb_get_intfdata(intf); local 1142 struct ar9170 *ar = usb_get_intfdata(intf); local 1154 struct ar9170 *ar = usb_get_intfdata(intf); local [all...] |
H A D | main.c | 184 static void carl9170_ampdu_gc(struct ar9170 *ar) argument 190 list_for_each_entry_rcu(tid_info, &ar->tx_ampdu_list, list) { 191 spin_lock_bh(&ar->tx_ampdu_list_lock); 195 ar->tx_ampdu_list_len--; 198 spin_unlock_bh(&ar->tx_ampdu_list_lock); 201 rcu_assign_pointer(ar->tx_ampdu_iter, tid_info); 212 carl9170_tx_status(ar, skb, false); 219 static void carl9170_flush(struct ar9170 *ar, bool drop_queued) argument 229 for (i = 0; i < ar->hw->queues; i++) { 232 while ((skb = skb_dequeue(&ar 249 carl9170_flush_ba(struct ar9170 *ar) argument 276 carl9170_zap_queues(struct ar9170 *ar) argument 339 struct ar9170 *ar = hw->priv; local 431 carl9170_cancel_worker(struct ar9170 *ar) argument 445 struct ar9170 *ar = hw->priv; local 470 struct ar9170 *ar = container_of(work, struct ar9170, local 507 carl9170_restart(struct ar9170 *ar, const enum carl9170_restart_reasons r) argument 546 struct ar9170 *ar = container_of(work, struct ar9170, ping_work); local 559 carl9170_init_interface(struct ar9170 *ar, struct ieee80211_vif *vif) argument 604 struct ar9170 *ar = hw->priv; local 769 struct ar9170 *ar = hw->priv; local 826 carl9170_ps_check(struct ar9170 *ar) argument 832 carl9170_ps_update(struct ar9170 *ar) argument 862 struct ar9170 *ar = container_of(work, struct ar9170, local 870 carl9170_update_survey(struct ar9170 *ar, bool flush, bool noise) argument 894 struct ar9170 *ar = container_of(work, struct ar9170, stat_work.work); local 910 struct ar9170 *ar = hw->priv; local 992 struct ar9170 *ar = hw->priv; local 1053 struct ar9170 *ar = hw->priv; local 1160 struct ar9170 *ar = hw->priv; local 1179 struct ar9170 *ar = hw->priv; local 1349 struct ar9170 *ar = hw->priv; local 1387 struct ar9170 *ar = hw->priv; local 1404 struct ar9170 *ar = container_of(work, struct ar9170, local 1421 struct ar9170 *ar = hw->priv; local 1509 carl9170_register_wps_button(struct ar9170 *ar) argument 1546 carl9170_rng_get(struct ar9170 *ar) argument 1590 struct ar9170 *ar = (struct ar9170 *)rng->priv; local 1608 carl9170_unregister_hwrng(struct ar9170 *ar) argument 1616 carl9170_register_hwrng(struct ar9170 *ar) argument 1651 struct ar9170 *ar = hw->priv; local 1705 struct ar9170 *ar = hw->priv; local 1719 struct ar9170 *ar = hw->priv; local 1749 struct ar9170 *ar = hw->priv; local 1780 struct ar9170 *ar; local 1883 carl9170_read_eeprom(struct ar9170 *ar) argument 1916 carl9170_parse_eeprom(struct ar9170 *ar) argument 1975 struct ar9170 *ar = hw->priv; local 1980 carl9170_register(struct ar9170 *ar) argument 2064 carl9170_unregister(struct ar9170 *ar) argument 2096 carl9170_free(struct ar9170 *ar) argument [all...] |
H A D | fw.c | 33 static const void *carl9170_fw_find_desc(struct ar9170 *ar, const u8 descid[4], argument 38 carl9170fw_for_each_hdr(iter, ar->fw.desc) { 52 static int carl9170_fw_verify_descs(struct ar9170 *ar, argument 95 static void carl9170_fw_info(struct ar9170 *ar) argument 101 dev_info(&ar->udev->dev, "driver API: %s 2%03d-%02d-%02d [%d-%d]\n", 106 motd_desc = carl9170_fw_find_desc(ar, MOTD_MAGIC, 115 dev_info(&ar->udev->dev, "firmware API: %.*s 2%03d-%02d-%02d\n", 121 strlcpy(ar->hw->wiphy->fw_version, motd_desc->release, 122 sizeof(ar->hw->wiphy->fw_version)); 144 static int carl9170_fw_checksum(struct ar9170 *ar, cons argument 201 carl9170_fw_tx_sequence(struct ar9170 *ar) argument 218 carl9170_fw_set_if_combinations(struct ar9170 *ar, u16 if_comb_types) argument 236 carl9170_fw(struct ar9170 *ar, const __u8 *data, size_t len) argument 381 carl9170_find_fw_desc(struct ar9170 *ar, const __u8 *fw_data, const size_t len) argument 410 carl9170_parse_firmware(struct ar9170 *ar) argument [all...] |
H A D | rx.c | 49 static void carl9170_dbg_message(struct ar9170 *ar, const char *buf, u32 len) argument 56 ar->fw.err_counter++; 57 if (ar->fw.err_counter > 3) { 64 ar->fw.bug_counter++; 70 wiphy_info(ar->hw->wiphy, "FW: %.*s\n", len, buf); 73 carl9170_restart(ar, reason); 76 static void carl9170_handle_ps(struct ar9170 *ar, struct carl9170_rsp *rsp) argument 84 if (ar->ps.state != new_ps) { 86 ar->ps.sleep_ms = jiffies_to_msecs(jiffies - 87 ar 96 carl9170_check_sequence(struct ar9170 *ar, unsigned int seq) argument 129 carl9170_cmd_callback(struct ar9170 *ar, u32 len, void *buffer) argument 161 carl9170_handle_command_response(struct ar9170 *ar, void *buf, u32 len) argument 289 carl9170_rx_mac_status(struct ar9170 *ar, struct ar9170_rx_head *head, struct ar9170_rx_macstatus *mac, struct ieee80211_rx_status *status) argument 442 carl9170_rx_phy_status(struct ar9170 *ar, struct ar9170_rx_phystatus *phy, struct ieee80211_rx_status *status) argument 518 carl9170_ps_beacon(struct ar9170 *ar, void *data, unsigned int len) argument 573 carl9170_ba_check(struct ar9170 *ar, void *data, unsigned int len) argument 620 carl9170_ampdu_check(struct ar9170 *ar, u8 *buf, u8 ms, struct ieee80211_rx_status *rx_status) argument 659 carl9170_handle_mpdu(struct ar9170 *ar, u8 *buf, int len, struct ieee80211_rx_status *status) argument 697 carl9170_rx_untie_data(struct ar9170 *ar, u8 *buf, int len) argument 824 carl9170_rx_untie_cmds(struct ar9170 *ar, const u8 *respbuf, const unsigned int resplen) argument 853 __carl9170_rx(struct ar9170 *ar, u8 *buf, unsigned int len) argument 874 carl9170_rx_stream(struct ar9170 *ar, void *buf, unsigned int len) argument 1006 carl9170_rx(struct ar9170 *ar, void *buf, unsigned int len) argument [all...] |
H A D | mac.c | 44 int carl9170_set_dyn_sifs_ack(struct ar9170 *ar) argument 48 if (conf_is_ht40(&ar->hw->conf)) 51 if (ar->hw->conf.chandef.chan->band == IEEE80211_BAND_2GHZ) 57 return carl9170_write_reg(ar, AR9170_MAC_REG_DYNAMIC_SIFS_ACK, val); 60 int carl9170_set_rts_cts_rate(struct ar9170 *ar) argument 64 if (conf_is_ht(&ar->hw->conf)) { 69 if (ar->hw->conf.chandef.chan->band == IEEE80211_BAND_2GHZ) { 80 return carl9170_write_reg(ar, AR9170_MAC_REG_RTS_CTS_RATE, 84 int carl9170_set_slot_time(struct ar9170 *ar) argument 90 vif = carl9170_get_main_vif(ar); 106 carl9170_set_mac_rates(struct ar9170 *ar) argument 136 carl9170_set_qos(struct ar9170 *ar) argument 171 carl9170_init_mac(struct ar9170 *ar) argument 257 carl9170_set_mac_reg(struct ar9170 *ar, const u32 reg, const u8 *mac) argument 275 carl9170_mod_virtual_mac(struct ar9170 *ar, const unsigned int id, const u8 *mac) argument 285 carl9170_update_multicast(struct ar9170 *ar, const u64 mc_hash) argument 301 carl9170_set_operating_mode(struct ar9170 *ar) argument 396 carl9170_set_hwretry_limit(struct ar9170 *ar, const unsigned int max_retry) argument 403 carl9170_set_beacon_timers(struct ar9170 *ar) argument 474 carl9170_upload_key(struct ar9170 *ar, const u8 id, const u8 *mac, const u8 ktype, const u8 keyidx, const u8 *keydata, const int keylen) argument 495 carl9170_disable_key(struct ar9170 *ar, const u8 id) argument 505 carl9170_set_mac_tpc(struct ar9170 *ar, struct ieee80211_channel *channel) argument [all...] |
/drivers/net/wireless/ath/ar5523/ |
H A D | ar5523.c | 45 static int ar5523_submit_rx_cmd(struct ar5523 *ar); 46 static void ar5523_data_tx_pkt_put(struct ar5523 *ar); 48 static void ar5523_read_reply(struct ar5523 *ar, struct ar5523_cmd_hdr *hdr, argument 61 ar5523_dbg(ar, "Code = %d len = %d\n", be32_to_cpu(hdr->code) & 0xff, 77 ar5523_err(ar, "olen to small %d < %d\n", 94 struct ar5523 *ar = urb->context; local 95 struct ar5523_tx_cmd *cmd = &ar->tx_cmd; 96 struct ar5523_cmd_hdr *hdr = ar->rx_cmd_buf; 102 ar5523_err(ar, "RX USB error %d.\n", urb->status); 107 ar5523_err(ar, "R 171 ar5523_alloc_rx_cmd(struct ar5523 *ar) argument 187 ar5523_cancel_rx_cmd(struct ar5523 *ar) argument 192 ar5523_free_rx_cmd(struct ar5523 *ar) argument 199 ar5523_submit_rx_cmd(struct ar5523 *ar) argument 224 struct ar5523 *ar = cmd->ar; local 240 ar5523_cmd(struct ar5523 *ar, u32 code, const void *idata, int ilen, void *odata, int olen, int flags) argument 286 ar5523_cmd_write(struct ar5523 *ar, u32 code, const void *data, int len, int flags) argument 293 ar5523_cmd_read(struct ar5523 *ar, u32 code, const void *idata, int ilen, void *odata, int olen, int flags) argument 300 ar5523_config(struct ar5523 *ar, u32 reg, u32 val) argument 316 ar5523_config_multi(struct ar5523 *ar, u32 reg, const void *data, int len) argument 335 ar5523_get_status(struct ar5523 *ar, u32 which, void *odata, int olen) argument 349 ar5523_get_capability(struct ar5523 *ar, u32 cap, u32 *val) argument 366 ar5523_get_devcap(struct ar5523 *ar) argument 415 ar5523_set_ledsteady(struct ar5523 *ar, int lednum, int ledmode) argument 429 ar5523_set_rxfilter(struct ar5523 *ar, u32 bits, u32 op) argument 441 ar5523_reset_tx_queues(struct ar5523 *ar) argument 450 ar5523_set_chan(struct ar5523 *ar) argument 470 ar5523_queue_init(struct ar5523 *ar) argument 488 ar5523_switch_chan(struct ar5523 *ar) argument 514 ar5523_rx_data_put(struct ar5523 *ar, struct ar5523_rx_data *data) argument 526 struct ar5523 *ar = data->ar; local 617 struct ar5523 *ar = container_of(work, struct ar5523, rx_refill_work); local 666 ar5523_cancel_rx_bufs(struct ar5523 *ar) argument 688 ar5523_free_rx_bufs(struct ar5523 *ar) argument 700 ar5523_alloc_rx_bufs(struct ar5523 *ar) argument 723 ar5523_data_tx_pkt_put(struct ar5523 *ar) argument 743 struct ar5523 *ar = data->ar; local 770 struct ar5523 *ar = hw->priv; local 791 ar5523_tx_work_locked(struct ar5523 *ar) argument 886 struct ar5523 *ar = container_of(work, struct ar5523, tx_work); local 896 struct ar5523 *ar = (struct ar5523 *) arg; local 904 struct ar5523 *ar = container_of(work, struct ar5523, tx_wd_work); local 920 ar5523_flush_tx(struct ar5523 *ar) argument 934 ar5523_free_tx_cmd(struct ar5523 *ar) argument 943 ar5523_alloc_tx_cmd(struct ar5523 *ar) argument 971 struct ar5523 *ar = container_of(work, struct ar5523, stat_work.work); local 993 struct ar5523 *ar = hw->priv; local 1059 struct ar5523 *ar = hw->priv; local 1081 struct ar5523 *ar = hw->priv; local 1096 struct ar5523 *ar = hw->priv; local 1105 struct ar5523 *ar = hw->priv; local 1127 struct ar5523 *ar = hw->priv; local 1135 struct ar5523 *ar = hw->priv; local 1148 ar5523_get_wlan_mode(struct ar5523 *ar, struct ieee80211_bss_conf *bss_conf) argument 1184 ar5523_create_rateset(struct ar5523 *ar, struct ieee80211_bss_conf *bss_conf, struct ar5523_cmd_rateset *rs, bool basic) argument 1222 ar5523_set_basic_rates(struct ar5523 *ar, struct ieee80211_bss_conf *bss) argument 1236 ar5523_create_connection(struct ar5523 *ar, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss) argument 1258 ar5523_write_associd(struct ar5523 *ar, struct ieee80211_bss_conf *bss) argument 1277 struct ar5523 *ar = hw->priv; local 1331 struct ar5523 *ar = hw->priv; local 1367 ar5523_host_available(struct ar5523 *ar) argument 1380 ar5523_get_devstatus(struct ar5523 *ar) argument 1405 ar5523_get_max_rxsz(struct ar5523 *ar) argument 1466 ar5523_init_modes(struct ar5523 *ar) argument 1584 struct ar5523 *ar; local 1727 struct ar5523 *ar = hw->priv; local [all...] |