/linux/drivers/platform/x86/dell/ |
H A D | dell_rbu.c | 59 unsigned long num_packets; member 89 rbu_data.num_packets = 0; in init_packet_head() 182 ++rbu_data.num_packets; in create_packet() 289 if (0 == rbu_data.num_packets) in packet_read_list() 333 rbu_data.num_packets = 0; in packet_empty_list() 433 if (rbu_data.num_packets == 0) { in read_packet_data()
|
/linux/tools/perf/bench/ |
H A D | sched-messaging.c | 53 unsigned int num_packets; member 134 for (i = 0; i < ctx->num_packets; i++) { in receiver() 235 ctx->num_packets = num_fds * nr_loops; in group()
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | qos_max_descriptors.sh | 196 local num_packets=$1; shift 201 100 * $num_packets / $max_packets
|
/linux/drivers/media/platform/qcom/iris/ |
H A D | iris_hfi_gen2_packet.c | 97 hdr->num_packets = 0; in iris_hfi_gen2_create_header() 117 hdr->num_packets++; in iris_hfi_gen2_create_packet()
|
H A D | iris_hfi_gen2_packet.h | 21 * @num_packets: number of hfi_packet that are included with the hfi_header 28 u32 num_packets; member
|
H A D | iris_hfi_gen2_response.c | 174 for (i = 0; i < hdr->num_packets; i++) { in iris_hfi_gen2_validate_hdr_packet() 762 for (j = 0; j < hdr->num_packets; j++) { in iris_hfi_gen2_handle_system_response() 872 for (i = 0; i < hdr->num_packets; i++) { in iris_hfi_gen2_handle_session_response() 886 for (j = 0; j < hdr->num_packets; j++) { in iris_hfi_gen2_handle_session_response()
|
/linux/drivers/media/usb/em28xx/ |
H A D | em28xx-core.c | 933 usb_bufs->num_packets = 0; in em28xx_alloc_urbs() 935 usb_bufs->num_packets = packet_multiplier; in em28xx_alloc_urbs() 943 urb = usb_alloc_urb(usb_bufs->num_packets, GFP_KERNEL); in em28xx_alloc_urbs() 977 for (j = 0; j < usb_bufs->num_packets; j++) { in em28xx_alloc_urbs() 985 urb->number_of_packets = usb_bufs->num_packets; in em28xx_alloc_urbs()
|
H A D | em28xx-dvb.c | 146 int xfer_bulk, num_packets, i; in em28xx_dvb_urb_data_copy() local 160 num_packets = 1; in em28xx_dvb_urb_data_copy() 162 num_packets = urb->number_of_packets; in em28xx_dvb_urb_data_copy() 164 for (i = 0; i < num_packets; i++) { in em28xx_dvb_urb_data_copy()
|
H A D | em28xx.h | 216 * @num_packets: number of packets in each buffer 223 int num_packets; member
|
H A D | em28xx-video.c | 781 int xfer_bulk, num_packets, i; in em28xx_urb_data_copy() local 797 num_packets = 1; in em28xx_urb_data_copy() 799 num_packets = urb->number_of_packets; in em28xx_urb_data_copy() 801 for (i = 0; i < num_packets; i++) { in em28xx_urb_data_copy()
|
/linux/drivers/usb/atm/ |
H A D | usbatm.c | 1017 unsigned int maxpacket, num_packets; in usbatm_usb_probe() local 1104 num_packets = max(1U, (rcv_buf_bytes + maxpacket / 2) / maxpacket); /* round */ in usbatm_usb_probe() 1106 if (num_packets * maxpacket > UDSL_MAX_BUF_SIZE) in usbatm_usb_probe() 1107 num_packets--; in usbatm_usb_probe() 1109 instance->rx_channel.buf_size = num_packets * maxpacket; in usbatm_usb_probe()
|
/linux/drivers/firewire/ |
H A D | net.c | 1106 unsigned num_packets; in fwnet_broadcast_start() local 1117 num_packets = (FWNET_ISO_PAGE_COUNT * PAGE_SIZE) / max_receive; in fwnet_broadcast_start() 1119 ptrptr = kmalloc_array(num_packets, sizeof(void *), GFP_KERNEL); in fwnet_broadcast_start() 1147 for (v = 0; v < num_packets / FWNET_ISO_PAGE_COUNT; v++) in fwnet_broadcast_start() 1160 for (u = 0; u < num_packets; u++) { in fwnet_broadcast_start() 1168 dev->num_broadcast_rcv_ptrs = num_packets; in fwnet_broadcast_start()
|
/linux/drivers/usb/dwc2/ |
H A D | hcd_ddma.c | 671 int num_packets; in dwc2_fill_host_dma_desc() local 674 num_packets = (len + chan->max_packet - 1) in dwc2_fill_host_dma_desc() 678 num_packets = 1; in dwc2_fill_host_dma_desc() 681 len = num_packets * chan->max_packet; in dwc2_fill_host_dma_desc()
|
H A D | hcd.c | 1199 u16 num_packets; in dwc2_hc_start_transfer() local 1223 num_packets = 1; in dwc2_hc_start_transfer() 1276 num_packets = (chan->xfer_len + chan->max_packet - 1) / in dwc2_hc_start_transfer() 1278 if (num_packets > max_hc_pkt_count) { in dwc2_hc_start_transfer() 1279 num_packets = max_hc_pkt_count; in dwc2_hc_start_transfer() 1280 chan->xfer_len = num_packets * chan->max_packet; in dwc2_hc_start_transfer() 1288 chan->xfer_len = num_packets * chan->max_packet; in dwc2_hc_start_transfer() 1292 num_packets = 1; in dwc2_hc_start_transfer() 1301 chan->multi_count = num_packets; in dwc2_hc_start_transfer() 1313 chan->start_pkt_count = num_packets; in dwc2_hc_start_transfer() [all...] |
/linux/drivers/isdn/hardware/mISDN/ |
H A D | hfcsusb.c | 942 void *buf, int num_packets, int packet_size, int interval, in fill_isoc_urb() argument 947 usb_fill_bulk_urb(urb, dev, pipe, buf, packet_size * num_packets, in fill_isoc_urb() 950 urb->number_of_packets = num_packets; in fill_isoc_urb() 955 for (k = 0; k < num_packets; k++) { in fill_isoc_urb()
|
/linux/drivers/usb/host/ |
H A D | xhci.c | 2496 bw_table->interval_bw[0].num_packets * in xhci_check_bw_table() 2510 bw_table->interval_bw[i].num_packets; in xhci_check_bw_table() 2630 (ep_bw->mult * ep_bw->num_packets * in xhci_get_ss_bw_consumed() 2632 return DIV_ROUND_UP(ep_bw->mult * ep_bw->num_packets * in xhci_get_ss_bw_consumed() 2677 interval_bw->num_packets -= ep_bw->num_packets; in xhci_drop_ep_from_interval_table() 2734 interval_bw->num_packets += ep_bw->num_packets; in xhci_add_ep_to_interval_table()
|
H A D | xhci.h | 600 /* mult and num_packets are one-based */ 602 unsigned int num_packets; member 712 unsigned int num_packets; member
|
H A D | xhci-mem.c | 1540 bw_info->num_packets = 0; in xhci_clear_endpoint_bw_info() 1589 bw_info->num_packets = CTX_TO_MAX_BURST( in xhci_update_bw_info()
|
/linux/drivers/net/wireless/ath/wil6210/ |
H A D | debugfs.c | 1738 u64 num_packets = 0; in wil_tx_latency_debugfs_show() local 1745 num_packets += p->tx_latency_bins[bin]; in wil_tx_latency_debugfs_show() 1748 if (!num_packets) in wil_tx_latency_debugfs_show() 1750 do_div(tx_latency_avg, num_packets); in wil_tx_latency_debugfs_show()
|
/linux/net/batman-adv/ |
H A D | bat_iv_ogm.c | 449 u8 packet_num = forw_packet->num_packets; in batadv_iv_ogm_can_aggregate() 610 set_bit(forw_packet_aggr->num_packets, in batadv_iv_ogm_aggregate() 613 forw_packet_aggr->num_packets++; in batadv_iv_ogm_aggregate()
|
H A D | send.c | 536 forw_packet->num_packets = 1; in batadv_forw_packet_alloc()
|
H A D | types.h | 2144 /** @num_packets: counter for aggregated OGMv1 packets */ 2145 u8 num_packets; member
|
/linux/net/mac80211/ |
H A D | status.c | 1263 void ieee80211_report_low_ack(struct ieee80211_sta *pubsta, u32 num_packets) in ieee80211_report_low_ack() argument 1267 num_packets, GFP_ATOMIC); in ieee80211_report_low_ack()
|
/linux/net/wireless/ |
H A D | trace.h | 3639 TP_PROTO(struct net_device *netdev, const u8 *peer, u32 num_packets), 3640 TP_ARGS(netdev, peer, num_packets), 3644 __field(u32, num_packets) 3649 __entry->num_packets = num_packets; 3652 NETDEV_PR_ARG, __entry->peer, __entry->num_packets)
|
/linux/include/net/ |
H A D | cfg80211.h | 8926 * @num_packets: how many packets were lost -- should be a fixed threshold 8932 const u8 *peer, u32 num_packets, gfp_t gfp); 8938 * @num_packets: how many packets were lost 8947 u32 num_packets, u32 rate, u32 intvl, gfp_t gfp);
|