/Linux-v5.4/drivers/net/wireless/ath/wil6210/ |
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 | 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() local 315 struct wil6210_priv *wil = vif_to_wil(vif); in _wil6210_disconnect_complete() local 398 struct wil6210_priv *wil = vif_to_wil(vif); in wil_disconnect_cid() local 428 struct wil6210_priv *wil; in _wil6210_disconnect() local 475 struct wil6210_priv *wil = vif_to_wil(vif); in wil_disconnect_worker() local 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 | 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() local 79 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_stop() local 104 struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, in wil6210_netdev_poll_rx() local 125 struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, in wil6210_netdev_poll_rx_edma() local 146 struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, in wil6210_netdev_poll_tx() local 183 struct wil6210_priv *wil = container_of(napi, struct wil6210_priv, in wil6210_netdev_poll_tx_edma() local 242 struct wil6210_priv *wil = vif_to_wil(vif); in wil_connect_timer_fn() local 258 struct wil6210_priv *wil = vif_to_wil(vif); in wil_scan_timer_fn() local [all …]
|
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() local 289 struct wil6210_priv *wil = wil_handle; in wil_platform_rop_fw_recovery() local 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() local [all …]
|
D | fw_inc.c | 22 #define wil_err_fw(wil, fmt, arg...) wil_err(wil, "ERR[ FW ]" fmt, ##arg) argument 23 #define wil_dbg_fw(wil, fmt, arg...) wil_dbg(wil, "DBG[ FW ]" fmt, ##arg) argument 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() [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() local 529 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_get_station() local 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() local 588 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_start_p2p_device() local 598 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_stop_p2p_device() local 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 | 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() local 827 struct wil6210_priv *wil = vif_to_wil(vif); in wmi_evt_rx_mgmt() local 933 struct wil6210_priv *wil = vif_to_wil(vif); in wmi_evt_scan_complete() local 965 struct wil6210_priv *wil = vif_to_wil(vif); in wmi_evt_connect() local [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() local 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() local 284 struct wil6210_priv *wil = s->private; in wil_print_mbox_ring() local 367 struct wil6210_priv *wil = s->private; in mbox_show() local 389 struct wil6210_priv *wil = d->wil; in wil_debugfs_iomem_x32_set() local 409 struct wil6210_priv *wil = d->wil; in wil_debugfs_iomem_x32_get() local 428 struct wil6210_priv *wil) in wil_debugfs_create_iomem_x32() [all …]
|
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() local 73 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_search() local 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() local 248 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_listen_expired() local 276 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_search_expired() local 308 struct wil6210_priv *wil = vif_to_wil(vif); in wil_p2p_delayed_listen_work() local 349 void wil_p2p_stop_radio_operations(struct wil6210_priv *wil) in wil_p2p_stop_radio_operations()
|
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() local 388 struct wil6210_priv *wil = filp->private_data; in wil_pmc_llseek() local 438 struct wil6210_priv *wil = s->private; in wil_pmcring_read() local
|
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 | ethtool.c | 27 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_ethtoolops_begin() local 38 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_ethtoolops_complete() local 48 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_ethtoolops_get_coalesce() local 77 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_ethtoolops_set_coalesce() local
|
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 | wil6210.h | 807 struct wil6210_priv *wil; member 833 struct wil6210_priv *wil; member 855 struct wil6210_priv *wil; member 1084 #define GET_MAX_VIFS(wil) min_t(int, (wil)->max_vifs, WIL_MAX_VIFS) argument 1086 static inline struct wil6210_vif *wdev_to_vif(struct wil6210_priv *wil, in wdev_to_vif() 1097 vif_to_radio_wdev(struct wil6210_priv *wil, struct wil6210_vif *vif) in vif_to_radio_wdev() 1116 #define wil_dbg(wil, fmt, arg...) do { \ argument 1121 #define wil_dbg_irq(wil, fmt, arg...) wil_dbg(wil, "DBG[ IRQ]" fmt, ##arg) argument 1122 #define wil_dbg_txrx(wil, fmt, arg...) wil_dbg(wil, "DBG[TXRX]" fmt, ##arg) argument 1123 #define wil_dbg_wmi(wil, fmt, arg...) wil_dbg(wil, "DBG[ WMI]" fmt, ##arg) argument [all …]
|
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()
|
D | txrx.h | 655 static inline int wil_get_min_tx_ring_id(struct wil6210_priv *wil) in wil_get_min_tx_ring_id()
|