| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | sdio.h | 95 #define MP_TX_AGGR_IN_PROGRESS(a) (a->mpa_tx.pkt_cnt > 0) 106 if (!a->mpa_tx.pkt_cnt) \ 109 a->mpa_tx.ports |= (1<<(a->mpa_tx.pkt_cnt)); \ 111 a->mpa_tx.ports |= (1<<(a->mpa_tx.pkt_cnt+1+ \ 114 a->mpa_tx.pkt_cnt++; \ 119 (a->mpa_tx.pkt_cnt == a->mpa_tx.pkt_aggr_limit) 123 a->mpa_tx.pkt_cnt = 0; \ 131 (a->mpa_rx.pkt_cnt == a->mpa_rx.pkt_aggr_limit) 134 #define MP_RX_AGGR_IN_PROGRESS(a) (a->mpa_rx.pkt_cnt > 0) 142 a->mpa_rx.pkt_cnt = 0; \ [all …]
|
| H A D | wmm.c | 641 u32 pkt_cnt = 0, tx_pkts_queued; in mwifiex_update_ralist_tx_pause() local 649 pkt_cnt += ra_list->total_pkt_count; in mwifiex_update_ralist_tx_pause() 660 if (pkt_cnt) { in mwifiex_update_ralist_tx_pause() 663 tx_pkts_queued -= pkt_cnt; in mwifiex_update_ralist_tx_pause() 665 tx_pkts_queued += pkt_cnt; in mwifiex_update_ralist_tx_pause() 680 u32 pkt_cnt = 0, tx_pkts_queued; in mwifiex_update_ralist_tx_pause_in_tdls_cs() local 692 pkt_cnt += ra_list->total_pkt_count; in mwifiex_update_ralist_tx_pause_in_tdls_cs() 704 if (pkt_cnt) { in mwifiex_update_ralist_tx_pause_in_tdls_cs() 707 tx_pkts_queued -= pkt_cnt; in mwifiex_update_ralist_tx_pause_in_tdls_cs() 709 tx_pkts_queued += pkt_cnt; in mwifiex_update_ralist_tx_pause_in_tdls_cs()
|
| H A D | sdio.c | 1837 card->mpa_rx.pkt_cnt); in mwifiex_sdio_card_to_host_mp_aggr() 1859 if (card->mpa_rx.pkt_cnt == 1) in mwifiex_sdio_card_to_host_mp_aggr() 1868 for (pind = 0; pind < card->mpa_rx.pkt_cnt; pind++) { in mwifiex_sdio_card_to_host_mp_aggr() 2292 if (card->mpa_tx.pkt_cnt == 1) in mwifiex_host_to_card_mp_aggr() 2571 card->mpa_tx.pkt_cnt = 0; in mwifiex_init_sdio() 2578 card->mpa_rx.pkt_cnt = 0; in mwifiex_init_sdio()
|
| H A D | sta_event.c | 346 tp->pkt_cnt); in mwifiex_process_uap_tx_pause() 380 tp->pkt_cnt); in mwifiex_process_sta_tx_pause()
|
| H A D | fw.h | 1335 u8 pkt_cnt; member
|
| /linux/tools/testing/selftests/drivers/net/lib/py/ |
| H A D | load.py | 97 def _wait_pkts(self, pkt_cnt=None, pps=None): argument 110 elif pkt_cnt: 111 if pkt_now - pkt_start > pkt_cnt: 115 def wait_pkts_and_stop(self, pkt_cnt): argument 116 failed = not self._wait_pkts(pkt_cnt=pkt_cnt)
|
| /linux/drivers/net/wireless/rsi/ |
| H A D | rsi_91x_core.c | 95 u32 pkt_cnt = 0; in rsi_get_num_pkts_dequeue() local 119 pkt_cnt += 1; in rsi_get_num_pkts_dequeue() 121 if (skb_queue_len(&common->tx_queue[q_num]) - pkt_cnt) in rsi_get_num_pkts_dequeue() 128 return pkt_cnt; in rsi_get_num_pkts_dequeue() 158 if (common->pkt_cnt != 0) { in rsi_core_determine_hal_queue() 159 --common->pkt_cnt; in rsi_core_determine_hal_queue() 203 common->pkt_cnt = rsi_get_num_pkts_dequeue(common, q_num); in rsi_core_determine_hal_queue() 204 common->pkt_cnt -= 1; in rsi_core_determine_hal_queue()
|
| H A D | rsi_main.h | 290 u32 pkt_cnt; member
|
| /linux/drivers/net/wwan/t7xx/ |
| H A D | t7xx_hif_dpmaif.c | 45 int pkt_cnt; in t7xx_ring_buf_rd_wr_count() local 48 pkt_cnt = wr_idx - rd_idx; in t7xx_ring_buf_rd_wr_count() 50 pkt_cnt = rd_idx - wr_idx - 1; in t7xx_ring_buf_rd_wr_count() 52 if (pkt_cnt < 0) in t7xx_ring_buf_rd_wr_count() 53 pkt_cnt += total_cnt; in t7xx_ring_buf_rd_wr_count() 55 return (unsigned int)pkt_cnt; in t7xx_ring_buf_rd_wr_count()
|
| /linux/drivers/net/usb/ |
| H A D | lg-vl600.c | 40 __le32 pkt_cnt; member 152 count = le32_to_cpup(&frame->pkt_cnt); in vl600_rx_fixup() 293 frame->pkt_cnt = cpu_to_le32(1); in vl600_tx_fixup()
|
| H A D | ax88179_178a.c | 1360 int pkt_cnt; in ax88179_rx_fixup() local 1409 pkt_cnt = (u16)rx_hdr; in ax88179_rx_fixup() 1412 if (pkt_cnt == 0) in ax88179_rx_fixup() 1418 if (pkt_cnt * 4 + hdr_off > skb->len) in ax88179_rx_fixup() 1425 for (; pkt_cnt > 0; pkt_cnt--, pkt_hdr++) { in ax88179_rx_fixup()
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | bcmsysport.c | 203 STAT_MIB_RX("rx_64_octets", mib.rx.pkt_cnt.cnt_64), 204 STAT_MIB_RX("rx_65_127_oct", mib.rx.pkt_cnt.cnt_127), 205 STAT_MIB_RX("rx_128_255_oct", mib.rx.pkt_cnt.cnt_255), 206 STAT_MIB_RX("rx_256_511_oct", mib.rx.pkt_cnt.cnt_511), 207 STAT_MIB_RX("rx_512_1023_oct", mib.rx.pkt_cnt.cnt_1023), 208 STAT_MIB_RX("rx_1024_1518_oct", mib.rx.pkt_cnt.cnt_1518), 209 STAT_MIB_RX("rx_vlan_1519_1522_oct", mib.rx.pkt_cnt.cnt_mgv), 210 STAT_MIB_RX("rx_1522_2047_oct", mib.rx.pkt_cnt.cnt_2047), 211 STAT_MIB_RX("rx_2048_4095_oct", mib.rx.pkt_cnt.cnt_4095), 212 STAT_MIB_RX("rx_4096_9216_oct", mib.rx.pkt_cnt.cnt_9216), [all …]
|
| /linux/drivers/net/ethernet/netronome/nfp/nfd3/ |
| H A D | nfd3.h | 78 u16 pkt_cnt; member
|
| /linux/drivers/net/ethernet/netronome/nfp/nfdk/ |
| H A D | nfdk.h | 103 u32 pkt_cnt; member
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-pci-defs.h | 902 uint32_t pkt_cnt:32; member 904 uint32_t pkt_cnt:32; 1816 uint32_t pkt_cnt:16; member 1820 uint32_t pkt_cnt:16; 1829 uint32_t pkt_cnt:32; member 1831 uint32_t pkt_cnt:32; 1840 uint32_t pkt_cnt:32; member 1842 uint32_t pkt_cnt:32;
|
| H A D | cvmx-npei-defs.h | 1162 uint64_t pkt_cnt:5; member 1188 uint64_t pkt_cnt:5;
|
| /linux/include/linux/usb/ |
| H A D | usbnet.h | 30 unsigned char pkt_cnt, pkt_err; member
|
| /linux/drivers/net/ethernet/asix/ |
| H A D | ax88796c_main.c | 500 u8 pkt_cnt; in ax88796c_receive() local 508 pkt_cnt = AX_READ(&ax_local->ax_spi, P0_RXBCR2) & RXBCR2_PKT_MASK; in ax88796c_receive() 509 if (!pkt_cnt) in ax88796c_receive()
|
| /linux/net/tipc/ |
| H A D | socket.c | 103 * @pkt_cnt: TIPC socket packet count 137 u16 pkt_cnt; 1280 tsk->pkt_cnt += skb_queue_len(txq); in tipc_sk_push_backlog() 1281 if (!tsk->pkt_cnt || tsk->msg_acc / tsk->pkt_cnt < 2) { in tipc_sk_push_backlog() 1287 tsk->portid, tsk->msg_acc, tsk->pkt_cnt, in tipc_sk_push_backlog() 1299 tsk->pkt_cnt = 0; in tipc_sk_push_backlog() 1310 tsk->pkt_cnt += skb_queue_len(txq); in tipc_sk_push_backlog() 1606 tsk->pkt_cnt += skb_queue_len(txq); in __tipc_sendstream() 1616 tsk->pkt_cnt in __tipc_sendstream() 136 u16 pkt_cnt; global() member [all...] |
| H A D | link.c | 1020 int pkt_cnt = skb_queue_len(list); in tipc_link_xmit() local 1029 if (pkt_cnt <= 0) in tipc_link_xmit() 1052 if (pkt_cnt > 1) { in tipc_link_xmit() 1054 l->stats.sent_fragments += pkt_cnt; in tipc_link_xmit()
|
| /linux/drivers/net/ethernet/sun/ |
| H A D | niu.c | 3606 u16 pkt_cnt, tmp; in niu_tx_work() local 3617 tmp = pkt_cnt = (cs & TX_CS_PKT_CNT) >> TX_CS_PKT_CNT_SHIFT; in niu_tx_work() 3618 pkt_cnt = (pkt_cnt - rp->last_pkt_cnt) & in niu_tx_work() 3626 "%s() pkt_cnt[%u] cons[%d]\n", __func__, pkt_cnt, cons); in niu_tx_work() 3628 while (pkt_cnt--) in niu_tx_work()
|