Home
last modified time | relevance | path

Searched refs:lnk (Results 1 – 12 of 12) sorted by relevance

/drivers/net/wireless/ti/wlcore/
Dtx.c524 struct wl1271_link *lnk, u8 q) in wlcore_lnk_dequeue() argument
529 skb = skb_dequeue(&lnk->tx_queue[q]); in wlcore_lnk_dequeue()
534 if (lnk->wlvif) { in wlcore_lnk_dequeue()
535 WARN_ON_ONCE(lnk->wlvif->tx_queue_count[q] <= 0); in wlcore_lnk_dequeue()
536 lnk->wlvif->tx_queue_count[q]--; in wlcore_lnk_dequeue()
548 struct wl1271_link *lnk = &wl->links[hlid]; in wlcore_lnk_dequeue_high_prio() local
550 if (!wlcore_hw_lnk_high_prio(wl, hlid, lnk)) { in wlcore_lnk_dequeue_high_prio()
552 !skb_queue_empty(&lnk->tx_queue[ac]) && in wlcore_lnk_dequeue_high_prio()
553 wlcore_hw_lnk_low_prio(wl, hlid, lnk)) in wlcore_lnk_dequeue_high_prio()
560 return wlcore_lnk_dequeue(wl, lnk, ac); in wlcore_lnk_dequeue_high_prio()
[all …]
Devent.c150 struct wl1271_link *lnk; in wl1271_stop_ba_event() local
153 lnk = &wl->links[hlid]; in wl1271_stop_ba_event()
154 if (!lnk->ba_bitmap) in wl1271_stop_ba_event()
158 lnk->ba_bitmap, in wl1271_stop_ba_event()
159 lnk->addr); in wl1271_stop_ba_event()
Dhw_ops.h269 struct wl1271_link *lnk) in wlcore_hw_lnk_high_prio() argument
274 return wl->ops->lnk_high_prio(wl, hlid, lnk); in wlcore_hw_lnk_high_prio()
279 struct wl1271_link *lnk) in wlcore_hw_lnk_low_prio() argument
284 return wl->ops->lnk_low_prio(wl, hlid, lnk); in wlcore_hw_lnk_low_prio()
Dps.c244 struct wl1271_link *lnk = &wl->links[hlid]; in wl1271_ps_filter_frames() local
249 while ((skb = skb_dequeue(&lnk->tx_queue[i]))) { in wl1271_ps_filter_frames()
265 if (lnk->wlvif) in wl1271_ps_filter_frames()
266 lnk->wlvif->tx_queue_count[i] -= filtered[i]; in wl1271_ps_filter_frames()
Dwlcore.h116 struct wl1271_link *lnk);
118 struct wl1271_link *lnk);
Dmain.c396 struct wl1271_link *lnk; in wlcore_fw_status() local
425 lnk = &wl->links[i]; in wlcore_fw_status()
429 lnk->prev_freed_pkts) & 0xff; in wlcore_fw_status()
434 lnk->allocated_pkts -= diff; in wlcore_fw_status()
435 lnk->prev_freed_pkts = status->counters.tx_lnk_free_pkts[i]; in wlcore_fw_status()
438 lnk->total_freed_pkts += diff; in wlcore_fw_status()
/drivers/net/wireless/ti/wl18xx/
Dmain.c1660 struct wl1271_link *lnk) in wl18xx_lnk_high_prio() argument
1683 return lnk->allocated_pkts < thold; in wl18xx_lnk_high_prio()
1687 struct wl1271_link *lnk) in wl18xx_lnk_low_prio() argument
1707 return lnk->allocated_pkts < thold; in wl18xx_lnk_low_prio()
/drivers/net/wireless/ti/wl12xx/
Dmain.c1667 struct wl1271_link *lnk) in wl12xx_lnk_high_prio() argument
1676 return lnk->allocated_pkts < thold; in wl12xx_lnk_high_prio()
1680 struct wl1271_link *lnk) in wl12xx_lnk_low_prio() argument
/drivers/net/ethernet/neterion/vxge/
Dvxge-config.c756 u16 lnk; in __vxge_hw_verify_pci_e_info() local
759 pcie_capability_read_word(dev, PCI_EXP_LNKSTA, &lnk); in __vxge_hw_verify_pci_e_info()
761 if ((lnk & PCI_EXP_LNKSTA_CLS) != 1) in __vxge_hw_verify_pci_e_info()
764 switch ((lnk & PCI_EXP_LNKSTA_NLW) >> 4) { in __vxge_hw_verify_pci_e_info()
1980 u16 lnk; in vxge_hw_device_link_width_get() local
1982 pcie_capability_read_word(dev, PCI_EXP_LNKSTA, &lnk); in vxge_hw_device_link_width_get()
1983 return (lnk & VXGE_HW_PCI_EXP_LNKCAP_LNK_WIDTH) >> 4; in vxge_hw_device_link_width_get()
/drivers/scsi/qla2xxx/
Dqla_nx.c2499 uint16_t lnk; in qla82xx_start_firmware() local
2529 pcie_capability_read_word(ha->pdev, PCI_EXP_LNKSTA, &lnk); in qla82xx_start_firmware()
2530 ha->link_width = (lnk >> 4) & 0x3f; in qla82xx_start_firmware()
/drivers/scsi/qla4xxx/
Dql4_nx.c1750 uint16_t lnk; in qla4_82xx_start_firmware() local
1773 pcie_capability_read_word(ha->pdev, PCI_EXP_LNKSTA, &lnk); in qla4_82xx_start_firmware()
1774 ha->link_width = (lnk >> 4) & 0x3f; in qla4_82xx_start_firmware()
/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c3400 u16 lnk; in myri10ge_select_firmware() local
3402 pcie_capability_read_word(mgp->pdev, PCI_EXP_LNKSTA, &lnk); in myri10ge_select_firmware()
3403 link_width = (lnk >> 4) & 0x3f; in myri10ge_select_firmware()