Searched defs:ar (Results 1 - 25 of 69) sorted by relevance

123

/drivers/net/wireless/ath/ath10k/
H A Dhtt.c40 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 Dtestmode.h21 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 Dmac.h25 struct ath10k *ar; member in struct:ath10k_generic_iter
30 void ath10k_mac_destroy(struct ath10k *ar);
31 int ath10k_mac_register(struct ath10k *ar);
32 void ath10k_mac_unregister(struct ath10k *ar);
33 struct ath10k_vif *ath10k_get_arvif(struct ath10k *ar, u32 vdev_id);
34 void __ath10k_scan_finish(struct ath10k *ar);
35 void ath10k_scan_finish(struct ath10k *ar);
37 void ath10k_offchan_tx_purge(struct ath10k *ar);
39 void ath10k_mgmt_over_wmi_tx_purge(struct ath10k *ar);
41 void ath10k_halt(struct ath10k *ar);
[all...]
H A Dspectral.h49 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 Dbmi.c23 void ath10k_bmi_start(struct ath10k *ar) argument
25 ath10k_dbg(ar, ATH10K_DBG_BMI, "bmi start\n");
27 ar->bmi.done_sent = false;
30 int ath10k_bmi_done(struct ath10k *ar) argument
36 ath10k_dbg(ar, ATH10K_DBG_BMI, "bmi done\n");
38 if (ar->bmi.done_sent) {
39 ath10k_dbg(ar, ATH10K_DBG_BMI, "bmi skipped\n");
43 ar->bmi.done_sent = true;
46 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, NULL, NULL);
48 ath10k_warn(ar, "unabl
55 ath10k_bmi_get_target_info(struct ath10k *ar, struct bmi_target_info *target_info) argument
91 ath10k_bmi_read_memory(struct ath10k *ar, u32 address, void *buffer, u32 length) argument
132 ath10k_bmi_write_memory(struct ath10k *ar, u32 address, const void *buffer, u32 length) argument
178 ath10k_bmi_execute(struct ath10k *ar, u32 address, u32 param, u32 *result) argument
217 ath10k_bmi_lz_data(struct ath10k *ar, const void *buffer, u32 length) argument
255 ath10k_bmi_lz_stream_start(struct ath10k *ar, u32 address) argument
281 ath10k_bmi_fast_download(struct ath10k *ar, u32 address, const void *buffer, u32 length) argument
[all...]
H A Dtestmode.c41 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 Dtxrx.c24 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...]
H A Dcore.c55 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, &param_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 Ddebug.h43 __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 Dhif.h33 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 Dhtt_tx.c29 ieee80211_wake_queues(htt->ar->hw);
52 ieee80211_stop_queues(htt->ar->hw);
61 struct ath10k *ar = htt->ar; local
71 ath10k_dbg(ar, ATH10K_DBG_HTT, "htt tx alloc msdu_id %d\n", msdu_id);
78 struct ath10k *ar = htt->ar; local
83 ath10k_warn(ar, "trying to free unallocated msdu_id %d\n",
86 ath10k_dbg(ar, ATH10K_DBG_HTT, "htt tx free msdu_id %hu\n", msdu_id);
92 struct ath10k *ar local
131 struct ath10k *ar = htt->ar; local
159 ath10k_htt_htc_tx_complete(struct ath10k *ar, struct sk_buff *skb) argument
166 struct ath10k *ar = htt->ar; local
194 struct ath10k *ar = htt->ar; local
236 struct ath10k *ar = htt->ar; local
324 struct ath10k *ar = htt->ar; local
369 struct ath10k *ar = htt->ar; local
443 struct ath10k *ar = htt->ar; local
[all...]
/drivers/net/wireless/ath/ath6kl/
H A Dtestmode.h22 void ath6kl_tm_rx_event(struct ath6kl *ar, void *buf, size_t buf_len);
28 static inline void ath6kl_tm_rx_event(struct ath6kl *ar, void *buf, argument
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 = (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 Dcore.c52 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 Dhtc-ops.h23 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...]
H A Dtestmode.c46 void ath6kl_tm_rx_event(struct ath6kl *ar, void *buf, size_t buf_len) argument
53 skb = cfg80211_testmode_alloc_event_skb(ar->wiphy, buf_len, GFP_KERNEL);
72 struct ath6kl *ar = wiphy_priv(wiphy); local
93 ath6kl_wmi_test_cmd(ar->wmi, buf, buf_len);
H A Dbmi.c23 int ath6kl_bmi_done(struct ath6kl *ar) argument
28 if (ar->bmi.done_sent) {
33 ar->bmi.done_sent = true;
35 ret = ath6kl_hif_bmi_write(ar, (u8 *)&cid, sizeof(cid));
44 int ath6kl_bmi_get_target_info(struct ath6kl *ar, argument
50 if (ar->bmi.done_sent) {
55 ret = ath6kl_hif_bmi_write(ar, (u8 *)&cid, sizeof(cid));
61 if (ar->hif_type == ATH6KL_HIF_TYPE_USB) {
62 ret = ath6kl_hif_bmi_read(ar, (u8 *)targ_info,
65 ret = ath6kl_hif_bmi_read(ar, (u
114 ath6kl_bmi_read(struct ath6kl *ar, u32 addr, u8 *buf, u32 len) argument
170 ath6kl_bmi_write(struct ath6kl *ar, u32 addr, u8 *buf, u32 len) argument
237 ath6kl_bmi_execute(struct ath6kl *ar, u32 addr, u32 *param) argument
284 ath6kl_bmi_set_app_start(struct ath6kl *ar, u32 addr) argument
320 ath6kl_bmi_reg_read(struct ath6kl *ar, u32 addr, u32 *param) argument
363 ath6kl_bmi_reg_write(struct ath6kl *ar, u32 addr, u32 param) argument
403 ath6kl_bmi_lz_data(struct ath6kl *ar, u8 *buf, u32 len) argument
454 ath6kl_bmi_lz_stream_start(struct ath6kl *ar, u32 addr) argument
493 ath6kl_bmi_fast_download(struct ath6kl *ar, u32 addr, u8 *buf, u32 len) argument
524 ath6kl_bmi_reset(struct ath6kl *ar) argument
529 ath6kl_bmi_init(struct ath6kl *ar) argument
544 ath6kl_bmi_cleanup(struct ath6kl *ar) argument
[all...]
H A Ddebug.h73 void ath6kl_debug_fwlog_event(struct ath6kl *ar, const void *buf, size_t len);
74 void ath6kl_debug_war(struct ath6kl *ar, enum ath6kl_war war);
75 int ath6kl_debug_roam_tbl_event(struct ath6kl *ar, const void *buf,
77 void ath6kl_debug_set_keepalive(struct ath6kl *ar, u8 keepalive);
78 void ath6kl_debug_set_disconnect_timeout(struct ath6kl *ar, u8 timeout);
79 void ath6kl_debug_init(struct ath6kl *ar);
80 int ath6kl_debug_init_fs(struct ath6kl *ar);
81 void ath6kl_debug_cleanup(struct ath6kl *ar);
106 static inline void ath6kl_debug_fwlog_event(struct ath6kl *ar, argument
111 static inline void ath6kl_debug_war(struct ath6kl *ar, enu argument
115 ath6kl_debug_roam_tbl_event(struct ath6kl *ar, const void *buf, size_t len) argument
121 ath6kl_debug_set_keepalive(struct ath6kl *ar, u8 keepalive) argument
125 ath6kl_debug_set_disconnect_timeout(struct ath6kl *ar, u8 timeout) argument
130 ath6kl_debug_init(struct ath6kl *ar) argument
134 ath6kl_debug_init_fs(struct ath6kl *ar) argument
139 ath6kl_debug_cleanup(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 Dhif.c70 static void ath6kl_hif_dump_fw_crash(struct ath6kl *ar) argument
76 if (ar->target_type != TARGET_TYPE_AR6003)
80 address = ath6kl_get_hi_item_addr(ar, HI_ITEM(hi_failure_state));
81 address = TARG_VTOP(ar->target_type, address);
84 ret = ath6kl_diag_read32(ar, address, &regdump_addr);
94 regdump_addr = TARG_VTOP(ar->target_type, regdump_addr);
97 ret = ath6kl_diag_read(ar, regdump_addr, (u8 *)&regdump_val[0],
105 ath6kl_info("hw 0x%x fw %s\n", ar->wiphy->hw_version,
106 ar->wiphy->fw_version);
131 ret = hif_read_write_sync(dev->ar, COUNT_DEC_ADDRES
543 ath6kl_hif_intr_bh_handler(struct ath6kl *ar) argument
[all...]
/drivers/net/wireless/ath/carl9170/
H A Dcmd.h45 int carl9170_write_reg(struct ar9170 *ar, const u32 reg, const u32 val);
46 int carl9170_read_reg(struct ar9170 *ar, const u32 reg, u32 *val);
47 int carl9170_read_mreg(struct ar9170 *ar, const int nregs,
49 int carl9170_echo_test(struct ar9170 *ar, u32 v);
50 int carl9170_reboot(struct ar9170 *ar);
51 int carl9170_mac_reset(struct ar9170 *ar);
52 int carl9170_powersave(struct ar9170 *ar, const bool power_on);
53 int carl9170_collect_tally(struct ar9170 *ar);
54 int carl9170_bcn_ctrl(struct ar9170 *ar, const unsigned int vif_id,
57 static inline int carl9170_flush_cab(struct ar9170 *ar, argument
63 carl9170_rx_filter(struct ar9170 *ar, const unsigned int _rx_filter) argument
[all...]
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, char *trigger) argument
150 carl9170_led_unregister(struct ar9170 *ar) argument
164 carl9170_led_register(struct ar9170 *ar) argument
[all...]
H A Dcmd.c43 int carl9170_write_reg(struct ar9170 *ar, const u32 reg, const u32 val) argument
51 err = carl9170_exec_cmd(ar, CARL9170_CMD_WREG, sizeof(buf),
55 wiphy_err(ar->hw->wiphy, "writing reg %#x "
62 int carl9170_read_mreg(struct ar9170 *ar, const int nregs, argument
76 err = carl9170_exec_cmd(ar, CARL9170_CMD_RREG,
81 wiphy_err(ar->hw->wiphy, "reading regs failed (%d)\n",
94 int carl9170_read_reg(struct ar9170 *ar, u32 reg, u32 *val) argument
96 return carl9170_read_mreg(ar, 1, &reg, val);
99 int carl9170_echo_test(struct ar9170 *ar, const u32 v) argument
104 err = carl9170_exec_cmd(ar, CARL9170_CMD_ECH
118 carl9170_cmd_buf(struct ar9170 *ar, const enum carl9170_cmd_oids cmd, const unsigned int len) argument
132 carl9170_reboot(struct ar9170 *ar) argument
145 carl9170_mac_reset(struct ar9170 *ar) argument
151 carl9170_bcn_ctrl(struct ar9170 *ar, const unsigned int vif_id, const u32 mode, const u32 addr, const u32 len) argument
169 carl9170_collect_tally(struct ar9170 *ar) argument
202 carl9170_powersave(struct ar9170 *ar, const bool ps) argument
[all...]
/drivers/edac/
H A Dcell_edac.c34 static void cell_edac_count_ce(struct mem_ctl_info *mci, int chan, u64 ar) argument
40 dev_dbg(mci->pdev, "ECC CE err on node %d, channel %d, ar = 0x%016llx\n",
41 priv->node, chan, ar);
44 address = (ar & 0xffffffffe0000000ul) >> 29;
49 syndrome = (ar & 0x000000001fe00000ul) >> 21;
57 static void cell_edac_count_ue(struct mem_ctl_info *mci, int chan, u64 ar) argument
63 dev_dbg(mci->pdev, "ECC UE err on node %d, channel %d, ar = 0x%016llx\n",
64 priv->node, chan, ar);
67 address = (ar & 0xffffffffe0000000ul) >> 29;
/drivers/staging/lustre/lustre/osc/
H A Dosc_object.c141 struct osc_async_rc *ar = &oinfo->loi_ar; local
147 ar->ar_rc, ar->ar_force_sync, ar->ar_min_xid);

Completed in 2309 milliseconds

123