Lines Matching refs:wil
26 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_ethtoolops_begin() local
28 mutex_lock(&wil->mutex); in wil_ethtoolops_begin()
30 wil_dbg_misc(wil, "%s()\n", __func__); in wil_ethtoolops_begin()
37 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_ethtoolops_complete() local
39 wil_dbg_misc(wil, "%s()\n", __func__); in wil_ethtoolops_complete()
41 mutex_unlock(&wil->mutex); in wil_ethtoolops_complete()
47 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_ethtoolops_get_coalesce() local
51 wil_dbg_misc(wil, "%s()\n", __func__); in wil_ethtoolops_get_coalesce()
53 tx_itr_en = wil_r(wil, RGF_DMA_ITR_TX_CNT_CTL); in wil_ethtoolops_get_coalesce()
55 tx_itr_val = wil_r(wil, RGF_DMA_ITR_TX_CNT_TRSH); in wil_ethtoolops_get_coalesce()
57 rx_itr_en = wil_r(wil, RGF_DMA_ITR_RX_CNT_CTL); in wil_ethtoolops_get_coalesce()
59 rx_itr_val = wil_r(wil, RGF_DMA_ITR_RX_CNT_TRSH); in wil_ethtoolops_get_coalesce()
69 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_ethtoolops_set_coalesce() local
71 wil_dbg_misc(wil, "%s(rx %d usec, tx %d usec)\n", __func__, in wil_ethtoolops_set_coalesce()
74 if (wil->wdev->iftype == NL80211_IFTYPE_MONITOR) { in wil_ethtoolops_set_coalesce()
75 wil_dbg_misc(wil, "No IRQ coalescing in monitor mode\n"); in wil_ethtoolops_set_coalesce()
87 wil->tx_max_burst_duration = cp->tx_coalesce_usecs; in wil_ethtoolops_set_coalesce()
88 wil->rx_max_burst_duration = cp->rx_coalesce_usecs; in wil_ethtoolops_set_coalesce()
89 wil_configure_interrupt_moderation(wil); in wil_ethtoolops_set_coalesce()
94 wil_dbg_misc(wil, "Unsupported coalescing params. Raw command:\n"); in wil_ethtoolops_set_coalesce()