Home
last modified time | relevance | path

Searched refs:pkt_cnt (Results 1 – 19 of 19) sorted by relevance

/drivers/net/wireless/mwifiex/
Dsdio.h97 #define MP_TX_AGGR_IN_PROGRESS(a) (a->mpa_tx.pkt_cnt > 0)
108 if (!a->mpa_tx.pkt_cnt) \
111 a->mpa_tx.ports |= (1<<(a->mpa_tx.pkt_cnt)); \
113 a->mpa_tx.ports |= (1<<(a->mpa_tx.pkt_cnt+1+ \
116 a->mpa_tx.pkt_cnt++; \
121 (a->mpa_tx.pkt_cnt == a->mpa_tx.pkt_aggr_limit)
125 a->mpa_tx.pkt_cnt = 0; \
133 (a->mpa_rx.pkt_cnt == a->mpa_rx.pkt_aggr_limit)
136 #define MP_RX_AGGR_IN_PROGRESS(a) (a->mpa_rx.pkt_cnt > 0)
144 a->mpa_rx.pkt_cnt = 0; \
[all …]
Dsdio.c1205 card->mpa_rx.pkt_cnt); in mwifiex_sdio_card_to_host_mp_aggr()
1233 for (pind = 0; pind < card->mpa_rx.pkt_cnt; pind++) { in mwifiex_sdio_card_to_host_mp_aggr()
1282 for (pind = 0; pind < card->mpa_rx.pkt_cnt; pind++) { in mwifiex_sdio_card_to_host_mp_aggr()
1851 card->mpa_tx.pkt_cnt = 0; in mwifiex_init_sdio()
1858 card->mpa_rx.pkt_cnt = 0; in mwifiex_init_sdio()
/drivers/net/wireless/rsi/
Drsi_91x_core.c93 u32 pkt_cnt = 0; in rsi_get_num_pkts_dequeue() local
113 pkt_cnt += 1; in rsi_get_num_pkts_dequeue()
115 if (skb_queue_len(&common->tx_queue[q_num]) - pkt_cnt) in rsi_get_num_pkts_dequeue()
122 return pkt_cnt; in rsi_get_num_pkts_dequeue()
148 if (common->pkt_cnt != 0) { in rsi_core_determine_hal_queue()
149 --common->pkt_cnt; in rsi_core_determine_hal_queue()
194 common->pkt_cnt = rsi_get_num_pkts_dequeue(common, q_num); in rsi_core_determine_hal_queue()
195 common->pkt_cnt -= 1; in rsi_core_determine_hal_queue()
Drsi_main.h200 u32 pkt_cnt; member
/drivers/net/ethernet/broadcom/
Dbcmsysport.c206 STAT_MIB_RX("rx_64_octets", mib.rx.pkt_cnt.cnt_64),
207 STAT_MIB_RX("rx_65_127_oct", mib.rx.pkt_cnt.cnt_127),
208 STAT_MIB_RX("rx_128_255_oct", mib.rx.pkt_cnt.cnt_255),
209 STAT_MIB_RX("rx_256_511_oct", mib.rx.pkt_cnt.cnt_511),
210 STAT_MIB_RX("rx_512_1023_oct", mib.rx.pkt_cnt.cnt_1023),
211 STAT_MIB_RX("rx_1024_1518_oct", mib.rx.pkt_cnt.cnt_1518),
212 STAT_MIB_RX("rx_vlan_1519_1522_oct", mib.rx.pkt_cnt.cnt_mgv),
213 STAT_MIB_RX("rx_1522_2047_oct", mib.rx.pkt_cnt.cnt_2047),
214 STAT_MIB_RX("rx_2048_4095_oct", mib.rx.pkt_cnt.cnt_4095),
215 STAT_MIB_RX("rx_4096_9216_oct", mib.rx.pkt_cnt.cnt_9216),
[all …]
Dbcmsysport.h503 struct bcm_sysport_pkt_counters pkt_cnt; member
527 struct bcm_sysport_pkt_counters pkt_cnt; member
/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c547 STAT_GENET_MIB_RX("rx_64_octets", mib.rx.pkt_cnt.cnt_64),
548 STAT_GENET_MIB_RX("rx_65_127_oct", mib.rx.pkt_cnt.cnt_127),
549 STAT_GENET_MIB_RX("rx_128_255_oct", mib.rx.pkt_cnt.cnt_255),
550 STAT_GENET_MIB_RX("rx_256_511_oct", mib.rx.pkt_cnt.cnt_511),
551 STAT_GENET_MIB_RX("rx_512_1023_oct", mib.rx.pkt_cnt.cnt_1023),
552 STAT_GENET_MIB_RX("rx_1024_1518_oct", mib.rx.pkt_cnt.cnt_1518),
553 STAT_GENET_MIB_RX("rx_vlan_1519_1522_oct", mib.rx.pkt_cnt.cnt_mgv),
554 STAT_GENET_MIB_RX("rx_1522_2047_oct", mib.rx.pkt_cnt.cnt_2047),
555 STAT_GENET_MIB_RX("rx_2048_4095_oct", mib.rx.pkt_cnt.cnt_4095),
556 STAT_GENET_MIB_RX("rx_4096_9216_oct", mib.rx.pkt_cnt.cnt_9216),
[all …]
Dbcmgenet.h90 struct bcmgenet_pkt_counters pkt_cnt; member
114 struct bcmgenet_pkt_counters pkt_cnt; member
/drivers/staging/rtl8723au/hal/
Dusb_ops_linux.c351 u16 pkt_cnt; in recvbuf2recvframe() local
366 pkt_cnt = (le32_to_cpu(prxstat->rxdw2) >> 16) & 0xff; in recvbuf2recvframe()
477 pkt_cnt--; in recvbuf2recvframe()
483 if (transfer_len > 0 && pkt_cnt == 0) in recvbuf2recvframe()
484 pkt_cnt = (le32_to_cpu(prxstat->rxdw2)>>16) & 0xff; in recvbuf2recvframe()
486 } while (transfer_len > 0 && pkt_cnt > 0); in recvbuf2recvframe()
/drivers/net/usb/
Dlg-vl600.c52 __le32 pkt_cnt; member
170 count = le32_to_cpup(&frame->pkt_cnt); in vl600_rx_fixup()
311 frame->pkt_cnt = cpu_to_le32(1); in vl600_tx_fixup()
Dax88179_178a.c1364 int pkt_cnt; in ax88179_rx_fixup() local
1377 pkt_cnt = (u16)rx_hdr; in ax88179_rx_fixup()
1381 while (pkt_cnt--) { in ax88179_rx_fixup()
1395 if (pkt_cnt == 0) { in ax88179_rx_fixup()
Dusbnet.c631 if (++dev->pkt_cnt > 30) { in rx_complete()
632 dev->pkt_cnt = 0; in rx_complete()
900 dev->pkt_cnt = 0; in usbnet_open()
/drivers/staging/rtl8188eu/os_dep/
Dusb_ops_linux.c47 u16 pkt_cnt; in recvbuf2recvframe() local
63 pkt_cnt = (le32_to_cpu(prxstat->rxdw2) >> 16) & 0xff; in recvbuf2recvframe()
197 pkt_cnt--; in recvbuf2recvframe()
203 if (transfer_len > 0 && pkt_cnt == 0) in recvbuf2recvframe()
204 pkt_cnt = (le32_to_cpu(prxstat->rxdw2)>>16) & 0xff; in recvbuf2recvframe()
206 } while ((transfer_len > 0) && (pkt_cnt > 0)); in recvbuf2recvframe()
/drivers/staging/rtl8712/
Drtl8712_recv.c1025 u16 pkt_cnt, drvinfo_sz, pkt_offset, tmp_len, alloc_sz; in recvbuf2recvframe() local
1034 pkt_cnt = (le32_to_cpu(prxstat->rxdw2)>>16)&0xff; in recvbuf2recvframe()
1107 pkt_cnt--; in recvbuf2recvframe()
1110 } while ((transfer_len > 0) && pkt_cnt > 0); in recvbuf2recvframe()
/drivers/net/ethernet/neterion/
Ds2io.c717 ring->pkt_cnt = rx_cfg->num_rxd - ring->block_count; in init_shared_mem()
2467 alloc_cnt = ring->pkt_cnt - ring->rx_bufs_left; in fill_rx_buffers()
2903 int pkt_cnt = 0, napi_pkts = 0; in rx_intr_handler() local
2976 pkt_cnt++; in rx_intr_handler()
2977 if ((indicate_max_pkts) && (pkt_cnt > indicate_max_pkts)) in rx_intr_handler()
3012 int pkt_cnt = 0; in tx_intr_handler() local
3067 pkt_cnt++; in tx_intr_handler()
3080 s2io_wake_tx_queue(fifo_data, pkt_cnt, nic->config.multiq); in tx_intr_handler()
Ds2io.h728 int pkt_cnt; member
/drivers/s390/net/
Dclaw.c349 int pkt_cnt,pk_ind,so_far; in claw_pack_skb() local
352 pkt_cnt = 0; in claw_pack_skb()
380 pkt_cnt++; in claw_pack_skb()
/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c552 int pkt_cnt = 0; in vxge_xmit_compl() local
613 pkt_cnt++; in vxge_xmit_compl()
614 if (pkt_cnt > fifo->indicate_max_pkts) in vxge_xmit_compl()
/drivers/net/ethernet/sun/
Dniu.c3606 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()