/drivers/net/wireless/mwifiex/ |
D | sdio.h | 97 #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 …]
|
D | sdio.c | 1205 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/ |
D | rsi_91x_core.c | 93 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()
|
D | rsi_main.h | 200 u32 pkt_cnt; member
|
/drivers/net/ethernet/broadcom/ |
D | bcmsysport.c | 206 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 …]
|
D | bcmsysport.h | 503 struct bcm_sysport_pkt_counters pkt_cnt; member 527 struct bcm_sysport_pkt_counters pkt_cnt; member
|
/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.c | 547 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 …]
|
D | bcmgenet.h | 90 struct bcmgenet_pkt_counters pkt_cnt; member 114 struct bcmgenet_pkt_counters pkt_cnt; member
|
/drivers/staging/rtl8723au/hal/ |
D | usb_ops_linux.c | 351 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/ |
D | lg-vl600.c | 52 __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()
|
D | ax88179_178a.c | 1364 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()
|
D | usbnet.c | 631 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/ |
D | usb_ops_linux.c | 47 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/ |
D | rtl8712_recv.c | 1025 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/ |
D | s2io.c | 717 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()
|
D | s2io.h | 728 int pkt_cnt; member
|
/drivers/s390/net/ |
D | claw.c | 349 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/ |
D | vxge-main.c | 552 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/ |
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()
|