/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | pm.c | 150 wil6210_bus_request(wil, wil->bus_request_kbps_pre_suspend); in wil_resume_keep_radio_on() 189 wil_err(wil, in wil_suspend_keep_radio_on() 207 if (!wil->txrx_ops.is_rx_idle(wil)) { in wil_suspend_keep_radio_on() 230 while (!wil->txrx_ops.is_rx_idle(wil)) { in wil_suspend_keep_radio_on() 232 if (wil->txrx_ops.is_rx_idle(wil)) in wil_suspend_keep_radio_on() 234 wil_err(wil, in wil_suspend_keep_radio_on() 262 rc = wil->platform_ops.suspend(wil->platform_handle, true); in wil_suspend_keep_radio_on() 274 wil->bus_request_kbps_pre_suspend = wil->bus_request_kbps; in wil_suspend_keep_radio_on() 308 wil_err(wil, in wil_suspend_radio_off() 337 rc = wil->platform_ops.suspend(wil->platform_handle, false); in wil_suspend_radio_off() [all …]
|
H A D | interrupt.c | 250 wil_w(wil, RGF_DMA_ITR_TX_CNT_TRSH, wil->tx_max_burst_duration); in wil_configure_interrupt_moderation() 268 wil_w(wil, RGF_DMA_ITR_RX_CNT_TRSH, wil->rx_max_burst_duration); in wil_configure_interrupt_moderation() 326 wil, in wil6210_irq_rx() 377 wil_err(wil, in wil6210_irq_rx_edma() 508 wil_memcpy_fromio_32(&wil->mbox_ctl, wil->csr + HOST_MBOX, in wil_cache_mbox_regs() 554 u32 fw_assert_code = wil_r(wil, wil->rgf_fw_assert_code_addr); in wil6210_irq_misc() 556 wil_r(wil, wil->rgf_ucode_assert_code_addr); in wil6210_irq_misc() 558 wil_err(wil, in wil6210_irq_misc() 617 wil->platform_ops.notify(wil->platform_handle, in wil6210_irq_misc_thread() 639 if (wil->n_msi == 3 && wil->suspend_resp_rcvd) { in wil6210_irq_misc_thread() [all …]
|
H A D | main.c | 226 wil->txrx_ops.ring_fini_tx(wil, ring); in wil_ring_fini_tx() 691 memset(wil->sta, 0, sizeof(wil->sta)); in wil_priv_init() 874 jal = wil_r(wil, wil->iccm_base + ivt3); in wil_freeze_bl() 1631 rc = wil->platform_ops.notify(wil->platform_handle, in wil_reset() 1663 bitmap_and(wil->status, wil->status, &status_flags, in wil_reset() 1682 wil->txrx_ops.rx_fini(wil); in wil_reset() 1683 wil->txrx_ops.tx_fini(wil); in wil_reset() 1760 wil->txrx_ops.configure_interrupt_moderation(wil); in wil_reset() 1778 wil_ps_update(wil, wil->ps_profile); in wil_reset() 1830 rc = wil->txrx_ops.rx_init(wil, rx_ring_order); in __wil_up() [all …]
|
H A D | pcie_bus.c | 129 wil->platform_ops.get_capa(wil->platform_handle); in wil_set_capabilities() 134 wil_info(wil, "platform_capa 0x%lx\n", *wil->platform_capa); in wil_set_capabilities() 137 wil_request_firmware(wil, wil->wil_fw_name, false); in wil_set_capabilities() 270 if (!wil) in wil_platform_rop_ramdump() 280 if (!wil) in wil_platform_rop_fw_recovery() 291 wil->platform_ops.uninit(wil->platform_handle); in wil_platform_ops_uninit() 292 memset(&wil->platform_ops, 0, sizeof(wil->platform_ops)); in wil_platform_ops_uninit() 343 wil_err(wil, in wil_pcie_probe() 352 wil_err(wil, in wil_pcie_probe() 591 rc = wil->platform_ops.notify(wil->platform_handle, in wil6210_pm_notify() [all …]
|
H A D | netdev.c | 20 vif = wil->vifs[i]; in wil_has_other_active_ifaces() 58 rc = wil_up(wil); in wil_open() 75 rc = wil_down(wil); in wil_stop() 176 struct wil_status_ring *sring = &wil->srings[wil->tx_sring_idx]; in wil6210_netdev_poll_tx_edma() 290 if (!wil->vifs[i]) in wil_vif_find_free_mid() 327 vif->wil = wil; in wil_vif_alloc() 355 if (IS_ERR(wil)) { in wil_if_alloc() 357 return wil; in wil_if_alloc() 378 return wil; in wil_if_alloc() 458 netif_napi_add(&wil->napi_ndev, &wil->napi_rx, in wil_if_add() [all …]
|
H A D | p2p.c | 138 mutex_lock(&wil->mutex); in wil_p2p_listen() 167 wil->radio_wdev = wdev; in wil_p2p_listen() 202 mutex_lock(&wil->mutex); in wil_p2p_cancel_listen() 226 wil->radio_wdev = wil->main_ndev->ieee80211_ptr; in wil_p2p_cancel_listen() 242 mutex_lock(&wil->mutex); in wil_p2p_listen_expired() 255 wil->radio_wdev = wil->main_ndev->ieee80211_ptr; in wil_p2p_listen_expired() 270 mutex_lock(&wil->mutex); in wil_p2p_search_expired() 284 wil->radio_wdev = in wil_p2p_search_expired() 323 wil->radio_wdev = wil->main_ndev->ieee80211_ptr; in wil_p2p_delayed_listen_work() 349 if (wil->radio_wdev != wil->p2p_wdev) in wil_p2p_stop_radio_operations() [all …]
|
H A D | txrx_edma.c | 613 wil_err(wil, in wil_rx_init_edma() 629 wil_dbg_misc(wil, in wil_rx_init_edma() 642 rc = wil_wmi_cfg_def_rx_offload(wil, wil->rx_buf_len); in wil_rx_init_edma() 667 wil_info(wil, in wil_rx_init_edma() 675 rc = wil_init_rx_buff_arr(wil, wil->rx_buff_id_count); in wil_rx_init_edma() 691 wil_sring_free(wil, &wil->srings[i]); in wil_rx_init_edma() 706 wil_dbg_misc(wil, in wil_ring_init_tx_edma() 737 wil->ring2cid_tid[ring_id][0] = wil->max_assoc_sta; in wil_ring_init_tx_edma() 1083 wil_err(wil, in wil_rx_handle_edma() 1217 stats = (cid < wil->max_assoc_sta) ? &wil->sta[cid].stats : in wil_tx_sring_handler() [all …]
|
H A D | fw_inc.c | 11 #define wil_err_fw(wil, fmt, arg...) wil_err(wil, "ERR[ FW ]" fmt, ##arg) argument 12 #define wil_dbg_fw(wil, fmt, arg...) wil_dbg(wil, "DBG[ FW ]" fmt, ##arg) argument 165 if (!wil->brd_info) in fw_handle_brd_file() 177 wil_dbg_fw(wil, in fw_handle_brd_file() 185 kfree(wil->brd_info); in fw_handle_brd_file() 186 wil->brd_info = NULL; in fw_handle_brd_file() 187 wil_dbg_fw(wil, in fw_handle_brd_file() 716 wil_err_fw(wil, in wil_brd_process() 736 wil_err_fw(wil, in wil_brd_process() 746 wil_dbg_fw(wil, in wil_brd_process() [all …]
|
H A D | wmi.c | 838 wil_err(wil, in wmi_evt_rx_mgmt() 940 wil->radio_wdev = wil->main_ndev->ieee80211_ptr; in wmi_evt_scan_complete() 975 wil_err(wil, in wmi_evt_connect() 1404 wil_err(wil, in wmi_evt_sched_scan_result() 1649 wil_err(wil, in wmi_evt_auth_status() 1749 wil_err(wil, in wmi_evt_reassoc_status() 1992 if (wil->reply_id && wil->reply_id == id && in wmi_recv_cmd() 2032 q = queue_work(wil->wmi_wq, &wil->wmi_event_worker); in wmi_recv_cmd() 2792 wil->amsdu_en; in wmi_addba() 3350 if (wil->reply_id && wil->reply_id == id && in wmi_event_handle() [all …]
|
H A D | txrx.c | 88 wil_dbg_pm(wil, in wil_is_tx_idle() 220 wil_dbg_txrx(wil, in wil_vring_free() 541 wil_dbg_txrx(wil, in wil_vring_reap_rx() 546 wil_dbg_txrx(wil, in wil_vring_reap_rx() 554 wil_dbg_txrx(wil, in wil_vring_reap_rx() 983 if (security && (wil->txrx_ops.rx_crypto_check(wil, skb) != 0)) { in wil_netif_rx_any() 993 if (unlikely(wil->txrx_ops.rx_error_check(wil, skb, stats))) { in wil_netif_rx_any() 1228 wil->ring2cid_tid[id][0] = wil->max_assoc_sta; in wil_vring_init_tx() 1314 wil->ring2cid_tid[ring_id][0] = wil->max_assoc_sta; in wil_tx_vring_modify() 1361 wil->ring2cid_tid[id][0] = wil->max_assoc_sta; /* CID */ in wil_vring_init_bcast() [all …]
|
H A D | cfg80211.c | 851 __wil_down(wil); in wil_cfg80211_change_iface() 988 wil_err(wil, in wil_cfg80211_scan() 1025 wil->radio_wdev = wil->main_ndev->ieee80211_ptr; in wil_cfg80211_scan() 1052 if (wdev == wil->p2p_wdev && wil->radio_wdev == wil->p2p_wdev) in wil_cfg80211_abort_scan() 1475 wil_err(wil, in wil_cfg80211_mgmt_tx() 1661 wil_err(wil, in wil_cfg80211_add_key() 1745 wil_dbg_misc(wil, in wil_remain_on_channel() 1981 __wil_down(wil); in _wil_cfg80211_start_ap() 2052 wil_info(wil, in wil_cfg80211_ap_recovery() 2818 return wil; in wil_cfg80211_init() [all …]
|
H A D | wil6210.h | 1077 #define GET_MAX_VIFS(wil) min_t(int, (wil)->max_vifs, WIL_MAX_VIFS) argument 1096 return wil->radio_wdev; in vif_to_radio_wdev() 1114 #define wil_dbg_irq(wil, fmt, arg...) wil_dbg(wil, "DBG[ IRQ]" fmt, ##arg) argument 1115 #define wil_dbg_txrx(wil, fmt, arg...) wil_dbg(wil, "DBG[TXRX]" fmt, ##arg) argument 1116 #define wil_dbg_wmi(wil, fmt, arg...) wil_dbg(wil, "DBG[ WMI]" fmt, ##arg) argument 1117 #define wil_dbg_misc(wil, fmt, arg...) wil_dbg(wil, "DBG[MISC]" fmt, ##arg) argument 1118 #define wil_dbg_pm(wil, fmt, arg...) wil_dbg(wil, "DBG[ PM ]" fmt, ##arg) argument 1119 #define wil_err(wil, fmt, arg...) __wil_err(wil, "%s: " fmt, __func__, ##arg) argument 1120 #define wil_info(wil, fmt, arg...) __wil_info(wil, "%s: " fmt, __func__, ##arg) argument 1141 wil_w(wil, reg, wil_r(wil, reg) | val); in wil_s() [all …]
|
H A D | debugfs.c | 137 wil_print_ring(s, wil, "rx", &wil->ring_rx, 'S', '_'); in ring_show() 258 wil_print_sring(s, wil, &wil->srings[i]); in srings_show() 378 struct wil6210_priv *wil = d->wil; in wil_debugfs_iomem_x32_set() local 398 struct wil6210_priv *wil = d->wil; in wil_debugfs_iomem_x32_get() local 422 data->wil = wil; in wil_debugfs_create_iomem_x32() 619 struct wil6210_priv *wil = wil_blob->wil; in wil_read_file_ioblob() local 753 if (!wil->ring_rx.va || val > wil->ring_rx.size) { in wil_write_file_rbufcap() 1089 ring = tx ? &wil->ring_tx[ring_idx] : &wil->ring_rx; in txdesc_show() 1423 vif = (mid < GET_MAX_VIFS(wil)) ? wil->vifs[mid] : NULL; in link_show() 2311 wil_blob->wil = wil; in wil6210_debugfs_init_blobs() [all …]
|
H A D | ethtool.c | 20 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_ethtoolops_get_coalesce() local 25 mutex_lock(&wil->mutex); in wil_ethtoolops_get_coalesce() 28 ret = wil_pm_runtime_get(wil); in wil_ethtoolops_get_coalesce() 40 wil_pm_runtime_put(wil); in wil_ethtoolops_get_coalesce() 47 mutex_unlock(&wil->mutex); in wil_ethtoolops_get_coalesce() 61 mutex_lock(&wil->mutex); in wil_ethtoolops_set_coalesce() 82 ret = wil_pm_runtime_get(wil); in wil_ethtoolops_set_coalesce() 86 wil->txrx_ops.configure_interrupt_moderation(wil); in wil_ethtoolops_set_coalesce() 88 wil_pm_runtime_put(wil); in wil_ethtoolops_set_coalesce() 92 mutex_unlock(&wil->mutex); in wil_ethtoolops_set_coalesce() [all …]
|
H A D | pmc.c | 58 wil_err(wil, in wil_pmc_alloc() 66 wil_err(wil, in wil_pmc_alloc() 74 wil_err(wil, in wil_pmc_alloc() 124 wil_dbg_misc(wil, in wil_pmc_alloc() 184 wil_err(wil, in wil_pmc_alloc() 238 wil_dbg_misc(wil, in wil_pmc_free() 252 wil_err(wil, in wil_pmc_free() 288 wil_dbg_misc(wil, in wil_pmc_free() 335 wil_dbg_misc(wil, in wil_pmc_read() 346 wil_dbg_misc(wil, in wil_pmc_read() [all …]
|
H A D | rx_reorder.c | 94 wil->txrx_ops.get_reorder_params(wil, skb, &tid, &cid, &mid, &seq, in wil_rx_reorder() 96 sta = &wil->sta[cid]; in wil_rx_reorder() 101 vif = wil->vifs[mid]; in wil_rx_reorder() 145 wil_err(wil, in wil_rx_reorder() 152 wil_err(wil, in wil_rx_reorder() 288 u16 max_agg_size = min_t(u16, wil->max_agg_wsize, wil->max_ampdu_size / in wil_agg_size() 332 sta = &wil->sta[cid]; in wil_addba_rx_request() 339 wil_dbg_wmi(wil, in wil_addba_rx_request() 347 wil->max_agg_wsize); in wil_addba_rx_request() 353 rc = wil->txrx_ops.wmi_addba_rx_resp(wil, mid, cid, tid, dialog_token, in wil_addba_rx_request() [all …]
|
H A D | wil_crash_dump.c | 55 wil_err(wil, "fail to obtain crash dump size\n"); in wil_fw_copy_crash_dump() 65 down_write(&wil->mem_lock); in wil_fw_copy_crash_dump() 67 if (test_bit(wil_status_suspending, wil->status) || in wil_fw_copy_crash_dump() 68 test_bit(wil_status_suspended, wil->status)) { in wil_fw_copy_crash_dump() 69 wil_err(wil, in wil_fw_copy_crash_dump() 71 up_write(&wil->mem_lock); in wil_fw_copy_crash_dump() 82 data = (void * __force)wil->csr + HOSTADDR(map->host); in wil_fw_copy_crash_dump() 86 wil_dbg_misc(wil, in wil_fw_copy_crash_dump() 94 up_write(&wil->mem_lock); in wil_fw_copy_crash_dump() 99 void wil_fw_core_dump(struct wil6210_priv *wil) in wil_fw_core_dump() argument [all …]
|
H A D | debug.c | 10 void __wil_err(struct wil6210_priv *wil, const char *fmt, ...) in __wil_err() argument 18 netdev_err(wil->main_ndev, "%pV", &vaf); in __wil_err() 23 void __wil_err_ratelimited(struct wil6210_priv *wil, const char *fmt, ...) in __wil_err_ratelimited() argument 34 netdev_err(wil->main_ndev, "%pV", &vaf); in __wil_err_ratelimited() 39 void wil_dbg_ratelimited(const struct wil6210_priv *wil, const char *fmt, ...) in wil_dbg_ratelimited() argument 50 netdev_dbg(wil->main_ndev, "%pV", &vaf); in wil_dbg_ratelimited() 55 void __wil_info(struct wil6210_priv *wil, const char *fmt, ...) in __wil_info() argument 63 netdev_info(wil->main_ndev, "%pV", &vaf); in __wil_info() 68 void wil_dbg_trace(struct wil6210_priv *wil, const char *fmt, ...) in wil_dbg_trace() argument
|
H A D | pmc.h | 8 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);
|
H A D | txrx_edma.h | 444 static inline int wil_rx_status_get_frame_type(struct wil6210_priv *wil, in wil_rx_status_get_frame_type() argument 447 if (wil->use_compressed_rx_status) in wil_rx_status_get_frame_type() 454 static inline int wil_rx_status_get_fc1(struct wil6210_priv *wil, void *msg) in wil_rx_status_get_fc1() argument 456 if (wil->use_compressed_rx_status) in wil_rx_status_get_fc1() 463 static inline __le16 wil_rx_status_get_seq(struct wil6210_priv *wil, void *msg) in wil_rx_status_get_seq() argument 465 if (wil->use_compressed_rx_status) in wil_rx_status_get_seq() 597 void wil_configure_interrupt_moderation_edma(struct wil6210_priv *wil); 598 int wil_tx_sring_handler(struct wil6210_priv *wil, 600 void wil_rx_handle_edma(struct wil6210_priv *wil, int *quota); 601 void wil_init_txrx_ops_edma(struct wil6210_priv *wil);
|
H A D | txrx.h | 646 static inline int wil_get_min_tx_ring_id(struct wil6210_priv *wil) in wil_get_min_tx_ring_id() argument 649 return wil->use_enhanced_dma_hw ? 1 : 0; in wil_get_min_tx_ring_id() 682 void wil_rx_reorder(struct wil6210_priv *wil, struct sk_buff *skb); 683 void wil_rx_bar(struct wil6210_priv *wil, struct wil6210_vif *vif, 685 struct wil_tid_ampdu_rx *wil_tid_ampdu_rx_alloc(struct wil6210_priv *wil, 687 void wil_tid_ampdu_rx_free(struct wil6210_priv *wil, 690 void wil_init_txrx_ops_legacy_dma(struct wil6210_priv *wil); 691 void wil_tx_latency_calc(struct wil6210_priv *wil, struct sk_buff *skb,
|
H A D | trace.h | 178 TP_PROTO(struct wil6210_priv *wil, u8 use_compressed, u16 buff_id, 180 TP_ARGS(wil, use_compressed, buff_id, msg), 198 __entry->type = wil_rx_status_get_frame_type(wil, 200 __entry->subtype = wil_rx_status_get_fc1(wil, msg); 201 __entry->seq = wil_rx_status_get_seq(wil, msg);
|
/openbmc/linux/net/ipv4/ |
H A D | Kconfig | 615 http://wil.cs.caltech.edu/pfldnet2007/paper/YeAH_TCP.pdf
|
/openbmc/linux/Documentation/scsi/ |
H A D | sym53c8xx_2.rst | 13 Updated by Matthew Wilcox <matthew@wil.cx>
|
/openbmc/linux/ |
H A D | .mailmap | 374 Matthew Wilcox <willy@infradead.org> <matthew@wil.cx>
|