Home
last modified time | relevance | path

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

/drivers/net/wireless/ath/wil6210/
Dwil6210.h547 struct wil6210_priv *wil;
575 struct wil6210_priv { struct
677 #define wiphy_to_wil(w) (struct wil6210_priv *)(wiphy_priv(w)) argument
679 #define wdev_to_wil(w) (struct wil6210_priv *)(wdev_priv(w))
684 void wil_dbg_trace(struct wil6210_priv *wil, const char *fmt, ...);
686 void __wil_err(struct wil6210_priv *wil, const char *fmt, ...);
688 void __wil_err_ratelimited(struct wil6210_priv *wil, const char *fmt, ...);
690 void __wil_info(struct wil6210_priv *wil, const char *fmt, ...);
692 void wil_dbg_ratelimited(const struct wil6210_priv *wil, const char *fmt, ...);
710 static inline u32 wil_r(struct wil6210_priv *wil, u32 reg) in wil_r()
[all …]
Dinterrupt.c83 static void wil6210_mask_irq_tx(struct wil6210_priv *wil) in wil6210_mask_irq_tx()
89 static void wil6210_mask_irq_rx(struct wil6210_priv *wil) in wil6210_mask_irq_rx()
95 static void wil6210_mask_irq_misc(struct wil6210_priv *wil, bool mask_halp) in wil6210_mask_irq_misc()
104 void wil6210_mask_halp(struct wil6210_priv *wil) in wil6210_mask_halp()
112 static void wil6210_mask_irq_pseudo(struct wil6210_priv *wil) in wil6210_mask_irq_pseudo()
121 void wil6210_unmask_irq_tx(struct wil6210_priv *wil) in wil6210_unmask_irq_tx()
127 void wil6210_unmask_irq_rx(struct wil6210_priv *wil) in wil6210_unmask_irq_rx()
135 static void wil6210_unmask_irq_misc(struct wil6210_priv *wil, bool unmask_halp) in wil6210_unmask_irq_misc()
144 static void wil6210_unmask_halp(struct wil6210_priv *wil) in wil6210_unmask_halp()
152 static void wil6210_unmask_irq_pseudo(struct wil6210_priv *wil) in wil6210_unmask_irq_pseudo()
[all …]
Dnetdev.c23 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_open()
37 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_stop()
46 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_change_mtu()
61 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_do_ioctl()
78 struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, in wil6210_netdev_poll_rx()
99 struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, in wil6210_netdev_poll_tx()
136 struct wil6210_priv *wil; in wil_if_alloc()
193 void wil_if_free(struct wil6210_priv *wil) in wil_if_free()
210 int wil_if_add(struct wil6210_priv *wil) in wil_if_add()
247 void wil_if_remove(struct wil6210_priv *wil) in wil_if_remove()
Dmain.c143 void wil_memcpy_fromio_halp_vote(struct wil6210_priv *wil, void *dst, in wil_memcpy_fromio_halp_vote()
169 void wil_memcpy_toio_halp_vote(struct wil6210_priv *wil, in wil_memcpy_toio_halp_vote()
178 static void wil_disconnect_cid(struct wil6210_priv *wil, int cid, in wil_disconnect_cid()
230 static bool wil_ap_is_connected(struct wil6210_priv *wil) in wil_ap_is_connected()
242 static void _wil6210_disconnect(struct wil6210_priv *wil, const u8 *bssid, in _wil6210_disconnect()
310 struct wil6210_priv *wil = container_of(work, in wil_disconnect_worker()
311 struct wil6210_priv, disconnect_worker); in wil_disconnect_worker()
320 struct wil6210_priv *wil = (void *)x; in wil_connect_timer_fn()
335 struct wil6210_priv *wil = (void *)x; in wil_scan_timer_fn()
342 static int wil_wait_for_recovery(struct wil6210_priv *wil) in wil_wait_for_recovery()
[all …]
Dwmi.c136 void __iomem *wmi_buffer(struct wil6210_priv *wil, __le32 ptr_) in wmi_buffer()
158 void __iomem *wmi_addr(struct wil6210_priv *wil, u32 ptr) in wmi_addr()
175 int wmi_read_hdr(struct wil6210_priv *wil, __le32 ptr, in wmi_read_hdr()
188 static int __wmi_send(struct wil6210_priv *wil, u16 cmdid, void *buf, u16 len) in __wmi_send()
298 int wmi_send(struct wil6210_priv *wil, u16 cmdid, void *buf, u16 len) in wmi_send()
310 static void wmi_evt_ready(struct wil6210_priv *wil, int id, void *d, int len) in wmi_evt_ready()
330 static void wmi_evt_rx_mgmt(struct wil6210_priv *wil, int id, void *d, int len) in wmi_evt_rx_mgmt()
413 static void wmi_evt_tx_mgmt(struct wil6210_priv *wil, int id, void *d, int len) in wmi_evt_tx_mgmt()
424 static void wmi_evt_scan_complete(struct wil6210_priv *wil, int id, in wmi_evt_scan_complete()
448 static void wmi_evt_connect(struct wil6210_priv *wil, int id, void *d, int len) in wmi_evt_connect()
[all …]
Dpcie_bus.c37 void wil_set_capabilities(struct wil6210_priv *wil) in wil_set_capabilities()
61 void wil_disable_irq(struct wil6210_priv *wil) in wil_disable_irq()
66 void wil_enable_irq(struct wil6210_priv *wil) in wil_enable_irq()
72 static int wil_if_pcie_enable(struct wil6210_priv *wil) in wil_if_pcie_enable()
124 static int wil_if_pcie_disable(struct wil6210_priv *wil) in wil_if_pcie_disable()
142 struct wil6210_priv *wil = wil_handle; in wil_platform_rop_ramdump()
152 struct wil6210_priv *wil = wil_handle; in wil_platform_rop_fw_recovery()
164 struct wil6210_priv *wil; in wil_pcie_probe()
289 struct wil6210_priv *wil = pci_get_drvdata(pdev); in wil_pcie_remove()
328 struct wil6210_priv *wil = pci_get_drvdata(pdev); in wil6210_suspend()
[all …]
Dp2p.c33 struct wil6210_priv *wil = (void *)x; in wil_p2p_discovery_timer_fn()
40 int wil_p2p_search(struct wil6210_priv *wil, in wil_p2p_search()
110 int wil_p2p_listen(struct wil6210_priv *wil, unsigned int duration, in wil_p2p_listen()
167 u8 wil_p2p_stop_discovery(struct wil6210_priv *wil) in wil_p2p_stop_discovery()
181 int wil_p2p_cancel_listen(struct wil6210_priv *wil, u64 cookie) in wil_p2p_cancel_listen()
218 struct wil6210_priv *wil = container_of(p2p, in wil_p2p_listen_expired()
219 struct wil6210_priv, p2p); in wil_p2p_listen_expired()
244 struct wil6210_priv *wil = container_of(p2p, in wil_p2p_search_expired()
245 struct wil6210_priv, p2p); in wil_p2p_search_expired()
267 void wil_p2p_stop_radio_operations(struct wil6210_priv *wil) in wil_p2p_stop_radio_operations()
Dcfg80211.c122 int wil_cid_fill_sinfo(struct wil6210_priv *wil, int cid, in wil_cid_fill_sinfo()
192 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_get_station()
209 static int wil_find_cid_by_idx(struct wil6210_priv *wil, int idx) in wil_find_cid_by_idx()
228 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_dump_station()
249 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_add_iface()
283 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_del_iface()
303 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_change_iface()
345 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_scan()
472 static void wil_print_crypto(struct wil6210_priv *wil, in wil_print_crypto()
496 static void wil_print_connect_params(struct wil6210_priv *wil, in wil_print_connect_params()
[all …]
Dfw_inc.c46 static int wil_fw_verify(struct wil6210_priv *wil, const u8 *data, size_t size) in wil_fw_verify()
121 static int fw_ignore_section(struct wil6210_priv *wil, const void *data, in fw_ignore_section()
127 static int fw_handle_comment(struct wil6210_priv *wil, const void *data, in fw_handle_comment()
136 fw_handle_capabilities(struct wil6210_priv *wil, const void *data, in fw_handle_capabilities()
156 static int fw_handle_data(struct wil6210_priv *wil, const void *data, in fw_handle_data()
177 static int fw_handle_fill(struct wil6210_priv *wil, const void *data, in fw_handle_fill()
211 static int fw_handle_file_header(struct wil6210_priv *wil, const void *data, in fw_handle_file_header()
236 static int fw_handle_direct_write(struct wil6210_priv *wil, const void *data, in fw_handle_direct_write()
270 static int gw_write(struct wil6210_priv *wil, void __iomem *gwa_addr, in gw_write()
292 static int fw_handle_gateway_data(struct wil6210_priv *wil, const void *data, in fw_handle_gateway_data()
[all …]
Dpmc.h21 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);
Ddebug.c20 void __wil_err(struct wil6210_priv *wil, const char *fmt, ...) in __wil_err()
33 void __wil_err_ratelimited(struct wil6210_priv *wil, const char *fmt, ...) in __wil_err_ratelimited()
49 void wil_dbg_ratelimited(const struct wil6210_priv *wil, const char *fmt, ...) in wil_dbg_ratelimited()
65 void __wil_info(struct wil6210_priv *wil, const char *fmt, ...) in __wil_info()
78 void wil_dbg_trace(struct wil6210_priv *wil, const char *fmt, ...) in wil_dbg_trace()
Ddebugfs.c51 static void wil_print_vring(struct seq_file *s, struct wil6210_priv *wil, in wil_print_vring()
91 struct wil6210_priv *wil = s->private; in wil_vring_debugfs_show()
169 struct wil6210_priv *wil = s->private; in wil_print_ring()
246 struct wil6210_priv *wil = s->private; in wil_mbox_debugfs_show()
326 static void wil6210_debugfs_init_offset(struct wil6210_priv *wil, in wil6210_debugfs_init_offset()
377 static int wil6210_debugfs_create_ISR(struct wil6210_priv *wil, in wil6210_debugfs_create_ISR()
399 static int wil6210_debugfs_create_pseudo_ISR(struct wil6210_priv *wil, in wil6210_debugfs_create_pseudo_ISR()
452 static int wil6210_debugfs_create_ITR_CNT(struct wil6210_priv *wil, in wil6210_debugfs_create_ITR_CNT()
479 struct wil6210_priv *wil = s->private; in wil_memread_debugfs_show()
561 struct wil6210_priv *wil = file->private_data; in wil_write_file_reset()
[all …]
Drx_reorder.c43 static void wil_release_reorder_frame(struct wil6210_priv *wil, in wil_release_reorder_frame()
62 static void wil_release_reorder_frames(struct wil6210_priv *wil, in wil_release_reorder_frames()
81 static void wil_reorder_release(struct wil6210_priv *wil, in wil_reorder_release()
93 void wil_rx_reorder(struct wil6210_priv *wil, struct sk_buff *skb) in wil_rx_reorder()
209 void wil_rx_bar(struct wil6210_priv *wil, u8 cid, u8 tid, u16 seq) in wil_rx_bar()
234 struct wil_tid_ampdu_rx *wil_tid_ampdu_rx_alloc(struct wil6210_priv *wil, in wil_tid_ampdu_rx_alloc()
261 void wil_tid_ampdu_rx_free(struct wil6210_priv *wil, in wil_tid_ampdu_rx_free()
283 static u16 wil_agg_size(struct wil6210_priv *wil, u16 req_agg_wsize) in wil_agg_size()
295 int wil_addba_rx_request(struct wil6210_priv *wil, u8 cidxtid, in wil_addba_rx_request()
369 int wil_addba_tx_request(struct wil6210_priv *wil, u8 ringid, u16 wsize) in wil_addba_tx_request()
Dethtool.c26 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_ethtoolops_begin()
37 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_ethtoolops_complete()
47 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_ethtoolops_get_coalesce()
69 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_ethtoolops_set_coalesce()
Dpmc.c35 void wil_pmc_init(struct wil6210_priv *wil) in wil_pmc_init()
49 void wil_pmc_alloc(struct wil6210_priv *wil, in wil_pmc_alloc()
200 void wil_pmc_free(struct wil6210_priv *wil, int send_pmc_cmd) in wil_pmc_free()
278 int wil_pmc_last_cmd_status(struct wil6210_priv *wil) in wil_pmc_last_cmd_status()
293 struct wil6210_priv *wil = filp->private_data; in wil_pmc_read()
346 struct wil6210_priv *wil = filp->private_data; in wil_pmc_llseek()
Dioctl.c27 static void __iomem *wil_ioc_addr(struct wil6210_priv *wil, uint32_t addr, in wil_ioc_addr()
58 static int wil_ioc_memio_dword(struct wil6210_priv *wil, void __user *data) in wil_ioc_memio_dword()
102 static int wil_ioc_memio_block(struct wil6210_priv *wil, void __user *data) in wil_ioc_memio_block()
162 int wil_ioctl(struct wil6210_priv *wil, void __user *data, int cmd) in wil_ioctl()
Dtxrx.c97 static int wil_vring_alloc(struct wil6210_priv *wil, struct vring *vring) in wil_vring_alloc()
157 static void wil_vring_free(struct wil6210_priv *wil, struct vring *vring, in wil_vring_free()
225 static int wil_vring_alloc_skb(struct wil6210_priv *wil, struct vring *vring, in wil_vring_alloc_skb()
269 static void wil_rx_add_radiotap_header(struct wil6210_priv *wil, in wil_rx_add_radiotap_header()
383 static struct sk_buff *wil_vring_reap_rx(struct wil6210_priv *wil, in wil_vring_reap_rx()
535 static int wil_rx_refill(struct wil6210_priv *wil, int count) in wil_rx_refill()
588 static int wil_rx_crypto_check(struct wil6210_priv *wil, struct sk_buff *skb) in wil_rx_crypto_check()
626 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_netif_rx_any()
726 void wil_rx_handle(struct wil6210_priv *wil, int *quota) in wil_rx_handle()
754 int wil_rx_init(struct wil6210_priv *wil, u16 size) in wil_rx_init()
[all …]
Dpm.c19 int wil_can_suspend(struct wil6210_priv *wil, bool is_runtime) in wil_can_suspend()
68 int wil_suspend(struct wil6210_priv *wil, bool is_runtime) in wil_suspend()
94 int wil_resume(struct wil6210_priv *wil, bool is_runtime) in wil_resume()
Dwil_crash_dump.c20 static int wil_fw_get_crash_dump_bounds(struct wil6210_priv *wil, in wil_fw_get_crash_dump_bounds()
54 int wil_fw_copy_crash_dump(struct wil6210_priv *wil, void *dest, u32 size) in wil_fw_copy_crash_dump()
90 void wil_fw_core_dump(struct wil6210_priv *wil) in wil_fw_core_dump()
Dtxrx.h519 void wil_rx_reorder(struct wil6210_priv *wil, struct sk_buff *skb);
520 void wil_rx_bar(struct wil6210_priv *wil, u8 cid, u8 tid, u16 seq);
521 struct wil_tid_ampdu_rx *wil_tid_ampdu_rx_alloc(struct wil6210_priv *wil,
523 void wil_tid_ampdu_rx_free(struct wil6210_priv *wil,