Home
last modified time | relevance | path

Searched refs:wil6210_priv (Results 1 – 22 of 22) sorted by relevance

/linux-6.1.9/drivers/net/wireless/ath/wil6210/
Dwil6210.h33 struct wil6210_priv;
594 void (*configure_interrupt_moderation)(struct wil6210_priv *wil);
598 void (*ring_fini_tx)(struct wil6210_priv *wil, struct wil_ring *ring);
600 int (*tx_init)(struct wil6210_priv *wil);
601 void (*tx_fini)(struct wil6210_priv *wil);
607 int (*tx_ring_tso)(struct wil6210_priv *wil, struct wil6210_vif *vif,
613 int (*rx_init)(struct wil6210_priv *wil, uint ring_order);
614 void (*rx_fini)(struct wil6210_priv *wil);
615 int (*wmi_addba_rx_resp)(struct wil6210_priv *wil, u8 mid, u8 cid,
618 void (*get_reorder_params)(struct wil6210_priv *wil,
[all …]
Dinterrupt.c75 static void wil6210_mask_irq_tx(struct wil6210_priv *wil) in wil6210_mask_irq_tx()
81 static void wil6210_mask_irq_tx_edma(struct wil6210_priv *wil) in wil6210_mask_irq_tx_edma()
87 static void wil6210_mask_irq_rx(struct wil6210_priv *wil) in wil6210_mask_irq_rx()
93 static void wil6210_mask_irq_rx_edma(struct wil6210_priv *wil) in wil6210_mask_irq_rx_edma()
99 static void wil6210_mask_irq_misc(struct wil6210_priv *wil, bool mask_halp) in wil6210_mask_irq_misc()
108 void wil6210_mask_halp(struct wil6210_priv *wil) in wil6210_mask_halp()
116 static void wil6210_mask_irq_pseudo(struct wil6210_priv *wil) in wil6210_mask_irq_pseudo()
125 void wil6210_unmask_irq_tx(struct wil6210_priv *wil) in wil6210_unmask_irq_tx()
131 void wil6210_unmask_irq_tx_edma(struct wil6210_priv *wil) in wil6210_unmask_irq_tx_edma()
137 void wil6210_unmask_irq_rx(struct wil6210_priv *wil) in wil6210_unmask_irq_rx()
[all …]
Dnetdev.c12 bool wil_has_other_active_ifaces(struct wil6210_priv *wil, in wil_has_other_active_ifaces()
33 bool wil_has_active_ifaces(struct wil6210_priv *wil, bool up, bool ok) in wil_has_active_ifaces()
41 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_open()
68 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_stop()
93 struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, in wil6210_netdev_poll_rx()
114 struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, in wil6210_netdev_poll_rx_edma()
135 struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, in wil6210_netdev_poll_tx()
172 struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, in wil6210_netdev_poll_tx_edma()
231 struct wil6210_priv *wil = vif_to_wil(vif); in wil_connect_timer_fn()
247 struct wil6210_priv *wil = vif_to_wil(vif); in wil_scan_timer_fn()
[all …]
Dmain.c179 int wil_mem_access_lock(struct wil6210_priv *wil) in wil_mem_access_lock()
193 void wil_mem_access_unlock(struct wil6210_priv *wil) in wil_mem_access_unlock()
198 static void wil_ring_fini_tx(struct wil6210_priv *wil, int id) in wil_ring_fini_tx()
229 static bool wil_vif_is_connected(struct wil6210_priv *wil, u8 mid) in wil_vif_is_connected()
247 struct wil6210_priv *wil = vif_to_wil(vif); in wil_disconnect_cid_complete()
304 struct wil6210_priv *wil = vif_to_wil(vif); in _wil6210_disconnect_complete()
387 struct wil6210_priv *wil = vif_to_wil(vif); in wil_disconnect_cid()
417 struct wil6210_priv *wil; in _wil6210_disconnect()
464 struct wil6210_priv *wil = vif_to_wil(vif); in wil_disconnect_worker()
497 static int wil_wait_for_recovery(struct wil6210_priv *wil) in wil_wait_for_recovery()
[all …]
Dpm.c13 static void wil_pm_wake_connected_net_queues(struct wil6210_priv *wil) in wil_pm_wake_connected_net_queues()
27 static void wil_pm_stop_all_net_queues(struct wil6210_priv *wil) in wil_pm_stop_all_net_queues()
42 wil_can_suspend_vif(struct wil6210_priv *wil, struct wil6210_vif *vif, in wil_can_suspend_vif()
73 int wil_can_suspend(struct wil6210_priv *wil, bool is_runtime) in wil_can_suspend()
138 static int wil_resume_keep_radio_on(struct wil6210_priv *wil) in wil_resume_keep_radio_on()
179 static int wil_suspend_keep_radio_on(struct wil6210_priv *wil) in wil_suspend_keep_radio_on()
299 static int wil_suspend_radio_off(struct wil6210_priv *wil) in wil_suspend_radio_off()
354 static int wil_resume_radio_off(struct wil6210_priv *wil) in wil_resume_radio_off()
377 int wil_suspend(struct wil6210_priv *wil, bool is_runtime, bool keep_radio_on) in wil_suspend()
399 int wil_resume(struct wil6210_priv *wil, bool is_runtime, bool keep_radio_on) in wil_resume()
[all …]
Dpmc.h8 void wil_pmc_init(struct wil6210_priv *wil);
9 void wil_pmc_alloc(struct wil6210_priv *wil,
11 void wil_pmc_free(struct wil6210_priv *wil, int send_pmc_cmd);
12 int wil_pmc_last_cmd_status(struct wil6210_priv *wil);
Dfw_inc.c19 static bool wil_fw_addr_check(struct wil6210_priv *wil, in wil_fw_addr_check()
39 static int wil_fw_verify(struct wil6210_priv *wil, const u8 *data, size_t size) in wil_fw_verify()
114 static int fw_ignore_section(struct wil6210_priv *wil, const void *data, in fw_ignore_section()
121 fw_handle_capabilities(struct wil6210_priv *wil, const void *data, in fw_handle_capabilities()
144 fw_handle_brd_file(struct wil6210_priv *wil, const void *data, in fw_handle_brd_file()
199 fw_handle_concurrency(struct wil6210_priv *wil, const void *data, in fw_handle_concurrency()
237 fw_handle_comment(struct wil6210_priv *wil, const void *data, in fw_handle_comment()
270 static int __fw_handle_data(struct wil6210_priv *wil, const void *data, in __fw_handle_data()
291 static int fw_handle_data(struct wil6210_priv *wil, const void *data, in fw_handle_data()
299 static int fw_handle_fill(struct wil6210_priv *wil, const void *data, in fw_handle_fill()
[all …]
Ddebug.c10 void __wil_err(struct wil6210_priv *wil, const char *fmt, ...) in __wil_err()
23 void __wil_err_ratelimited(struct wil6210_priv *wil, const char *fmt, ...) in __wil_err_ratelimited()
39 void wil_dbg_ratelimited(const struct wil6210_priv *wil, const char *fmt, ...) in wil_dbg_ratelimited()
55 void __wil_info(struct wil6210_priv *wil, const char *fmt, ...) in __wil_info()
68 void wil_dbg_trace(struct wil6210_priv *wil, const char *fmt, ...) in wil_dbg_trace()
Dpcie_bus.c28 int wil_set_capabilities(struct wil6210_priv *wil) in wil_set_capabilities()
143 void wil_disable_irq(struct wil6210_priv *wil) in wil_disable_irq()
154 void wil_enable_irq(struct wil6210_priv *wil) in wil_enable_irq()
165 static void wil_remove_all_additional_vifs(struct wil6210_priv *wil) in wil_remove_all_additional_vifs()
180 static int wil_if_pcie_enable(struct wil6210_priv *wil) in wil_if_pcie_enable()
250 static int wil_if_pcie_disable(struct wil6210_priv *wil) in wil_if_pcie_disable()
268 struct wil6210_priv *wil = wil_handle; in wil_platform_rop_ramdump()
278 struct wil6210_priv *wil = wil_handle; in wil_platform_rop_fw_recovery()
288 static void wil_platform_ops_uninit(struct wil6210_priv *wil) in wil_platform_ops_uninit()
297 struct wil6210_priv *wil; in wil_pcie_probe()
[all …]
Ddebugfs.c42 static void wil_print_desc_edma(struct seq_file *s, struct wil6210_priv *wil, in wil_print_desc_edma()
74 static void wil_print_ring(struct seq_file *s, struct wil6210_priv *wil, in wil_print_ring()
135 struct wil6210_priv *wil = s->private; in ring_show()
193 static void wil_print_sring(struct seq_file *s, struct wil6210_priv *wil, in wil_print_sring()
253 struct wil6210_priv *wil = s->private; in srings_show()
273 struct wil6210_priv *wil = s->private; in wil_print_mbox_ring()
356 struct wil6210_priv *wil = s->private; in mbox_show()
378 struct wil6210_priv *wil = d->wil; in wil_debugfs_iomem_x32_set()
398 struct wil6210_priv *wil = d->wil; in wil_debugfs_iomem_x32_get()
417 struct wil6210_priv *wil) in wil_debugfs_create_iomem_x32()
[all …]
Dwmi.c274 void __iomem *wmi_buffer_block(struct wil6210_priv *wil, __le32 ptr_, u32 size) in wmi_buffer_block()
295 void __iomem *wmi_buffer(struct wil6210_priv *wil, __le32 ptr_) in wmi_buffer()
301 void __iomem *wmi_addr(struct wil6210_priv *wil, u32 ptr) in wmi_addr()
318 int wmi_read_hdr(struct wil6210_priv *wil, __le32 ptr, in wmi_read_hdr()
633 static int __wmi_send(struct wil6210_priv *wil, u16 cmdid, u8 mid, in __wmi_send()
755 int wmi_send(struct wil6210_priv *wil, u16 cmdid, u8 mid, void *buf, u16 len) in wmi_send()
769 struct wil6210_priv *wil = vif_to_wil(vif); in wmi_evt_ready()
817 struct wil6210_priv *wil = vif_to_wil(vif); in wmi_evt_rx_mgmt()
923 struct wil6210_priv *wil = vif_to_wil(vif); in wmi_evt_scan_complete()
955 struct wil6210_priv *wil = vif_to_wil(vif); in wmi_evt_connect()
[all …]
Dcfg80211.c105 static int wil_num_supported_channels(struct wil6210_priv *wil) in wil_num_supported_channels()
115 void update_supported_bands(struct wil6210_priv *wil) in update_supported_bands()
433 struct wil6210_priv *wil = vif_to_wil(vif); in wil_cid_fill_sinfo()
540 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_get_station()
558 int wil_find_cid_by_idx(struct wil6210_priv *wil, u8 mid, int idx) in wil_find_cid_by_idx()
580 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_dump_station()
599 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_start_p2p_device()
609 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_stop_p2p_device()
623 static int wil_cfg80211_validate_add_iface(struct wil6210_priv *wil, in wil_cfg80211_validate_add_iface()
642 static int wil_cfg80211_validate_change_iface(struct wil6210_priv *wil, in wil_cfg80211_validate_change_iface()
[all …]
Dtxrx.c64 bool wil_is_tx_idle(struct wil6210_priv *wil) in wil_is_tx_idle()
110 static int wil_vring_alloc(struct wil6210_priv *wil, struct wil_ring *vring) in wil_vring_alloc()
190 static void wil_vring_free(struct wil6210_priv *wil, struct wil_ring *vring) in wil_vring_free()
256 static int wil_vring_alloc_skb(struct wil6210_priv *wil, struct wil_ring *vring, in wil_vring_alloc_skb()
305 static void wil_rx_add_radiotap_header(struct wil6210_priv *wil, in wil_rx_add_radiotap_header()
351 static bool wil_is_rx_idle(struct wil6210_priv *wil) in wil_is_rx_idle()
363 static int wil_rx_get_cid_by_skb(struct wil6210_priv *wil, struct sk_buff *skb) in wil_rx_get_cid_by_skb()
439 static struct sk_buff *wil_vring_reap_rx(struct wil6210_priv *wil, in wil_vring_reap_rx()
605 static int wil_rx_refill(struct wil6210_priv *wil, int count) in wil_rx_refill()
658 static int wil_rx_crypto_check(struct wil6210_priv *wil, struct sk_buff *skb) in wil_rx_crypto_check()
[all …]
Dtxrx_edma.h442 static inline int wil_rx_status_get_frame_type(struct wil6210_priv *wil, in wil_rx_status_get_frame_type()
452 static inline int wil_rx_status_get_fc1(struct wil6210_priv *wil, void *msg) in wil_rx_status_get_fc1()
461 static inline __le16 wil_rx_status_get_seq(struct wil6210_priv *wil, void *msg) in wil_rx_status_get_seq()
595 void wil_configure_interrupt_moderation_edma(struct wil6210_priv *wil);
596 int wil_tx_sring_handler(struct wil6210_priv *wil,
598 void wil_rx_handle_edma(struct wil6210_priv *wil, int *quota);
599 void wil_init_txrx_ops_edma(struct wil6210_priv *wil);
Dtxrx_edma.c47 static int wil_find_free_sring(struct wil6210_priv *wil) in wil_find_free_sring()
59 static void wil_sring_free(struct wil6210_priv *wil, in wil_sring_free()
78 static int wil_sring_alloc(struct wil6210_priv *wil, in wil_sring_alloc()
106 static int wil_tx_init_edma(struct wil6210_priv *wil) in wil_tx_init_edma()
151 static int wil_ring_alloc_skb_edma(struct wil6210_priv *wil, in wil_ring_alloc_skb_edma()
231 static int wil_rx_refill_edma(struct wil6210_priv *wil) in wil_rx_refill_edma()
263 static void wil_move_all_rx_buff_to_free_list(struct wil6210_priv *wil, in wil_move_all_rx_buff_to_free_list()
293 static void wil_free_rx_buff_arr(struct wil6210_priv *wil) in wil_free_rx_buff_arr()
309 static int wil_init_rx_buff_arr(struct wil6210_priv *wil, in wil_init_rx_buff_arr()
341 static int wil_init_rx_sring(struct wil6210_priv *wil, in wil_init_rx_sring()
[all …]
Dp2p.c17 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_start_listen()
62 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_search()
125 int wil_p2p_listen(struct wil6210_priv *wil, struct wireless_dev *wdev, in wil_p2p_listen()
198 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_cancel_listen()
237 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_listen_expired()
265 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_search_expired()
297 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_delayed_listen_work()
338 void wil_p2p_stop_radio_operations(struct wil6210_priv *wil) in wil_p2p_stop_radio_operations()
Dtxrx.h644 static inline int wil_get_min_tx_ring_id(struct wil6210_priv *wil) in wil_get_min_tx_ring_id()
680 void wil_rx_reorder(struct wil6210_priv *wil, struct sk_buff *skb);
681 void wil_rx_bar(struct wil6210_priv *wil, struct wil6210_vif *vif,
683 struct wil_tid_ampdu_rx *wil_tid_ampdu_rx_alloc(struct wil6210_priv *wil,
685 void wil_tid_ampdu_rx_free(struct wil6210_priv *wil,
688 void wil_init_txrx_ops_legacy_dma(struct wil6210_priv *wil);
689 void wil_tx_latency_calc(struct wil6210_priv *wil, struct sk_buff *skb,
Dpmc.c26 void wil_pmc_init(struct wil6210_priv *wil) in wil_pmc_init()
39 void wil_pmc_alloc(struct wil6210_priv *wil, in wil_pmc_alloc()
226 void wil_pmc_free(struct wil6210_priv *wil, int send_pmc_cmd) in wil_pmc_free()
303 int wil_pmc_last_cmd_status(struct wil6210_priv *wil) in wil_pmc_last_cmd_status()
317 struct wil6210_priv *wil = filp->private_data; in wil_pmc_read()
373 struct wil6210_priv *wil = filp->private_data; in wil_pmc_llseek()
423 struct wil6210_priv *wil = s->private; in wil_pmcring_read()
Drx_reorder.c82 void wil_rx_reorder(struct wil6210_priv *wil, struct sk_buff *skb) in wil_rx_reorder()
214 void wil_rx_bar(struct wil6210_priv *wil, struct wil6210_vif *vif, in wil_rx_bar()
241 struct wil_tid_ampdu_rx *wil_tid_ampdu_rx_alloc(struct wil6210_priv *wil, in wil_tid_ampdu_rx_alloc()
265 void wil_tid_ampdu_rx_free(struct wil6210_priv *wil, in wil_tid_ampdu_rx_free()
286 static u16 wil_agg_size(struct wil6210_priv *wil, u16 req_agg_wsize) in wil_agg_size()
298 int wil_addba_rx_request(struct wil6210_priv *wil, u8 mid, u8 cid, u8 tid, in wil_addba_rx_request()
375 int wil_addba_tx_request(struct wil6210_priv *wil, u8 ringid, u16 wsize) in wil_addba_tx_request()
Dwil_crash_dump.c10 static int wil_fw_get_crash_dump_bounds(struct wil6210_priv *wil, in wil_fw_get_crash_dump_bounds()
47 int wil_fw_copy_crash_dump(struct wil6210_priv *wil, void *dest, u32 size) in wil_fw_copy_crash_dump()
99 void wil_fw_core_dump(struct wil6210_priv *wil) in wil_fw_core_dump()
Dethtool.c20 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_ethtoolops_get_coalesce()
57 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_ethtoolops_set_coalesce()
Dtrace.h178 TP_PROTO(struct wil6210_priv *wil, u8 use_compressed, u16 buff_id,