| /linux-4.4.14/drivers/net/wireless/ath/wil6210/ |
| D | main.c | 143 static void wil_disconnect_cid(struct wil6210_priv *wil, int cid, in wil_disconnect_cid() argument 148 struct net_device *ndev = wil_to_ndev(wil); in wil_disconnect_cid() 149 struct wireless_dev *wdev = wil->wdev; in wil_disconnect_cid() 150 struct wil_sta_info *sta = &wil->sta[cid]; in wil_disconnect_cid() 153 wil_dbg_misc(wil, "%s(CID %d, status %d)\n", __func__, cid, in wil_disconnect_cid() 158 wmi_disconnect_sta(wil, sta->addr, reason_code); in wil_disconnect_cid() 179 wil_tid_ampdu_rx_free(wil, r); in wil_disconnect_cid() 183 for (i = 0; i < ARRAY_SIZE(wil->vring_tx); i++) { in wil_disconnect_cid() 184 if (wil->vring2cid_tid[i][0] == cid) in wil_disconnect_cid() 185 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 wil_w(wil, RGF_DMA_EP_TX_ICR + offsetof(struct RGF_ICR, IMS), in wil6210_mask_irq_tx() 83 static void wil6210_mask_irq_rx(struct wil6210_priv *wil) in wil6210_mask_irq_rx() argument 85 wil_w(wil, RGF_DMA_EP_RX_ICR + offsetof(struct RGF_ICR, IMS), in wil6210_mask_irq_rx() 89 static void wil6210_mask_irq_misc(struct wil6210_priv *wil) in wil6210_mask_irq_misc() argument 91 wil_w(wil, RGF_DMA_EP_MISC_ICR + offsetof(struct RGF_ICR, IMS), in wil6210_mask_irq_misc() 95 static void wil6210_mask_irq_pseudo(struct wil6210_priv *wil) in wil6210_mask_irq_pseudo() argument 97 wil_dbg_irq(wil, "%s()\n", __func__); in wil6210_mask_irq_pseudo() 99 wil_w(wil, RGF_DMA_PSEUDO_CAUSE_MASK_SW, WIL6210_IRQ_DISABLE); in wil6210_mask_irq_pseudo() 101 clear_bit(wil_status_irqen, wil->status); in wil6210_mask_irq_pseudo() [all …]
|
| D | pcie_bus.c | 29 void wil_set_capabilities(struct wil6210_priv *wil) in wil_set_capabilities() argument 31 u32 rev_id = wil_r(wil, RGF_USER_JTAG_DEV_ID); in wil_set_capabilities() 33 bitmap_zero(wil->hw_capabilities, hw_capability_last); in wil_set_capabilities() 37 wil->hw_name = "Sparrow B0"; in wil_set_capabilities() 38 wil->hw_version = HW_VER_SPARROW_B0; in wil_set_capabilities() 41 wil_err(wil, "Unknown board hardware 0x%08x\n", rev_id); in wil_set_capabilities() 42 wil->hw_name = "Unknown"; in wil_set_capabilities() 43 wil->hw_version = HW_VER_UNKNOWN; in wil_set_capabilities() 46 wil_info(wil, "Board hardware is %s\n", wil->hw_name); in wil_set_capabilities() 49 void wil_disable_irq(struct wil6210_priv *wil) in wil_disable_irq() argument [all …]
|
| D | wmi.c | 123 void __iomem *wmi_buffer(struct wil6210_priv *wil, __le32 ptr_) in wmi_buffer() argument 139 return wil->csr + off; in wmi_buffer() 145 void __iomem *wmi_addr(struct wil6210_priv *wil, u32 ptr) in wmi_addr() argument 159 return wil->csr + off; in wmi_addr() 162 int wmi_read_hdr(struct wil6210_priv *wil, __le32 ptr, in wmi_read_hdr() argument 165 void __iomem *src = wmi_buffer(wil, ptr); in wmi_read_hdr() 175 static int __wmi_send(struct wil6210_priv *wil, u16 cmdid, void *buf, u16 len) in __wmi_send() argument 191 struct wil6210_mbox_ring *r = &wil->mbox_ctl.tx; in __wmi_send() 195 void __iomem *head = wmi_addr(wil, r->head); in __wmi_send() 199 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() 28 wil_err(wil, "%s() while in debug_fw mode\n", __func__); in wil_open() 32 return wil_up(wil); in wil_open() 37 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_stop() local 39 wil_dbg_misc(wil, "%s()\n", __func__); in wil_stop() 41 return wil_down(wil); in wil_stop() 46 struct wil6210_priv *wil = ndev_to_wil(ndev); in wil_change_mtu() local 49 wil_err(wil, "invalid MTU %d\n", new_mtu); in wil_change_mtu() 53 wil_dbg_misc(wil, "change MTU %d -> %d\n", ndev->mtu, new_mtu); in wil_change_mtu() [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 | pm.c | 19 int wil_can_suspend(struct wil6210_priv *wil, bool is_runtime) in wil_can_suspend() argument 22 struct wireless_dev *wdev = wil->wdev; in wil_can_suspend() 24 wil_dbg_pm(wil, "%s(%s)\n", __func__, in wil_can_suspend() 34 wil_dbg_pm(wil, "AP-like interface\n"); in wil_can_suspend() 39 wil_dbg_pm(wil, "%s(%s) => %s (%d)\n", __func__, in wil_can_suspend() 45 int wil_suspend(struct wil6210_priv *wil, bool is_runtime) in wil_suspend() argument 48 struct net_device *ndev = wil_to_ndev(wil); in wil_suspend() 50 wil_dbg_pm(wil, "%s(%s)\n", __func__, in wil_suspend() 55 rc = wil_down(wil); in wil_suspend() 57 wil_err(wil, "wil_down : %d\n", rc); in wil_suspend() [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 | wil6210.h | 642 void wil_dbg_trace(struct wil6210_priv *wil, const char *fmt, ...); 644 void wil_err(struct wil6210_priv *wil, const char *fmt, ...); 646 void wil_err_ratelimited(struct wil6210_priv *wil, const char *fmt, ...); 648 void wil_info(struct wil6210_priv *wil, const char *fmt, ...); 649 #define wil_dbg(wil, fmt, arg...) do { \ argument 650 netdev_dbg(wil_to_ndev(wil), fmt, ##arg); \ 651 wil_dbg_trace(wil, fmt, ##arg); \ 654 #define wil_dbg_irq(wil, fmt, arg...) wil_dbg(wil, "DBG[ IRQ]" fmt, ##arg) argument 655 #define wil_dbg_txrx(wil, fmt, arg...) wil_dbg(wil, "DBG[TXRX]" fmt, ##arg) argument 656 #define wil_dbg_wmi(wil, fmt, arg...) wil_dbg(wil, "DBG[ WMI]" fmt, ##arg) argument [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 | 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 | 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 = 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() [all …]
|
| D | pmc.c | 35 void wil_pmc_init(struct wil6210_priv *wil) in wil_pmc_init() argument 37 memset(&wil->pmc, 0, sizeof(struct pmc_ctx)); in wil_pmc_init() 38 mutex_init(&wil->pmc.lock); in wil_pmc_init() 49 void wil_pmc_alloc(struct wil6210_priv *wil, in wil_pmc_alloc() argument 54 struct pmc_ctx *pmc = &wil->pmc; in wil_pmc_alloc() 55 struct device *dev = wil_to_dev(wil); in wil_pmc_alloc() 62 wil_err(wil, "%s: ERROR pmc is already allocated\n", __func__); in wil_pmc_alloc() 69 wil_dbg_misc(wil, "%s: %d descriptors x %d bytes each\n", in wil_pmc_alloc() 77 wil_err(wil, "%s: ERROR allocating pmc skb list\n", __func__); in wil_pmc_alloc() 81 wil_dbg_misc(wil, in wil_pmc_alloc() [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 | 50 static void wil_print_vring(struct seq_file *s, struct wil6210_priv *wil, in wil_print_vring() argument 54 void __iomem *x = wmi_addr(wil, vring->hwtail); in wil_print_vring() 90 struct wil6210_priv *wil = s->private; in wil_vring_debugfs_show() local 92 wil_print_vring(s, wil, "rx", &wil->vring_rx, 'S', '_'); in wil_vring_debugfs_show() 94 for (i = 0; i < ARRAY_SIZE(wil->vring_tx); i++) { in wil_vring_debugfs_show() 95 struct vring *vring = &wil->vring_tx[i]; in wil_vring_debugfs_show() 96 struct vring_tx_data *txdata = &wil->vring_tx_data[i]; in wil_vring_debugfs_show() 99 int cid = wil->vring2cid_tid[i][0]; in wil_vring_debugfs_show() 100 int tid = wil->vring2cid_tid[i][1]; in wil_vring_debugfs_show() 128 wil->sta[cid].addr, cid, tid, in wil_vring_debugfs_show() [all …]
|
| D | wil_crash_dump.c | 20 static int wil_fw_get_crash_dump_bounds(struct wil6210_priv *wil, in wil_fw_get_crash_dump_bounds() argument 54 static int wil_fw_copy_crash_dump(struct wil6210_priv *wil, void *dest, in wil_fw_copy_crash_dump() argument 62 if (wil_fw_get_crash_dump_bounds(wil, &dump_size, &host_min)) { in wil_fw_copy_crash_dump() 63 wil_err(wil, "%s: fail to obtain crash dump size\n", __func__); in wil_fw_copy_crash_dump() 68 wil_err(wil, "%s: not enough space for dump. Need %d have %d\n", in wil_fw_copy_crash_dump() 77 data = (void * __force)wil->csr + HOSTADDR(map->host); in wil_fw_copy_crash_dump() 81 wil_dbg_misc(wil, "%s() - dump %s, size %d, offset %d\n", in wil_fw_copy_crash_dump() 91 void wil_fw_core_dump(struct wil6210_priv *wil) in wil_fw_core_dump() argument 96 if (wil_fw_get_crash_dump_bounds(wil, &fw_dump_size, NULL)) { in wil_fw_core_dump() 97 wil_err(wil, "%s: fail to get fw dump size\n", __func__); in wil_fw_core_dump() [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 | pmc.h | 21 void wil_pmc_init(struct wil6210_priv *wil); 22 void wil_pmc_alloc(struct wil6210_priv *wil, 24 void wil_pmc_free(struct wil6210_priv *wil, int send_pmc_cmd); 25 int wil_pmc_last_cmd_status(struct wil6210_priv *wil);
|
| D | txrx.h | 509 void wil_rx_reorder(struct wil6210_priv *wil, struct sk_buff *skb); 510 void wil_rx_bar(struct wil6210_priv *wil, u8 cid, u8 tid, u16 seq); 511 struct wil_tid_ampdu_rx *wil_tid_ampdu_rx_alloc(struct wil6210_priv *wil, 513 void wil_tid_ampdu_rx_free(struct wil6210_priv *wil,
|
| /linux-4.4.14/Documentation/hwmon/ |
| D | hwmon-kernel-api.txt | 50 device name. The registration function wil create a name sysfs attribute
|
| /linux-4.4.14/arch/arm/plat-samsung/ |
| D | Kconfig | 278 the CRC data block will take more memory, but wil identify any
|
| /linux-4.4.14/net/ipv4/ |
| D | Kconfig | 569 http://wil.cs.caltech.edu/pfldnet2007/paper/YeAH_TCP.pdf
|
| /linux-4.4.14/Documentation/scsi/ |
| D | sym53c8xx_2.txt | 7 Updated by Matthew Wilcox <matthew@wil.cx>
|
| /linux-4.4.14/ |
| D | CREDITS | 3882 E: matthew@wil.cx
|
| D | MAINTAINERS | 454 M: Matthew Wilcox <matthew@wil.cx> 6576 M: Matthew Wilcox <matthew@wil.cx>
|