Home
last modified time | relevance | path

Searched refs:num_packets (Results 1 – 19 of 19) sorted by relevance

/drivers/isdn/hisax/
Dst5481_usb.c405 unsigned int pipe, void *buf, int num_packets, in fill_isoc_urb() argument
415 urb->number_of_packets = num_packets; in fill_isoc_urb()
416 urb->transfer_buffer_length = num_packets * packet_size; in fill_isoc_urb()
421 for (k = 0; k < num_packets; k++) { in fill_isoc_urb()
430 unsigned int pipe, int num_packets, in st5481_setup_isocpipes() argument
439 urb[j] = usb_alloc_urb(num_packets, GFP_KERNEL); in st5481_setup_isocpipes()
450 num_packets, packet_size, complete, in st5481_setup_isocpipes()
562 in->num_packets, in->packet_size, in st5481_setup_in()
563 in->num_packets * in->packet_size, in st5481_setup_in()
Dst5481_d.c299 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()
Dst5481.h358 unsigned int num_packets; member
446 unsigned int pipe, int num_packets,
Dhfc_usb.c428 void *buf, int num_packets, int packet_size, int interval, in fill_isoc_urb() argument
436 urb->number_of_packets = num_packets; in fill_isoc_urb()
437 urb->transfer_buffer_length = packet_size * num_packets; in fill_isoc_urb()
443 for (k = 0; k < num_packets; k++) { in fill_isoc_urb()
Dst5481_b.c314 bcs->b_in.num_packets = NUM_ISO_PACKETS_B; in st5481_setup_b()
/drivers/firmware/
Ddell_rbu.c64 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()
/drivers/net/wireless/ti/wlcore/
Devent.c173 u32 num_packets = wl->conf.tx.max_tx_retries; in wlcore_disconnect_sta() local
199 ieee80211_report_low_ack(sta, num_packets); in wlcore_disconnect_sta()
/drivers/media/usb/em28xx/
Dem28xx-core.c922 usb_bufs->num_packets = 0; in em28xx_alloc_urbs()
924 usb_bufs->num_packets = packet_multiplier; in em28xx_alloc_urbs()
932 urb = usb_alloc_urb(usb_bufs->num_packets, GFP_KERNEL); in em28xx_alloc_urbs()
972 for (j = 0; j < usb_bufs->num_packets; j++) { in em28xx_alloc_urbs()
980 urb->number_of_packets = usb_bufs->num_packets; in em28xx_alloc_urbs()
Dem28xx-dvb.c144 int xfer_bulk, num_packets, i; in em28xx_dvb_urb_data_copy() local
158 num_packets = 1; in em28xx_dvb_urb_data_copy()
160 num_packets = urb->number_of_packets; in em28xx_dvb_urb_data_copy()
162 for (i = 0; i < num_packets; i++) { in em28xx_dvb_urb_data_copy()
Dem28xx.h226 int num_packets; member
Dem28xx-video.c774 int xfer_bulk, num_packets, i; in em28xx_urb_data_copy() local
790 num_packets = 1; in em28xx_urb_data_copy()
792 num_packets = urb->number_of_packets; in em28xx_urb_data_copy()
794 for (i = 0; i < num_packets; i++) { in em28xx_urb_data_copy()
/drivers/usb/dwc2/
Dcore.c1351 u16 num_packets; in dwc2_hc_start_transfer() local
1373 num_packets = 1; in dwc2_hc_start_transfer()
1419 num_packets = (chan->xfer_len + chan->max_packet - 1) / in dwc2_hc_start_transfer()
1421 if (num_packets > max_hc_pkt_count) { in dwc2_hc_start_transfer()
1422 num_packets = max_hc_pkt_count; in dwc2_hc_start_transfer()
1423 chan->xfer_len = num_packets * chan->max_packet; in dwc2_hc_start_transfer()
1427 num_packets = 1; in dwc2_hc_start_transfer()
1435 chan->xfer_len = num_packets * chan->max_packet; in dwc2_hc_start_transfer()
1443 chan->multi_count = num_packets; in dwc2_hc_start_transfer()
1452 chan->start_pkt_count = num_packets; in dwc2_hc_start_transfer()
[all …]
Dhcd_ddma.c628 int num_packets; in dwc2_fill_host_dma_desc() local
631 num_packets = (len + chan->max_packet - 1) in dwc2_fill_host_dma_desc()
635 num_packets = 1; in dwc2_fill_host_dma_desc()
638 len = num_packets * chan->max_packet; in dwc2_fill_host_dma_desc()
/drivers/usb/atm/
Dusbatm.c1029 unsigned int maxpacket, num_packets; in usbatm_usb_probe() local
1115 num_packets = max(1U, (rcv_buf_bytes + maxpacket / 2) / maxpacket); /* round */ in usbatm_usb_probe()
1117 if (num_packets * maxpacket > UDSL_MAX_BUF_SIZE) in usbatm_usb_probe()
1118 num_packets--; in usbatm_usb_probe()
1120 instance->rx_channel.buf_size = num_packets * maxpacket; in usbatm_usb_probe()
/drivers/firewire/
Dnet.c1126 unsigned num_packets; in fwnet_broadcast_start() local
1137 num_packets = (FWNET_ISO_PAGE_COUNT * PAGE_SIZE) / max_receive; in fwnet_broadcast_start()
1139 ptrptr = kmalloc(sizeof(void *) * num_packets, GFP_KERNEL); in fwnet_broadcast_start()
1167 for (v = 0; v < num_packets / FWNET_ISO_PAGE_COUNT; v++) in fwnet_broadcast_start()
1180 for (u = 0; u < num_packets; u++) { in fwnet_broadcast_start()
1188 dev->num_broadcast_rcv_ptrs = num_packets; in fwnet_broadcast_start()
/drivers/usb/host/
Dxhci.c2229 bw_table->interval_bw[0].num_packets * in xhci_check_bw_table()
2243 bw_table->interval_bw[i].num_packets; in xhci_check_bw_table()
2365 (ep_bw->mult * ep_bw->num_packets * in xhci_get_ss_bw_consumed()
2367 return DIV_ROUND_UP(ep_bw->mult * ep_bw->num_packets * in xhci_get_ss_bw_consumed()
2412 interval_bw->num_packets -= ep_bw->num_packets; in xhci_drop_ep_from_interval_table()
2471 interval_bw->num_packets += ep_bw->num_packets; in xhci_add_ep_to_interval_table()
Dxhci.h801 unsigned int num_packets; member
902 unsigned int num_packets; member
Dxhci-mem.c1548 bw_info->num_packets = 0; in xhci_clear_endpoint_bw_info()
1597 bw_info->num_packets = CTX_TO_MAX_BURST( in xhci_update_bw_info()
/drivers/isdn/hardware/mISDN/
Dhfcsusb.c950 void *buf, int num_packets, int packet_size, int interval, in fill_isoc_urb() argument
955 usb_fill_bulk_urb(urb, dev, pipe, buf, packet_size * num_packets, in fill_isoc_urb()
958 urb->number_of_packets = num_packets; in fill_isoc_urb()
963 for (k = 0; k < num_packets; k++) { in fill_isoc_urb()