/Linux-v5.4/drivers/net/wireless/ath/wil6210/ |
D | wil6210.h | 44 struct wil6210_priv; 603 void (*configure_interrupt_moderation)(struct wil6210_priv *wil); 607 void (*ring_fini_tx)(struct wil6210_priv *wil, struct wil_ring *ring); 609 int (*tx_init)(struct wil6210_priv *wil); 610 void (*tx_fini)(struct wil6210_priv *wil); 616 int (*tx_ring_tso)(struct wil6210_priv *wil, struct wil6210_vif *vif, 622 int (*rx_init)(struct wil6210_priv *wil, uint ring_order); 623 void (*rx_fini)(struct wil6210_priv *wil); 624 int (*wmi_addba_rx_resp)(struct wil6210_priv *wil, u8 mid, u8 cid, 627 void (*get_reorder_params)(struct wil6210_priv *wil, [all …]
|
D | interrupt.c | 86 static void wil6210_mask_irq_tx(struct wil6210_priv *wil) in wil6210_mask_irq_tx() 92 static void wil6210_mask_irq_tx_edma(struct wil6210_priv *wil) in wil6210_mask_irq_tx_edma() 98 static void wil6210_mask_irq_rx(struct wil6210_priv *wil) in wil6210_mask_irq_rx() 104 static void wil6210_mask_irq_rx_edma(struct wil6210_priv *wil) in wil6210_mask_irq_rx_edma() 110 static void wil6210_mask_irq_misc(struct wil6210_priv *wil, bool mask_halp) in wil6210_mask_irq_misc() 119 void wil6210_mask_halp(struct wil6210_priv *wil) in wil6210_mask_halp() 127 static void wil6210_mask_irq_pseudo(struct wil6210_priv *wil) in wil6210_mask_irq_pseudo() 136 void wil6210_unmask_irq_tx(struct wil6210_priv *wil) in wil6210_unmask_irq_tx() 142 void wil6210_unmask_irq_tx_edma(struct wil6210_priv *wil) in wil6210_unmask_irq_tx_edma() 148 void wil6210_unmask_irq_rx(struct wil6210_priv *wil) in wil6210_unmask_irq_rx() [all …]
|
D | netdev.c | 23 bool wil_has_other_active_ifaces(struct wil6210_priv *wil, in wil_has_other_active_ifaces() 44 bool wil_has_active_ifaces(struct wil6210_priv *wil, bool up, bool ok) in wil_has_active_ifaces() 52 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_open() 79 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_stop() 104 struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, in wil6210_netdev_poll_rx() 125 struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, in wil6210_netdev_poll_rx_edma() 146 struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, in wil6210_netdev_poll_tx() 183 struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, in wil6210_netdev_poll_tx_edma() 242 struct wil6210_priv *wil = vif_to_wil(vif); in wil_connect_timer_fn() 258 struct wil6210_priv *wil = vif_to_wil(vif); in wil_scan_timer_fn() [all …]
|
D | main.c | 190 int wil_mem_access_lock(struct wil6210_priv *wil) in wil_mem_access_lock() 204 void wil_mem_access_unlock(struct wil6210_priv *wil) in wil_mem_access_unlock() 209 static void wil_ring_fini_tx(struct wil6210_priv *wil, int id) in wil_ring_fini_tx() 240 static bool wil_vif_is_connected(struct wil6210_priv *wil, u8 mid) in wil_vif_is_connected() 258 struct wil6210_priv *wil = vif_to_wil(vif); in wil_disconnect_cid_complete() 315 struct wil6210_priv *wil = vif_to_wil(vif); in _wil6210_disconnect_complete() 398 struct wil6210_priv *wil = vif_to_wil(vif); in wil_disconnect_cid() 428 struct wil6210_priv *wil; in _wil6210_disconnect() 475 struct wil6210_priv *wil = vif_to_wil(vif); in wil_disconnect_worker() 508 static int wil_wait_for_recovery(struct wil6210_priv *wil) in wil_wait_for_recovery() [all …]
|
D | pm.c | 24 static void wil_pm_wake_connected_net_queues(struct wil6210_priv *wil) in wil_pm_wake_connected_net_queues() 38 static void wil_pm_stop_all_net_queues(struct wil6210_priv *wil) in wil_pm_stop_all_net_queues() 53 wil_can_suspend_vif(struct wil6210_priv *wil, struct wil6210_vif *vif, in wil_can_suspend_vif() 84 int wil_can_suspend(struct wil6210_priv *wil, bool is_runtime) in wil_can_suspend() 149 static int wil_resume_keep_radio_on(struct wil6210_priv *wil) in wil_resume_keep_radio_on() 190 static int wil_suspend_keep_radio_on(struct wil6210_priv *wil) in wil_suspend_keep_radio_on() 310 static int wil_suspend_radio_off(struct wil6210_priv *wil) in wil_suspend_radio_off() 365 static int wil_resume_radio_off(struct wil6210_priv *wil) in wil_resume_radio_off() 388 int wil_suspend(struct wil6210_priv *wil, bool is_runtime, bool keep_radio_on) in wil_suspend() 410 int wil_resume(struct wil6210_priv *wil, bool is_runtime, bool keep_radio_on) in wil_resume() [all …]
|
D | pmc.h | 21 void wil_pmc_init(struct wil6210_priv *wil); 22 void wil_pmc_alloc(struct wil6210_priv *wil, 24 void wil_pmc_free(struct wil6210_priv *wil, int send_pmc_cmd); 25 int wil_pmc_last_cmd_status(struct wil6210_priv *wil);
|
D | fw_inc.c | 30 static bool wil_fw_addr_check(struct wil6210_priv *wil, in wil_fw_addr_check() 50 static int wil_fw_verify(struct wil6210_priv *wil, const u8 *data, size_t size) in wil_fw_verify() 125 static int fw_ignore_section(struct wil6210_priv *wil, const void *data, in fw_ignore_section() 132 fw_handle_capabilities(struct wil6210_priv *wil, const void *data, in fw_handle_capabilities() 155 fw_handle_brd_file(struct wil6210_priv *wil, const void *data, in fw_handle_brd_file() 210 fw_handle_concurrency(struct wil6210_priv *wil, const void *data, in fw_handle_concurrency() 248 fw_handle_comment(struct wil6210_priv *wil, const void *data, in fw_handle_comment() 281 static int __fw_handle_data(struct wil6210_priv *wil, const void *data, in __fw_handle_data() 302 static int fw_handle_data(struct wil6210_priv *wil, const void *data, in fw_handle_data() 310 static int fw_handle_fill(struct wil6210_priv *wil, const void *data, in fw_handle_fill() [all …]
|
D | debug.c | 21 void __wil_err(struct wil6210_priv *wil, const char *fmt, ...) in __wil_err() 34 void __wil_err_ratelimited(struct wil6210_priv *wil, const char *fmt, ...) in __wil_err_ratelimited() 50 void wil_dbg_ratelimited(const struct wil6210_priv *wil, const char *fmt, ...) in wil_dbg_ratelimited() 66 void __wil_info(struct wil6210_priv *wil, const char *fmt, ...) in __wil_info() 79 void wil_dbg_trace(struct wil6210_priv *wil, const char *fmt, ...) in wil_dbg_trace()
|
D | pcie_bus.c | 39 int wil_set_capabilities(struct wil6210_priv *wil) in wil_set_capabilities() 154 void wil_disable_irq(struct wil6210_priv *wil) in wil_disable_irq() 165 void wil_enable_irq(struct wil6210_priv *wil) in wil_enable_irq() 176 static void wil_remove_all_additional_vifs(struct wil6210_priv *wil) in wil_remove_all_additional_vifs() 191 static int wil_if_pcie_enable(struct wil6210_priv *wil) in wil_if_pcie_enable() 261 static int wil_if_pcie_disable(struct wil6210_priv *wil) in wil_if_pcie_disable() 279 struct wil6210_priv *wil = wil_handle; in wil_platform_rop_ramdump() 289 struct wil6210_priv *wil = wil_handle; in wil_platform_rop_fw_recovery() 299 static void wil_platform_ops_uninit(struct wil6210_priv *wil) in wil_platform_ops_uninit() 308 struct wil6210_priv *wil; in wil_pcie_probe() [all …]
|
D | wmi.c | 288 void __iomem *wmi_buffer_block(struct wil6210_priv *wil, __le32 ptr_, u32 size) in wmi_buffer_block() 309 void __iomem *wmi_buffer(struct wil6210_priv *wil, __le32 ptr_) in wmi_buffer() 317 void __iomem *wmi_addr(struct wil6210_priv *wil, u32 ptr) in wmi_addr() 334 int wmi_read_hdr(struct wil6210_priv *wil, __le32 ptr, in wmi_read_hdr() 643 static int __wmi_send(struct wil6210_priv *wil, u16 cmdid, u8 mid, in __wmi_send() 765 int wmi_send(struct wil6210_priv *wil, u16 cmdid, u8 mid, void *buf, u16 len) in wmi_send() 779 struct wil6210_priv *wil = vif_to_wil(vif); in wmi_evt_ready() 827 struct wil6210_priv *wil = vif_to_wil(vif); in wmi_evt_rx_mgmt() 933 struct wil6210_priv *wil = vif_to_wil(vif); in wmi_evt_scan_complete() 965 struct wil6210_priv *wil = vif_to_wil(vif); in wmi_evt_connect() [all …]
|
D | debugfs.c | 53 static void wil_print_desc_edma(struct seq_file *s, struct wil6210_priv *wil, in wil_print_desc_edma() 85 static void wil_print_ring(struct seq_file *s, struct wil6210_priv *wil, in wil_print_ring() 146 struct wil6210_priv *wil = s->private; in ring_show() 204 static void wil_print_sring(struct seq_file *s, struct wil6210_priv *wil, in wil_print_sring() 264 struct wil6210_priv *wil = s->private; in srings_show() 284 struct wil6210_priv *wil = s->private; in wil_print_mbox_ring() 367 struct wil6210_priv *wil = s->private; in mbox_show() 389 struct wil6210_priv *wil = d->wil; in wil_debugfs_iomem_x32_set() 409 struct wil6210_priv *wil = d->wil; in wil_debugfs_iomem_x32_get() 428 struct wil6210_priv *wil) in wil_debugfs_create_iomem_x32() [all …]
|
D | cfg80211.c | 116 static int wil_num_supported_channels(struct wil6210_priv *wil) in wil_num_supported_channels() 126 void update_supported_bands(struct wil6210_priv *wil) in update_supported_bands() 444 struct wil6210_priv *wil = vif_to_wil(vif); in wil_cid_fill_sinfo() 529 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_get_station() 547 int wil_find_cid_by_idx(struct wil6210_priv *wil, u8 mid, int idx) in wil_find_cid_by_idx() 569 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_dump_station() 588 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_start_p2p_device() 598 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_stop_p2p_device() 612 static int wil_cfg80211_validate_add_iface(struct wil6210_priv *wil, in wil_cfg80211_validate_add_iface() 631 static int wil_cfg80211_validate_change_iface(struct wil6210_priv *wil, in wil_cfg80211_validate_change_iface() [all …]
|
D | txrx_edma.c | 58 static int wil_find_free_sring(struct wil6210_priv *wil) in wil_find_free_sring() 70 static void wil_sring_free(struct wil6210_priv *wil, in wil_sring_free() 89 static int wil_sring_alloc(struct wil6210_priv *wil, in wil_sring_alloc() 117 static int wil_tx_init_edma(struct wil6210_priv *wil) in wil_tx_init_edma() 164 static int wil_ring_alloc_skb_edma(struct wil6210_priv *wil, in wil_ring_alloc_skb_edma() 244 static int wil_rx_refill_edma(struct wil6210_priv *wil) in wil_rx_refill_edma() 276 static void wil_move_all_rx_buff_to_free_list(struct wil6210_priv *wil, in wil_move_all_rx_buff_to_free_list() 306 static void wil_free_rx_buff_arr(struct wil6210_priv *wil) in wil_free_rx_buff_arr() 322 static int wil_init_rx_buff_arr(struct wil6210_priv *wil, in wil_init_rx_buff_arr() 354 static int wil_init_rx_sring(struct wil6210_priv *wil, in wil_init_rx_sring() [all …]
|
D | ethtool.c | 27 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_ethtoolops_begin() 38 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_ethtoolops_complete() 48 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_ethtoolops_get_coalesce() 77 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_ethtoolops_set_coalesce()
|
D | txrx_edma.h | 453 static inline int wil_rx_status_get_frame_type(struct wil6210_priv *wil, in wil_rx_status_get_frame_type() 463 static inline int wil_rx_status_get_fc1(struct wil6210_priv *wil, void *msg) in wil_rx_status_get_fc1() 472 static inline __le16 wil_rx_status_get_seq(struct wil6210_priv *wil, void *msg) in wil_rx_status_get_seq() 606 void wil_configure_interrupt_moderation_edma(struct wil6210_priv *wil); 607 int wil_tx_sring_handler(struct wil6210_priv *wil, 609 void wil_rx_handle_edma(struct wil6210_priv *wil, int *quota); 610 void wil_init_txrx_ops_edma(struct wil6210_priv *wil);
|
D | txrx.c | 74 bool wil_is_tx_idle(struct wil6210_priv *wil) in wil_is_tx_idle() 120 static int wil_vring_alloc(struct wil6210_priv *wil, struct wil_ring *vring) in wil_vring_alloc() 200 static void wil_vring_free(struct wil6210_priv *wil, struct wil_ring *vring) in wil_vring_free() 267 static int wil_vring_alloc_skb(struct wil6210_priv *wil, struct wil_ring *vring, in wil_vring_alloc_skb() 317 static void wil_rx_add_radiotap_header(struct wil6210_priv *wil, in wil_rx_add_radiotap_header() 363 static bool wil_is_rx_idle(struct wil6210_priv *wil) in wil_is_rx_idle() 375 static int wil_rx_get_cid_by_skb(struct wil6210_priv *wil, struct sk_buff *skb) in wil_rx_get_cid_by_skb() 452 static struct sk_buff *wil_vring_reap_rx(struct wil6210_priv *wil, in wil_vring_reap_rx() 619 static int wil_rx_refill(struct wil6210_priv *wil, int count) in wil_rx_refill() 672 static int wil_rx_crypto_check(struct wil6210_priv *wil, struct sk_buff *skb) in wil_rx_crypto_check() [all …]
|
D | p2p.c | 28 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_start_listen() 73 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_search() 136 int wil_p2p_listen(struct wil6210_priv *wil, struct wireless_dev *wdev, in wil_p2p_listen() 209 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_cancel_listen() 248 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_listen_expired() 276 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_search_expired() 308 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_delayed_listen_work() 349 void wil_p2p_stop_radio_operations(struct wil6210_priv *wil) in wil_p2p_stop_radio_operations()
|
D | txrx.h | 655 static inline int wil_get_min_tx_ring_id(struct wil6210_priv *wil) in wil_get_min_tx_ring_id() 691 void wil_rx_reorder(struct wil6210_priv *wil, struct sk_buff *skb); 692 void wil_rx_bar(struct wil6210_priv *wil, struct wil6210_vif *vif, 694 struct wil_tid_ampdu_rx *wil_tid_ampdu_rx_alloc(struct wil6210_priv *wil, 696 void wil_tid_ampdu_rx_free(struct wil6210_priv *wil, 699 void wil_init_txrx_ops_legacy_dma(struct wil6210_priv *wil); 700 void wil_tx_latency_calc(struct wil6210_priv *wil, struct sk_buff *skb,
|
D | pmc.c | 37 void wil_pmc_init(struct wil6210_priv *wil) in wil_pmc_init() 51 void wil_pmc_alloc(struct wil6210_priv *wil, in wil_pmc_alloc() 239 void wil_pmc_free(struct wil6210_priv *wil, int send_pmc_cmd) in wil_pmc_free() 317 int wil_pmc_last_cmd_status(struct wil6210_priv *wil) in wil_pmc_last_cmd_status() 332 struct wil6210_priv *wil = filp->private_data; in wil_pmc_read() 388 struct wil6210_priv *wil = filp->private_data; in wil_pmc_llseek() 438 struct wil6210_priv *wil = s->private; in wil_pmcring_read()
|
D | rx_reorder.c | 93 void wil_rx_reorder(struct wil6210_priv *wil, struct sk_buff *skb) in wil_rx_reorder() 225 void wil_rx_bar(struct wil6210_priv *wil, struct wil6210_vif *vif, in wil_rx_bar() 252 struct wil_tid_ampdu_rx *wil_tid_ampdu_rx_alloc(struct wil6210_priv *wil, in wil_tid_ampdu_rx_alloc() 276 void wil_tid_ampdu_rx_free(struct wil6210_priv *wil, in wil_tid_ampdu_rx_free() 297 static u16 wil_agg_size(struct wil6210_priv *wil, u16 req_agg_wsize) in wil_agg_size() 309 int wil_addba_rx_request(struct wil6210_priv *wil, u8 mid, u8 cid, u8 tid, in wil_addba_rx_request() 386 int wil_addba_tx_request(struct wil6210_priv *wil, u8 ringid, u16 wsize) in wil_addba_tx_request()
|
D | wil_crash_dump.c | 21 static int wil_fw_get_crash_dump_bounds(struct wil6210_priv *wil, in wil_fw_get_crash_dump_bounds() 58 int wil_fw_copy_crash_dump(struct wil6210_priv *wil, void *dest, u32 size) in wil_fw_copy_crash_dump() 103 void wil_fw_core_dump(struct wil6210_priv *wil) in wil_fw_core_dump()
|
D | trace.h | 192 TP_PROTO(struct wil6210_priv *wil, u8 use_compressed, u16 buff_id,
|