Home
last modified time | relevance | path

Searched defs:ar (Results 1 – 25 of 71) sorted by relevance

123

/drivers/net/wireless/ath/ath6kl/
Dhif-ops.h24 static inline int hif_read_write_sync(struct ath6kl *ar, u32 addr, u8 *buf, in hif_read_write_sync()
35 static inline int hif_write_async(struct ath6kl *ar, u32 address, u8 *buffer, in hif_write_async()
46 static inline void ath6kl_hif_irq_enable(struct ath6kl *ar) in ath6kl_hif_irq_enable()
53 static inline void ath6kl_hif_irq_disable(struct ath6kl *ar) in ath6kl_hif_irq_disable()
60 static inline struct hif_scatter_req *hif_scatter_req_get(struct ath6kl *ar) in hif_scatter_req_get()
65 static inline void hif_scatter_req_add(struct ath6kl *ar, in hif_scatter_req_add()
71 static inline int ath6kl_hif_enable_scatter(struct ath6kl *ar) in ath6kl_hif_enable_scatter()
76 static inline int ath6kl_hif_scat_req_rw(struct ath6kl *ar, in ath6kl_hif_scat_req_rw()
82 static inline void ath6kl_hif_cleanup_scatter(struct ath6kl *ar) in ath6kl_hif_cleanup_scatter()
87 static inline int ath6kl_hif_suspend(struct ath6kl *ar, in ath6kl_hif_suspend()
[all …]
Dinit.c250 static int ath6kl_set_host_app_area(struct ath6kl *ar) in ath6kl_set_host_app_area()
272 static inline void set_ac2_ep_map(struct ath6kl *ar, in set_ac2_ep_map()
281 static int ath6kl_connectservice(struct ath6kl *ar, in ath6kl_connectservice()
323 static int ath6kl_init_service_ep(struct ath6kl *ar) in ath6kl_init_service_ep()
415 static int ath6kl_set_htc_params(struct ath6kl *ar, u32 mbox_isr_yield_val, in ath6kl_set_htc_params()
451 static int ath6kl_target_config_wlan_params(struct ath6kl *ar, int idx) in ath6kl_target_config_wlan_params()
535 int ath6kl_configure_target(struct ath6kl *ar) in ath6kl_configure_target()
665 static int ath6kl_get_fw(struct ath6kl *ar, const char *filename, in ath6kl_get_fw()
693 static bool check_device_tree(struct ath6kl *ar) in check_device_tree()
723 static bool check_device_tree(struct ath6kl *ar) in check_device_tree()
[all …]
Drecovery.c23 struct ath6kl *ar = container_of(work, struct ath6kl, in ath6kl_recovery_work() local
42 void ath6kl_recovery_err_notify(struct ath6kl *ar, enum ath6kl_fw_err reason) in ath6kl_recovery_err_notify()
57 void ath6kl_recovery_hb_event(struct ath6kl *ar, u32 cookie) in ath6kl_recovery_hb_event()
65 struct ath6kl *ar = (struct ath6kl *) data; in ath6kl_recovery_hb_timer() local
98 void ath6kl_recovery_init(struct ath6kl *ar) in ath6kl_recovery_init()
116 void ath6kl_recovery_cleanup(struct ath6kl *ar) in ath6kl_recovery_cleanup()
127 void ath6kl_recovery_suspend(struct ath6kl *ar) in ath6kl_recovery_suspend()
145 void ath6kl_recovery_resume(struct ath6kl *ar) in ath6kl_recovery_resume()
Dmain.c28 struct ath6kl *ar = vif->ar; in ath6kl_find_sta() local
47 struct ath6kl_sta *ath6kl_find_sta_by_aid(struct ath6kl *ar, u8 aid) in ath6kl_find_sta_by_aid()
65 struct ath6kl *ar = vif->ar; in ath6kl_add_new_sta() local
86 static void ath6kl_sta_cleanup(struct ath6kl *ar, u8 i) in ath6kl_sta_cleanup()
117 static u8 ath6kl_remove_sta(struct ath6kl *ar, u8 *mac, u16 reason) in ath6kl_remove_sta()
151 struct ath6kl *ar = devt; in ath6kl_ac2_endpoint_id() local
155 struct ath6kl_cookie *ath6kl_alloc_cookie(struct ath6kl *ar) in ath6kl_alloc_cookie()
168 void ath6kl_cookie_init(struct ath6kl *ar) in ath6kl_cookie_init()
181 void ath6kl_cookie_cleanup(struct ath6kl *ar) in ath6kl_cookie_cleanup()
187 void ath6kl_free_cookie(struct ath6kl *ar, struct ath6kl_cookie *cookie) in ath6kl_free_cookie()
[all …]
Dcfg80211.c148 struct ath6kl *ar = vif->ar; in __ath6kl_cfg80211_sscan_stop() local
165 struct ath6kl *ar = vif->ar; in ath6kl_cfg80211_sscan_disable() local
287 struct ath6kl *ar = vif->ar; in ath6kl_cfg80211_ready() local
325 struct ath6kl *ar = vif->ar; in ath6kl_set_assoc_req_ies() local
390 static bool ath6kl_is_valid_iftype(struct ath6kl *ar, enum nl80211_iftype type, in ath6kl_is_valid_iftype()
425 static bool ath6kl_is_tx_pending(struct ath6kl *ar) in ath6kl_is_tx_pending()
458 struct ath6kl *ar = ath6kl_priv(dev); in ath6kl_cfg80211_connect() local
687 struct ath6kl *ar = vif->ar; in ath6kl_add_bss_if_needed() local
743 struct ath6kl *ar = vif->ar; in ath6kl_cfg80211_connect_event() local
818 struct ath6kl *ar = ath6kl_priv(dev); in ath6kl_cfg80211_disconnect() local
[all …]
Dbmi.c23 int ath6kl_bmi_done(struct ath6kl *ar) in ath6kl_bmi_done()
44 int ath6kl_bmi_get_target_info(struct ath6kl *ar, in ath6kl_bmi_get_target_info()
114 int ath6kl_bmi_read(struct ath6kl *ar, u32 addr, u8 *buf, u32 len) in ath6kl_bmi_read()
170 int ath6kl_bmi_write(struct ath6kl *ar, u32 addr, u8 *buf, u32 len) in ath6kl_bmi_write()
237 int ath6kl_bmi_execute(struct ath6kl *ar, u32 addr, u32 *param) in ath6kl_bmi_execute()
284 int ath6kl_bmi_set_app_start(struct ath6kl *ar, u32 addr) in ath6kl_bmi_set_app_start()
320 int ath6kl_bmi_reg_read(struct ath6kl *ar, u32 addr, u32 *param) in ath6kl_bmi_reg_read()
363 int ath6kl_bmi_reg_write(struct ath6kl *ar, u32 addr, u32 param) in ath6kl_bmi_reg_write()
403 int ath6kl_bmi_lz_data(struct ath6kl *ar, u8 *buf, u32 len) in ath6kl_bmi_lz_data()
454 int ath6kl_bmi_lz_stream_start(struct ath6kl *ar, u32 addr) in ath6kl_bmi_lz_stream_start()
[all …]
Dsdio.c45 struct ath6kl *ar; member
78 static inline struct ath6kl_sdio *ath6kl_sdio_priv(struct ath6kl *ar) in ath6kl_sdio_priv()
94 static void ath6kl_sdio_set_mbox_info(struct ath6kl *ar) in ath6kl_sdio_set_mbox_info()
407 static int ath6kl_sdio_read_write_sync(struct ath6kl *ar, u32 addr, u8 *buf, in ath6kl_sdio_read_write_sync()
501 static int ath6kl_sdio_power_on(struct ath6kl *ar) in ath6kl_sdio_power_on()
534 static int ath6kl_sdio_power_off(struct ath6kl *ar) in ath6kl_sdio_power_off()
557 static int ath6kl_sdio_write_async(struct ath6kl *ar, u32 address, u8 *buffer, in ath6kl_sdio_write_async()
583 static void ath6kl_sdio_irq_enable(struct ath6kl *ar) in ath6kl_sdio_irq_enable()
598 static bool ath6kl_sdio_is_on_irq(struct ath6kl *ar) in ath6kl_sdio_is_on_irq()
605 static void ath6kl_sdio_irq_disable(struct ath6kl *ar) in ath6kl_sdio_irq_disable()
[all …]
/drivers/net/wireless/ath/carl9170/
Dusb.c131 static void carl9170_usb_submit_data_urb(struct ar9170 *ar) in carl9170_usb_submit_data_urb()
167 struct ar9170 *ar = usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0)); in carl9170_usb_tx_data_complete() local
210 static int carl9170_usb_submit_cmd_urb(struct ar9170 *ar) in carl9170_usb_submit_cmd_urb()
239 struct ar9170 *ar = urb->context; in carl9170_usb_cmd_complete() local
277 struct ar9170 *ar = urb->context; in carl9170_usb_rx_irq_complete() local
314 static int carl9170_usb_submit_rx_urb(struct ar9170 *ar, gfp_t gfp) in carl9170_usb_submit_rx_urb()
340 static void carl9170_usb_rx_work(struct ar9170 *ar) in carl9170_usb_rx_work()
365 void carl9170_usb_handle_tx_err(struct ar9170 *ar) in carl9170_usb_handle_tx_err()
380 struct ar9170 *ar = (struct ar9170 *) data; in carl9170_usb_tasklet() local
398 struct ar9170 *ar = (struct ar9170 *)urb->context; in carl9170_usb_rx_complete() local
[all …]
Dtx.c48 static inline unsigned int __carl9170_get_queue(struct ar9170 *ar, in __carl9170_get_queue()
64 static inline unsigned int carl9170_get_queue(struct ar9170 *ar, in carl9170_get_queue()
70 static bool is_mem_full(struct ar9170 *ar) in is_mem_full()
76 static void carl9170_tx_accounting(struct ar9170 *ar, struct sk_buff *skb) in carl9170_tx_accounting()
107 static struct ieee80211_sta *__carl9170_get_tx_sta(struct ar9170 *ar, in __carl9170_get_tx_sta()
138 static void carl9170_tx_ps_unblock(struct ar9170 *ar, struct sk_buff *skb) in carl9170_tx_ps_unblock()
156 static void carl9170_tx_accounting_free(struct ar9170 *ar, struct sk_buff *skb) in carl9170_tx_accounting_free()
190 static int carl9170_alloc_dev_space(struct ar9170 *ar, struct sk_buff *skb) in carl9170_alloc_dev_space()
226 static void carl9170_release_dev_space(struct ar9170 *ar, struct sk_buff *skb) in carl9170_release_dev_space()
264 struct ar9170 *ar; in carl9170_tx_release() local
[all …]
Dmain.c184 static void carl9170_ampdu_gc(struct ar9170 *ar) in carl9170_ampdu_gc()
219 static void carl9170_flush(struct ar9170 *ar, bool drop_queued) in carl9170_flush()
249 static void carl9170_flush_ba(struct ar9170 *ar) in carl9170_flush_ba()
276 static void carl9170_zap_queues(struct ar9170 *ar) in carl9170_zap_queues()
339 struct ar9170 *ar = hw->priv; in carl9170_op_start() local
431 static void carl9170_cancel_worker(struct ar9170 *ar) in carl9170_cancel_worker()
445 struct ar9170 *ar = hw->priv; in carl9170_op_stop() local
470 struct ar9170 *ar = container_of(work, struct ar9170, in carl9170_restart_work() local
507 void carl9170_restart(struct ar9170 *ar, const enum carl9170_restart_reasons r) in carl9170_restart()
546 struct ar9170 *ar = container_of(work, struct ar9170, ping_work); in carl9170_ping_work() local
[all …]
Dmac.c44 int carl9170_set_dyn_sifs_ack(struct ar9170 *ar) in carl9170_set_dyn_sifs_ack()
60 int carl9170_set_rts_cts_rate(struct ar9170 *ar) in carl9170_set_rts_cts_rate()
84 int carl9170_set_slot_time(struct ar9170 *ar) in carl9170_set_slot_time()
106 int carl9170_set_mac_rates(struct ar9170 *ar) in carl9170_set_mac_rates()
136 int carl9170_set_qos(struct ar9170 *ar) in carl9170_set_qos()
171 int carl9170_init_mac(struct ar9170 *ar) in carl9170_init_mac()
257 static int carl9170_set_mac_reg(struct ar9170 *ar, in carl9170_set_mac_reg()
275 int carl9170_mod_virtual_mac(struct ar9170 *ar, const unsigned int id, in carl9170_mod_virtual_mac()
285 int carl9170_update_multicast(struct ar9170 *ar, const u64 mc_hash) in carl9170_update_multicast()
301 int carl9170_set_operating_mode(struct ar9170 *ar) in carl9170_set_operating_mode()
[all …]
Dcmd.c43 int carl9170_write_reg(struct ar9170 *ar, const u32 reg, const u32 val) in carl9170_write_reg()
62 int carl9170_read_mreg(struct ar9170 *ar, const int nregs, in carl9170_read_mreg()
94 int carl9170_read_reg(struct ar9170 *ar, u32 reg, u32 *val) in carl9170_read_reg()
99 int carl9170_echo_test(struct ar9170 *ar, const u32 v) in carl9170_echo_test()
118 struct carl9170_cmd *carl9170_cmd_buf(struct ar9170 *ar, in carl9170_cmd_buf()
132 int carl9170_reboot(struct ar9170 *ar) in carl9170_reboot()
145 int carl9170_mac_reset(struct ar9170 *ar) in carl9170_mac_reset()
151 int carl9170_bcn_ctrl(struct ar9170 *ar, const unsigned int vif_id, in carl9170_bcn_ctrl()
169 int carl9170_collect_tally(struct ar9170 *ar) in carl9170_collect_tally()
202 int carl9170_powersave(struct ar9170 *ar, const bool ps) in carl9170_powersave()
Drx.c49 static void carl9170_dbg_message(struct ar9170 *ar, const char *buf, u32 len) in carl9170_dbg_message()
76 static void carl9170_handle_ps(struct ar9170 *ar, struct carl9170_rsp *rsp) in carl9170_handle_ps()
96 static int carl9170_check_sequence(struct ar9170 *ar, unsigned int seq) in carl9170_check_sequence()
129 static void carl9170_cmd_callback(struct ar9170 *ar, u32 len, void *buffer) in carl9170_cmd_callback()
161 void carl9170_handle_command_response(struct ar9170 *ar, void *buf, u32 len) in carl9170_handle_command_response()
289 static int carl9170_rx_mac_status(struct ar9170 *ar, in carl9170_rx_mac_status()
442 static void carl9170_rx_phy_status(struct ar9170 *ar, in carl9170_rx_phy_status()
518 static void carl9170_ps_beacon(struct ar9170 *ar, void *data, unsigned int len) in carl9170_ps_beacon()
573 static void carl9170_ba_check(struct ar9170 *ar, void *data, unsigned int len) in carl9170_ba_check()
620 static bool carl9170_ampdu_check(struct ar9170 *ar, u8 *buf, u8 ms, in carl9170_ampdu_check()
[all …]
Ddebug.c66 struct ar9170 *ar; in carl9170_debugfs_read() local
116 struct ar9170 *ar; in carl9170_debugfs_write() local
214 static char *carl9170_debugfs_mem_usage_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_mem_usage_read()
241 static char *carl9170_debugfs_qos_stat_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_qos_stat_read()
285 static void carl9170_debugfs_format_frame(struct ar9170 *ar, in carl9170_debugfs_format_frame()
302 static char *carl9170_debugfs_ampdu_state_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_ampdu_state_read()
362 static void carl9170_debugfs_queue_dump(struct ar9170 *ar, char *buf, in carl9170_debugfs_queue_dump()
388 static char *carl9170_debugfs_sta_psm_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_sta_psm_read()
404 static char *carl9170_debugfs_tx_stuck_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_tx_stuck_read()
422 static char *carl9170_debugfs_phy_noise_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_phy_noise_read()
[all …]
/drivers/net/wireless/ath/ath10k/
Dcore.c55 static void ath10k_send_suspend_complete(struct ath10k *ar) in ath10k_send_suspend_complete()
62 static int ath10k_init_configure_target(struct ath10k *ar) in ath10k_init_configure_target()
119 static const struct firmware *ath10k_fetch_fw_file(struct ath10k *ar, in ath10k_fetch_fw_file()
141 static int ath10k_push_board_ext_data(struct ath10k *ar) in ath10k_push_board_ext_data()
187 static int ath10k_download_board_data(struct ath10k *ar) in ath10k_download_board_data()
223 static int ath10k_download_and_run_otp(struct ath10k *ar) in ath10k_download_and_run_otp()
261 static int ath10k_download_fw(struct ath10k *ar, enum ath10k_firmware_mode mode) in ath10k_download_fw()
300 static void ath10k_core_free_firmware_files(struct ath10k *ar) in ath10k_core_free_firmware_files()
324 static int ath10k_core_fetch_firmware_api_1(struct ath10k *ar) in ath10k_core_fetch_firmware_api_1()
385 static int ath10k_core_fetch_firmware_api_n(struct ath10k *ar, const char *name) in ath10k_core_fetch_firmware_api_n()
[all …]
Dpci.c318 static bool ath10k_pci_irq_pending(struct ath10k *ar) in ath10k_pci_irq_pending()
331 static void ath10k_pci_disable_and_clear_legacy_irq(struct ath10k *ar) in ath10k_pci_disable_and_clear_legacy_irq()
347 static void ath10k_pci_enable_legacy_irq(struct ath10k *ar) in ath10k_pci_enable_legacy_irq()
359 static inline const char *ath10k_pci_get_irq_method(struct ath10k *ar) in ath10k_pci_get_irq_method()
374 struct ath10k *ar = pipe->hif_ce_state; in __ath10k_pci_rx_post_buf() local
414 struct ath10k *ar = pipe->hif_ce_state; in __ath10k_pci_rx_post_pipe() local
441 struct ath10k *ar = pipe->hif_ce_state; in ath10k_pci_rx_post_pipe() local
449 static void ath10k_pci_rx_post(struct ath10k *ar) in ath10k_pci_rx_post()
462 struct ath10k *ar = (void *)ptr; in ath10k_pci_rx_replenish_retry() local
472 static int ath10k_pci_diag_read_mem(struct ath10k *ar, u32 address, void *data, in ath10k_pci_diag_read_mem()
[all …]
Dwmi.c612 int ath10k_wmi_wait_for_service_ready(struct ath10k *ar) in ath10k_wmi_wait_for_service_ready()
621 int ath10k_wmi_wait_for_unified_ready(struct ath10k *ar) in ath10k_wmi_wait_for_unified_ready()
630 struct sk_buff *ath10k_wmi_alloc_skb(struct ath10k *ar, u32 len) in ath10k_wmi_alloc_skb()
649 static void ath10k_wmi_htc_tx_complete(struct ath10k *ar, struct sk_buff *skb) in ath10k_wmi_htc_tx_complete()
654 static int ath10k_wmi_cmd_send_nowait(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_cmd_send_nowait()
713 static void ath10k_wmi_tx_beacons_nowait(struct ath10k *ar) in ath10k_wmi_tx_beacons_nowait()
723 static void ath10k_wmi_op_ep_tx_credits(struct ath10k *ar) in ath10k_wmi_op_ep_tx_credits()
731 int ath10k_wmi_cmd_send(struct ath10k *ar, struct sk_buff *skb, u32 cmd_id) in ath10k_wmi_cmd_send()
757 int ath10k_wmi_mgmt_tx(struct ath10k *ar, struct sk_buff *skb) in ath10k_wmi_mgmt_tx()
816 static void ath10k_wmi_event_scan_started(struct ath10k *ar) in ath10k_wmi_event_scan_started()
[all …]
Dmac.c40 struct ath10k *ar = arvif->ar; in ath10k_send_key() local
95 struct ath10k *ar = arvif->ar; in ath10k_install_key() local
116 struct ath10k *ar = arvif->ar; in ath10k_install_peer_wep_keys() local
148 struct ath10k *ar = arvif->ar; in ath10k_clear_peer_keys() local
185 struct ath10k *ar = arvif->ar; in ath10k_clear_vdev_key() local
323 static int ath10k_peer_create(struct ath10k *ar, u32 vdev_id, const u8 *addr) in ath10k_peer_create()
351 struct ath10k *ar = arvif->ar; in ath10k_mac_set_kickout() local
396 struct ath10k *ar = arvif->ar; in ath10k_mac_set_rts() local
409 struct ath10k *ar = arvif->ar; in ath10k_mac_set_frag() local
421 static int ath10k_peer_delete(struct ath10k *ar, u32 vdev_id, const u8 *addr) in ath10k_peer_delete()
[all …]
Dce.c62 static inline void ath10k_ce_dest_ring_write_index_set(struct ath10k *ar, in ath10k_ce_dest_ring_write_index_set()
69 static inline u32 ath10k_ce_dest_ring_write_index_get(struct ath10k *ar, in ath10k_ce_dest_ring_write_index_get()
75 static inline void ath10k_ce_src_ring_write_index_set(struct ath10k *ar, in ath10k_ce_src_ring_write_index_set()
82 static inline u32 ath10k_ce_src_ring_write_index_get(struct ath10k *ar, in ath10k_ce_src_ring_write_index_get()
88 static inline u32 ath10k_ce_src_ring_read_index_get(struct ath10k *ar, in ath10k_ce_src_ring_read_index_get()
94 static inline void ath10k_ce_src_ring_base_addr_set(struct ath10k *ar, in ath10k_ce_src_ring_base_addr_set()
101 static inline void ath10k_ce_src_ring_size_set(struct ath10k *ar, in ath10k_ce_src_ring_size_set()
108 static inline void ath10k_ce_src_ring_dmax_set(struct ath10k *ar, in ath10k_ce_src_ring_dmax_set()
120 static inline void ath10k_ce_src_ring_byte_swap_set(struct ath10k *ar, in ath10k_ce_src_ring_byte_swap_set()
131 static inline void ath10k_ce_dest_ring_byte_swap_set(struct ath10k *ar, in ath10k_ce_dest_ring_byte_swap_set()
[all …]
Ddebug.h65 #define ATH10K_DFS_STAT_INC(ar, c) (ar->debug.dfs_stats.c++) argument
68 static inline int ath10k_debug_start(struct ath10k *ar) in ath10k_debug_start()
73 static inline void ath10k_debug_stop(struct ath10k *ar) in ath10k_debug_stop()
77 static inline int ath10k_debug_create(struct ath10k *ar) in ath10k_debug_create()
82 static inline void ath10k_debug_destroy(struct ath10k *ar) in ath10k_debug_destroy()
86 static inline int ath10k_debug_register(struct ath10k *ar) in ath10k_debug_register()
91 static inline void ath10k_debug_unregister(struct ath10k *ar) in ath10k_debug_unregister()
95 static inline void ath10k_debug_read_service_map(struct ath10k *ar, in ath10k_debug_read_service_map()
101 static inline void ath10k_debug_read_target_stats(struct ath10k *ar, in ath10k_debug_read_target_stats()
106 static inline void ath10k_debug_dbglog_add(struct ath10k *ar, u8 *buffer, in ath10k_debug_dbglog_add()
[all …]
Ddebug.c109 int ath10k_info(struct ath10k *ar, const char *fmt, ...) in ath10k_info()
127 void ath10k_print_driver_info(struct ath10k *ar) in ath10k_print_driver_info()
146 int ath10k_err(struct ath10k *ar, const char *fmt, ...) in ath10k_err()
164 int ath10k_warn(struct ath10k *ar, const char *fmt, ...) in ath10k_warn()
184 void ath10k_debug_read_service_map(struct ath10k *ar, in ath10k_debug_read_service_map()
195 struct ath10k *ar = file->private_data; in ath10k_read_wmi_services() local
245 void ath10k_debug_read_target_stats(struct ath10k *ar, in ath10k_debug_read_target_stats()
377 struct ath10k *ar = file->private_data; in ath10k_read_fw_stats() local
569 static int ath10k_debug_fw_assert(struct ath10k *ar) in ath10k_debug_fw_assert()
612 struct ath10k *ar = file->private_data; in ath10k_write_simulate_fw_crash() local
[all …]
Dtxrx.c24 static void ath10k_report_offchan_tx(struct ath10k *ar, struct sk_buff *skb) in ath10k_report_offchan_tx()
50 struct ath10k *ar = htt->ar; in ath10k_txrx_tx_unref() local
104 struct ath10k_peer *ath10k_peer_find(struct ath10k *ar, int vdev_id, in ath10k_peer_find()
123 struct ath10k_peer *ath10k_peer_find_by_id(struct ath10k *ar, int peer_id) in ath10k_peer_find_by_id()
136 static int ath10k_wait_for_peer_common(struct ath10k *ar, int vdev_id, in ath10k_wait_for_peer_common()
157 int ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id, const u8 *addr) in ath10k_wait_for_peer_created()
162 int ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id, const u8 *addr) in ath10k_wait_for_peer_deleted()
170 struct ath10k *ar = htt->ar; in ath10k_peer_map_event() local
197 struct ath10k *ar = htt->ar; in ath10k_peer_unmap_event() local
Dhif.h94 static inline int ath10k_hif_tx_sg(struct ath10k *ar, u8 pipe_id, in ath10k_hif_tx_sg()
101 static inline int ath10k_hif_exchange_bmi_msg(struct ath10k *ar, in ath10k_hif_exchange_bmi_msg()
109 static inline int ath10k_hif_start(struct ath10k *ar) in ath10k_hif_start()
114 static inline void ath10k_hif_stop(struct ath10k *ar) in ath10k_hif_stop()
119 static inline int ath10k_hif_map_service_to_pipe(struct ath10k *ar, in ath10k_hif_map_service_to_pipe()
130 static inline void ath10k_hif_get_default_pipe(struct ath10k *ar, in ath10k_hif_get_default_pipe()
136 static inline void ath10k_hif_send_complete_check(struct ath10k *ar, in ath10k_hif_send_complete_check()
142 static inline void ath10k_hif_set_callbacks(struct ath10k *ar, in ath10k_hif_set_callbacks()
148 static inline u16 ath10k_hif_get_free_queue_number(struct ath10k *ar, in ath10k_hif_get_free_queue_number()
154 static inline int ath10k_hif_power_up(struct ath10k *ar) in ath10k_hif_power_up()
[all …]
/drivers/net/wireless/ath/ar5523/
Dar5523.c48 static void ar5523_read_reply(struct ar5523 *ar, struct ar5523_cmd_hdr *hdr, in ar5523_read_reply()
94 struct ar5523 *ar = urb->context; in ar5523_cmd_rx_cb() local
171 static int ar5523_alloc_rx_cmd(struct ar5523 *ar) in ar5523_alloc_rx_cmd()
187 static void ar5523_cancel_rx_cmd(struct ar5523 *ar) in ar5523_cancel_rx_cmd()
192 static void ar5523_free_rx_cmd(struct ar5523 *ar) in ar5523_free_rx_cmd()
199 static int ar5523_submit_rx_cmd(struct ar5523 *ar) in ar5523_submit_rx_cmd()
224 struct ar5523 *ar = cmd->ar; in ar5523_cmd_tx_cb() local
240 static int ar5523_cmd(struct ar5523 *ar, u32 code, const void *idata, in ar5523_cmd()
286 static int ar5523_cmd_write(struct ar5523 *ar, u32 code, const void *data, in ar5523_cmd_write()
293 static int ar5523_cmd_read(struct ar5523 *ar, u32 code, const void *idata, in ar5523_cmd_read()
[all …]
/drivers/media/platform/
Darv.c109 struct ar { struct
112 int start_capture; /* duaring capture in INT. mode. */ argument
114 unsigned char *line_buff; /* DMA line buffer */ argument
116 unsigned char *frame[MAX_AR_HEIGHT]; /* frame data */ argument
125 static struct ar ardev; argument
249 static void wait_for_vertical_sync(struct ar *ar, int exp_line) in wait_for_vertical_sync()
273 struct ar *ar = video_drvdata(file); in ar_read() local
402 struct ar *ar = video_drvdata(file); in ar_querycap() local
438 struct ar *ar = video_drvdata(file); in ar_g_fmt_vid_cap() local
454 struct ar *ar = video_drvdata(file); in ar_try_fmt_vid_cap() local
[all …]

123