Searched refs:ar (Results 1 - 25 of 241) sorted by relevance

12345678910

/linux-master/drivers/net/wireless/ath/ath6kl/
H A Drecovery.c23 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 = from_timer(ar, t, fw_recovery.hb_timer); local
98 ath6kl_recovery_init(struct ath6kl *ar) argument
115 ath6kl_recovery_cleanup(struct ath6kl *ar) argument
126 ath6kl_recovery_suspend(struct ath6kl *ar) argument
144 ath6kl_recovery_resume(struct ath6kl *ar) argument
[all...]
H A Dhif-ops.h24 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 Dcore.c54 void ath6kl_core_tx_complete(struct ath6kl *ar, struct sk_buff *skb) argument
56 ath6kl_htc_tx_complete(ar, skb);
60 void ath6kl_core_rx_complete(struct ath6kl *ar, struct sk_buff *skb, u8 pipe) argument
62 ath6kl_htc_rx_complete(ar, skb, pipe);
66 int ath6kl_core_init(struct ath6kl *ar, enum ath6kl_htc_type htc_type) argument
74 ath6kl_htc_mbox_attach(ar);
77 ath6kl_htc_pipe_attach(ar);
84 ar->ath6kl_wq = create_singlethread_workqueue("ath6kl");
85 if (!ar->ath6kl_wq)
88 ret = ath6kl_bmi_init(ar);
269 struct ath6kl *ar; local
330 ath6kl_core_cleanup(struct ath6kl *ar) argument
359 ath6kl_core_destroy(struct ath6kl *ar) argument
[all...]
H A Dinit.c251 static int ath6kl_set_host_app_area(struct ath6kl *ar) argument
258 address = ath6kl_get_hi_item_addr(ar, HI_ITEM(hi_app_host_interest));
259 address = TARG_VTOP(ar->target_type, address);
261 if (ath6kl_diag_read32(ar, address, &data))
264 address = TARG_VTOP(ar->target_type, data);
266 if (ath6kl_diag_write(ar, address, (u8 *) &host_app_area,
273 static inline void set_ac2_ep_map(struct ath6kl *ar, argument
277 ar->ac2ep_map[ac] = ep;
278 ar->ep2ac_map[ep] = ac;
282 static int ath6kl_connectservice(struct ath6kl *ar, argument
324 ath6kl_init_service_ep(struct ath6kl *ar) argument
416 ath6kl_set_htc_params(struct ath6kl *ar, u32 mbox_isr_yield_val, u8 htc_ctrl_buf) argument
452 ath6kl_target_config_wlan_params(struct ath6kl *ar, int idx) argument
536 ath6kl_configure_target(struct ath6kl *ar) argument
674 ath6kl_get_fw(struct ath6kl *ar, const char *filename, u8 **fw, size_t *fw_len) argument
702 check_device_tree(struct ath6kl *ar) argument
733 check_device_tree(struct ath6kl *ar) argument
739 ath6kl_fetch_board_file(struct ath6kl *ar) argument
784 ath6kl_fetch_otp_file(struct ath6kl *ar) argument
812 ath6kl_fetch_testmode_file(struct ath6kl *ar) argument
852 ath6kl_fetch_fw_file(struct ath6kl *ar) argument
877 ath6kl_fetch_patch_file(struct ath6kl *ar) argument
902 ath6kl_fetch_testscript_file(struct ath6kl *ar) argument
930 ath6kl_fetch_fw_api1(struct ath6kl *ar) argument
953 ath6kl_fetch_fw_apin(struct ath6kl *ar, const char *name) argument
1152 ath6kl_init_fetch_firmwares(struct ath6kl *ar) argument
1200 ath6kl_upload_board_file(struct ath6kl *ar) argument
1306 ath6kl_upload_otp(struct ath6kl *ar) argument
1353 ath6kl_upload_firmware(struct ath6kl *ar) argument
1384 ath6kl_upload_patch(struct ath6kl *ar) argument
1408 ath6kl_upload_testscript(struct ath6kl *ar) argument
1442 ath6kl_init_upload(struct ath6kl *ar) argument
1576 ath6kl_init_hw_params(struct ath6kl *ar) argument
1661 ath6kl_init_get_fwcaps(struct ath6kl *ar, char *buf, size_t buf_len) argument
1698 ath6kl_init_hw_reset(struct ath6kl *ar) argument
1706 __ath6kl_init_hw_start(struct ath6kl *ar) argument
1828 ath6kl_init_hw_start(struct ath6kl *ar) argument
1839 __ath6kl_init_hw_stop(struct ath6kl *ar) argument
1858 ath6kl_init_hw_stop(struct ath6kl *ar) argument
1869 ath6kl_init_hw_restart(struct ath6kl *ar) argument
1886 ath6kl_stop_txrx(struct ath6kl *ar) argument
[all...]
H A Dbmi.h226 #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...]
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dhif.h31 int (*tx_sg)(struct ath10k *ar, u8 pipe_id,
35 int (*diag_read)(struct ath10k *ar, u32 address, void *buf,
38 int (*diag_write)(struct ath10k *ar, u32 address, const void *data,
45 int (*exchange_bmi_msg)(struct ath10k *ar,
50 int (*start)(struct ath10k *ar);
55 void (*stop)(struct ath10k *ar);
57 int (*start_post)(struct ath10k *ar);
59 int (*get_htt_tx_complete)(struct ath10k *ar);
61 int (*map_service_to_pipe)(struct ath10k *ar, u16 service_id,
64 void (*get_default_pipe)(struct ath10k *ar, u
102 ath10k_hif_tx_sg(struct ath10k *ar, u8 pipe_id, struct ath10k_hif_sg_item *items, int n_items) argument
109 ath10k_hif_diag_read(struct ath10k *ar, u32 address, void *buf, size_t buf_len) argument
115 ath10k_hif_diag_write(struct ath10k *ar, u32 address, const void *data, int nbytes) argument
124 ath10k_hif_exchange_bmi_msg(struct ath10k *ar, void *request, u32 request_len, void *response, u32 *response_len) argument
132 ath10k_hif_start(struct ath10k *ar) argument
137 ath10k_hif_stop(struct ath10k *ar) argument
142 ath10k_hif_start_post(struct ath10k *ar) argument
149 ath10k_hif_get_htt_tx_complete(struct ath10k *ar) argument
156 ath10k_hif_map_service_to_pipe(struct ath10k *ar, u16 service_id, u8 *ul_pipe, u8 *dl_pipe) argument
164 ath10k_hif_get_default_pipe(struct ath10k *ar, u8 *ul_pipe, u8 *dl_pipe) argument
170 ath10k_hif_send_complete_check(struct ath10k *ar, u8 pipe_id, int force) argument
177 ath10k_hif_get_free_queue_number(struct ath10k *ar, u8 pipe_id) argument
183 ath10k_hif_power_up(struct ath10k *ar, enum ath10k_firmware_mode fw_mode) argument
189 ath10k_hif_power_down(struct ath10k *ar) argument
194 ath10k_hif_suspend(struct ath10k *ar) argument
202 ath10k_hif_resume(struct ath10k *ar) argument
210 ath10k_hif_read32(struct ath10k *ar, u32 address) argument
220 ath10k_hif_write32(struct ath10k *ar, u32 address, u32 data) argument
231 ath10k_hif_fetch_cal_eeprom(struct ath10k *ar, void **data, size_t *data_len) argument
241 ath10k_hif_get_target_info(struct ath10k *ar, struct bmi_target_info *tgt_info) argument
250 ath10k_hif_set_target_log_mode(struct ath10k *ar, u8 fw_log_mode) argument
[all...]
H A Dwmi-ops.h15 void (*rx)(struct ath10k *ar, struct sk_buff *skb);
19 int (*pull_scan)(struct ath10k *ar, struct sk_buff *skb,
21 int (*pull_mgmt_rx)(struct ath10k *ar, struct sk_buff *skb,
23 int (*pull_mgmt_tx_compl)(struct ath10k *ar, struct sk_buff *skb,
26 struct ath10k *ar, struct sk_buff *skb,
28 int (*pull_ch_info)(struct ath10k *ar, struct sk_buff *skb,
30 int (*pull_vdev_start)(struct ath10k *ar, struct sk_buff *skb,
32 int (*pull_peer_kick)(struct ath10k *ar, struct sk_buff *skb,
34 int (*pull_swba)(struct ath10k *ar, struct sk_buff *skb,
36 int (*pull_phyerr_hdr)(struct ath10k *ar, struc
235 ath10k_wmi_rx(struct ath10k *ar, struct sk_buff *skb) argument
245 ath10k_wmi_map_svc(struct ath10k *ar, const __le32 *in, unsigned long *out, size_t len) argument
256 ath10k_wmi_map_svc_ext(struct ath10k *ar, const __le32 *in, unsigned long *out, size_t len) argument
267 ath10k_wmi_pull_scan(struct ath10k *ar, struct sk_buff *skb, struct wmi_scan_ev_arg *arg) argument
277 ath10k_wmi_pull_mgmt_tx_compl(struct ath10k *ar, struct sk_buff *skb, struct wmi_tlv_mgmt_tx_compl_ev_arg *arg) argument
287 ath10k_wmi_pull_mgmt_tx_bundle_compl(struct ath10k *ar, struct sk_buff *skb, struct wmi_tlv_mgmt_tx_bundle_compl_ev_arg *arg) argument
297 ath10k_wmi_pull_mgmt_rx(struct ath10k *ar, struct sk_buff *skb, struct wmi_mgmt_rx_ev_arg *arg) argument
307 ath10k_wmi_pull_ch_info(struct ath10k *ar, struct sk_buff *skb, struct wmi_ch_info_ev_arg *arg) argument
317 ath10k_wmi_pull_vdev_start(struct ath10k *ar, struct sk_buff *skb, struct wmi_vdev_start_ev_arg *arg) argument
327 ath10k_wmi_pull_peer_kick(struct ath10k *ar, struct sk_buff *skb, struct wmi_peer_kick_ev_arg *arg) argument
337 ath10k_wmi_pull_swba(struct ath10k *ar, struct sk_buff *skb, struct wmi_swba_ev_arg *arg) argument
347 ath10k_wmi_pull_phyerr_hdr(struct ath10k *ar, struct sk_buff *skb, struct wmi_phyerr_hdr_arg *arg) argument
357 ath10k_wmi_pull_phyerr(struct ath10k *ar, const void *phyerr_buf, int left_len, struct wmi_phyerr_ev_arg *arg) argument
367 ath10k_wmi_pull_svc_rdy(struct ath10k *ar, struct sk_buff *skb, struct wmi_svc_rdy_ev_arg *arg) argument
377 ath10k_wmi_pull_rdy(struct ath10k *ar, struct sk_buff *skb, struct wmi_rdy_ev_arg *arg) argument
387 ath10k_wmi_pull_svc_avail(struct ath10k *ar, struct sk_buff *skb, struct wmi_svc_avail_ev_arg *arg) argument
396 ath10k_wmi_pull_fw_stats(struct ath10k *ar, struct sk_buff *skb, struct ath10k_fw_stats *stats) argument
406 ath10k_wmi_pull_roam_ev(struct ath10k *ar, struct sk_buff *skb, struct wmi_roam_ev_arg *arg) argument
416 ath10k_wmi_pull_wow_event(struct ath10k *ar, struct sk_buff *skb, struct wmi_wow_ev_arg *arg) argument
426 ath10k_wmi_pull_echo_ev(struct ath10k *ar, struct sk_buff *skb, struct wmi_echo_ev_arg *arg) argument
436 ath10k_wmi_pull_dfs_status(struct ath10k *ar, struct sk_buff *skb, struct wmi_dfs_status_ev_arg *arg) argument
446 ath10k_wmi_get_txbf_conf_scheme(struct ath10k *ar) argument
455 ath10k_wmi_cleanup_mgmt_tx_send(struct ath10k *ar, struct sk_buff *msdu) argument
464 ath10k_wmi_mgmt_tx_send(struct ath10k *ar, struct sk_buff *msdu, dma_addr_t paddr) argument
486 ath10k_wmi_mgmt_tx(struct ath10k *ar, struct sk_buff *msdu) argument
514 ath10k_wmi_pdev_set_regdomain(struct ath10k *ar, u16 rd, u16 rd2g, u16 rd5g, u16 ctl2g, u16 ctl5g, enum wmi_dfs_region dfs_reg) argument
533 ath10k_wmi_pdev_set_base_macaddr(struct ath10k *ar, const u8 macaddr[ETH_ALEN]) argument
549 ath10k_wmi_pdev_suspend_target(struct ath10k *ar, u32 suspend_opt) argument
564 ath10k_wmi_pdev_resume_target(struct ath10k *ar) argument
579 ath10k_wmi_pdev_set_param(struct ath10k *ar, u32 id, u32 value) argument
594 ath10k_wmi_cmd_init(struct ath10k *ar) argument
609 ath10k_wmi_start_scan(struct ath10k *ar, const struct wmi_start_scan_arg *arg) argument
625 ath10k_wmi_stop_scan(struct ath10k *ar, const struct wmi_stop_scan_arg *arg) argument
640 ath10k_wmi_vdev_create(struct ath10k *ar, u32 vdev_id, enum wmi_vdev_type type, enum wmi_vdev_subtype subtype, const u8 macaddr[ETH_ALEN]) argument
658 ath10k_wmi_vdev_delete(struct ath10k *ar, u32 vdev_id) argument
673 ath10k_wmi_vdev_start(struct ath10k *ar, const struct wmi_vdev_start_request_arg *arg) argument
690 ath10k_wmi_vdev_restart(struct ath10k *ar, const struct wmi_vdev_start_request_arg *arg) argument
707 ath10k_wmi_vdev_stop(struct ath10k *ar, u32 vdev_id) argument
722 ath10k_wmi_vdev_up(struct ath10k *ar, u32 vdev_id, u32 aid, const u8 *bssid) argument
737 ath10k_wmi_vdev_down(struct ath10k *ar, u32 vdev_id) argument
752 ath10k_wmi_vdev_set_param(struct ath10k *ar, u32 vdev_id, u32 param_id, u32 param_value) argument
769 ath10k_wmi_vdev_install_key(struct ath10k *ar, const struct wmi_vdev_install_key_arg *arg) argument
786 ath10k_wmi_vdev_spectral_conf(struct ath10k *ar, const struct wmi_vdev_spectral_conf_arg *arg) argument
804 ath10k_wmi_vdev_spectral_enable(struct ath10k *ar, u32 vdev_id, u32 trigger, u32 enable) argument
823 ath10k_wmi_vdev_sta_uapsd(struct ath10k *ar, u32 vdev_id, const u8 peer_addr[ETH_ALEN], const struct wmi_sta_uapsd_auto_trig_arg *args, u32 num_ac) argument
844 ath10k_wmi_vdev_wmm_conf(struct ath10k *ar, u32 vdev_id, const struct wmi_wmm_params_all_arg *arg) argument
859 ath10k_wmi_peer_create(struct ath10k *ar, u32 vdev_id, const u8 peer_addr[ETH_ALEN], enum wmi_peer_type peer_type) argument
876 ath10k_wmi_peer_delete(struct ath10k *ar, u32 vdev_id, const u8 peer_addr[ETH_ALEN]) argument
892 ath10k_wmi_peer_flush(struct ath10k *ar, u32 vdev_id, const u8 peer_addr[ETH_ALEN], u32 tid_bitmap) argument
908 ath10k_wmi_peer_set_param(struct ath10k *ar, u32 vdev_id, const u8 *peer_addr, enum wmi_peer_param param_id, u32 param_value) argument
925 ath10k_wmi_set_psmode(struct ath10k *ar, u32 vdev_id, enum wmi_sta_ps_mode psmode) argument
942 ath10k_wmi_set_sta_ps_param(struct ath10k *ar, u32 vdev_id, enum wmi_sta_powersave_param param_id, u32 value) argument
959 ath10k_wmi_set_ap_ps_param(struct ath10k *ar, u32 vdev_id, const u8 *mac, enum wmi_ap_ps_peer_param param_id, u32 value) argument
976 ath10k_wmi_scan_chan_list(struct ath10k *ar, const struct wmi_scan_chan_list_arg *arg) argument
992 ath10k_wmi_scan_prob_req_oui(struct ath10k *ar, const u8 mac_addr[ETH_ALEN]) argument
1012 ath10k_wmi_peer_assoc(struct ath10k *ar, const struct wmi_peer_assoc_complete_arg *arg) argument
1028 ath10k_wmi_beacon_send_ref_nowait(struct ath10k *ar, u32 vdev_id, const void *bcn, size_t bcn_len, u32 bcn_paddr, bool dtim_zero, bool deliver_cab) argument
1055 ath10k_wmi_pdev_set_wmm_params(struct ath10k *ar, const struct wmi_wmm_params_all_arg *arg) argument
1072 ath10k_wmi_request_stats(struct ath10k *ar, u32 stats_mask) argument
1087 ath10k_wmi_request_peer_stats_info(struct ath10k *ar, u32 vdev_id, enum wmi_peer_stats_info_request_type type, u8 *addr, u32 reset) argument
1110 ath10k_wmi_force_fw_hang(struct ath10k *ar, enum wmi_force_fw_hang_type type, u32 delay_ms) argument
1126 ath10k_wmi_dbglog_cfg(struct ath10k *ar, u64 module_enable, u32 log_level) argument
1141 ath10k_wmi_pdev_pktlog_enable(struct ath10k *ar, u32 filter) argument
1156 ath10k_wmi_pdev_pktlog_disable(struct ath10k *ar) argument
1172 ath10k_wmi_pdev_set_quiet_mode(struct ath10k *ar, u32 period, u32 duration, u32 next_offset, u32 enabled) argument
1190 ath10k_wmi_pdev_get_temperature(struct ath10k *ar) argument
1206 ath10k_wmi_addba_clear_resp(struct ath10k *ar, u32 vdev_id, const u8 *mac) argument
1222 ath10k_wmi_addba_send(struct ath10k *ar, u32 vdev_id, const u8 *mac, u32 tid, u32 buf_size) argument
1239 ath10k_wmi_addba_set_resp(struct ath10k *ar, u32 vdev_id, const u8 *mac, u32 tid, u32 status) argument
1256 ath10k_wmi_delba_send(struct ath10k *ar, u32 vdev_id, const u8 *mac, u32 tid, u32 initiator, u32 reason) argument
1274 ath10k_wmi_bcn_tmpl(struct ath10k *ar, u32 vdev_id, u32 tim_ie_offset, struct sk_buff *bcn, u32 prb_caps, u32 prb_erp, void *prb_ies, size_t prb_ies_len) argument
1293 ath10k_wmi_prb_tmpl(struct ath10k *ar, u32 vdev_id, struct sk_buff *prb) argument
1308 ath10k_wmi_p2p_go_bcn_ie(struct ath10k *ar, u32 vdev_id, const u8 *p2p_ie) argument
1323 ath10k_wmi_sta_keepalive(struct ath10k *ar, const struct wmi_sta_keepalive_arg *arg) argument
1341 ath10k_wmi_wow_enable(struct ath10k *ar) argument
1358 ath10k_wmi_wow_add_wakeup_event(struct ath10k *ar, u32 vdev_id, enum wmi_wow_wakeup_event event, u32 enable) argument
1377 ath10k_wmi_wow_host_wakeup_ind(struct ath10k *ar) argument
1394 ath10k_wmi_wow_add_pattern(struct ath10k *ar, u32 vdev_id, u32 pattern_id, const u8 *pattern, const u8 *mask, int pattern_len, int pattern_offset) argument
1415 ath10k_wmi_wow_del_pattern(struct ath10k *ar, u32 vdev_id, u32 pattern_id) argument
1432 ath10k_wmi_wow_config_pno(struct ath10k *ar, u32 vdev_id, struct wmi_pno_scan_req *pno_scan) argument
1450 ath10k_wmi_update_fw_tdls_state(struct ath10k *ar, u32 vdev_id, enum wmi_tdls_state state) argument
1466 ath10k_wmi_tdls_peer_update(struct ath10k *ar, const struct wmi_tdls_peer_update_cmd_arg *arg, const struct wmi_tdls_peer_capab_arg *cap, const struct wmi_channel_arg *chan) argument
1485 ath10k_wmi_adaptive_qcs(struct ath10k *ar, bool enable) argument
1500 ath10k_wmi_pdev_get_tpc_config(struct ath10k *ar, u32 param) argument
1517 ath10k_wmi_fw_stats_fill(struct ath10k *ar, struct ath10k_fw_stats *fw_stats, char *buf) argument
1528 ath10k_wmi_pdev_enable_adaptive_cca(struct ath10k *ar, u8 enable, u32 detect_level, u32 detect_margin) argument
1548 ath10k_wmi_ext_resource_config(struct ath10k *ar, enum wmi_host_platform_type type, u32 fw_feature_bitmap) argument
1568 ath10k_wmi_get_vdev_subtype(struct ath10k *ar, enum wmi_vdev_subtype subtype) argument
1577 ath10k_wmi_pdev_bss_chan_info_request(struct ath10k *ar, enum wmi_bss_survey_req_type type) argument
1595 ath10k_wmi_echo(struct ath10k *ar, u32 value) argument
1611 ath10k_wmi_pdev_get_tpc_table_cmdid(struct ath10k *ar, u32 param) argument
1628 ath10k_wmi_report_radar_found(struct ath10k *ar, const struct ath10k_radar_found_info *arg) argument
1645 ath10k_wmi_pdev_bb_timing(struct ath10k *ar, const struct wmi_bb_timing_cfg_arg *arg) argument
1663 ath10k_wmi_set_per_peer_per_tid_cfg(struct ath10k *ar, const struct wmi_per_peer_per_tid_cfg_arg *arg) argument
[all...]
H A Dthermal.c29 struct ath10k *ar = cdev->devdata; local
31 mutex_lock(&ar->conf_mutex);
32 *state = ar->thermal.throttle_state;
33 mutex_unlock(&ar->conf_mutex);
42 struct ath10k *ar = cdev->devdata; local
45 ath10k_warn(ar, "throttle state %ld is exceeding the limit %d\n",
49 mutex_lock(&ar->conf_mutex);
50 ar->thermal.throttle_state = throttle_state;
51 ath10k_thermal_set_throttling(ar);
52 mutex_unlock(&ar
66 struct ath10k *ar = dev_get_drvdata(dev); local
109 ath10k_thermal_event_temperature(struct ath10k *ar, int temperature) argument
126 ath10k_thermal_set_throttling(struct ath10k *ar) argument
155 ath10k_thermal_register(struct ath10k *ar) argument
213 ath10k_thermal_unregister(struct ath10k *ar) argument
[all...]
H A Dahb.c28 static inline struct ath10k_ahb *ath10k_ahb_priv(struct ath10k *ar) argument
30 return &ath10k_pci_priv(ar)->ahb[0];
33 static void ath10k_ahb_write32(struct ath10k *ar, u32 offset, u32 value) argument
35 struct ath10k_ahb *ar_ahb = ath10k_ahb_priv(ar);
40 static u32 ath10k_ahb_read32(struct ath10k *ar, u32 offset) argument
42 struct ath10k_ahb *ar_ahb = ath10k_ahb_priv(ar);
47 static u32 ath10k_ahb_gcc_read32(struct ath10k *ar, u32 offset) argument
49 struct ath10k_ahb *ar_ahb = ath10k_ahb_priv(ar);
54 static void ath10k_ahb_tcsr_write32(struct ath10k *ar, u32 offset, u32 value) argument
56 struct ath10k_ahb *ar_ahb = ath10k_ahb_priv(ar);
61 ath10k_ahb_tcsr_read32(struct ath10k *ar, u32 offset) argument
68 ath10k_ahb_soc_read32(struct ath10k *ar, u32 addr) argument
73 ath10k_ahb_get_num_banks(struct ath10k *ar) argument
82 ath10k_ahb_clock_init(struct ath10k *ar) argument
113 ath10k_ahb_clock_deinit(struct ath10k *ar) argument
122 ath10k_ahb_clock_enable(struct ath10k *ar) argument
165 ath10k_ahb_clock_disable(struct ath10k *ar) argument
176 ath10k_ahb_rst_ctrl_init(struct ath10k *ar) argument
226 ath10k_ahb_rst_ctrl_deinit(struct ath10k *ar) argument
237 ath10k_ahb_release_reset(struct ath10k *ar) argument
277 ath10k_ahb_halt_axi_bus(struct ath10k *ar, u32 haltreq_reg, u32 haltack_reg) argument
306 ath10k_ahb_halt_chip(struct ath10k *ar) argument
392 struct ath10k *ar = arg; local
404 ath10k_ahb_request_irq_legacy(struct ath10k *ar) argument
423 ath10k_ahb_release_irq_legacy(struct ath10k *ar) argument
430 ath10k_ahb_irq_disable(struct ath10k *ar) argument
436 ath10k_ahb_resource_init(struct ath10k *ar) argument
524 ath10k_ahb_resource_deinit(struct ath10k *ar) argument
548 ath10k_ahb_prepare_device(struct ath10k *ar) argument
592 ath10k_ahb_chip_reset(struct ath10k *ar) argument
606 ath10k_ahb_wake_target_cpu(struct ath10k *ar) argument
618 ath10k_ahb_hif_start(struct ath10k *ar) argument
631 ath10k_ahb_hif_stop(struct ath10k *ar) argument
645 ath10k_ahb_hif_power_up(struct ath10k *ar, enum ath10k_firmware_mode fw_mode) argument
684 ath10k_ahb_qca4019_targ_cpu_to_ce_addr(struct ath10k *ar, u32 addr) argument
728 struct ath10k *ar; local
825 struct ath10k *ar = platform_get_drvdata(pdev); local
[all...]
H A Dthermal.h29 int ath10k_thermal_register(struct ath10k *ar);
30 void ath10k_thermal_unregister(struct ath10k *ar);
31 void ath10k_thermal_event_temperature(struct ath10k *ar, int temperature);
32 void ath10k_thermal_set_throttling(struct ath10k *ar);
34 static inline int ath10k_thermal_register(struct ath10k *ar) argument
39 static inline void ath10k_thermal_unregister(struct ath10k *ar) argument
43 static inline void ath10k_thermal_event_temperature(struct ath10k *ar, argument
48 static inline void ath10k_thermal_set_throttling(struct ath10k *ar) argument
H A Dtestmode.c31 bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb) argument
37 ath10k_dbg(ar, ATH10K_DBG_TESTMODE,
41 ath10k_dbg_dump(ar, ATH10K_DBG_TESTMODE, NULL, "", skb->data, skb->len);
43 spin_lock_bh(&ar->data_lock);
45 if (!ar->testmode.utf_monitor) {
56 nl_skb = cfg80211_testmode_alloc_event_skb(ar->hw->wiphy,
60 ath10k_warn(ar,
67 ath10k_warn(ar,
76 ath10k_warn(ar,
85 ath10k_warn(ar,
100 ath10k_tm_cmd_get_version(struct ath10k *ar, struct nlattr *tb[]) argument
139 ath10k_tm_fetch_utf_firmware_api_1(struct ath10k *ar, struct ath10k_fw_file *fw_file) argument
173 ath10k_tm_fetch_firmware(struct ath10k *ar) argument
226 ath10k_tm_cmd_utf_start(struct ath10k *ar, struct nlattr *tb[]) argument
323 __ath10k_tm_cmd_utf_stop(struct ath10k *ar) argument
347 ath10k_tm_cmd_utf_stop(struct ath10k *ar, struct nlattr *tb[]) argument
371 ath10k_tm_cmd_wmi(struct ath10k *ar, struct nlattr *tb[]) argument
430 struct ath10k *ar = hw->priv; local
456 ath10k_testmode_destroy(struct ath10k *ar) argument
[all...]
H A Dtxrx.c14 static void ath10k_report_offchan_tx(struct ath10k *ar, struct sk_buff *skb) argument
21 if (ath10k_mac_tx_frm_has_freq(ar))
29 spin_lock_bh(&ar->data_lock);
30 if (ar->offchan_tx_skb != skb) {
31 ath10k_warn(ar, "completed old offchannel frame\n");
35 complete(&ar->offchan_tx_completed);
36 ar->offchan_tx_skb = NULL; /* just for sanity */
38 ath10k_dbg(ar, ATH10K_DBG_HTT, "completed offchannel skb %pK\n", skb);
40 spin_unlock_bh(&ar->data_lock);
47 struct ath10k *ar local
150 ath10k_peer_find(struct ath10k *ar, int vdev_id, const u8 *addr) argument
169 ath10k_peer_find_by_id(struct ath10k *ar, int peer_id) argument
185 ath10k_wait_for_peer_common(struct ath10k *ar, int vdev_id, const u8 *addr, bool expect_mapped) argument
207 ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id, const u8 *addr) argument
212 ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id, const u8 *addr) argument
220 struct ath10k *ar = htt->ar; local
256 struct ath10k *ar = htt->ar; local
[all...]
H A Dpci.h111 struct ath10k *ar; member in struct:ath10k_pci
172 int (*pci_soft_reset)(struct ath10k *ar);
175 int (*pci_hard_reset)(struct ath10k *ar);
180 u32 (*targ_cpu_to_ce_addr)(struct ath10k *ar, u32 addr);
194 static inline struct ath10k_pci *ath10k_pci_priv(struct ath10k *ar) argument
196 return (struct ath10k_pci *)ar->drv_priv;
213 void ath10k_pci_write32(struct ath10k *ar, u32 offset, u32 value);
214 void ath10k_pci_soc_write32(struct ath10k *ar, u32 addr, u32 val);
215 void ath10k_pci_reg_write32(struct ath10k *ar, u32 addr, u32 val);
217 u32 ath10k_pci_read32(struct ath10k *ar, u3
[all...]
H A Ddebug.c26 void ath10k_info(struct ath10k *ar, const char *fmt, ...) argument
35 dev_info(ar->dev, "%pV", &vaf);
36 trace_ath10k_log_info(ar, &vaf);
41 void ath10k_debug_print_hwfw_info(struct ath10k *ar) argument
47 ath10k_core_get_fw_features_str(ar, fw_features, sizeof(fw_features));
49 ath10k_info(ar, "%s target 0x%08x chip_id 0x%08x sub %04x:%04x",
50 ar->hw_params.name,
51 ar->target_version,
52 ar->bus_param.chip_id,
53 ar
73 ath10k_debug_print_board_info(struct ath10k *ar) argument
97 ath10k_debug_print_boot_info(struct ath10k *ar) argument
110 ath10k_print_driver_info(struct ath10k *ar) argument
118 ath10k_err(struct ath10k *ar, const char *fmt, ...) argument
133 ath10k_warn(struct ath10k *ar, const char *fmt, ...) argument
155 struct ath10k *ar = file->private_data; local
244 ath10k_debug_fw_stats_reset(struct ath10k *ar) argument
256 ath10k_debug_fw_stats_process(struct ath10k *ar, struct sk_buff *skb) argument
354 ath10k_debug_fw_stats_request(struct ath10k *ar) argument
396 struct ath10k *ar = inode->i_private; local
466 struct ath10k *ar = file->private_data; local
503 ath10k_debug_fw_assert(struct ath10k *ar) argument
547 struct ath10k *ar = file->private_data; local
618 struct ath10k *ar = file->private_data; local
638 struct ath10k *ar = file->private_data; local
656 struct ath10k *ar = file->private_data; local
686 struct ath10k *ar = file->private_data; local
717 struct ath10k *ar = file->private_data; local
757 struct ath10k *ar = file->private_data; local
809 struct ath10k *ar = file->private_data; local
864 ath10k_debug_htt_stats_req(struct ath10k *ar) argument
895 struct ath10k *ar = container_of(work, struct ath10k, local
909 struct ath10k *ar = file->private_data; local
922 struct ath10k *ar = file->private_data; local
962 struct ath10k *ar = file->private_data; local
982 struct ath10k *ar = file->private_data; local
1024 struct ath10k *ar = file->private_data; local
1038 struct ath10k *ar = file->private_data; local
1161 struct ath10k *ar = hw->priv; local
1251 ath10k_debug_cal_data_fetch(struct ath10k *ar) argument
1286 struct ath10k *ar = inode->i_private; local
1305 struct ath10k *ar = file->private_data; local
1322 struct ath10k *ar = file->private_data; local
1355 struct ath10k *ar = file->private_data; local
1383 struct ath10k *ar = file->private_data; local
1396 struct ath10k *ar = file->private_data; local
1447 ath10k_debug_tpc_stats_request(struct ath10k *ar) argument
1470 ath10k_debug_tpc_stats_process(struct ath10k *ar, struct ath10k_tpc_stats *tpc_stats) argument
1483 ath10k_debug_tpc_stats_final_process(struct ath10k *ar, struct ath10k_tpc_stats_final *tpc_stats) argument
1541 ath10k_tpc_stats_fill(struct ath10k *ar, struct ath10k_tpc_stats *tpc_stats, char *buf) argument
1631 struct ath10k *ar = inode->i_private; local
1693 ath10k_debug_start(struct ath10k *ar) argument
1744 ath10k_debug_stop(struct ath10k *ar) argument
1766 struct ath10k *ar = file->private_data; local
1802 struct ath10k *ar = file->private_data; local
1855 struct ath10k *ar = file->private_data; local
1902 struct ath10k *ar = file->private_data; local
1923 struct ath10k *ar = file->private_data; local
1946 struct ath10k *ar = file->private_data; local
1967 struct ath10k *ar = file->private_data; local
2023 struct ath10k *ar = file->private_data; local
2044 struct ath10k *ar = file->private_data; local
2078 struct ath10k *ar = file->private_data; local
2099 struct ath10k *ar = file->private_data; local
2140 struct ath10k *ar = file->private_data; local
2161 struct ath10k *ar = file->private_data; local
2216 struct ath10k *ar = file->private_data; local
2228 struct ath10k *ar = file->private_data; local
2249 ath10k_debug_tpc_stats_final_request(struct ath10k *ar) argument
2274 struct ath10k *ar = inode->i_private; local
2342 struct ath10k *ar = file->private_data; local
2384 struct ath10k *ar = data; local
2396 struct ath10k *ar = file->private_data; local
2440 struct ath10k *ar = file->private_data; local
2464 struct ath10k *ar = file->private_data; local
2498 ath10k_debug_create(struct ath10k *ar) argument
2512 ath10k_debug_destroy(struct ath10k *ar) argument
2523 ath10k_debug_register(struct ath10k *ar) argument
2647 ath10k_debug_unregister(struct ath10k *ar) argument
2655 __ath10k_dbg(struct ath10k *ar, enum ath10k_debug_mask mask, const char *fmt, ...) argument
2675 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 Dcore.c790 void ath10k_core_get_fw_features_str(struct ath10k *ar, argument
798 if (test_bit(i, ar->normal_mode_fw.fw_file.fw_features)) {
809 static void ath10k_send_suspend_complete(struct ath10k *ar) argument
811 ath10k_dbg(ar, ATH10K_DBG_BOOT, "boot suspend complete\n");
813 complete(&ar->target_suspend);
816 static int ath10k_init_sdio(struct ath10k *ar, enum ath10k_firmware_mode mode) argument
818 bool mtu_workaround = ar->hw_params.credit_size_workaround;
822 ret = ath10k_bmi_write32(ar, hi_mbox_io_block_sz, 256);
826 ret = ath10k_bmi_write32(ar, hi_mbox_isr_yield_limit, 99);
830 ret = ath10k_bmi_read32(ar, hi_acs_flag
863 ath10k_init_configure_target(struct ath10k *ar) argument
931 ath10k_fetch_fw_file(struct ath10k *ar, const char *dir, const char *file) argument
956 ath10k_push_board_ext_data(struct ath10k *ar, const void *data, size_t data_len) argument
1003 ath10k_core_get_board_id_from_otp(struct ath10k *ar) argument
1081 struct ath10k *ar = data; local
1134 ath10k_core_check_smbios(struct ath10k *ar) argument
1145 ath10k_core_check_dt(struct ath10k *ar) argument
1168 ath10k_download_fw(struct ath10k *ar) argument
1217 ath10k_core_free_board_files(struct ath10k *ar) argument
1234 ath10k_core_free_firmware_files(struct ath10k *ar) argument
1258 ath10k_fetch_cal_file(struct ath10k *ar) argument
1285 ath10k_core_fetch_board_data_api_1(struct ath10k *ar, int bd_ie_type) argument
1333 ath10k_core_parse_bd_ie_board(struct ath10k *ar, const void *buf, size_t buf_len, const char *boardname, int bd_ie_type) argument
1423 ath10k_core_search_bd(struct ath10k *ar, const char *boardname, const u8 *data, size_t len) argument
1481 ath10k_core_fetch_board_data_api_n(struct ath10k *ar, const char *boardname, const char *fallback_boardname1, const char *fallback_boardname2, const char *filename) argument
1556 ath10k_core_create_board_name(struct ath10k *ar, char *name, size_t name_len, bool with_variant, bool with_chip_id) argument
1602 ath10k_core_create_eboard_name(struct ath10k *ar, char *name, size_t name_len) argument
1619 ath10k_core_fetch_board_file(struct ath10k *ar, int bd_ie_type) argument
1685 ath10k_core_get_ext_board_id_from_otp(struct ath10k *ar) argument
1737 ath10k_download_board_data(struct ath10k *ar, const void *data, size_t data_len) argument
1806 ath10k_download_and_run_otp(struct ath10k *ar) argument
1865 ath10k_download_cal_file(struct ath10k *ar, const struct firmware *file) argument
1887 ath10k_download_cal_dt(struct ath10k *ar, const char *dt_name) argument
1942 ath10k_download_cal_eeprom(struct ath10k *ar) argument
1971 ath10k_download_cal_nvmem(struct ath10k *ar, const char *cell_name) argument
2004 ath10k_core_fetch_firmware_api_n(struct ath10k *ar, const char *name, struct ath10k_fw_file *fw_file) argument
2181 ath10k_core_get_fw_name(struct ath10k *ar, char *fw_name, size_t fw_name_len, int fw_api) argument
2200 ath10k_core_fetch_firmware_files(struct ath10k *ar) argument
2234 ath10k_core_pre_cal_download(struct ath10k *ar) argument
2275 ath10k_core_pre_cal_config(struct ath10k *ar) argument
2304 ath10k_download_cal_data(struct ath10k *ar) argument
2372 ath10k_core_fetch_btcoex_dt(struct ath10k *ar) argument
2406 ath10k_init_uart(struct ath10k *ar) argument
2457 ath10k_init_hw_params(struct ath10k *ar) argument
2485 ath10k_core_start_recovery(struct ath10k *ar) argument
2496 ath10k_core_napi_enable(struct ath10k *ar) argument
2508 ath10k_core_napi_sync_disable(struct ath10k *ar) argument
2523 struct ath10k *ar = container_of(work, struct ath10k, restart_work); local
2596 struct ath10k *ar = container_of(work, struct ath10k, local
2603 ath10k_core_init_firmware_features(struct ath10k *ar) argument
2782 ath10k_core_reset_rx_filter(struct ath10k *ar) argument
2831 ath10k_core_compat_services(struct ath10k *ar) argument
2855 ath10k_core_copy_target_iram(struct ath10k *ar) argument
2932 ath10k_core_start(struct ath10k *ar, enum ath10k_firmware_mode mode, const struct ath10k_fw_components *fw) argument
3257 ath10k_wait_for_suspend(struct ath10k *ar, u32 suspend_opt) argument
3280 ath10k_core_stop(struct ath10k *ar) argument
3304 ath10k_core_probe_fw(struct ath10k *ar) argument
3457 struct ath10k *ar = container_of(work, struct ath10k, register_work); local
3520 ath10k_core_register(struct ath10k *ar, const struct ath10k_bus_params *bus_params) argument
3531 ath10k_core_unregister(struct ath10k *ar) argument
3565 struct ath10k *ar; local
3703 ath10k_core_destroy(struct ath10k *ar) argument
[all...]
H A Ddebug.h80 __printf(2, 3) void ath10k_info(struct ath10k *ar, const char *fmt, ...);
81 __printf(2, 3) void ath10k_err(struct ath10k *ar, const char *fmt, ...);
82 __printf(2, 3) void ath10k_warn(struct ath10k *ar, const char *fmt, ...);
84 void ath10k_debug_print_hwfw_info(struct ath10k *ar);
85 void ath10k_debug_print_board_info(struct ath10k *ar);
86 void ath10k_debug_print_boot_info(struct ath10k *ar);
87 void ath10k_print_driver_info(struct ath10k *ar);
90 int ath10k_debug_start(struct ath10k *ar);
91 void ath10k_debug_stop(struct ath10k *ar);
92 int ath10k_debug_create(struct ath10k *ar);
115 ath10k_debug_get_fw_dbglog_mask(struct ath10k *ar) argument
120 ath10k_debug_get_fw_dbglog_level(struct ath10k *ar) argument
125 ath10k_debug_is_extd_tx_stats_enabled(struct ath10k *ar) argument
134 ath10k_debug_start(struct ath10k *ar) argument
139 ath10k_debug_stop(struct ath10k *ar) argument
143 ath10k_debug_create(struct ath10k *ar) argument
148 ath10k_debug_destroy(struct ath10k *ar) argument
152 ath10k_debug_register(struct ath10k *ar) argument
157 ath10k_debug_unregister(struct ath10k *ar) argument
161 ath10k_debug_fw_stats_process(struct ath10k *ar, struct sk_buff *skb) argument
166 ath10k_debug_tpc_stats_process(struct ath10k *ar, struct ath10k_tpc_stats *tpc_stats) argument
173 ath10k_debug_tpc_stats_final_process(struct ath10k *ar, struct ath10k_tpc_stats_final *tpc_stats) argument
179 ath10k_debug_dbglog_add(struct ath10k *ar, u8 *buffer, int len) argument
184 ath10k_debug_get_fw_dbglog_mask(struct ath10k *ar) argument
189 ath10k_debug_get_fw_dbglog_level(struct ath10k *ar) argument
194 ath10k_debug_is_extd_tx_stats_enabled(struct ath10k *ar) argument
199 ath10k_debug_fw_stats_request(struct ath10k *ar) argument
229 ath10k_sta_update_rx_duration(struct ath10k *ar, struct ath10k_fw_stats *stats) argument
235 ath10k_sta_update_rx_tid_stats(struct ath10k *ar, u8 *first_hdr, unsigned long num_msdus, enum ath10k_pkt_rx_err err, unsigned long unchain_cnt, unsigned long drop_cnt, unsigned long drop_cnt_filter, unsigned long queued_msdus) argument
246 ath10k_sta_update_rx_tid_stats_ampdu(struct ath10k *ar, u16 peer_id, u8 tid, struct htt_rx_indication_mpdu_range *ranges, int num_ranges) argument
264 __ath10k_dbg(struct ath10k *ar, enum ath10k_debug_mask dbg_mask, const char *fmt, ...) argument
271 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 Dmac.h19 struct ath10k *ar; member in struct:ath10k_generic_iter
32 void ath10k_mac_destroy(struct ath10k *ar);
33 int ath10k_mac_register(struct ath10k *ar);
34 void ath10k_mac_unregister(struct ath10k *ar);
35 struct ath10k_vif *ath10k_get_arvif(struct ath10k *ar, u32 vdev_id);
36 void __ath10k_scan_finish(struct ath10k *ar);
37 void ath10k_scan_finish(struct ath10k *ar);
39 void ath10k_offchan_tx_purge(struct ath10k *ar);
41 void ath10k_mgmt_over_wmi_tx_purge(struct ath10k *ar);
43 void ath10k_halt(struct ath10k *ar);
[all...]
H A Dbmi.c14 void ath10k_bmi_start(struct ath10k *ar) argument
16 ath10k_dbg(ar, ATH10K_DBG_BMI, "bmi start\n");
18 ar->bmi.done_sent = false;
22 int ath10k_bmi_done(struct ath10k *ar) argument
28 ath10k_dbg(ar, ATH10K_DBG_BMI, "bmi done\n");
30 if (ar->bmi.done_sent) {
31 ath10k_dbg(ar, ATH10K_DBG_BMI, "bmi skipped\n");
35 ar->bmi.done_sent = true;
38 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, NULL, NULL);
40 ath10k_warn(ar, "unabl
47 ath10k_bmi_get_target_info(struct ath10k *ar, struct bmi_target_info *target_info) argument
85 ath10k_bmi_get_target_info_sdio(struct ath10k *ar, struct bmi_target_info *target_info) argument
154 ath10k_bmi_read_memory(struct ath10k *ar, u32 address, void *buffer, u32 length) argument
196 ath10k_bmi_write_soc_reg(struct ath10k *ar, u32 address, u32 reg_val) argument
225 ath10k_bmi_read_soc_reg(struct ath10k *ar, u32 address, u32 *reg_val) argument
259 ath10k_bmi_write_memory(struct ath10k *ar, u32 address, const void *buffer, u32 length) argument
305 ath10k_bmi_execute(struct ath10k *ar, u32 address, u32 param, u32 *result) argument
344 ath10k_bmi_lz_data_large(struct ath10k *ar, const void *buffer, u32 length) argument
391 ath10k_bmi_lz_data(struct ath10k *ar, const void *buffer, u32 length) argument
429 ath10k_bmi_lz_stream_start(struct ath10k *ar, u32 address) argument
455 ath10k_bmi_fast_download(struct ath10k *ar, u32 address, const void *buffer, u32 length) argument
498 ath10k_bmi_set_start(struct ath10k *ar, u32 address) argument
[all...]
/linux-master/drivers/net/wireless/ath/carl9170/
H A Dled.c43 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, const char *trigger) argument
150 carl9170_led_unregister(struct ar9170 *ar) argument
164 carl9170_led_register(struct ar9170 *ar) argument
[all...]
H A Dusb.c133 static void carl9170_usb_submit_data_urb(struct ar9170 *ar) argument
138 if (atomic_inc_return(&ar->tx_anch_urbs) > AR9170_NUM_TX_URBS)
141 urb = usb_get_from_anchor(&ar->tx_wait);
145 usb_anchor_urb(urb, &ar->tx_anch);
150 dev_err(&ar->udev->dev, "tx submit failed (%d)\n",
155 usb_anchor_urb(urb, &ar->tx_err);
164 atomic_dec(&ar->tx_anch_urbs);
169 struct ar9170 *ar = usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0)); local
171 if (WARN_ON_ONCE(!ar)) {
176 atomic_dec(&ar
212 carl9170_usb_submit_cmd_urb(struct ar9170 *ar) argument
241 struct ar9170 *ar = urb->context; local
279 struct ar9170 *ar = urb->context; local
316 carl9170_usb_submit_rx_urb(struct ar9170 *ar, gfp_t gfp) argument
342 carl9170_usb_rx_work(struct ar9170 *ar) argument
367 carl9170_usb_handle_tx_err(struct ar9170 *ar) argument
382 struct ar9170 *ar = from_tasklet(ar, t, usb_tasklet); local
400 struct ar9170 *ar = urb->context; local
459 carl9170_usb_alloc_rx_urb(struct ar9170 *ar, gfp_t gfp) argument
483 carl9170_usb_send_rx_irq_urb(struct ar9170 *ar) argument
513 carl9170_usb_init_rx_bulk_urbs(struct ar9170 *ar) argument
556 carl9170_usb_flush(struct ar9170 *ar) argument
583 carl9170_usb_cancel_urbs(struct ar9170 *ar) argument
604 __carl9170_exec_cmd(struct ar9170 *ar, struct carl9170_cmd *cmd, const bool free_buf) argument
652 carl9170_exec_cmd(struct ar9170 *ar, const enum carl9170_cmd_oids cmd, unsigned int plen, void *payload, unsigned int outlen, void *out) argument
715 carl9170_usb_tx(struct ar9170 *ar, struct sk_buff *skb) argument
759 carl9170_release_firmware(struct ar9170 *ar) argument
767 carl9170_usb_stop(struct ar9170 *ar) argument
793 carl9170_usb_open(struct ar9170 *ar) argument
801 carl9170_usb_load_firmware(struct ar9170 *ar) argument
866 carl9170_usb_restart(struct ar9170 *ar) argument
908 carl9170_usb_reset(struct ar9170 *ar) argument
926 carl9170_usb_init_device(struct ar9170 *ar) argument
969 carl9170_usb_firmware_failed(struct ar9170 *ar) argument
990 carl9170_usb_firmware_finish(struct ar9170 *ar) argument
1024 struct ar9170 *ar = context; local
1040 struct ar9170 *ar; local
1108 struct ar9170 *ar = usb_get_intfdata(intf); local
1133 struct ar9170 *ar = usb_get_intfdata(intf); local
1145 struct ar9170 *ar = usb_get_intfdata(intf); local
[all...]
H A Dmain.c184 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
338 struct ar9170 *ar = hw->priv; local
430 carl9170_cancel_worker(struct ar9170 *ar) argument
444 struct ar9170 *ar = hw->priv; local
469 struct ar9170 *ar = container_of(work, struct ar9170, local
506 carl9170_restart(struct ar9170 *ar, const enum carl9170_restart_reasons r) argument
545 struct ar9170 *ar = container_of(work, struct ar9170, ping_work); local
558 carl9170_init_interface(struct ar9170 *ar, struct ieee80211_vif *vif) argument
602 struct ar9170 *ar = hw->priv; local
754 struct ar9170 *ar = hw->priv; local
811 carl9170_ps_check(struct ar9170 *ar) argument
817 carl9170_ps_update(struct ar9170 *ar) argument
847 struct ar9170 *ar = container_of(work, struct ar9170, local
855 carl9170_update_survey(struct ar9170 *ar, bool flush, bool noise) argument
879 struct ar9170 *ar = container_of(work, struct ar9170, stat_work.work); local
895 struct ar9170 *ar = hw->priv; local
977 struct ar9170 *ar = hw->priv; local
1037 struct ar9170 *ar = hw->priv; local
1144 struct ar9170 *ar = hw->priv; local
1163 struct ar9170 *ar = hw->priv; local
1333 struct ar9170 *ar = hw->priv; local
1372 struct ar9170 *ar = hw->priv; local
1384 struct ar9170 *ar = container_of(work, struct ar9170, local
1403 struct ar9170 *ar = hw->priv; local
1490 carl9170_register_wps_button(struct ar9170 *ar) argument
1525 carl9170_rng_get(struct ar9170 *ar) argument
1569 struct ar9170 *ar = (struct ar9170 *)rng->priv; local
1587 carl9170_register_hwrng(struct ar9170 *ar) argument
1611 struct ar9170 *ar = hw->priv; local
1665 struct ar9170 *ar = hw->priv; local
1679 struct ar9170 *ar = hw->priv; local
1709 struct ar9170 *ar = hw->priv; local
1745 struct ar9170 *ar; local
1850 carl9170_read_eeprom(struct ar9170 *ar) argument
1883 carl9170_parse_eeprom(struct ar9170 *ar) argument
1943 struct ar9170 *ar = hw->priv; local
1948 carl9170_register(struct ar9170 *ar) argument
2027 carl9170_unregister(struct ar9170 *ar) argument
2048 carl9170_free(struct ar9170 *ar) argument
[all...]
H A Dfw.c20 static const void *carl9170_fw_find_desc(struct ar9170 *ar, const u8 descid[4], argument
25 carl9170fw_for_each_hdr(iter, ar->fw.desc) {
39 static int carl9170_fw_verify_descs(struct ar9170 *ar, argument
82 static void carl9170_fw_info(struct ar9170 *ar) argument
88 dev_info(&ar->udev->dev, "driver API: %s 2%03d-%02d-%02d [%d-%d]\n",
93 motd_desc = carl9170_fw_find_desc(ar, MOTD_MAGIC,
102 dev_info(&ar->udev->dev, "firmware API: %.*s 2%03d-%02d-%02d\n",
108 strscpy(ar->hw->wiphy->fw_version, motd_desc->release,
109 sizeof(ar->hw->wiphy->fw_version));
131 static int carl9170_fw_checksum(struct ar9170 *ar, cons argument
188 carl9170_fw_tx_sequence(struct ar9170 *ar) argument
205 carl9170_fw_set_if_combinations(struct ar9170 *ar, u16 if_comb_types) argument
223 carl9170_fw(struct ar9170 *ar, const __u8 *data, size_t len) argument
365 carl9170_find_fw_desc(struct ar9170 *ar, const __u8 *fw_data, const size_t len) argument
394 carl9170_parse_firmware(struct ar9170 *ar) argument
[all...]
H A Drx.c49 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
825 carl9170_rx_untie_cmds(struct ar9170 *ar, const u8 *respbuf, const unsigned int resplen) argument
854 __carl9170_rx(struct ar9170 *ar, u8 *buf, unsigned int len) argument
875 carl9170_rx_stream(struct ar9170 *ar, void *buf, unsigned int len) argument
1007 carl9170_rx(struct ar9170 *ar, void *buf, unsigned int len) argument
[all...]
/linux-master/arch/xtensa/include/asm/
H A Dcacheasm.h35 .macro __loop_cache_unroll ar at insn size line_width max_immed
45 __loopi \ar, \at, \size, (_reps << (\line_width))
48 \insn \ar, _index << (\line_width)
51 __endla \ar, \at, _reps << (\line_width)
56 .macro __loop_cache_all ar at insn size line_width max_immed
58 movi \ar, 0
59 __loop_cache_unroll \ar, \at, \insn, \size, \line_width, \max_immed variable
64 .macro __loop_cache_range ar as at insn line_width
66 extui \at, \ar, 0, \line_width variable
69 __loops \ar, \a variable
70 \\insn \\ar, 0 variable
71 __endla \\ar, \\at, (1 << (\\line_width)) variable
[all...]
/linux-master/drivers/net/wireless/ath/ar5523/
H A Dar5523.c45 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 too 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
175 ar5523_alloc_rx_cmd(struct ar5523 *ar) argument
191 ar5523_cancel_rx_cmd(struct ar5523 *ar) argument
196 ar5523_free_rx_cmd(struct ar5523 *ar) argument
203 ar5523_submit_rx_cmd(struct ar5523 *ar) argument
228 struct ar5523 *ar = cmd->ar; local
244 ar5523_cancel_tx_cmd(struct ar5523 *ar) argument
249 ar5523_cmd(struct ar5523 *ar, u32 code, const void *idata, int ilen, void *odata, int olen, int flags) argument
297 ar5523_cmd_write(struct ar5523 *ar, u32 code, const void *data, int len, int flags) argument
304 ar5523_cmd_read(struct ar5523 *ar, u32 code, const void *idata, int ilen, void *odata, int olen, int flags) argument
311 ar5523_config(struct ar5523 *ar, u32 reg, u32 val) argument
327 ar5523_config_multi(struct ar5523 *ar, u32 reg, const void *data, int len) argument
346 ar5523_get_status(struct ar5523 *ar, u32 which, void *odata, int olen) argument
360 ar5523_get_capability(struct ar5523 *ar, u32 cap, u32 *val) argument
377 ar5523_get_devcap(struct ar5523 *ar) argument
426 ar5523_set_ledsteady(struct ar5523 *ar, int lednum, int ledmode) argument
440 ar5523_set_rxfilter(struct ar5523 *ar, u32 bits, u32 op) argument
452 ar5523_reset_tx_queues(struct ar5523 *ar) argument
461 ar5523_set_chan(struct ar5523 *ar) argument
481 ar5523_queue_init(struct ar5523 *ar) argument
499 ar5523_switch_chan(struct ar5523 *ar) argument
525 ar5523_rx_data_put(struct ar5523 *ar, struct ar5523_rx_data *data) argument
537 struct ar5523 *ar = data->ar; local
628 struct ar5523 *ar = container_of(work, struct ar5523, rx_refill_work); local
677 ar5523_cancel_rx_bufs(struct ar5523 *ar) argument
699 ar5523_free_rx_bufs(struct ar5523 *ar) argument
711 ar5523_alloc_rx_bufs(struct ar5523 *ar) argument
732 ar5523_data_tx_pkt_put(struct ar5523 *ar) argument
752 struct ar5523 *ar = data->ar; local
779 struct ar5523 *ar = hw->priv; local
798 ar5523_tx_work_locked(struct ar5523 *ar) argument
895 struct ar5523 *ar = container_of(work, struct ar5523, tx_work); local
905 struct ar5523 *ar = from_timer(ar, t, tx_wd_timer); local
913 struct ar5523 *ar = container_of(work, struct ar5523, tx_wd_work); local
929 ar5523_flush_tx(struct ar5523 *ar) argument
943 ar5523_free_tx_cmd(struct ar5523 *ar) argument
952 ar5523_alloc_tx_cmd(struct ar5523 *ar) argument
978 struct ar5523 *ar = container_of(work, struct ar5523, stat_work.work); local
1000 struct ar5523 *ar = hw->priv; local
1066 struct ar5523 *ar = hw->priv; local
1088 struct ar5523 *ar = hw->priv; local
1103 struct ar5523 *ar = hw->priv; local
1112 struct ar5523 *ar = hw->priv; local
1134 struct ar5523 *ar = hw->priv; local
1142 struct ar5523 *ar = hw->priv; local
1155 ar5523_get_wlan_mode(struct ar5523 *ar, struct ieee80211_bss_conf *bss_conf) argument
1191 ar5523_create_rateset(struct ar5523 *ar, struct ieee80211_bss_conf *bss_conf, struct ar5523_cmd_rateset *rs, bool basic) argument
1229 ar5523_set_basic_rates(struct ar5523 *ar, struct ieee80211_bss_conf *bss) argument
1243 ar5523_create_connection(struct ar5523 *ar, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss) argument
1265 ar5523_write_associd(struct ar5523 *ar, struct ieee80211_vif *vif) argument
1284 struct ar5523 *ar = hw->priv; local
1337 struct ar5523 *ar = hw->priv; local
1378 ar5523_host_available(struct ar5523 *ar) argument
1391 ar5523_get_devstatus(struct ar5523 *ar) argument
1416 ar5523_get_max_rxsz(struct ar5523 *ar) argument
1477 ar5523_init_modes(struct ar5523 *ar) argument
1594 struct ar5523 *ar; local
1738 struct ar5523 *ar = hw->priv; local
[all...]

Completed in 192 milliseconds

12345678910