Home
last modified time | relevance | path

Searched refs:packet_count (Results 1 – 8 of 8) sorted by relevance

/drivers/net/sfc/
Dselftest.c66 int packet_count; member
407 for (i = 0; i < state->packet_count; i++) { in efx_begin_loopback()
436 i + 1, state->packet_count, LOOPBACK_MODE(efx)); in efx_begin_loopback()
458 return atomic_read(&state->rx_good) == state->packet_count; in efx_poll_loopback()
475 for (i=0; i < state->packet_count; i++) { in efx_end_loopback()
488 if (tx_done != state->packet_count) { in efx_end_loopback()
494 tx_queue->queue, tx_done, state->packet_count, in efx_end_loopback()
501 if (rx_good != state->packet_count) { in efx_end_loopback()
504 tx_queue->queue, rx_good, state->packet_count, in efx_end_loopback()
511 lb_tests->tx_sent[tx_queue->queue] += state->packet_count; in efx_end_loopback()
[all …]
/drivers/net/usb/
Dgl620a.c76 __le32 packet_count; member
91 count = le32_to_cpu(header->packet_count); in genelink_rx_fixup()
148 __le32 *packet_count; in genelink_tx_fixup() local
171 packet_count = (__le32 *) skb_push(skb, (4 + 4*1)); in genelink_tx_fixup()
172 packet_len = packet_count + 1; in genelink_tx_fixup()
174 *packet_count = cpu_to_le32(1); in genelink_tx_fixup()
/drivers/net/wireless/iwlwifi/
Diwl-3945-rs.c218 u32 packet_count, duration, pps; in iwl3945_bg_rate_scale_flush() local
227 packet_count = (rs_sta->tx_packets - rs_sta->last_tx_packets) + 1; in iwl3945_bg_rate_scale_flush()
236 packet_count, duration); in iwl3945_bg_rate_scale_flush()
240 pps = (packet_count * 1000) / duration; in iwl3945_bg_rate_scale_flush()
256 duration, packet_count); in iwl3945_bg_rate_scale_flush()
Diwl-agn-rs.c108 u32 packet_count[TID_QUEUE_MAX_SIZE]; /* packet count in this time member
262 tl->total -= tl->packet_count[tl->head]; in rs_tl_rm_old_stats()
263 tl->packet_count[tl->head] = 0; in rs_tl_rm_old_stats()
301 tl->packet_count[0] = 1; in rs_tl_add_packet()
314 tl->packet_count[index] = tl->packet_count[index] + 1; in rs_tl_add_packet()
/drivers/infiniband/hw/ehca/
Dehca_reqs.c295 qp->message_count = qp->packet_count = 0; in ehca_write_swqe()
299 qp->packet_count += (dma_length >> qp->mtu_shift) + 1; in ehca_write_swqe()
473 my_qp->packet_count > ACK_CIRC_THRESHOLD && in ehca_post_send()
482 my_qp->message_count = my_qp->packet_count = 0; in ehca_post_send()
Dehca_classes.h222 u32 packet_count; member
/drivers/firewire/
Dfw-ohci.c2143 int page, offset, packet_count, header_size; in ohci_queue_iso_receive_dualbuffer() local
2157 packet_count = p->header_length / ctx->base.header_size; in ohci_queue_iso_receive_dualbuffer()
2158 header_size = packet_count * (ctx->base.header_size + 4); in ohci_queue_iso_receive_dualbuffer()
2223 int page, offset, packet_count, header_size, payload_per_buffer; in ohci_queue_iso_receive_packet_per_buffer() local
2229 packet_count = p->header_length / ctx->base.header_size; in ohci_queue_iso_receive_packet_per_buffer()
2236 payload_per_buffer = p->payload_length / packet_count; in ohci_queue_iso_receive_packet_per_buffer()
2238 for (i = 0; i < packet_count; i++) { in ohci_queue_iso_receive_packet_per_buffer()
2280 if (p->interrupt && i == packet_count - 1) in ohci_queue_iso_receive_packet_per_buffer()
/drivers/usb/misc/
Dusbtest.c1340 unsigned long packet_count; member
1351 ctx->packet_count += urb->number_of_packets; in iso_callback()
1381 ctx->errors, ctx->packet_count); in iso_callback()
1509 else if (context.errors > context.packet_count / 10) in test_iso_queue()