/Linux-v5.4/drivers/net/wireless/ath/ath10k/ |
D | pci.c | 429 static bool ath10k_pci_is_awake(struct ath10k *ar) in ath10k_pci_is_awake() 438 static void __ath10k_pci_wake(struct ath10k *ar) in __ath10k_pci_wake() 452 static void __ath10k_pci_sleep(struct ath10k *ar) in __ath10k_pci_sleep() 467 static int ath10k_pci_wake_wait(struct ath10k *ar) in ath10k_pci_wake_wait() 490 static int ath10k_pci_force_wake(struct ath10k *ar) in ath10k_pci_force_wake() 516 static void ath10k_pci_force_sleep(struct ath10k *ar) in ath10k_pci_force_sleep() 531 static int ath10k_pci_wake(struct ath10k *ar) in ath10k_pci_wake() 566 static void ath10k_pci_sleep(struct ath10k *ar) in ath10k_pci_sleep() 594 struct ath10k *ar = ar_pci->ar; in ath10k_pci_ps_timer() local 611 static void ath10k_pci_sleep_sync(struct ath10k *ar) in ath10k_pci_sleep_sync() [all …]
|
D | ahb.c | 28 static inline struct ath10k_ahb *ath10k_ahb_priv(struct ath10k *ar) in ath10k_ahb_priv() 33 static void ath10k_ahb_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_ahb_write32() 40 static u32 ath10k_ahb_read32(struct ath10k *ar, u32 offset) in ath10k_ahb_read32() 47 static u32 ath10k_ahb_gcc_read32(struct ath10k *ar, u32 offset) in ath10k_ahb_gcc_read32() 54 static void ath10k_ahb_tcsr_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_ahb_tcsr_write32() 61 static u32 ath10k_ahb_tcsr_read32(struct ath10k *ar, u32 offset) in ath10k_ahb_tcsr_read32() 68 static u32 ath10k_ahb_soc_read32(struct ath10k *ar, u32 addr) in ath10k_ahb_soc_read32() 73 static int ath10k_ahb_get_num_banks(struct ath10k *ar) in ath10k_ahb_get_num_banks() 82 static int ath10k_ahb_clock_init(struct ath10k *ar) in ath10k_ahb_clock_init() 113 static void ath10k_ahb_clock_deinit(struct ath10k *ar) in ath10k_ahb_clock_deinit() [all …]
|
D | snoc.c | 467 static void ath10k_snoc_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_snoc_write32() 474 static u32 ath10k_snoc_read32(struct ath10k *ar, u32 offset) in ath10k_snoc_read32() 487 struct ath10k *ar = pipe->hif_ce_state; in __ath10k_snoc_rx_post_buf() local 525 struct ath10k *ar = pipe->hif_ce_state; in ath10k_snoc_rx_post_pipe() local 553 static void ath10k_snoc_rx_post(struct ath10k *ar) in ath10k_snoc_rx_post() 563 void (*callback)(struct ath10k *ar, in ath10k_snoc_process_rx_cb() 566 struct ath10k *ar = ce_state->ar; in ath10k_snoc_process_rx_cb() local 626 static void ath10k_snoc_htt_rx_deliver(struct ath10k *ar, struct sk_buff *skb) in ath10k_snoc_htt_rx_deliver() 641 struct ath10k *ar = ar_snoc->ar; in ath10k_snoc_rx_replenish_retry() local 648 struct ath10k *ar = ce_state->ar; in ath10k_snoc_htc_tx_cb() local [all …]
|
D | core.c | 654 void ath10k_core_get_fw_features_str(struct ath10k *ar, in ath10k_core_get_fw_features_str() 673 static void ath10k_send_suspend_complete(struct ath10k *ar) in ath10k_send_suspend_complete() 680 static void ath10k_init_sdio(struct ath10k *ar, enum ath10k_firmware_mode mode) in ath10k_init_sdio() 713 static int ath10k_init_configure_target(struct ath10k *ar) in ath10k_init_configure_target() 781 static const struct firmware *ath10k_fetch_fw_file(struct ath10k *ar, in ath10k_fetch_fw_file() 806 static int ath10k_push_board_ext_data(struct ath10k *ar, const void *data, in ath10k_push_board_ext_data() 853 static int ath10k_core_get_board_id_from_otp(struct ath10k *ar) in ath10k_core_get_board_id_from_otp() 921 struct ath10k *ar = data; in ath10k_core_check_bdfext() local 974 static int ath10k_core_check_smbios(struct ath10k *ar) in ath10k_core_check_smbios() 985 static int ath10k_core_check_dt(struct ath10k *ar) in ath10k_core_check_dt() [all …]
|
D | wmi-ops.h | 225 ath10k_wmi_rx(struct ath10k *ar, struct sk_buff *skb) in ath10k_wmi_rx() 235 ath10k_wmi_map_svc(struct ath10k *ar, const __le32 *in, unsigned long *out, in ath10k_wmi_map_svc() 246 ath10k_wmi_map_svc_ext(struct ath10k *ar, const __le32 *in, unsigned long *out, in ath10k_wmi_map_svc_ext() 257 ath10k_wmi_pull_scan(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_scan() 267 ath10k_wmi_pull_mgmt_tx_compl(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_mgmt_tx_compl() 277 ath10k_wmi_pull_mgmt_tx_bundle_compl(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_mgmt_tx_bundle_compl() 287 ath10k_wmi_pull_mgmt_rx(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_mgmt_rx() 297 ath10k_wmi_pull_ch_info(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_ch_info() 307 ath10k_wmi_pull_vdev_start(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_vdev_start() 317 ath10k_wmi_pull_peer_kick(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_pull_peer_kick() [all …]
|
D | wmi.c | 1721 int ath10k_wmi_wait_for_service_ready(struct ath10k *ar) in ath10k_wmi_wait_for_service_ready() 1732 int ath10k_wmi_wait_for_unified_ready(struct ath10k *ar) in ath10k_wmi_wait_for_unified_ready() 1743 struct sk_buff *ath10k_wmi_alloc_skb(struct ath10k *ar, u32 len) in ath10k_wmi_alloc_skb() 1762 static void ath10k_wmi_htc_tx_complete(struct ath10k *ar, struct sk_buff *skb) in ath10k_wmi_htc_tx_complete() 1767 int ath10k_wmi_cmd_send_nowait(struct ath10k *ar, struct sk_buff *skb, in ath10k_wmi_cmd_send_nowait() 1799 struct ath10k *ar = arvif->ar; in ath10k_wmi_tx_beacon_nowait() local 1852 static void ath10k_wmi_tx_beacons_nowait(struct ath10k *ar) in ath10k_wmi_tx_beacons_nowait() 1860 static void ath10k_wmi_op_ep_tx_credits(struct ath10k *ar) in ath10k_wmi_op_ep_tx_credits() 1868 int ath10k_wmi_cmd_send(struct ath10k *ar, struct sk_buff *skb, u32 cmd_id) in ath10k_wmi_cmd_send() 1905 ath10k_wmi_op_gen_mgmt_tx(struct ath10k *ar, struct sk_buff *msdu) in ath10k_wmi_op_gen_mgmt_tx() [all …]
|
D | mac.c | 199 int ath10k_mac_ext_resource_config(struct ath10k *ar, u32 val) in ath10k_mac_ext_resource_config() 228 struct ath10k *ar = arvif->ar; in ath10k_send_key() local 288 struct ath10k *ar = arvif->ar; in ath10k_install_key() local 313 struct ath10k *ar = arvif->ar; in ath10k_install_peer_wep_keys() local 401 struct ath10k *ar = arvif->ar; in ath10k_clear_peer_keys() local 439 bool ath10k_mac_is_peer_wep_key_set(struct ath10k *ar, const u8 *addr, in ath10k_mac_is_peer_wep_key_set() 467 struct ath10k *ar = arvif->ar; in ath10k_clear_vdev_key() local 515 struct ath10k *ar = arvif->ar; in ath10k_mac_vif_update_wep_key() local 675 static int ath10k_mac_num_chanctxs(struct ath10k *ar) in ath10k_mac_num_chanctxs() 696 static void ath10k_wait_for_peer_delete_done(struct ath10k *ar, u32 vdev_id, in ath10k_wait_for_peer_delete_done() [all …]
|
D | debug.h | 103 #define ATH10K_DFS_STAT_INC(ar, c) (ar->debug.dfs_stats.c++) argument 114 static inline u64 ath10k_debug_get_fw_dbglog_mask(struct ath10k *ar) in ath10k_debug_get_fw_dbglog_mask() 119 static inline u32 ath10k_debug_get_fw_dbglog_level(struct ath10k *ar) in ath10k_debug_get_fw_dbglog_level() 124 static inline int ath10k_debug_is_extd_tx_stats_enabled(struct ath10k *ar) in ath10k_debug_is_extd_tx_stats_enabled() 130 static inline int ath10k_debug_start(struct ath10k *ar) in ath10k_debug_start() 135 static inline void ath10k_debug_stop(struct ath10k *ar) in ath10k_debug_stop() 139 static inline int ath10k_debug_create(struct ath10k *ar) in ath10k_debug_create() 144 static inline void ath10k_debug_destroy(struct ath10k *ar) in ath10k_debug_destroy() 148 static inline int ath10k_debug_register(struct ath10k *ar) in ath10k_debug_register() 153 static inline void ath10k_debug_unregister(struct ath10k *ar) in ath10k_debug_unregister() [all …]
|
D | ce.c | 51 static inline u32 shadow_sr_wr_ind_addr(struct ath10k *ar, in shadow_sr_wr_ind_addr() 80 static inline u32 shadow_dst_wr_ind_addr(struct ath10k *ar, in shadow_dst_wr_ind_addr() 133 static inline u32 ath10k_ce_read32(struct ath10k *ar, u32 offset) in ath10k_ce_read32() 140 static inline void ath10k_ce_write32(struct ath10k *ar, u32 offset, u32 value) in ath10k_ce_write32() 147 static inline void ath10k_ce_dest_ring_write_index_set(struct ath10k *ar, in ath10k_ce_dest_ring_write_index_set() 155 static inline u32 ath10k_ce_dest_ring_write_index_get(struct ath10k *ar, in ath10k_ce_dest_ring_write_index_get() 162 static inline void ath10k_ce_src_ring_write_index_set(struct ath10k *ar, in ath10k_ce_src_ring_write_index_set() 170 static inline u32 ath10k_ce_src_ring_write_index_get(struct ath10k *ar, in ath10k_ce_src_ring_write_index_get() 177 static inline u32 ath10k_ce_src_ring_read_index_from_ddr(struct ath10k *ar, in ath10k_ce_src_ring_read_index_from_ddr() 185 static inline u32 ath10k_ce_src_ring_read_index_get(struct ath10k *ar, in ath10k_ce_src_ring_read_index_get() [all …]
|
D | usb.c | 74 static void ath10k_usb_free_pipe_resources(struct ath10k *ar, in ath10k_usb_free_pipe_resources() 106 static void ath10k_usb_cleanup_pipe_resources(struct ath10k *ar) in ath10k_usb_cleanup_pipe_resources() 121 struct ath10k *ar = pipe->ar_usb->ar; in ath10k_usb_recv_complete() local 178 struct ath10k *ar = pipe->ar_usb->ar; in ath10k_usb_transmit_complete() local 197 static void ath10k_usb_post_recv_transfers(struct ath10k *ar, in ath10k_usb_post_recv_transfers() 250 static void ath10k_usb_flush_all(struct ath10k *ar) in ath10k_usb_flush_all() 263 static void ath10k_usb_start_recv_pipes(struct ath10k *ar) in ath10k_usb_start_recv_pipes() 273 static void ath10k_usb_tx_complete(struct ath10k *ar, struct sk_buff *skb) in ath10k_usb_tx_complete() 284 static void ath10k_usb_rx_complete(struct ath10k *ar, struct sk_buff *skb) in ath10k_usb_rx_complete() 351 struct ath10k *ar = pipe->ar_usb->ar; in ath10k_usb_io_comp_work() local [all …]
|
D | hif.h | 100 static inline int ath10k_hif_tx_sg(struct ath10k *ar, u8 pipe_id, in ath10k_hif_tx_sg() 107 static inline int ath10k_hif_diag_read(struct ath10k *ar, u32 address, void *buf, in ath10k_hif_diag_read() 113 static inline int ath10k_hif_diag_write(struct ath10k *ar, u32 address, in ath10k_hif_diag_write() 122 static inline int ath10k_hif_exchange_bmi_msg(struct ath10k *ar, in ath10k_hif_exchange_bmi_msg() 130 static inline int ath10k_hif_start(struct ath10k *ar) in ath10k_hif_start() 135 static inline void ath10k_hif_stop(struct ath10k *ar) in ath10k_hif_stop() 140 static inline int ath10k_hif_swap_mailbox(struct ath10k *ar) in ath10k_hif_swap_mailbox() 147 static inline int ath10k_hif_map_service_to_pipe(struct ath10k *ar, in ath10k_hif_map_service_to_pipe() 155 static inline void ath10k_hif_get_default_pipe(struct ath10k *ar, in ath10k_hif_get_default_pipe() 161 static inline void ath10k_hif_send_complete_check(struct ath10k *ar, in ath10k_hif_send_complete_check() [all …]
|
D | sdio.c | 127 static int ath10k_sdio_config(struct ath10k *ar) in ath10k_sdio_config() 212 static int ath10k_sdio_write32(struct ath10k *ar, u32 addr, u32 val) in ath10k_sdio_write32() 236 static int ath10k_sdio_writesb32(struct ath10k *ar, u32 addr, u32 val) in ath10k_sdio_writesb32() 269 static int ath10k_sdio_read32(struct ath10k *ar, u32 addr, u32 *val) in ath10k_sdio_read32() 292 static int ath10k_sdio_read(struct ath10k *ar, u32 addr, void *buf, size_t len) in ath10k_sdio_read() 317 static int ath10k_sdio_write(struct ath10k *ar, u32 addr, const void *buf, size_t len) in ath10k_sdio_write() 345 static int ath10k_sdio_readsb(struct ath10k *ar, u32 addr, void *buf, size_t len) in ath10k_sdio_readsb() 374 static int ath10k_sdio_mbox_rx_process_packet(struct ath10k *ar, in ath10k_sdio_mbox_rx_process_packet() 412 static int ath10k_sdio_mbox_rx_process_packets(struct ath10k *ar, in ath10k_sdio_mbox_rx_process_packets() 487 static int ath10k_sdio_mbox_alloc_pkt_bundle(struct ath10k *ar, in ath10k_sdio_mbox_alloc_pkt_bundle() [all …]
|
D | debug.c | 24 void ath10k_info(struct ath10k *ar, const char *fmt, ...) in ath10k_info() 39 void ath10k_debug_print_hwfw_info(struct ath10k *ar) in ath10k_debug_print_hwfw_info() 71 void ath10k_debug_print_board_info(struct ath10k *ar) in ath10k_debug_print_board_info() 95 void ath10k_debug_print_boot_info(struct ath10k *ar) in ath10k_debug_print_boot_info() 108 void ath10k_print_driver_info(struct ath10k *ar) in ath10k_print_driver_info() 116 void ath10k_err(struct ath10k *ar, const char *fmt, ...) in ath10k_err() 131 void ath10k_warn(struct ath10k *ar, const char *fmt, ...) in ath10k_warn() 153 struct ath10k *ar = file->private_data; in ath10k_read_wmi_services() local 242 static void ath10k_debug_fw_stats_reset(struct ath10k *ar) in ath10k_debug_fw_stats_reset() 254 void ath10k_debug_fw_stats_process(struct ath10k *ar, struct sk_buff *skb) in ath10k_debug_fw_stats_process() [all …]
|
D | wmi-tlv.c | 70 ath10k_wmi_tlv_iter(struct ath10k *ar, const void *ptr, size_t len, in ath10k_wmi_tlv_iter() 71 int (*iter)(struct ath10k *ar, u16 tag, u16 len, in ath10k_wmi_tlv_iter() 122 static int ath10k_wmi_tlv_iter_parse(struct ath10k *ar, u16 tag, u16 len, in ath10k_wmi_tlv_iter_parse() 133 static int ath10k_wmi_tlv_parse(struct ath10k *ar, const void **tb, in ath10k_wmi_tlv_parse() 141 ath10k_wmi_tlv_parse_alloc(struct ath10k *ar, const void *ptr, in ath10k_wmi_tlv_parse_alloc() 168 static int ath10k_wmi_tlv_event_bcn_tx_status(struct ath10k *ar, in ath10k_wmi_tlv_event_bcn_tx_status() 215 static void ath10k_wmi_tlv_event_vdev_delete_resp(struct ath10k *ar, in ath10k_wmi_tlv_event_vdev_delete_resp() 222 static int ath10k_wmi_tlv_event_diag_data(struct ath10k *ar, in ath10k_wmi_tlv_event_diag_data() 285 static int ath10k_wmi_tlv_event_diag(struct ath10k *ar, in ath10k_wmi_tlv_event_diag() 313 static int ath10k_wmi_tlv_event_p2p_noa(struct ath10k *ar, in ath10k_wmi_tlv_event_p2p_noa() [all …]
|
D | htt_tx.c | 40 struct ath10k *ar = hw->priv; in __ath10k_htt_tx_txq_recalc() local 88 static void __ath10k_htt_tx_txq_sync(struct ath10k *ar) in __ath10k_htt_tx_txq_sync() 118 struct ath10k *ar = hw->priv; in ath10k_htt_tx_txq_recalc() local 125 void ath10k_htt_tx_txq_sync(struct ath10k *ar) in ath10k_htt_tx_txq_sync() 135 struct ath10k *ar = hw->priv; in ath10k_htt_tx_txq_update() local 169 struct ath10k *ar = htt->ar; in ath10k_htt_tx_mgmt_inc_pending() local 197 struct ath10k *ar = htt->ar; in ath10k_htt_tx_alloc_msdu_id() local 212 struct ath10k *ar = htt->ar; in ath10k_htt_tx_free_msdu_id() local 223 struct ath10k *ar = htt->ar; in ath10k_htt_tx_free_cont_txbuf_32() local 237 struct ath10k *ar = htt->ar; in ath10k_htt_tx_alloc_cont_txbuf_32() local [all …]
|
/Linux-v5.4/drivers/net/wireless/ath/ath6kl/ |
D | hif-ops.h | 24 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 …]
|
D | init.c | 251 static int ath6kl_set_host_app_area(struct ath6kl *ar) in ath6kl_set_host_app_area() 273 static inline void set_ac2_ep_map(struct ath6kl *ar, in set_ac2_ep_map() 282 static int ath6kl_connectservice(struct ath6kl *ar, in ath6kl_connectservice() 324 static int ath6kl_init_service_ep(struct ath6kl *ar) in ath6kl_init_service_ep() 416 static int ath6kl_set_htc_params(struct ath6kl *ar, u32 mbox_isr_yield_val, in ath6kl_set_htc_params() 452 static int ath6kl_target_config_wlan_params(struct ath6kl *ar, int idx) in ath6kl_target_config_wlan_params() 536 int ath6kl_configure_target(struct ath6kl *ar) in ath6kl_configure_target() 674 static int ath6kl_get_fw(struct ath6kl *ar, const char *filename, in ath6kl_get_fw() 702 static bool check_device_tree(struct ath6kl *ar) in check_device_tree() 733 static bool check_device_tree(struct ath6kl *ar) in check_device_tree() [all …]
|
D | recovery.c | 23 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 = from_timer(ar, t, fw_recovery.hb_timer); in ath6kl_recovery_hb_timer() local 98 void ath6kl_recovery_init(struct ath6kl *ar) in ath6kl_recovery_init() 115 void ath6kl_recovery_cleanup(struct ath6kl *ar) in ath6kl_recovery_cleanup() 126 void ath6kl_recovery_suspend(struct ath6kl *ar) in ath6kl_recovery_suspend() 144 void ath6kl_recovery_resume(struct ath6kl *ar) in ath6kl_recovery_resume()
|
D | main.c | 28 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 …]
|
/Linux-v5.4/drivers/net/wireless/ath/carl9170/ |
D | usb.c | 133 static void carl9170_usb_submit_data_urb(struct ar9170 *ar) in carl9170_usb_submit_data_urb() 169 struct ar9170 *ar = usb_get_intfdata(usb_ifnum_to_if(urb->dev, 0)); in carl9170_usb_tx_data_complete() local 212 static int carl9170_usb_submit_cmd_urb(struct ar9170 *ar) in carl9170_usb_submit_cmd_urb() 241 struct ar9170 *ar = urb->context; in carl9170_usb_cmd_complete() local 279 struct ar9170 *ar = urb->context; in carl9170_usb_rx_irq_complete() local 316 static int carl9170_usb_submit_rx_urb(struct ar9170 *ar, gfp_t gfp) in carl9170_usb_submit_rx_urb() 342 static void carl9170_usb_rx_work(struct ar9170 *ar) in carl9170_usb_rx_work() 367 void carl9170_usb_handle_tx_err(struct ar9170 *ar) in carl9170_usb_handle_tx_err() 382 struct ar9170 *ar = (struct ar9170 *) data; in carl9170_usb_tasklet() local 400 struct ar9170 *ar = (struct ar9170 *)urb->context; in carl9170_usb_rx_complete() local [all …]
|
D | tx.c | 48 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 …]
|
D | main.c | 184 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 …]
|
D | mac.c | 44 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 …]
|
D | cmd.c | 43 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()
|
/Linux-v5.4/drivers/net/wireless/ath/ar5523/ |
D | ar5523.c | 48 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 …]
|