Home
last modified time | relevance | path

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

/linux-4.4.14/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()
724 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 …]
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 …]
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
744 struct ath6kl *ar = vif->ar; in ath6kl_cfg80211_connect_event() local
819 struct ath6kl *ar = ath6kl_priv(dev); in ath6kl_cfg80211_disconnect() local
[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 …]
Dcore.c52 void ath6kl_core_tx_complete(struct ath6kl *ar, struct sk_buff *skb) in ath6kl_core_tx_complete()
58 void ath6kl_core_rx_complete(struct ath6kl *ar, struct sk_buff *skb, u8 pipe) in ath6kl_core_rx_complete()
64 int ath6kl_core_init(struct ath6kl *ar, enum ath6kl_htc_type htc_type) in ath6kl_core_init()
264 struct ath6kl *ar; in ath6kl_core_create() local
325 void ath6kl_core_cleanup(struct ath6kl *ar) in ath6kl_core_cleanup()
354 void ath6kl_core_destroy(struct ath6kl *ar) in ath6kl_core_destroy()
Ddebug.c101 int ath6kl_read_tgt_stats(struct ath6kl *ar, struct ath6kl_vif *vif) in ath6kl_read_tgt_stats()
291 void ath6kl_debug_war(struct ath6kl *ar, enum ath6kl_war war) in ath6kl_debug_war()
303 struct ath6kl *ar = file->private_data; in read_file_war_stats() local
336 void ath6kl_debug_fwlog_event(struct ath6kl *ar, const void *buf, size_t len) in ath6kl_debug_fwlog_event()
378 struct ath6kl *ar = inode->i_private; in ath6kl_fwlog_open() local
391 struct ath6kl *ar = inode->i_private; in ath6kl_fwlog_release() local
401 struct ath6kl *ar = file->private_data; in ath6kl_fwlog_read() local
454 struct ath6kl *ar = file->private_data; in ath6kl_fwlog_block_read() local
528 struct ath6kl *ar = file->private_data; in ath6kl_fwlog_mask_read() local
541 struct ath6kl *ar = file->private_data; in ath6kl_fwlog_mask_write() local
[all …]
Ddebug.h107 static inline void ath6kl_debug_fwlog_event(struct ath6kl *ar, in ath6kl_debug_fwlog_event()
112 static inline void ath6kl_debug_war(struct ath6kl *ar, enum ath6kl_war war) in ath6kl_debug_war()
116 static inline int ath6kl_debug_roam_tbl_event(struct ath6kl *ar, in ath6kl_debug_roam_tbl_event()
122 static inline void ath6kl_debug_set_keepalive(struct ath6kl *ar, u8 keepalive) in ath6kl_debug_set_keepalive()
126 static inline void ath6kl_debug_set_disconnect_timeout(struct ath6kl *ar, in ath6kl_debug_set_disconnect_timeout()
131 static inline void ath6kl_debug_init(struct ath6kl *ar) in ath6kl_debug_init()
135 static inline int ath6kl_debug_init_fs(struct ath6kl *ar) in ath6kl_debug_init_fs()
140 static inline void ath6kl_debug_cleanup(struct ath6kl *ar) in ath6kl_debug_cleanup()
Dusb.c73 struct ath6kl *ar; member
81 struct ath6kl *ar; member
168 static inline struct ath6kl_usb *ath6kl_usb_priv(struct ath6kl *ar) in ath6kl_usb_priv()
677 static void hif_start(struct ath6kl *ar) in hif_start()
692 static int ath6kl_usb_send(struct ath6kl *ar, u8 PipeID, in ath6kl_usb_send()
768 static void hif_stop(struct ath6kl *ar) in hif_stop()
775 static void ath6kl_usb_get_default_pipe(struct ath6kl *ar, in ath6kl_usb_get_default_pipe()
782 static int ath6kl_usb_map_service_pipe(struct ath6kl *ar, u16 svc_id, in ath6kl_usb_map_service_pipe()
837 static u16 ath6kl_usb_get_free_queue_number(struct ath6kl *ar, u8 pipe_id) in ath6kl_usb_get_free_queue_number()
844 static void hif_detach_htc(struct ath6kl *ar) in hif_detach_htc()
[all …]
Dtxrx.c45 struct ath6kl *ar = ath6kl_priv(dev); in ath6kl_ibss_map_epid() local
107 struct ath6kl *ar = vif->ar; in ath6kl_process_uapsdq() local
181 struct ath6kl *ar = vif->ar; in ath6kl_process_psq() local
215 struct ath6kl *ar = vif->ar; in ath6kl_powersave_ap() local
289 struct ath6kl *ar = devt; in ath6kl_control_tx() local
358 struct ath6kl *ar = ath6kl_priv(dev); in ath6kl_data_tx() local
532 struct ath6kl *ar = devt; in ath6kl_indicate_tx_activity() local
594 struct ath6kl *ar = target->dev->ar; in ath6kl_tx_queue_full() local
651 struct ath6kl *ar = vif->ar; in ath6kl_tx_clear_node_map() local
688 struct ath6kl *ar = target->dev->ar; in ath6kl_tx_complete() local
[all …]
Dhtc-ops.h23 static inline void *ath6kl_htc_create(struct ath6kl *ar) in ath6kl_htc_create()
99 static inline void ath6kl_htc_tx_complete(struct ath6kl *ar, in ath6kl_htc_tx_complete()
106 static inline void ath6kl_htc_rx_complete(struct ath6kl *ar, in ath6kl_htc_rx_complete()
Dtestmode.c46 void ath6kl_tm_rx_event(struct ath6kl *ar, void *buf, size_t buf_len) in ath6kl_tm_rx_event()
72 struct ath6kl *ar = wiphy_priv(wiphy); in ath6kl_tm_cmd() local
Dbmi.h226 #define ath6kl_bmi_write_hi32(ar, item, val) \ argument
236 #define ath6kl_bmi_read_hi32(ar, item, val) \ argument
Dhtc_pipe.c307 struct ath6kl *ar = target->dev->ar; in htc_try_send() local
743 static int ath6kl_htc_pipe_tx_complete(struct ath6kl *ar, struct sk_buff *skb) in ath6kl_htc_pipe_tx_complete()
952 static int ath6kl_htc_pipe_rx_complete(struct ath6kl *ar, struct sk_buff *skb, in ath6kl_htc_pipe_rx_complete()
1232 struct ath6kl *ar = target->dev->ar; in ath6kl_htc_pipe_conn_service() local
1416 static void *ath6kl_htc_pipe_create(struct ath6kl *ar) in ath6kl_htc_pipe_create()
1734 void ath6kl_htc_pipe_attach(struct ath6kl *ar) in ath6kl_htc_pipe_attach()
Dtestmode.h28 static inline void ath6kl_tm_rx_event(struct ath6kl *ar, void *buf, in ath6kl_tm_rx_event()
Dhif.c70 static void ath6kl_hif_dump_fw_crash(struct ath6kl *ar) in ath6kl_hif_dump_fw_crash()
543 int ath6kl_hif_intr_bh_handler(struct ath6kl *ar) in ath6kl_hif_intr_bh_handler()
Dwmi.c136 struct ath6kl_vif *ath6kl_get_vif_by_index(struct ath6kl *ar, u8 if_idx) in ath6kl_get_vif_by_index()
510 struct ath6kl *ar = wmi->parent_dev; in ath6kl_wmi_remain_on_chnl_event_rx() local
543 struct ath6kl *ar = wmi->parent_dev; in ath6kl_wmi_cancel_remain_on_chnl_event_rx() local
1094 struct ath6kl *ar = wmi->parent_dev; in ath6kl_wmi_bssinfo_event_rx() local
2009 struct ath6kl *ar = wmi->parent_dev; in ath6kl_wmi_beginscan_cmd() local
2862 struct ath6kl *ar = wmi->parent_dev; in ath6kl_wmi_set_bitrate_mask() local
2907 struct ath6kl *ar = wmi->parent_dev; in ath6kl_wmi_host_sleep_mode_cmd_prcd_evt_rx() local
3308 struct ath6kl *ar = wmi->parent_dev; in ath6kl_wmi_get_rate() local
3717 struct ath6kl *ar = wmi->parent_dev; in ath6kl_wmi_send_mgmt_cmd() local
Dhif.h231 struct ath6kl *ar; member
Dhtc_mbox.c2843 static void *ath6kl_htc_mbox_create(struct ath6kl *ar) in ath6kl_htc_mbox_create()
2930 void ath6kl_htc_mbox_attach(struct ath6kl *ar) in ath6kl_htc_mbox_attach()
Dcore.h603 struct ath6kl *ar; member
881 static inline u32 ath6kl_get_hi_item_addr(struct ath6kl *ar, in ath6kl_get_hi_item_addr()
/linux-4.4.14/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 …]
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 …]
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 …]
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 …]
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 …]
Dled.c43 int carl9170_led_set_state(struct ar9170 *ar, const u32 led_state) in carl9170_led_set_state()
48 int carl9170_led_init(struct ar9170 *ar) in carl9170_led_init()
68 struct ar9170 *ar = container_of(work, struct ar9170, led_work.work); in carl9170_led_update() local
110 struct ar9170 *ar = arl->ar; in carl9170_led_set_brightness() local
124 static int carl9170_led_register_led(struct ar9170 *ar, int i, char *name, in carl9170_led_register_led()
150 void carl9170_led_unregister(struct ar9170 *ar) in carl9170_led_unregister()
164 int carl9170_led_register(struct ar9170 *ar) in carl9170_led_register()
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()
237 static char *carl9170_debugfs_qos_stat_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_qos_stat_read()
281 static void carl9170_debugfs_format_frame(struct ar9170 *ar, in carl9170_debugfs_format_frame()
298 static char *carl9170_debugfs_ampdu_state_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_ampdu_state_read()
354 static void carl9170_debugfs_queue_dump(struct ar9170 *ar, char *buf, in carl9170_debugfs_queue_dump()
380 static char *carl9170_debugfs_sta_psm_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_sta_psm_read()
396 static char *carl9170_debugfs_tx_stuck_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_tx_stuck_read()
414 static char *carl9170_debugfs_phy_noise_read(struct ar9170 *ar, char *buf, in carl9170_debugfs_phy_noise_read()
[all …]
Dfw.c33 static const void *carl9170_fw_find_desc(struct ar9170 *ar, const u8 descid[4], in carl9170_fw_find_desc()
52 static int carl9170_fw_verify_descs(struct ar9170 *ar, in carl9170_fw_verify_descs()
95 static void carl9170_fw_info(struct ar9170 *ar) in carl9170_fw_info()
144 static int carl9170_fw_checksum(struct ar9170 *ar, const __u8 *data, in carl9170_fw_checksum()
201 static int carl9170_fw_tx_sequence(struct ar9170 *ar) in carl9170_fw_tx_sequence()
218 static void carl9170_fw_set_if_combinations(struct ar9170 *ar, in carl9170_fw_set_if_combinations()
236 static int carl9170_fw(struct ar9170 *ar, const __u8 *data, size_t len) in carl9170_fw()
380 carl9170_find_fw_desc(struct ar9170 *ar, const __u8 *fw_data, const size_t len) in carl9170_find_fw_desc()
409 int carl9170_parse_firmware(struct ar9170 *ar) in carl9170_parse_firmware()
Dphy.c44 static int carl9170_init_power_cal(struct ar9170 *ar) in carl9170_init_power_cal()
432 static int carl9170_init_phy_from_eeprom(struct ar9170 *ar, in carl9170_init_phy_from_eeprom()
543 static int carl9170_init_phy(struct ar9170 *ar, enum ieee80211_band band) in carl9170_init_phy()
672 static int carl9170_init_rf_banks_0_7(struct ar9170 *ar, bool band5ghz) in carl9170_init_rf_banks_0_7()
966 static int carl9170_init_rf_bank4_pwr(struct ar9170 *ar, bool band5ghz, in carl9170_init_rf_bank4_pwr()
1117 static int carl9170_set_freq_cal_data(struct ar9170 *ar, in carl9170_set_freq_cal_data()
1217 static u8 carl9170_get_max_edge_power(struct ar9170 *ar, in carl9170_get_max_edge_power()
1259 static u8 carl9170_get_heavy_clip(struct ar9170 *ar, u32 freq, in carl9170_get_heavy_clip()
1291 static void carl9170_calc_ctl(struct ar9170 *ar, u32 freq, enum carl9170_bw bw) in carl9170_calc_ctl()
1428 static void carl9170_set_power_cal(struct ar9170 *ar, u32 freq, in carl9170_set_power_cal()
[all …]
Dcmd.h57 static inline int carl9170_flush_cab(struct ar9170 *ar, in carl9170_flush_cab()
63 static inline int carl9170_rx_filter(struct ar9170 *ar, in carl9170_rx_filter()
82 #define carl9170_regwrite_begin(ar) \ argument
Dcarl9170.h198 struct ar9170 *ar; member
495 struct ar9170 *ar; member
504 static inline void __carl9170_set_state(struct ar9170 *ar, in __carl9170_set_state()
510 static inline void carl9170_set_state(struct ar9170 *ar, in carl9170_set_state()
520 static inline void carl9170_set_state_when(struct ar9170 *ar, in carl9170_set_state_when()
648 static inline struct ieee80211_vif *carl9170_get_main_vif(struct ar9170 *ar) in carl9170_get_main_vif()
660 static inline bool is_main_vif(struct ar9170 *ar, struct ieee80211_vif *vif) in is_main_vif()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dpci.c421 static bool ath10k_pci_is_awake(struct ath10k *ar) in ath10k_pci_is_awake()
430 static void __ath10k_pci_wake(struct ath10k *ar) in __ath10k_pci_wake()
444 static void __ath10k_pci_sleep(struct ath10k *ar) in __ath10k_pci_sleep()
459 static int ath10k_pci_wake_wait(struct ath10k *ar) in ath10k_pci_wake_wait()
482 static int ath10k_pci_force_wake(struct ath10k *ar) in ath10k_pci_force_wake()
505 static void ath10k_pci_force_sleep(struct ath10k *ar) in ath10k_pci_force_sleep()
520 static int ath10k_pci_wake(struct ath10k *ar) in ath10k_pci_wake()
555 static void ath10k_pci_sleep(struct ath10k *ar) in ath10k_pci_sleep()
582 struct ath10k *ar = (void *)ptr; in ath10k_pci_ps_timer() local
600 static void ath10k_pci_sleep_sync(struct ath10k *ar) in ath10k_pci_sleep_sync()
[all …]
Dcore.c232 void ath10k_core_get_fw_features_str(struct ath10k *ar, in ath10k_core_get_fw_features_str()
251 static void ath10k_send_suspend_complete(struct ath10k *ar) in ath10k_send_suspend_complete()
258 static int ath10k_init_configure_target(struct ath10k *ar) in ath10k_init_configure_target()
326 static const struct firmware *ath10k_fetch_fw_file(struct ath10k *ar, in ath10k_fetch_fw_file()
348 static int ath10k_push_board_ext_data(struct ath10k *ar, const void *data, in ath10k_push_board_ext_data()
395 static int ath10k_download_board_data(struct ath10k *ar, const void *data, in ath10k_download_board_data()
432 static int ath10k_download_cal_file(struct ath10k *ar) in ath10k_download_cal_file()
454 static int ath10k_download_cal_dt(struct ath10k *ar) in ath10k_download_cal_dt()
511 static int ath10k_core_get_board_id_from_otp(struct ath10k *ar) in ath10k_core_get_board_id_from_otp()
561 static int ath10k_download_and_run_otp(struct ath10k *ar) in ath10k_download_and_run_otp()
[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 …]
Dmac.c166 struct ath10k *ar = arvif->ar; in ath10k_send_key() local
216 struct ath10k *ar = arvif->ar; in ath10k_install_key() local
241 struct ath10k *ar = arvif->ar; in ath10k_install_peer_wep_keys() local
328 struct ath10k *ar = arvif->ar; in ath10k_clear_peer_keys() local
366 bool ath10k_mac_is_peer_wep_key_set(struct ath10k *ar, const u8 *addr, in ath10k_mac_is_peer_wep_key_set()
394 struct ath10k *ar = arvif->ar; in ath10k_clear_vdev_key() local
441 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_update_wep_key() local
596 static int ath10k_mac_num_chanctxs(struct ath10k *ar) in ath10k_mac_num_chanctxs()
617 static int ath10k_peer_create(struct ath10k *ar, u32 vdev_id, const u8 *addr, in ath10k_peer_create()
656 struct ath10k *ar = arvif->ar; in ath10k_mac_set_kickout() local
[all …]
Dwmi.c1582 int ath10k_wmi_wait_for_service_ready(struct ath10k *ar) in ath10k_wmi_wait_for_service_ready()
1593 int ath10k_wmi_wait_for_unified_ready(struct ath10k *ar) in ath10k_wmi_wait_for_unified_ready()
1604 struct sk_buff *ath10k_wmi_alloc_skb(struct ath10k *ar, u32 len) in ath10k_wmi_alloc_skb()
1623 static void ath10k_wmi_htc_tx_complete(struct ath10k *ar, struct sk_buff *skb) in ath10k_wmi_htc_tx_complete()
1628 int ath10k_wmi_cmd_send_nowait(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_cmd_send_nowait()
1660 struct ath10k *ar = arvif->ar; in ath10k_wmi_tx_beacon_nowait() local
1709 static void ath10k_wmi_tx_beacons_nowait(struct ath10k *ar) in ath10k_wmi_tx_beacons_nowait()
1717 static void ath10k_wmi_op_ep_tx_credits(struct ath10k *ar) in ath10k_wmi_op_ep_tx_credits()
1725 int ath10k_wmi_cmd_send(struct ath10k *ar, struct sk_buff *skb, u32 cmd_id) in ath10k_wmi_cmd_send()
1756 ath10k_wmi_op_gen_mgmt_tx(struct ath10k *ar, struct sk_buff *msdu) in ath10k_wmi_op_gen_mgmt_tx()
[all …]
Dwmi-ops.h194 ath10k_wmi_rx(struct ath10k *ar, struct sk_buff *skb) in ath10k_wmi_rx()
204 ath10k_wmi_map_svc(struct ath10k *ar, const __le32 *in, unsigned long *out, in ath10k_wmi_map_svc()
215 ath10k_wmi_pull_scan(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_scan()
225 ath10k_wmi_pull_mgmt_rx(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_mgmt_rx()
235 ath10k_wmi_pull_ch_info(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_ch_info()
245 ath10k_wmi_pull_vdev_start(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_vdev_start()
255 ath10k_wmi_pull_peer_kick(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_peer_kick()
265 ath10k_wmi_pull_swba(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_swba()
275 ath10k_wmi_pull_phyerr_hdr(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_phyerr_hdr()
285 ath10k_wmi_pull_phyerr(struct ath10k *ar, const void *phyerr_buf, in ath10k_wmi_pull_phyerr()
[all …]
Ddebug.h82 #define ATH10K_DFS_STAT_INC(ar, c) (ar->debug.dfs_stats.c++) argument
93 static inline int ath10k_debug_start(struct ath10k *ar) in ath10k_debug_start()
98 static inline void ath10k_debug_stop(struct ath10k *ar) in ath10k_debug_stop()
102 static inline int ath10k_debug_create(struct ath10k *ar) in ath10k_debug_create()
107 static inline void ath10k_debug_destroy(struct ath10k *ar) in ath10k_debug_destroy()
111 static inline int ath10k_debug_register(struct ath10k *ar) in ath10k_debug_register()
116 static inline void ath10k_debug_unregister(struct ath10k *ar) in ath10k_debug_unregister()
120 static inline void ath10k_debug_fw_stats_process(struct ath10k *ar, in ath10k_debug_fw_stats_process()
125 static inline void ath10k_debug_tpc_stats_process(struct ath10k *ar, in ath10k_debug_tpc_stats_process()
131 static inline void ath10k_debug_dbglog_add(struct ath10k *ar, u8 *buffer, in ath10k_debug_dbglog_add()
[all …]
Dhif.h92 static inline int ath10k_hif_tx_sg(struct ath10k *ar, u8 pipe_id, in ath10k_hif_tx_sg()
99 static inline int ath10k_hif_diag_read(struct ath10k *ar, u32 address, void *buf, in ath10k_hif_diag_read()
105 static inline int ath10k_hif_diag_write(struct ath10k *ar, u32 address, in ath10k_hif_diag_write()
114 static inline int ath10k_hif_exchange_bmi_msg(struct ath10k *ar, in ath10k_hif_exchange_bmi_msg()
122 static inline int ath10k_hif_start(struct ath10k *ar) in ath10k_hif_start()
127 static inline void ath10k_hif_stop(struct ath10k *ar) in ath10k_hif_stop()
132 static inline int ath10k_hif_map_service_to_pipe(struct ath10k *ar, in ath10k_hif_map_service_to_pipe()
140 static inline void ath10k_hif_get_default_pipe(struct ath10k *ar, in ath10k_hif_get_default_pipe()
146 static inline void ath10k_hif_send_complete_check(struct ath10k *ar, in ath10k_hif_send_complete_check()
152 static inline u16 ath10k_hif_get_free_queue_number(struct ath10k *ar, in ath10k_hif_get_free_queue_number()
[all …]
Dtestmode.c41 bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb) in ath10k_tm_event_wmi()
110 static int ath10k_tm_cmd_get_version(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_get_version()
142 static int ath10k_tm_fetch_utf_firmware_api_2(struct ath10k *ar) in ath10k_tm_fetch_utf_firmware_api_2()
262 static int ath10k_tm_fetch_utf_firmware_api_1(struct ath10k *ar) in ath10k_tm_fetch_utf_firmware_api_1()
291 static int ath10k_tm_fetch_firmware(struct ath10k *ar) in ath10k_tm_fetch_firmware()
312 static int ath10k_tm_cmd_utf_start(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_utf_start()
405 static void __ath10k_tm_cmd_utf_stop(struct ath10k *ar) in __ath10k_tm_cmd_utf_stop()
429 static int ath10k_tm_cmd_utf_stop(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_utf_stop()
453 static int ath10k_tm_cmd_wmi(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_wmi()
512 struct ath10k *ar = hw->priv; in ath10k_tm_cmd() local
[all …]
Dwow.c36 struct ath10k *ar = arvif->ar; in ath10k_wow_vif_cleanup() local
60 static int ath10k_wow_cleanup(struct ath10k *ar) in ath10k_wow_cleanup()
84 struct ath10k *ar = arvif->ar; in ath10k_vif_wow_set_wakeups() local
160 static int ath10k_wow_set_wakeups(struct ath10k *ar, in ath10k_wow_set_wakeups()
180 static int ath10k_wow_enable(struct ath10k *ar) in ath10k_wow_enable()
203 static int ath10k_wow_wakeup(struct ath10k *ar) in ath10k_wow_wakeup()
230 struct ath10k *ar = hw->priv; in ath10k_wow_op_suspend() local
282 struct ath10k *ar = hw->priv; in ath10k_wow_op_resume() local
326 int ath10k_wow_init(struct ath10k *ar) in ath10k_wow_init()
Dwmi-tlv.c80 ath10k_wmi_tlv_iter(struct ath10k *ar, const void *ptr, size_t len, in ath10k_wmi_tlv_iter()
81 int (*iter)(struct ath10k *ar, u16 tag, u16 len, in ath10k_wmi_tlv_iter()
132 static int ath10k_wmi_tlv_iter_parse(struct ath10k *ar, u16 tag, u16 len, in ath10k_wmi_tlv_iter_parse()
143 static int ath10k_wmi_tlv_parse(struct ath10k *ar, const void **tb, in ath10k_wmi_tlv_parse()
151 ath10k_wmi_tlv_parse_alloc(struct ath10k *ar, const void *ptr, in ath10k_wmi_tlv_parse_alloc()
178 static int ath10k_wmi_tlv_event_bcn_tx_status(struct ath10k *ar, in ath10k_wmi_tlv_event_bcn_tx_status()
225 static int ath10k_wmi_tlv_event_diag_data(struct ath10k *ar, in ath10k_wmi_tlv_event_diag_data()
288 static int ath10k_wmi_tlv_event_diag(struct ath10k *ar, in ath10k_wmi_tlv_event_diag()
316 static int ath10k_wmi_tlv_event_p2p_noa(struct ath10k *ar, in ath10k_wmi_tlv_event_p2p_noa()
350 static int ath10k_wmi_tlv_event_tx_pause(struct ath10k *ar, in ath10k_wmi_tlv_event_tx_pause()
[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
119 struct ath10k_peer *ath10k_peer_find(struct ath10k *ar, int vdev_id, in ath10k_peer_find()
138 struct ath10k_peer *ath10k_peer_find_by_id(struct ath10k *ar, int peer_id) in ath10k_peer_find_by_id()
151 static int ath10k_wait_for_peer_common(struct ath10k *ar, int vdev_id, in ath10k_wait_for_peer_common()
173 int ath10k_wait_for_peer_created(struct ath10k *ar, int vdev_id, const u8 *addr) in ath10k_wait_for_peer_created()
178 int ath10k_wait_for_peer_deleted(struct ath10k *ar, int vdev_id, const u8 *addr) in ath10k_wait_for_peer_deleted()
186 struct ath10k *ar = htt->ar; in ath10k_peer_map_event() local
213 struct ath10k *ar = htt->ar; in ath10k_peer_unmap_event() local
Ddebug.c110 void ath10k_info(struct ath10k *ar, const char *fmt, ...) in ath10k_info()
125 void ath10k_print_driver_info(struct ath10k *ar) in ath10k_print_driver_info()
165 void ath10k_err(struct ath10k *ar, const char *fmt, ...) in ath10k_err()
180 void ath10k_warn(struct ath10k *ar, const char *fmt, ...) in ath10k_warn()
202 struct ath10k *ar = file->private_data; in ath10k_read_wmi_services() local
284 static void ath10k_debug_fw_stats_reset(struct ath10k *ar) in ath10k_debug_fw_stats_reset()
294 void ath10k_debug_fw_stats_process(struct ath10k *ar, struct sk_buff *skb) in ath10k_debug_fw_stats_process()
376 static int ath10k_debug_fw_stats_request(struct ath10k *ar) in ath10k_debug_fw_stats_request()
418 struct ath10k *ar = inode->i_private; in ath10k_fw_stats_open() local
488 struct ath10k *ar = file->private_data; in ath10k_debug_fw_reset_stats_read() local
[all …]
Dhtt_rx.c38 ath10k_htt_rx_find_skb_paddr(struct ath10k *ar, u32 paddr) in ath10k_htt_rx_find_skb_paddr()
207 int ath10k_htt_rx_ring_refill(struct ath10k *ar) in ath10k_htt_rx_ring_refill()
251 struct ath10k *ar = htt->ar; in ath10k_htt_rx_netbuf_pop() local
287 struct ath10k *ar = htt->ar; in ath10k_htt_rx_amsdu_pop() local
436 struct ath10k *ar = htt->ar; in ath10k_htt_rx_pop_paddr() local
463 struct ath10k *ar = htt->ar; in ath10k_htt_rx_pop_paddr_list() local
511 struct ath10k *ar = htt->ar; in ath10k_htt_rx_alloc() local
592 static int ath10k_htt_rx_crypto_param_len(struct ath10k *ar, in ath10k_htt_rx_crypto_param_len()
617 static int ath10k_htt_rx_crypto_tail_len(struct ath10k *ar, in ath10k_htt_rx_crypto_tail_len()
648 static void ath10k_htt_rx_h_rates(struct ath10k *ar, in ath10k_htt_rx_h_rates()
[all …]
Dthermal.c39 struct ath10k *ar = cdev->devdata; in ath10k_thermal_get_cur_throttle_state() local
52 struct ath10k *ar = cdev->devdata; in ath10k_thermal_set_cur_throttle_state() local
76 struct ath10k *ar = dev_get_drvdata(dev); in ath10k_thermal_show_temp() local
119 void ath10k_thermal_event_temperature(struct ath10k *ar, int temperature) in ath10k_thermal_event_temperature()
136 void ath10k_thermal_set_throttling(struct ath10k *ar) in ath10k_thermal_set_throttling()
162 int ath10k_thermal_register(struct ath10k *ar) in ath10k_thermal_register()
216 void ath10k_thermal_unregister(struct ath10k *ar) in ath10k_thermal_unregister()
Dspectral.c22 static void send_fft_sample(struct ath10k *ar, in send_fft_sample()
59 int ath10k_spectral_process_fft(struct ath10k *ar, in ath10k_spectral_process_fft()
164 static struct ath10k_vif *ath10k_get_spectral_vdev(struct ath10k *ar) in ath10k_get_spectral_vdev()
182 static int ath10k_spectral_scan_trigger(struct ath10k *ar) in ath10k_spectral_scan_trigger()
213 static int ath10k_spectral_scan_config(struct ath10k *ar, in ath10k_spectral_scan_config()
279 struct ath10k *ar = file->private_data; in read_file_spec_scan_ctl() local
308 struct ath10k *ar = file->private_data; in write_file_spec_scan_ctl() local
371 struct ath10k *ar = file->private_data; in read_file_spectral_count() local
388 struct ath10k *ar = file->private_data; in write_file_spectral_count() local
423 struct ath10k *ar = file->private_data; in read_file_spectral_bins() local
[all …]
Dhtt_tx.c46 struct ath10k *ar = htt->ar; in ath10k_htt_tx_inc_pending() local
76 struct ath10k *ar = htt->ar; in ath10k_htt_tx_alloc_msdu_id() local
91 struct ath10k *ar = htt->ar; in ath10k_htt_tx_free_msdu_id() local
102 struct ath10k *ar = htt->ar; in ath10k_htt_tx_alloc() local
149 struct ath10k *ar = ctx; in ath10k_htt_tx_clean_up_pending() local
185 void ath10k_htt_htc_tx_complete(struct ath10k *ar, struct sk_buff *skb) in ath10k_htt_htc_tx_complete()
190 void ath10k_htt_hif_tx_complete(struct ath10k *ar, struct sk_buff *skb) in ath10k_htt_hif_tx_complete()
198 struct ath10k *ar = htt->ar; in ath10k_htt_h2t_ver_req_msg() local
226 struct ath10k *ar = htt->ar; in ath10k_htt_h2t_stats_req() local
268 struct ath10k *ar = htt->ar; in ath10k_htt_send_frag_desc_bank_cfg() local
[all …]
Dbmi.c23 void ath10k_bmi_start(struct ath10k *ar) in ath10k_bmi_start()
30 int ath10k_bmi_done(struct ath10k *ar) in ath10k_bmi_done()
55 int ath10k_bmi_get_target_info(struct ath10k *ar, in ath10k_bmi_get_target_info()
91 int ath10k_bmi_read_memory(struct ath10k *ar, in ath10k_bmi_read_memory()
132 int ath10k_bmi_write_memory(struct ath10k *ar, in ath10k_bmi_write_memory()
178 int ath10k_bmi_execute(struct ath10k *ar, u32 address, u32 param, u32 *result) in ath10k_bmi_execute()
217 int ath10k_bmi_lz_data(struct ath10k *ar, const void *buffer, u32 length) in ath10k_bmi_lz_data()
255 int ath10k_bmi_lz_stream_start(struct ath10k *ar, u32 address) in ath10k_bmi_lz_stream_start()
281 int ath10k_bmi_fast_download(struct ath10k *ar, in ath10k_bmi_fast_download()
Dhtc.c26 static void ath10k_htc_control_tx_complete(struct ath10k *ar, in ath10k_htc_control_tx_complete()
32 static struct sk_buff *ath10k_htc_build_tx_ctrl_skb(void *ar) in ath10k_htc_build_tx_ctrl_skb()
63 struct ath10k *ar = ep->htc->ar; in ath10k_htc_notify_tx_completion() local
100 struct ath10k *ar = htc->ar; in ath10k_htc_send() local
174 void ath10k_htc_tx_completion_handler(struct ath10k *ar, struct sk_buff *skb) in ath10k_htc_tx_completion_handler()
201 struct ath10k *ar = htc->ar; in ath10k_htc_process_credit_report() local
235 struct ath10k *ar = htc->ar; in ath10k_htc_process_trailer() local
295 void ath10k_htc_rx_completion_handler(struct ath10k *ar, struct sk_buff *skb) in ath10k_htc_rx_completion_handler()
418 static void ath10k_htc_control_rx_complete(struct ath10k *ar, in ath10k_htc_control_rx_complete()
510 struct ath10k *ar = htc->ar; in ath10k_htc_wait_target() local
[all …]
Dswap.c26 static int ath10k_swap_code_seg_fill(struct ath10k *ar, in ath10k_swap_code_seg_fill()
84 ath10k_swap_code_seg_free(struct ath10k *ar, in ath10k_swap_code_seg_free()
101 ath10k_swap_code_seg_alloc(struct ath10k *ar, size_t swap_bin_len) in ath10k_swap_code_seg_alloc()
137 int ath10k_swap_code_seg_configure(struct ath10k *ar, in ath10k_swap_code_seg_configure()
171 void ath10k_swap_code_seg_release(struct ath10k *ar) in ath10k_swap_code_seg_release()
179 int ath10k_swap_code_seg_init(struct ath10k *ar) in ath10k_swap_code_seg_init()
Dspectral.h61 ath10k_spectral_process_fft(struct ath10k *ar, in ath10k_spectral_process_fft()
69 static inline int ath10k_spectral_start(struct ath10k *ar) in ath10k_spectral_start()
79 static inline int ath10k_spectral_create(struct ath10k *ar) in ath10k_spectral_create()
84 static inline void ath10k_spectral_destroy(struct ath10k *ar) in ath10k_spectral_destroy()
Dthermal.h45 static inline int ath10k_thermal_register(struct ath10k *ar) in ath10k_thermal_register()
50 static inline void ath10k_thermal_unregister(struct ath10k *ar) in ath10k_thermal_unregister()
54 static inline void ath10k_thermal_event_temperature(struct ath10k *ar, in ath10k_thermal_event_temperature()
59 static inline void ath10k_thermal_set_throttling(struct ath10k *ar) in ath10k_thermal_set_throttling()
Dhtt.c168 int ath10k_htt_init(struct ath10k *ar) in ath10k_htt_init()
215 struct ath10k *ar = htt->ar; in ath10k_htt_verify_version() local
232 struct ath10k *ar = htt->ar; in ath10k_htt_setup() local
Ddebugfs_sta.c27 struct ath10k *ar = arsta->arvif->ar; in ath10k_dbg_sta_read_aggr_mode() local
46 struct ath10k *ar = arsta->arvif->ar; in ath10k_dbg_sta_write_aggr_mode() local
89 struct ath10k *ar = arsta->arvif->ar; in ath10k_dbg_sta_write_addba() local
140 struct ath10k *ar = arsta->arvif->ar; in ath10k_dbg_sta_write_addba_resp() local
190 struct ath10k *ar = arsta->arvif->ar; in ath10k_dbg_sta_write_delba() local
Dp2p.c84 struct ath10k *ar = arvif->ar; in ath10k_p2p_noa_ie_assign() local
97 struct ath10k *ar = arvif->ar; in __ath10k_p2p_noa_update() local
120 struct ath10k *ar = arvif->ar; in ath10k_p2p_noa_update() local
144 void ath10k_p2p_noa_update_by_vdev_id(struct ath10k *ar, u32 vdev_id, in ath10k_p2p_noa_update_by_vdev_id()
Dtestmode.h29 static inline void ath10k_testmode_destroy(struct ath10k *ar) in ath10k_testmode_destroy()
33 static inline bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, in ath10k_tm_event_wmi()
Dwow.h34 static inline int ath10k_wow_init(struct ath10k *ar) in ath10k_wow_init()
Dhw.c139 void ath10k_hw_fill_survey_time(struct ath10k *ar, struct survey_info *survey, in ath10k_hw_fill_survey_time()
Dmac.h30 struct ath10k *ar; member
Dpci.h163 struct ath10k *ar; member
230 static inline struct ath10k_pci *ath10k_pci_priv(struct ath10k *ar) in ath10k_pci_priv()
Dce.h109 struct ath10k *ar; member
391 static inline u32 ath10k_ce_base_address(struct ath10k *ar, unsigned int ce_id) in ath10k_ce_base_address()
429 #define CE_INTERRUPT_SUMMARY(ar) \ argument
Dbmi.h205 #define ath10k_bmi_read32(ar, item, val) \ argument
218 #define ath10k_bmi_write32(ar, item, val) \ argument
Dhw.h252 #define QCA_REV_988X(ar) ((ar)->hw_rev == ATH10K_HW_QCA988X) argument
253 #define QCA_REV_6174(ar) ((ar)->hw_rev == ATH10K_HW_QCA6174) argument
254 #define QCA_REV_99X0(ar) ((ar)->hw_rev == ATH10K_HW_QCA99X0) argument
255 #define QCA_REV_9377(ar) ((ar)->hw_rev == ATH10K_HW_QCA9377) argument
583 #define CCNT_TO_MSEC(ar, x) ((x) / ar->hw_params.channel_counters_freq_hz) argument
Dhtc.h329 struct ath10k *ar; member
Dcore.h349 struct ath10k *ar; member
Dhtt.h1392 struct ath10k *ar; member
/linux-4.4.14/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 …]
Dar5523.h61 struct ar5523 *ar; member
76 struct ar5523 *ar; member
82 struct ar5523 *ar; member
137 #define ar5523_dbg(ar, format, arg...) \ argument
144 #define ar5523_err(ar, format, arg...) \ argument
150 #define ar5523_info(ar, format, arg...) \ argument
/linux-4.4.14/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 …]
/linux-4.4.14/arch/s390/kvm/
Dpriv.c37 ar_t ar; in handle_set_clock() local
62 ar_t ar; in handle_set_prefix() local
100 ar_t ar; in handle_store_prefix() local
130 ar_t ar; in handle_store_cpu_address() local
227 ar_t ar; in handle_tpi() local
395 ar_t ar; in kvm_s390_handle_lpsw() local
422 ar_t ar; in handle_lpswe() local
444 ar_t ar; in handle_stidp() local
491 static void insert_stsi_usr_data(struct kvm_vcpu *vcpu, u64 addr, ar_t ar, in insert_stsi_usr_data()
510 ar_t ar; in handle_stsi() local
[all …]
Dkvm-s390.h84 static inline u64 kvm_s390_get_base_disp_s(struct kvm_vcpu *vcpu, ar_t *ar) in kvm_s390_get_base_disp_s()
121 static inline u64 kvm_s390_get_base_disp_rsy(struct kvm_vcpu *vcpu, ar_t *ar) in kvm_s390_get_base_disp_rsy()
136 static inline u64 kvm_s390_get_base_disp_rs(struct kvm_vcpu *vcpu, ar_t *ar) in kvm_s390_get_base_disp_rs()
Dgaccess.h215 int write_guest(struct kvm_vcpu *vcpu, unsigned long ga, ar_t ar, void *data, in write_guest()
235 int read_guest(struct kvm_vcpu *vcpu, unsigned long ga, ar_t ar, void *data, in read_guest()
Dgaccess.c359 static int ar_translation(struct kvm_vcpu *vcpu, union asce *asce, ar_t ar, in ar_translation()
464 ar_t ar, int write) in get_vcpu_asce()
754 int access_guest(struct kvm_vcpu *vcpu, unsigned long ga, ar_t ar, void *data, in access_guest()
827 int guest_translate_address(struct kvm_vcpu *vcpu, unsigned long gva, ar_t ar, in guest_translate_address()
869 int check_gva_range(struct kvm_vcpu *vcpu, unsigned long gva, ar_t ar, in check_gva_range()
/linux-4.4.14/tools/testing/selftests/x86/
Dldt_gdt.c49 uint32_t has_limit = 0, has_ar = 0, limit, ar; in check_invalid_segment() local
79 uint32_t has_limit = 0, has_ar = 0, limit, ar; in check_valid_segment() local
116 static bool install_valid_mode(const struct user_desc *desc, uint32_t ar, in install_valid_mode()
145 static bool install_valid(const struct user_desc *desc, uint32_t ar) in install_valid()
Dsigreturn.c370 uint32_t valid = 0, ar; in cs_bitness() local
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
Dnidstrings.c287 struct addrrange *ar; in free_addrranges() local
370 struct addrrange *ar; in cfs_match_nid() local
416 struct addrrange *ar; in cfs_print_addrranges() local
469 static void cfs_ip_ar_min_max(struct addrrange *ar, __u32 *min_nid, in cfs_ip_ar_min_max()
508 static void cfs_num_ar_min_max(struct addrrange *ar, __u32 *min_nid, in cfs_num_ar_min_max()
581 struct addrrange *ar; in cfs_num_is_contiguous() local
627 struct addrrange *ar; in cfs_ip_is_contiguous() local
717 struct addrrange *ar; in cfs_num_min_max() local
749 struct addrrange *ar; in cfs_ip_min_max() local
/linux-4.4.14/drivers/edac/
Dcell_edac.c34 static void cell_edac_count_ce(struct mem_ctl_info *mci, int chan, u64 ar) in cell_edac_count_ce()
57 static void cell_edac_count_ue(struct mem_ctl_info *mci, int chan, u64 ar) in cell_edac_count_ue()
/linux-4.4.14/sound/isa/msnd/
Dmsnd_pinnacle_mixer.c163 #define update_potm(d, s, ar) \ argument
175 #define update_pot(d, s, ar) \ argument
/linux-4.4.14/fs/ext4/
Dindirect.c323 struct ext4_allocation_request *ar, in ext4_alloc_branch()
413 struct ext4_allocation_request *ar, in ext4_splice_branch()
518 struct ext4_allocation_request ar; in ext4_ind_map_blocks() local
Dballoc.c632 struct ext4_allocation_request ar; in ext4_new_meta_blocks() local
Dmballoc.c3024 struct ext4_allocation_request *ar) in ext4_mb_normalize_request()
4171 struct ext4_allocation_request *ar) in ext4_mb_initialize_context()
4416 struct ext4_allocation_request *ar, int *errp) in ext4_mb_new_blocks()
Dextents.c4285 struct ext4_allocation_request ar; in ext4_ext_map_blocks() local
/linux-4.4.14/scripts/
Dkallsyms.c95 struct addr_range *ar; in check_symbol_range() local
184 struct addr_range *ar; in symbol_in_range() local
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_object.c141 struct osc_async_rc *ar = &oinfo->loi_ar; in osc_object_print() local
Dosc_cache.c1765 static void osc_process_ar(struct osc_async_rc *ar, __u64 xid, in osc_process_ar()
/linux-4.4.14/arch/s390/include/asm/
Dnmi.h59 u64 ar : 1; /* 33 access register validity */ member
/linux-4.4.14/fs/
Dlibfs.c682 struct simple_transaction_argresp *ar = file->private_data; in simple_transaction_set() local
697 struct simple_transaction_argresp *ar; in simple_transaction_get() local
729 struct simple_transaction_argresp *ar = file->private_data; in simple_transaction_read() local
/linux-4.4.14/drivers/media/pci/saa7164/
Dsaa7164-api.c251 struct tmComResEncVideoInputAspectRatio ar; in saa7164_api_get_encoder() local
327 struct tmComResEncVideoInputAspectRatio ar; in saa7164_api_set_aspect_ratio() local
/linux-4.4.14/drivers/video/fbdev/core/
Dsvgalib.c383 u16 am, an, ar; in svga_compute_pll() local
/linux-4.4.14/sound/oss/
Dmsnd_pinnacle.c406 #define update_potm(d,s,ar) \ argument
416 #define update_pot(d,s,ar) \ argument
/linux-4.4.14/net/mac80211/
Drc80211_minstrel.c270 struct ieee80211_tx_rate *ar = info->status.rates; in minstrel_tx_status() local
Drc80211_minstrel_ht.c704 struct ieee80211_tx_rate *ar = info->status.rates; in minstrel_ht_tx_status() local
/linux-4.4.14/arch/powerpc/sysdev/
Dfsl_pci.c629 u32 ar; member
/linux-4.4.14/arch/ia64/include/uapi/asm/
Dptrace.h217 unsigned long ar[128]; member
/linux-4.4.14/arch/ia64/kernel/
Dpalinfo.c737 unsigned long ar:3; in tr_info() member
/linux-4.4.14/arch/x86/kvm/
Dvmx.c573 u32 ar; member
3838 u32 ar; in vmx_get_segment() local
3889 int ar = vmx_read_guest_seg_ar(vmx, VCPU_SREG_SS); in vmx_get_cpl() local
3896 u32 ar; in vmx_segment_access_rights() local
3957 u32 ar = vmx_read_guest_seg_ar(to_vmx(vcpu), VCPU_SREG_CS); in vmx_get_cs_db_l_bits() local
3990 u32 ar; in rmode_segment_valid() local
4261 unsigned int ar; in seg_setup() local
/linux-4.4.14/drivers/gpu/drm/ast/
Dast_drv.h276 u8 ar[20]; member
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_hdmi.c871 u8 ar; in hdmi_reg_infoframe() local
/linux-4.4.14/drivers/scsi/esas2r/
Desas2r_main.c971 struct esas2r_request *ar = *abort_request; in esas2r_check_active_queue() local
/linux-4.4.14/drivers/scsi/megaraid/
Dmegaraid_sas_fp.c143 u16 MR_ArPdGet(u32 ar, u32 arm, struct MR_DRV_RAID_MAP_ALL *map) in MR_ArPdGet()
/linux-4.4.14/arch/x86/include/asm/
Dvmx.h394 #define VMX_AR_DPL(ar) (((ar) >> VMX_AR_DPL_SHIFT) & 3) argument
/linux-4.4.14/arch/ia64/include/asm/
Dsal.h381 ar : 1, member
389 u64 ar[128]; member
Dpal.h451 ar : 1, /* App regs valid */ member
/linux-4.4.14/include/uapi/linux/
Dkvm.h331 __u8 ar; member
405 __u8 ar; /* the access register number */ member
/linux-4.4.14/drivers/net/wireless/
Dmac80211_hwsim.c2131 struct mac80211_hwsim_data *ar = hw->priv; in mac80211_hwsim_get_et_stats() local
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hsi.h2583 __le16 ar; member