Searched refs:packets (Results 1 - 25 of 56) sorted by relevance

123

/drivers/input/joystick/iforce/
H A DMakefile9 iforce-y := iforce-ff.o iforce-main.o iforce-packets.o
/drivers/net/
H A Dloopback.c21 * on packets received on the loopback
63 u64 packets; member in struct:pcpu_lstats
89 lb_stats->packets++;
100 u64 packets = 0; local
112 tpackets = lb_stats->packets;
115 packets += tpackets;
117 stats->rx_packets = packets;
118 stats->tx_packets = packets;
H A DKconfig134 This allows one to create virtual interfaces that map packets to
204 device, which instead of receiving packets from a physical media,
205 receives them from user space program and instead of sending packets
/drivers/ptp/
H A DKconfig37 getting hardware time stamps on the PTP Ethernet packets
50 getting hardware time stamps on the PTP Ethernet packets
69 getting hardware time stamps on the PTP Ethernet packets
82 getting hardware time stamps on the PTP Ethernet packets
/drivers/net/wireless/libertas/
H A Dif_sdio.c135 struct if_sdio_packet *packets; member in struct:if_sdio_card
437 packet = card->packets;
439 card->packets = packet->next;
944 if (!card->packets)
945 card->packets = packet;
947 cur = card->packets;
1241 while (card->packets) {
1242 packet = card->packets;
1243 card->packets = card->packets
[all...]
/drivers/net/usb/
H A Dgl620a.c78 struct gl_packet packets; member in struct:gl_header
99 packet = &header->packets;
/drivers/media/dvb/dvb-usb/
H A Dec168.c247 int i, len, packets, remainder, ret; local
253 packets = fw->size / FW_PACKET_MAX_DATA;
256 for (i = 0; i <= packets; i++) {
257 if (i == packets) /* set size of the last packet */
H A Daf9005.c721 int i, packets, ret, act_len; local
733 packets = fw->size / FW_BULKOUT_SIZE;
736 for (i = 0; i < packets; i++) {
752 if (reply != (u8) (packets & 0xff)) {
753 err("after downloading firmware, FW_CONFIRM expected 0x%x, received 0x%x", packets & 0xff, reply);
/drivers/net/ethernet/mellanox/mlx4/
H A Den_port.c146 stats->rx_packets += priv->rx_ring[i].packets;
155 stats->tx_packets += priv->tx_ring[i].packets;
H A Den_netdev.c418 * - moder_cnt is set to the number of mtu sized packets to
459 unsigned long packets; local
473 rx_packets = priv->rx_ring[ring].packets;
479 packets = rx_pkt_diff;
480 rate = packets * HZ / period;
481 avg_pkt_size = packets ? ((unsigned long) (rx_bytes -
482 priv->last_moder_bytes[ring])) / packets : 0;
828 priv->tx_ring[i].packets = 0;
833 priv->rx_ring[i].packets = 0;
H A Den_ethtool.c234 data[index++] = priv->tx_ring[i].packets;
238 data[index++] = priv->rx_ring[i].packets;
H A Dmlx4_en.h117 /* Target number of packets to coalesce with interrupt moderation */
252 unsigned long packets; member in struct:mlx4_en_tx_ring
280 unsigned long packets; member in struct:mlx4_en_rx_ring
/drivers/net/ethernet/intel/igbvf/
H A Digbvf.h91 /* this is the size past which hardware will drop packets when setting LPE=0 */
115 u64 packets; member in struct:igbvf_queue_stats
H A Dnetdev.c631 * @packets: the number of packets during this measurement interval
634 * Stores a new ITR value based on packets and byte
644 int packets, int bytes)
648 if (packets == 0)
654 if (bytes/packets > 8000)
656 else if ((packets < 5) && (bytes > 512))
662 if (bytes/packets > 8000)
664 else if ((packets < 10) || ((bytes/packets) > 120
642 igbvf_update_itr(struct igbvf_adapter *adapter, enum latency_range itr_setting, int packets, int bytes) argument
[all...]
/drivers/net/wireless/b43/
H A Dpio.h54 /* The maximum number of TX-packets the HW can handle. */
63 /* Index in the (struct b43_pio_txqueue)->packets array. */
77 /* The number of packets that can still get queued.
90 struct b43_pio_txpacket packets[B43_PIO_MAX_NR_TXPACKETS]; member in struct:b43_pio_txqueue
H A Dpio.c85 if (B43_WARN_ON(pack_index >= ARRAY_SIZE(q->packets)))
87 *pack = &q->packets[pack_index];
161 for (i = 0; i < ARRAY_SIZE(q->packets); i++) {
162 p = &(q->packets[i]);
196 for (i = 0; i < ARRAY_SIZE(q->packets); i++) {
197 pack = &(q->packets[i]);
/drivers/net/ethernet/intel/igb/
H A Digb.h116 /* this is the size past which hardware will drop packets when setting LPE=0 */
170 u64 packets; member in struct:igb_tx_queue_stats
177 u64 packets; member in struct:igb_rx_queue_stats
187 unsigned int total_packets; /* total packets processed this int */
H A Digb_main.c758 /* On i350, loopback VLAN packets have the tag byte-swapped. */
1676 * large enough to accommodate two full transmit packets,
3008 /* disable store bad packets and clear size bits. */
3011 /* enable LPE to prevent packets larger than max_frame_size */
3026 /* This is useful for sniffing bad packets. */
3030 rctl |= (E1000_RCTL_SBP | /* Receive bad packets */
3108 vmolr |= E1000_VMOLR_AUPE; /* Accept untagged packets */
3110 vmolr &= ~(E1000_VMOLR_AUPE); /* Tagged packets ONLY */
3119 * multicast packets
3865 unsigned int packets; local
3937 unsigned int packets = ring_container->total_packets; local
4624 u64 bytes, packets; local
[all...]
/drivers/net/wireless/ath/ath6kl/
H A Dhtc.c490 /* complete all packets */
622 /* all TX packets are handled asynchronously */
985 * packets queued. NOTE: no locks need to be taken since the
1306 * optimization for recv packets, we can indicate a
1307 * "hint" that there are more single-packets to fetch
1364 * Reset flag, any packets allocated using the
1414 * flag that these packets cannot be
1541 static void htc_ctrl_rx(struct htc_target *context, struct htc_packet *packets) argument
1543 if (packets->endpoint != ENDPOINT_0) {
1548 if (packets
2118 struct htc_packet *packets, *tmp_pkt; local
[all...]
/drivers/net/wireless/wl1251/
H A Ddebugfs.c160 DEBUGFS_FWSTATS_FILE(wep, packets, 20, "%u");
300 DEBUGFS_FWSTATS_DEL(wep, packets);
401 DEBUGFS_FWSTATS_ADD(wep, packets);
/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet_main.c79 }, { /* Turn on FCS stripping on receive packets */
83 }, { /* Turn on FCS insertion on transmit packets */
87 }, { /* Turn off length/type field checking on receive packets */
593 u32 packets = 0; local
614 packets++;
621 ndev->stats.tx_packets += packets;
737 u32 packets = 0; local
777 packets++;
795 ndev->stats.rx_packets += packets;
/drivers/input/
H A Dmousedev.c100 struct mousedev_motion packets[PACKET_QUEUE_LEN]; member in struct:mousedev_client
283 p = &client->packets[client->head];
287 p = &client->packets[client->head = new_head];
601 struct mousedev_motion *p = &client->packets[client->tail];
/drivers/net/appletalk/
H A DKconfig106 IP packets inside AppleTalk frames; this is useful if your Linux box
119 AppleTalk-IP frames to IP packets; this is useful if you want your
/drivers/usb/gadget/
H A Domap_udc.c225 /* PIO OUT may RX packets */
543 /* measure length in either bytes or packets */
600 unsigned packets = req->req.length - req->req.actual; local
608 * the buffer has only whole numbers of packets.
611 if (cpu_is_omap24xx() && packets < ep->maxpacket) {
613 packets, 1, OMAP_DMA_SYNC_ELEMENT,
615 req->dma_bytes = packets;
618 packets /= ep->ep.maxpacket;
619 packets = min(packets, (unsigne
[all...]
/drivers/usb/misc/
H A Dusbtest.c1523 * - buffer length is split into N packets (mostly maxpacket sized)
1594 unsigned i, maxp, packets; local
1600 packets = DIV_ROUND_UP(bytes, maxp);
1602 urb = usb_alloc_urb(packets, GFP_KERNEL);
1608 urb->number_of_packets = packets;
1628 for (i = 0; i < packets; i++) {
1650 unsigned long packets = 0; local
1678 packets += urbs[i]->number_of_packets;
1681 packets *= param->iterations;
1683 "... total %lu msec (%lu packets)\
[all...]

Completed in 717 milliseconds

123