/drivers/platform/x86/dell/ |
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()
|
/drivers/media/usb/em28xx/ |
D | em28xx-core.c | 942 usb_bufs->num_packets = 0; in em28xx_alloc_urbs() 944 usb_bufs->num_packets = packet_multiplier; in em28xx_alloc_urbs() 952 urb = usb_alloc_urb(usb_bufs->num_packets, GFP_KERNEL); in em28xx_alloc_urbs() 986 for (j = 0; j < usb_bufs->num_packets; j++) { in em28xx_alloc_urbs() 994 urb->number_of_packets = usb_bufs->num_packets; in em28xx_alloc_urbs()
|
D | em28xx-dvb.c | 150 int xfer_bulk, num_packets, i; in em28xx_dvb_urb_data_copy() local 164 num_packets = 1; in em28xx_dvb_urb_data_copy() 166 num_packets = urb->number_of_packets; in em28xx_dvb_urb_data_copy() 168 for (i = 0; i < num_packets; i++) { in em28xx_dvb_urb_data_copy()
|
D | em28xx.h | 232 int num_packets; member
|
D | em28xx-video.c | 791 int xfer_bulk, num_packets, i; in em28xx_urb_data_copy() local 807 num_packets = 1; in em28xx_urb_data_copy() 809 num_packets = urb->number_of_packets; in em28xx_urb_data_copy() 811 for (i = 0; i < num_packets; i++) { in em28xx_urb_data_copy()
|
/drivers/net/wireless/ti/wlcore/ |
D | event.c | 256 u32 num_packets = wl->conf.tx.max_tx_retries; in wlcore_disconnect_sta() local 282 ieee80211_report_low_ack(sta, num_packets); in wlcore_disconnect_sta()
|
/drivers/usb/atm/ |
D | usbatm.c | 1017 unsigned int maxpacket, num_packets; in usbatm_usb_probe() local 1101 num_packets = max(1U, (rcv_buf_bytes + maxpacket / 2) / maxpacket); /* round */ in usbatm_usb_probe() 1103 if (num_packets * maxpacket > UDSL_MAX_BUF_SIZE) in usbatm_usb_probe() 1104 num_packets--; in usbatm_usb_probe() 1106 instance->rx_channel.buf_size = num_packets * maxpacket; in usbatm_usb_probe()
|
/drivers/firewire/ |
D | net.c | 1114 unsigned num_packets; in fwnet_broadcast_start() local 1125 num_packets = (FWNET_ISO_PAGE_COUNT * PAGE_SIZE) / max_receive; in fwnet_broadcast_start() 1127 ptrptr = kmalloc_array(num_packets, sizeof(void *), GFP_KERNEL); in fwnet_broadcast_start() 1155 for (v = 0; v < num_packets / FWNET_ISO_PAGE_COUNT; v++) in fwnet_broadcast_start() 1168 for (u = 0; u < num_packets; u++) { in fwnet_broadcast_start() 1176 dev->num_broadcast_rcv_ptrs = num_packets; in fwnet_broadcast_start()
|
/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 | 1232 u16 num_packets; in dwc2_hc_start_transfer() local 1256 num_packets = 1; in dwc2_hc_start_transfer() 1309 num_packets = (chan->xfer_len + chan->max_packet - 1) / in dwc2_hc_start_transfer() 1311 if (num_packets > max_hc_pkt_count) { in dwc2_hc_start_transfer() 1312 num_packets = max_hc_pkt_count; in dwc2_hc_start_transfer() 1313 chan->xfer_len = num_packets * chan->max_packet; in dwc2_hc_start_transfer() 1321 chan->xfer_len = num_packets * chan->max_packet; in dwc2_hc_start_transfer() 1325 num_packets = 1; in dwc2_hc_start_transfer() 1334 chan->multi_count = num_packets; in dwc2_hc_start_transfer() 1346 chan->start_pkt_count = num_packets; in dwc2_hc_start_transfer() [all …]
|
/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()
|
/drivers/isdn/hardware/mISDN/ |
D | hfcsusb.c | 941 void *buf, int num_packets, int packet_size, int interval, in fill_isoc_urb() argument 946 usb_fill_bulk_urb(urb, dev, pipe, buf, packet_size * num_packets, in fill_isoc_urb() 949 urb->number_of_packets = num_packets; in fill_isoc_urb() 954 for (k = 0; k < num_packets; k++) { in fill_isoc_urb()
|
/drivers/usb/host/ |
D | xhci.c | 2537 bw_table->interval_bw[0].num_packets * in xhci_check_bw_table() 2551 bw_table->interval_bw[i].num_packets; in xhci_check_bw_table() 2673 (ep_bw->mult * ep_bw->num_packets * in xhci_get_ss_bw_consumed() 2675 return DIV_ROUND_UP(ep_bw->mult * ep_bw->num_packets * in xhci_get_ss_bw_consumed() 2720 interval_bw->num_packets -= ep_bw->num_packets; in xhci_drop_ep_from_interval_table() 2780 interval_bw->num_packets += ep_bw->num_packets; in xhci_add_ep_to_interval_table()
|
D | xhci.h | 880 unsigned int num_packets; member 988 unsigned int num_packets; member
|
D | xhci-mem.c | 1549 bw_info->num_packets = 0; in xhci_clear_endpoint_bw_info() 1598 bw_info->num_packets = CTX_TO_MAX_BURST( in xhci_update_bw_info()
|
/drivers/net/wireless/ath/wil6210/ |
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()
|
/drivers/net/ethernet/ibm/ |
D | ibmvnic.c | 3498 int num_packets = 0; in ibmvnic_complete_tx() local 3511 num_packets++; in ibmvnic_complete_tx() 3536 netdev_tx_completed_queue(txq, num_packets, total_bytes); in ibmvnic_complete_tx()
|