/Linux-v4.19/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 | 186 static void wil_ring_fini_tx(struct wil6210_priv *wil, int id) in wil_ring_fini_tx() 222 struct wil6210_priv *wil = vif_to_wil(vif); in wil_disconnect_cid() local 285 static bool wil_vif_is_connected(struct wil6210_priv *wil, u8 mid) in wil_vif_is_connected() 301 struct wil6210_priv *wil = vif_to_wil(vif); in _wil6210_disconnect() local 384 struct wil6210_priv *wil = vif_to_wil(vif); in wil_disconnect_worker() local 417 static int wil_wait_for_recovery(struct wil6210_priv *wil) in wil_wait_for_recovery() 432 void wil_set_recovery_state(struct wil6210_priv *wil, int state) in wil_set_recovery_state() 441 bool wil_is_recovery_blocked(struct wil6210_priv *wil) in wil_is_recovery_blocked() 448 struct wil6210_priv *wil = container_of(work, struct wil6210_priv, in wil_fw_error_worker() local 511 static int wil_find_free_ring(struct wil6210_priv *wil) in wil_find_free_ring() [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() 307 static int wil_suspend_radio_off(struct wil6210_priv *wil) in wil_suspend_radio_off() 359 static int wil_resume_radio_off(struct wil6210_priv *wil) in wil_resume_radio_off() 382 int wil_suspend(struct wil6210_priv *wil, bool is_runtime, bool keep_radio_on) in wil_suspend() 404 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 241 struct wil6210_priv *wil = vif_to_wil(vif); in wil_connect_timer_fn() local 257 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() 151 void wil_disable_irq(struct wil6210_priv *wil) in wil_disable_irq() 162 void wil_enable_irq(struct wil6210_priv *wil) in wil_enable_irq() 173 static void wil_remove_all_additional_vifs(struct wil6210_priv *wil) in wil_remove_all_additional_vifs() 188 static int wil_if_pcie_enable(struct wil6210_priv *wil) in wil_if_pcie_enable() 258 static int wil_if_pcie_disable(struct wil6210_priv *wil) in wil_if_pcie_disable() 276 struct wil6210_priv *wil = wil_handle; in wil_platform_rop_ramdump() local 286 struct wil6210_priv *wil = wil_handle; in wil_platform_rop_fw_recovery() local 296 static void wil_platform_ops_uninit(struct wil6210_priv *wil) in wil_platform_ops_uninit() 305 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() 175 fw_handle_concurrency(struct wil6210_priv *wil, const void *data, in fw_handle_concurrency() 213 fw_handle_comment(struct wil6210_priv *wil, const void *data, in fw_handle_comment() 246 static int __fw_handle_data(struct wil6210_priv *wil, const void *data, in __fw_handle_data() [all …]
|
D | cfg80211.c | 267 struct wil6210_priv *wil = vif_to_wil(vif); in wil_cid_fill_sinfo() local 341 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_get_station() local 359 static int wil_find_cid_by_idx(struct wil6210_priv *wil, u8 mid, int idx) in wil_find_cid_by_idx() 381 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_dump_station() local 400 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_start_p2p_device() local 410 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_stop_p2p_device() local 424 static int wil_cfg80211_validate_add_iface(struct wil6210_priv *wil, in wil_cfg80211_validate_add_iface() 443 static int wil_cfg80211_validate_change_iface(struct wil6210_priv *wil, in wil_cfg80211_validate_change_iface() 477 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_add_iface() local 550 struct wil6210_priv *wil = vif_to_wil(vif); in wil_vif_prepare_stop() local [all …]
|
D | wmi.c | 279 void __iomem *wmi_buffer_block(struct wil6210_priv *wil, __le32 ptr_, u32 size) in wmi_buffer_block() 300 void __iomem *wmi_buffer(struct wil6210_priv *wil, __le32 ptr_) in wmi_buffer() 308 void __iomem *wmi_addr(struct wil6210_priv *wil, u32 ptr) in wmi_addr() 325 int wmi_read_hdr(struct wil6210_priv *wil, __le32 ptr, in wmi_read_hdr() 614 static int __wmi_send(struct wil6210_priv *wil, u16 cmdid, u8 mid, in __wmi_send() 736 int wmi_send(struct wil6210_priv *wil, u16 cmdid, u8 mid, void *buf, u16 len) in wmi_send() 750 struct wil6210_priv *wil = vif_to_wil(vif); in wmi_evt_ready() local 778 struct wil6210_priv *wil = vif_to_wil(vif); in wmi_evt_rx_mgmt() local 877 struct wil6210_priv *wil = vif_to_wil(vif); in wmi_evt_scan_complete() local 909 struct wil6210_priv *wil = vif_to_wil(vif); in wmi_evt_connect() local [all …]
|
D | txrx_edma.c | 53 static int wil_find_free_sring(struct wil6210_priv *wil) in wil_find_free_sring() 65 static void wil_sring_free(struct wil6210_priv *wil, in wil_sring_free() 84 static int wil_sring_alloc(struct wil6210_priv *wil, in wil_sring_alloc() 112 static int wil_tx_init_edma(struct wil6210_priv *wil) in wil_tx_init_edma() 159 static int wil_ring_alloc_skb_edma(struct wil6210_priv *wil, in wil_ring_alloc_skb_edma() 232 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() 305 static void wil_free_rx_buff_arr(struct wil6210_priv *wil) in wil_free_rx_buff_arr() 321 static int wil_init_rx_buff_arr(struct wil6210_priv *wil, in wil_init_rx_buff_arr() 350 static int wil_init_rx_sring(struct wil6210_priv *wil, in wil_init_rx_sring() [all …]
|
D | debugfs.c | 53 static void wil_print_desc_edma(struct seq_file *s, struct wil6210_priv *wil, in wil_print_desc_edma() 83 static void wil_print_ring(struct seq_file *s, struct wil6210_priv *wil, in wil_print_ring() 130 struct wil6210_priv *wil = s->private; in wil_ring_debugfs_show() local 199 static void wil_print_sring(struct seq_file *s, struct wil6210_priv *wil, in wil_print_sring() 245 struct wil6210_priv *wil = s->private; in wil_srings_debugfs_show() local 276 struct wil6210_priv *wil = s->private; in wil_print_mbox_ring() local 353 struct wil6210_priv *wil = s->private; in wil_mbox_debugfs_show() local 386 struct wil6210_priv *wil = d->wil; in wil_debugfs_iomem_x32_set() local 405 struct wil6210_priv *wil = d->wil; in wil_debugfs_iomem_x32_get() local 426 struct wil6210_priv *wil) in wil_debugfs_create_iomem_x32() [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 | txrx.c | 76 bool wil_is_tx_idle(struct wil6210_priv *wil) in wil_is_tx_idle() 121 static int wil_vring_alloc(struct wil6210_priv *wil, struct wil_ring *vring) in wil_vring_alloc() 201 static void wil_vring_free(struct wil6210_priv *wil, struct wil_ring *vring) in wil_vring_free() 268 static int wil_vring_alloc_skb(struct wil6210_priv *wil, struct wil_ring *vring, in wil_vring_alloc_skb() 318 static void wil_rx_add_radiotap_header(struct wil6210_priv *wil, in wil_rx_add_radiotap_header() 417 static bool wil_is_rx_idle(struct wil6210_priv *wil) in wil_is_rx_idle() 436 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() 689 static int wil_rx_error_check(struct wil6210_priv *wil, struct sk_buff *skb, in wil_rx_error_check() [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 | pmc.c | 36 void wil_pmc_init(struct wil6210_priv *wil) in wil_pmc_init() 50 void wil_pmc_alloc(struct wil6210_priv *wil, in wil_pmc_alloc() 238 void wil_pmc_free(struct wil6210_priv *wil, int send_pmc_cmd) in wil_pmc_free() 316 int wil_pmc_last_cmd_status(struct wil6210_priv *wil) in wil_pmc_last_cmd_status() 331 struct wil6210_priv *wil = filp->private_data; in wil_pmc_read() local 387 struct wil6210_priv *wil = filp->private_data; in wil_pmc_llseek() local
|
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() 277 void wil_tid_ampdu_rx_free(struct wil6210_priv *wil, in wil_tid_ampdu_rx_free() 298 static u16 wil_agg_size(struct wil6210_priv *wil, u16 req_agg_wsize) in wil_agg_size() 310 int wil_addba_rx_request(struct wil6210_priv *wil, u8 mid, in wil_addba_rx_request() 396 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() 109 void wil_fw_core_dump(struct wil6210_priv *wil) in wil_fw_core_dump()
|
D | wil6210.h | 783 struct wil6210_priv *wil; member 809 struct wil6210_priv *wil; member 830 struct wil6210_priv *wil; member 1037 static inline struct wil6210_vif *wdev_to_vif(struct wil6210_priv *wil, in wdev_to_vif() 1048 vif_to_radio_wdev(struct wil6210_priv *wil, struct wil6210_vif *vif) in vif_to_radio_wdev() 1067 #define wil_dbg(wil, fmt, arg...) do { \ argument 1072 #define wil_dbg_irq(wil, fmt, arg...) wil_dbg(wil, "DBG[ IRQ]" fmt, ##arg) argument 1073 #define wil_dbg_txrx(wil, fmt, arg...) wil_dbg(wil, "DBG[TXRX]" fmt, ##arg) argument 1074 #define wil_dbg_wmi(wil, fmt, arg...) wil_dbg(wil, "DBG[ WMI]" fmt, ##arg) argument 1075 #define wil_dbg_misc(wil, fmt, arg...) wil_dbg(wil, "DBG[MISC]" fmt, ##arg) argument [all …]
|
D | txrx_edma.h | 447 static inline int wil_rx_status_get_frame_type(struct wil6210_priv *wil, in wil_rx_status_get_frame_type() 457 static inline int wil_rx_status_get_fc1(struct wil6210_priv *wil, void *msg) in wil_rx_status_get_fc1() 466 static inline __le16 wil_rx_status_get_seq(struct wil6210_priv *wil, void *msg) in wil_rx_status_get_seq()
|
D | txrx.h | 594 static inline int wil_get_min_tx_ring_id(struct wil6210_priv *wil) in wil_get_min_tx_ring_id()
|