Home
last modified time | relevance | path

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

/drivers/net/can/rcar/
Drcar_can.c678 int num_pkts; in rcar_can_rx_poll() local
680 for (num_pkts = 0; num_pkts < quota; num_pkts++) { in rcar_can_rx_poll()
698 if (num_pkts < quota) { in rcar_can_rx_poll()
699 napi_complete_done(napi, num_pkts); in rcar_can_rx_poll()
703 return num_pkts; in rcar_can_rx_poll()
Drcar_canfd.c1652 int num_pkts; in rcar_canfd_rx_poll() local
1657 for (num_pkts = 0; num_pkts < quota; num_pkts++) { in rcar_canfd_rx_poll()
1672 if (num_pkts < quota) { in rcar_canfd_rx_poll()
1673 if (napi_complete_done(napi, num_pkts)) { in rcar_canfd_rx_poll()
1679 return num_pkts; in rcar_canfd_rx_poll()
/drivers/usb/mtu3/
Dmtu3_core.c412 int num_pkts; in mtu3_config_ep() local
427 num_pkts = (burst + 1) * (mult + 1) - 1; in mtu3_config_ep()
429 csr1 |= TX_MAX_PKT(gen2cp, num_pkts) | TX_MULT(gen2cp, mult); in mtu3_config_ep()
463 num_pkts = (burst + 1) * (mult + 1) - 1; in mtu3_config_ep()
465 csr1 |= RX_MAX_PKT(gen2cp, num_pkts) | RX_MULT(gen2cp, mult); in mtu3_config_ep()
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dxdp.c320 .num_pkts = 0, in mlx5e_xdpsq_get_next_pi()
368 wi->num_pkts = session->pkt_count; in mlx5e_xdp_mpwqe_complete()
594 .num_pkts = 1, in mlx5e_xmit_xdp_frame()
618 for (i = 0; i < wi->num_pkts; i++) { in mlx5e_free_xdpsq_desc()
Dxdp.h191 u8 num_pkts; member
/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Dtx.c54 wi->num_pkts = 1; in mlx5e_xsk_tx_post_err()
/drivers/net/wireless/ath/ath9k/
Dgpio.c181 (sc->rx.num_pkts < ATH_BTCOEX_STOMP_FTP_THRESH); in ath_mci_ftp_adjust()
185 sc->rx.num_pkts = 0; in ath_mci_ftp_adjust()
Dath9k.h308 u32 num_pkts; member
Drecv.c943 sc->rx.num_pkts++; in ath9k_rx_skb_preprocess()
/drivers/net/ethernet/qualcomm/emac/
Demac-mac.h229 int *num_pkts, int max_pkts);
Demac-mac.c1088 int *num_pkts, int max_pkts) in emac_mac_rx_process() argument
1155 (*num_pkts)++; in emac_mac_rx_process()
1156 } while (*num_pkts < max_pkts); in emac_mac_rx_process()
/drivers/net/vmxnet3/
Dvmxnet3_drv.c1086 int num_pkts; in vmxnet3_tq_xmit() local
1226 num_pkts = (skb->len - gdesc->txd.hlen + ctx.mss - 1) / ctx.mss; in vmxnet3_tq_xmit()
1252 num_pkts = 1; in vmxnet3_tq_xmit()
1254 le32_add_cpu(&tq->shared->txNumDeferred, num_pkts); in vmxnet3_tq_xmit()
1255 tx_num_deferred += num_pkts; in vmxnet3_tq_xmit()
1509 u32 num_pkts = 0; in vmxnet3_rq_rx_complete() local
1533 if (num_pkts >= quota) { in vmxnet3_rq_rx_complete()
1840 num_pkts++; in vmxnet3_rq_rx_complete()
1905 return num_pkts; in vmxnet3_rq_rx_complete()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c2496 unsigned int pkt_size, num_pkts, i; in bnx2x_run_loopback() local
2577 num_pkts = 0; in bnx2x_run_loopback()
2633 num_pkts++; in bnx2x_run_loopback()
2639 if (tx_idx != tx_start_idx + num_pkts) in bnx2x_run_loopback()
2657 if (rx_idx != rx_start_idx + num_pkts) in bnx2x_run_loopback()
/drivers/net/wireless/ath/ath6kl/
Dhtc_mbox.c2142 u32 msg_look_ahead, int *num_pkts) in ath6kl_htc_rxmsg_pending_handler() argument
2154 *num_pkts = 0; in ath6kl_htc_rxmsg_pending_handler()
2250 *num_pkts = n_fetched; in ath6kl_htc_rxmsg_pending_handler()
/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h1577 u32 num_pkts; member
2445 u32 loopback_type, u32 pkt_size, u32 num_pkts,
Dbe_cmds.c3289 u32 loopback_type, u32 pkt_size, u32 num_pkts, in be_cmd_loopback_test() argument
3320 req->num_pkts = cpu_to_le32(num_pkts); in be_cmd_loopback_test()
/drivers/net/ethernet/broadcom/
Dbnx2.c5787 unsigned int pkt_size, num_pkts, i; in bnx2_run_loopback() local
5844 num_pkts = 0; in bnx2_run_loopback()
5853 num_pkts++; in bnx2_run_loopback()
5876 if (rx_idx != rx_start_idx + num_pkts) { in bnx2_run_loopback()
Dtg3.c13421 int num_pkts, tx_len, rx_len, i, err; in tg3_run_loopback() local
13460 num_pkts = DIV_ROUND_UP(val, TG3_TSO_MSS); in tg3_run_loopback()
13494 num_pkts = 1; in tg3_run_loopback()
13550 (rx_idx == (rx_start_idx + num_pkts))) in tg3_run_loopback()
13560 if (rx_idx != rx_start_idx + num_pkts) in tg3_run_loopback()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c1892 .num_pkts = 1, in mlx5e_open_xdpsq()