/linux-4.1.27/drivers/net/wireless/ath/wil6210/ |
D | main.c | 136 static void wil_disconnect_cid(struct wil6210_priv *wil, int cid, in wil_disconnect_cid() argument 141 struct net_device *ndev = wil_to_ndev(wil); in wil_disconnect_cid() 142 struct wireless_dev *wdev = wil->wdev; in wil_disconnect_cid() 143 struct wil_sta_info *sta = &wil->sta[cid]; in wil_disconnect_cid() 146 wil_dbg_misc(wil, "%s(CID %d, status %d)\n", __func__, cid, in wil_disconnect_cid() 152 wmi_disconnect_sta(wil, sta->addr, reason_code); in wil_disconnect_cid() 173 wil_tid_ampdu_rx_free(wil, r); in wil_disconnect_cid() 177 for (i = 0; i < ARRAY_SIZE(wil->vring_tx); i++) { in wil_disconnect_cid() 178 if (wil->vring2cid_tid[i][0] == cid) in wil_disconnect_cid() 179 wil_vring_fini_tx(wil, i); in wil_disconnect_cid() [all …]
|
D | interrupt.c | 77 static void wil6210_mask_irq_tx(struct wil6210_priv *wil) in wil6210_mask_irq_tx() argument 79 iowrite32(WIL6210_IRQ_DISABLE, wil->csr + in wil6210_mask_irq_tx() 84 static void wil6210_mask_irq_rx(struct wil6210_priv *wil) in wil6210_mask_irq_rx() argument 86 iowrite32(WIL6210_IRQ_DISABLE, wil->csr + in wil6210_mask_irq_rx() 91 static void wil6210_mask_irq_misc(struct wil6210_priv *wil) in wil6210_mask_irq_misc() argument 93 iowrite32(WIL6210_IRQ_DISABLE, wil->csr + in wil6210_mask_irq_misc() 98 static void wil6210_mask_irq_pseudo(struct wil6210_priv *wil) in wil6210_mask_irq_pseudo() argument 100 wil_dbg_irq(wil, "%s()\n", __func__); in wil6210_mask_irq_pseudo() 102 iowrite32(WIL6210_IRQ_DISABLE, wil->csr + in wil6210_mask_irq_pseudo() 105 clear_bit(wil_status_irqen, wil->status); in wil6210_mask_irq_pseudo() [all …]
|
D | pcie_bus.c | 35 void wil_set_capabilities(struct wil6210_priv *wil) in wil_set_capabilities() argument 37 u32 rev_id = ioread32(wil->csr + HOSTADDR(RGF_USER_JTAG_DEV_ID)); in wil_set_capabilities() 39 bitmap_zero(wil->hw_capabilities, hw_capability_last); in wil_set_capabilities() 43 wil->hw_name = "Sparrow B0"; in wil_set_capabilities() 44 wil->hw_version = HW_VER_SPARROW_B0; in wil_set_capabilities() 47 wil_err(wil, "Unknown board hardware 0x%08x\n", rev_id); in wil_set_capabilities() 48 wil->hw_name = "Unknown"; in wil_set_capabilities() 49 wil->hw_version = HW_VER_UNKNOWN; in wil_set_capabilities() 52 wil_info(wil, "Board hardware is %s\n", wil->hw_name); in wil_set_capabilities() 55 void wil_disable_irq(struct wil6210_priv *wil) in wil_disable_irq() argument [all …]
|
D | wmi.c | 122 void __iomem *wmi_buffer(struct wil6210_priv *wil, __le32 ptr_) in wmi_buffer() argument 138 return wil->csr + off; in wmi_buffer() 144 void __iomem *wmi_addr(struct wil6210_priv *wil, u32 ptr) in wmi_addr() argument 158 return wil->csr + off; in wmi_addr() 161 int wmi_read_hdr(struct wil6210_priv *wil, __le32 ptr, in wmi_read_hdr() argument 164 void __iomem *src = wmi_buffer(wil, ptr); in wmi_read_hdr() 174 static int __wmi_send(struct wil6210_priv *wil, u16 cmdid, void *buf, u16 len) in __wmi_send() argument 190 struct wil6210_mbox_ring *r = &wil->mbox_ctl.tx; in __wmi_send() 194 void __iomem *head = wmi_addr(wil, r->head); in __wmi_send() 198 wil_err(wil, "WMI size too large: %d bytes, max is %d\n", in __wmi_send() [all …]
|
D | netdev.c | 23 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_open() local 25 wil_dbg_misc(wil, "%s()\n", __func__); in wil_open() 27 return wil_up(wil); in wil_open() 32 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_stop() local 34 wil_dbg_misc(wil, "%s()\n", __func__); in wil_stop() 36 return wil_down(wil); in wil_stop() 41 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_change_mtu() local 44 wil_err(wil, "invalid MTU %d\n", new_mtu); in wil_change_mtu() 48 wil_dbg_misc(wil, "change MTU %d -> %d\n", ndev->mtu, new_mtu); in wil_change_mtu() 56 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_do_ioctl() local [all …]
|
D | cfg80211.c | 108 int wil_cid_fill_sinfo(struct wil6210_priv *wil, int cid, in wil_cid_fill_sinfo() argument 119 struct wil_net_stats *stats = &wil->sta[cid].stats; in wil_cid_fill_sinfo() 122 rc = wmi_call(wil, WMI_NOTIFY_REQ_CMDID, &cmd, sizeof(cmd), in wil_cid_fill_sinfo() 127 wil_dbg_wmi(wil, "Link status for CID %d: {\n" in wil_cid_fill_sinfo() 144 sinfo->generation = wil->sinfo_gen; in wil_cid_fill_sinfo() 166 if (test_bit(wil_status_fwconnected, wil->status)) { in wil_cid_fill_sinfo() 178 struct wil6210_priv *wil = wiphy_to_wil(wiphy); in wil_cfg80211_get_station() local 181 int cid = wil_find_cid(wil, mac); in wil_cfg80211_get_station() 183 wil_dbg_misc(wil, "%s(%pM) CID %d\n", __func__, mac, cid); in wil_cfg80211_get_station() 187 rc = wil_cid_fill_sinfo(wil, cid, sinfo); in wil_cfg80211_get_station() [all …]
|
D | txrx.c | 97 static int wil_vring_alloc(struct wil6210_priv *wil, struct vring *vring) in wil_vring_alloc() argument 99 struct device *dev = wil_to_dev(wil); in wil_vring_alloc() 103 wil_dbg_misc(wil, "%s()\n", __func__); in wil_vring_alloc() 133 wil_dbg_misc(wil, "vring[%d] 0x%p:%pad 0x%p\n", vring->size, in wil_vring_alloc() 157 static void wil_vring_free(struct wil6210_priv *wil, struct vring *vring, in wil_vring_free() argument 160 struct device *dev = wil_to_dev(wil); in wil_vring_free() 164 int vring_index = vring - wil->vring_tx; in wil_vring_free() 166 wil_dbg_misc(wil, "free Tx vring %d [%d] 0x%p:%pad 0x%p\n", in wil_vring_free() 170 wil_dbg_misc(wil, "free Rx vring [%d] 0x%p:%pad 0x%p\n", in wil_vring_free() 217 static int wil_vring_alloc_skb(struct wil6210_priv *wil, struct vring *vring, in wil_vring_alloc_skb() argument [all …]
|
D | rx_reorder.c | 43 static void wil_release_reorder_frame(struct wil6210_priv *wil, in wil_release_reorder_frame() argument 47 struct net_device *ndev = wil_to_ndev(wil); in wil_release_reorder_frame() 62 static void wil_release_reorder_frames(struct wil6210_priv *wil, in wil_release_reorder_frames() argument 76 wil_release_reorder_frame(wil, r, index); in wil_release_reorder_frames() 81 static void wil_reorder_release(struct wil6210_priv *wil, in wil_reorder_release() argument 87 wil_release_reorder_frame(wil, r, index); in wil_reorder_release() 93 void wil_rx_reorder(struct wil6210_priv *wil, struct sk_buff *skb) in wil_rx_reorder() argument 96 struct net_device *ndev = wil_to_ndev(wil); in wil_rx_reorder() 103 struct wil_sta_info *sta = &wil->sta[cid]; in wil_rx_reorder() 108 wil_dbg_txrx(wil, "MID %d CID %d TID %d Seq 0x%03x mcast %01x\n", in wil_rx_reorder() [all …]
|
D | fw_inc.c | 21 #define wil_err_fw(wil, fmt, arg...) wil_err(wil, "ERR[ FW ]" fmt, ##arg) argument 22 #define wil_dbg_fw(wil, fmt, arg...) wil_dbg(wil, "DBG[ FW ]" fmt, ##arg) argument 30 ioaddr = wmi_buffer(wil, val); \ 32 wil_err_fw(wil, "bad " msg ": 0x%08x\n", \ 46 static int wil_fw_verify(struct wil6210_priv *wil, const u8 *data, size_t size) in wil_fw_verify() argument 55 wil_err_fw(wil, "image size not aligned: %zu\n", size); in wil_fw_verify() 60 wil_err_fw(wil, "file too short: %zu bytes\n", size); in wil_fw_verify() 66 wil_err_fw(wil, "no file header\n"); in wil_fw_verify() 74 wil_err_fw(wil, "data length not aligned: %lu\n", (ulong)dlen); in wil_fw_verify() 78 wil_err_fw(wil, "file truncated at %zu/%lu\n", in wil_fw_verify() [all …]
|
D | wil6210.h | 624 void wil_dbg_trace(struct wil6210_priv *wil, const char *fmt, ...); 626 void wil_err(struct wil6210_priv *wil, const char *fmt, ...); 628 void wil_err_ratelimited(struct wil6210_priv *wil, const char *fmt, ...); 630 void wil_info(struct wil6210_priv *wil, const char *fmt, ...); 631 #define wil_dbg(wil, fmt, arg...) do { \ argument 632 netdev_dbg(wil_to_ndev(wil), fmt, ##arg); \ 633 wil_dbg_trace(wil, fmt, ##arg); \ 636 #define wil_dbg_irq(wil, fmt, arg...) wil_dbg(wil, "DBG[ IRQ]" fmt, ##arg) argument 637 #define wil_dbg_txrx(wil, fmt, arg...) wil_dbg(wil, "DBG[TXRX]" fmt, ##arg) argument 638 #define wil_dbg_wmi(wil, fmt, arg...) wil_dbg(wil, "DBG[ WMI]" fmt, ##arg) argument [all …]
|
D | ethtool.c | 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 = ioread32(wil->csr + in wil_ethtoolops_get_coalesce() 57 ioread32(wil->csr + in wil_ethtoolops_get_coalesce() [all …]
|
D | ioctl.c | 25 #define wil_dbg_ioctl(wil, fmt, arg...) wil_dbg(wil, "DBG[IOC ]" fmt, ##arg) argument 27 static void __iomem *wil_ioc_addr(struct wil6210_priv *wil, uint32_t addr, in wil_ioc_addr() argument 35 a = wmi_buffer(wil, cpu_to_le32(addr)); in wil_ioc_addr() 38 a = wmi_addr(wil, addr); in wil_ioc_addr() 41 a = wmi_addr(wil, addr + WIL6210_FW_HOST_OFF); in wil_ioc_addr() 44 wil_err(wil, "Unsupported address mode, op = 0x%08x\n", op); in wil_ioc_addr() 48 off = a - wil->csr; in wil_ioc_addr() 50 wil_err(wil, "Requested block does not fit into memory: " in wil_ioc_addr() 58 static int wil_ioc_memio_dword(struct wil6210_priv *wil, void __user *data) in wil_ioc_memio_dword() argument 67 wil_dbg_ioctl(wil, "IO: addr = 0x%08x val = 0x%08x op = 0x%08x\n", in wil_ioc_memio_dword() [all …]
|
D | debugfs.c | 49 static void wil_print_vring(struct seq_file *s, struct wil6210_priv *wil, in wil_print_vring() argument 53 void __iomem *x = wmi_addr(wil, vring->hwtail); in wil_print_vring() 89 struct wil6210_priv *wil = s->private; in wil_vring_debugfs_show() local 91 wil_print_vring(s, wil, "rx", &wil->vring_rx, 'S', '_'); in wil_vring_debugfs_show() 93 for (i = 0; i < ARRAY_SIZE(wil->vring_tx); i++) { in wil_vring_debugfs_show() 94 struct vring *vring = &wil->vring_tx[i]; in wil_vring_debugfs_show() 95 struct vring_tx_data *txdata = &wil->vring_tx_data[i]; in wil_vring_debugfs_show() 98 int cid = wil->vring2cid_tid[i][0]; in wil_vring_debugfs_show() 99 int tid = wil->vring2cid_tid[i][1]; in wil_vring_debugfs_show() 127 wil->sta[cid].addr, cid, tid, in wil_vring_debugfs_show() [all …]
|
D | debug.c | 20 void wil_err(struct wil6210_priv *wil, const char *fmt, ...) in wil_err() argument 22 struct net_device *ndev = wil_to_ndev(wil); in wil_err() 35 void wil_err_ratelimited(struct wil6210_priv *wil, const char *fmt, ...) in wil_err_ratelimited() argument 38 struct net_device *ndev = wil_to_ndev(wil); in wil_err_ratelimited() 52 void wil_info(struct wil6210_priv *wil, const char *fmt, ...) in wil_info() argument 54 struct net_device *ndev = wil_to_ndev(wil); in wil_info() 67 void wil_dbg_trace(struct wil6210_priv *wil, const char *fmt, ...) in wil_dbg_trace() argument
|
D | fw.c | 27 #define R(a) ioread32(wil->csr + HOSTADDR(a)) 29 #define W(a, v) do { iowrite32(v, wil->csr + HOSTADDR(a)); wmb(); } while (0)
|
D | txrx.h | 487 void wil_rx_reorder(struct wil6210_priv *wil, struct sk_buff *skb); 488 struct wil_tid_ampdu_rx *wil_tid_ampdu_rx_alloc(struct wil6210_priv *wil, 490 void wil_tid_ampdu_rx_free(struct wil6210_priv *wil,
|
/linux-4.1.27/Documentation/hwmon/ |
D | hwmon-kernel-api.txt | 50 device name. The registration function wil create a name sysfs attribute
|
/linux-4.1.27/arch/arm/plat-samsung/ |
D | Kconfig | 295 the CRC data block will take more memory, but wil identify any
|
/linux-4.1.27/net/ipv4/ |
D | Kconfig | 583 http://wil.cs.caltech.edu/pfldnet2007/paper/YeAH_TCP.pdf
|
/linux-4.1.27/Documentation/scsi/ |
D | sym53c8xx_2.txt | 7 Updated by Matthew Wilcox <matthew@wil.cx>
|
/linux-4.1.27/ |
D | CREDITS | 3870 E: matthew@wil.cx
|
D | MAINTAINERS | 447 M: Matthew Wilcox <matthew@wil.cx> 6122 M: Matthew Wilcox <matthew@wil.cx>
|