/Linux-v4.19/net/dccp/ |
D | ackvec.c | 199 static void dccp_ackvec_add_new(struct dccp_ackvec *av, u32 num_packets, in dccp_ackvec_add_new() argument 202 u32 num_cells = num_packets; in dccp_ackvec_add_new() 204 if (num_packets > DCCPAV_BURST_THRESH) { in dccp_ackvec_add_new() 205 u32 lost_packets = num_packets - 1; in dccp_ackvec_add_new() 220 for (num_packets = num_cells = 1; lost_packets; ++num_cells) { in dccp_ackvec_add_new() 235 av->av_buf_head = __ackvec_idx_sub(av->av_buf_head, num_packets); in dccp_ackvec_add_new() 242 if (num_packets > 1) in dccp_ackvec_add_new() 243 dccp_ackvec_reserve_seats(av, num_packets - 1); in dccp_ackvec_add_new() 259 s64 num_packets = dccp_delta_seqno(av->av_buf_ackno, seqno); in dccp_ackvec_input() local 262 if (num_packets == 1 && in dccp_ackvec_input() [all …]
|
/Linux-v4.19/drivers/isdn/hisax/ |
D | st5481_usb.c | 405 unsigned int pipe, void *buf, int num_packets, in fill_isoc_urb() argument 411 usb_fill_int_urb(urb, dev, pipe, buf, num_packets * packet_size, in fill_isoc_urb() 414 urb->number_of_packets = num_packets; in fill_isoc_urb() 416 for (k = 0; k < num_packets; k++) { in fill_isoc_urb() 425 unsigned int pipe, int num_packets, in st5481_setup_isocpipes() argument 434 urb[j] = usb_alloc_urb(num_packets, GFP_KERNEL); in st5481_setup_isocpipes() 445 num_packets, packet_size, complete, in st5481_setup_isocpipes() 557 in->num_packets, in->packet_size, in st5481_setup_in() 558 in->num_packets * in->packet_size, in st5481_setup_in()
|
D | st5481_d.c | 299 unsigned int num_packets, packet_offset; in usb_d_out() local 340 num_packets = 0; in usb_d_out() 343 desc = &urb->iso_frame_desc[num_packets]; in usb_d_out() 348 num_packets++; in usb_d_out() 351 urb->number_of_packets = num_packets; in usb_d_out() 704 adapter->d_in.num_packets = NUM_ISO_PACKETS_D; in st5481_setup_d()
|
D | st5481.h | 358 unsigned int num_packets; member 446 unsigned int pipe, int num_packets,
|
D | hfc_usb.c | 430 void *buf, int num_packets, int packet_size, int interval, in fill_isoc_urb() argument 435 usb_fill_int_urb(urb, dev, pipe, buf, packet_size * num_packets, in fill_isoc_urb() 438 urb->number_of_packets = num_packets; in fill_isoc_urb() 441 for (k = 0; k < num_packets; k++) { in fill_isoc_urb()
|
D | st5481_b.c | 314 bcs->b_in.num_packets = NUM_ISO_PACKETS_B; in st5481_setup_b()
|
/Linux-v4.19/drivers/firmware/ |
D | dell_rbu.c | 64 unsigned long num_packets; member 97 rbu_data.num_packets = 0; in init_packet_head() 194 ++rbu_data.num_packets; in create_packet() 306 if (0 == rbu_data.num_packets) in packet_read_list() 357 rbu_data.num_packets = 0; in packet_empty_list() 479 if (rbu_data.num_packets == 0) { in read_packet_data()
|
/Linux-v4.19/tools/perf/bench/ |
D | sched-messaging.c | 50 unsigned int num_packets; member 124 for (i = 0; i < ctx->num_packets; i++) { in receiver() 218 ctx->num_packets = num_fds * nr_loops; in group()
|
/Linux-v4.19/drivers/net/wireless/ti/wlcore/ |
D | event.c | 261 u32 num_packets = wl->conf.tx.max_tx_retries; in wlcore_disconnect_sta() local 287 ieee80211_report_low_ack(sta, num_packets); in wlcore_disconnect_sta()
|
/Linux-v4.19/drivers/media/usb/em28xx/ |
D | em28xx-core.c | 939 usb_bufs->num_packets = 0; in em28xx_alloc_urbs() 941 usb_bufs->num_packets = packet_multiplier; in em28xx_alloc_urbs() 949 urb = usb_alloc_urb(usb_bufs->num_packets, GFP_KERNEL); in em28xx_alloc_urbs() 987 for (j = 0; j < usb_bufs->num_packets; j++) { in em28xx_alloc_urbs() 995 urb->number_of_packets = usb_bufs->num_packets; in em28xx_alloc_urbs()
|
D | em28xx-dvb.c | 149 int xfer_bulk, num_packets, i; in em28xx_dvb_urb_data_copy() local 163 num_packets = 1; in em28xx_dvb_urb_data_copy() 165 num_packets = urb->number_of_packets; in em28xx_dvb_urb_data_copy() 167 for (i = 0; i < num_packets; i++) { in em28xx_dvb_urb_data_copy()
|
D | em28xx.h | 228 int num_packets; member
|
D | em28xx-video.c | 798 int xfer_bulk, num_packets, i; in em28xx_urb_data_copy() local 814 num_packets = 1; in em28xx_urb_data_copy() 816 num_packets = urb->number_of_packets; in em28xx_urb_data_copy() 818 for (i = 0; i < num_packets; i++) { in em28xx_urb_data_copy()
|
/Linux-v4.19/drivers/usb/atm/ |
D | usbatm.c | 1015 unsigned int maxpacket, num_packets; in usbatm_usb_probe() local 1099 num_packets = max(1U, (rcv_buf_bytes + maxpacket / 2) / maxpacket); /* round */ in usbatm_usb_probe() 1101 if (num_packets * maxpacket > UDSL_MAX_BUF_SIZE) in usbatm_usb_probe() 1102 num_packets--; in usbatm_usb_probe() 1104 instance->rx_channel.buf_size = num_packets * maxpacket; in usbatm_usb_probe()
|
/Linux-v4.19/drivers/firewire/ |
D | net.c | 1111 unsigned num_packets; in fwnet_broadcast_start() local 1122 num_packets = (FWNET_ISO_PAGE_COUNT * PAGE_SIZE) / max_receive; in fwnet_broadcast_start() 1124 ptrptr = kmalloc_array(num_packets, sizeof(void *), GFP_KERNEL); in fwnet_broadcast_start() 1152 for (v = 0; v < num_packets / FWNET_ISO_PAGE_COUNT; v++) in fwnet_broadcast_start() 1165 for (u = 0; u < num_packets; u++) { in fwnet_broadcast_start() 1173 dev->num_broadcast_rcv_ptrs = num_packets; in fwnet_broadcast_start()
|
/Linux-v4.19/drivers/media/platform/sti/c8sectpfe/ |
D | c8sectpfe-core.c | 85 int pos, num_packets, n, size; in channel_swdemux_tsklet() local 103 num_packets = size / PACKET_SIZE; in channel_swdemux_tsklet() 115 channel->tsin_id, channel, num_packets, buf, pos, rp, wp); in channel_swdemux_tsklet() 117 for (n = 0; n < num_packets; n++) { in channel_swdemux_tsklet()
|
/Linux-v4.19/drivers/usb/dwc2/ |
D | hcd_ddma.c | 701 int num_packets; in dwc2_fill_host_dma_desc() local 704 num_packets = (len + chan->max_packet - 1) in dwc2_fill_host_dma_desc() 708 num_packets = 1; in dwc2_fill_host_dma_desc() 711 len = num_packets * chan->max_packet; in dwc2_fill_host_dma_desc()
|
D | hcd.c | 1433 u16 num_packets; in dwc2_hc_start_transfer() local 1457 num_packets = 1; in dwc2_hc_start_transfer() 1510 num_packets = (chan->xfer_len + chan->max_packet - 1) / in dwc2_hc_start_transfer() 1512 if (num_packets > max_hc_pkt_count) { in dwc2_hc_start_transfer() 1513 num_packets = max_hc_pkt_count; in dwc2_hc_start_transfer() 1514 chan->xfer_len = num_packets * chan->max_packet; in dwc2_hc_start_transfer() 1518 num_packets = 1; in dwc2_hc_start_transfer() 1526 chan->xfer_len = num_packets * chan->max_packet; in dwc2_hc_start_transfer() 1534 chan->multi_count = num_packets; in dwc2_hc_start_transfer() 1546 chan->start_pkt_count = num_packets; in dwc2_hc_start_transfer() [all …]
|
/Linux-v4.19/net/mac80211/ |
D | status.c | 990 void ieee80211_report_low_ack(struct ieee80211_sta *pubsta, u32 num_packets) in ieee80211_report_low_ack() argument 994 num_packets, GFP_ATOMIC); in ieee80211_report_low_ack()
|
/Linux-v4.19/drivers/usb/host/ |
D | xhci.c | 2290 bw_table->interval_bw[0].num_packets * in xhci_check_bw_table() 2304 bw_table->interval_bw[i].num_packets; in xhci_check_bw_table() 2426 (ep_bw->mult * ep_bw->num_packets * in xhci_get_ss_bw_consumed() 2428 return DIV_ROUND_UP(ep_bw->mult * ep_bw->num_packets * in xhci_get_ss_bw_consumed() 2473 interval_bw->num_packets -= ep_bw->num_packets; in xhci_drop_ep_from_interval_table() 2533 interval_bw->num_packets += ep_bw->num_packets; in xhci_add_ep_to_interval_table()
|
/Linux-v4.19/drivers/isdn/hardware/mISDN/ |
D | hfcsusb.c | 951 void *buf, int num_packets, int packet_size, int interval, in fill_isoc_urb() argument 956 usb_fill_bulk_urb(urb, dev, pipe, buf, packet_size * num_packets, in fill_isoc_urb() 959 urb->number_of_packets = num_packets; in fill_isoc_urb() 964 for (k = 0; k < num_packets; k++) { in fill_isoc_urb()
|
/Linux-v4.19/drivers/net/wireless/ath/wil6210/ |
D | debugfs.c | 1837 u64 num_packets = 0; in wil_tx_latency_debugfs_show() local 1844 num_packets += p->tx_latency_bins[bin]; in wil_tx_latency_debugfs_show() 1847 if (!num_packets) in wil_tx_latency_debugfs_show() 1849 do_div(tx_latency_avg, num_packets); in wil_tx_latency_debugfs_show()
|
/Linux-v4.19/net/batman-adv/ |
D | send.c | 553 forw_packet->num_packets = 0; in batadv_forw_packet_alloc()
|
D | types.h | 2094 u8 num_packets; member
|
/Linux-v4.19/net/wireless/ |
D | trace.h | 2833 TP_PROTO(struct net_device *netdev, const u8 *peer, u32 num_packets), 2834 TP_ARGS(netdev, peer, num_packets), 2838 __field(u32, num_packets) 2843 __entry->num_packets = num_packets; 2846 NETDEV_PR_ARG, MAC_PR_ARG(peer), __entry->num_packets)
|