Searched refs:packets (Results 1 – 13 of 13) sorted by relevance
| /sound/firewire/ |
| A D | packets-buffer.c | 30 b->packets = kmalloc_array(count, sizeof(*b->packets), GFP_KERNEL); in iso_packets_buffer_init() 31 if (!b->packets) { in iso_packets_buffer_init() 53 b->packets[i].buffer = p + offset_in_page; in iso_packets_buffer_init() 54 b->packets[i].offset = page_index * PAGE_SIZE + offset_in_page; in iso_packets_buffer_init() 60 kfree(b->packets); in iso_packets_buffer_init() 75 kfree(b->packets); in iso_packets_buffer_destroy()
|
| A D | amdtp-stream.c | 1181 unsigned int packets; in process_rx_packets() local 1214 for (i = 0; i < packets; ++i) { in process_rx_packets() 1248 unsigned int packets; in skip_rx_packets() local 1260 for (i = 0; i < packets; ++i) { in skip_rx_packets() 1284 unsigned int packets; in process_rx_packets_intermediately() local 1293 while (offset < packets) { in process_rx_packets_intermediately() 1313 if (offset < packets) { in process_rx_packets_intermediately() 1383 unsigned int packets; in drop_tx_packets() local 1412 unsigned int packets; in process_tx_packets_intermediately() local 1422 while (offset < packets) { in process_tx_packets_intermediately() [all …]
|
| A D | packets-buffer.h | 18 } *packets; member
|
| A D | Makefile | 5 snd-firewire-lib-y := lib.o iso-resources.o packets-buffer.o \
|
| A D | isight.c | 176 payload = isight->buffer.packets[index].buffer; in isight_packet() 198 isight->buffer.packets[index].offset); in isight_packet() 375 isight->buffer.packets[i].offset); in isight_start_streaming()
|
| /sound/usb/6fire/ |
| A D | pcm.c | 164 packet = &rt->in_urbs[i].packets[k]; in usb6fire_pcm_stream_start() 210 if (urb->packets[i].actual_length > 4) in usb6fire_pcm_capture() 223 total_length += urb->packets[i].length; in usb6fire_pcm_capture() 266 if (urb->packets[i].length > 4) in usb6fire_pcm_playback() 267 frame_count = (urb->packets[i].length - 4) in usb6fire_pcm_playback() 303 if (in_urb->packets[i].status) { in usb6fire_pcm_in_urb_handler() 330 out_urb->packets[i].offset = total_length; in usb6fire_pcm_in_urb_handler() 331 out_urb->packets[i].length = (in_urb->packets[i].actual_length in usb6fire_pcm_in_urb_handler() 334 out_urb->packets[i].status = 0; in usb6fire_pcm_in_urb_handler() 335 total_length += out_urb->packets[i].length; in usb6fire_pcm_in_urb_handler() [all …]
|
| A D | pcm.h | 29 struct usb_iso_packet_descriptor packets[PCM_N_PACKETS_PER_URB]; member
|
| /sound/usb/ |
| A D | endpoint.c | 294 for (i = 0; i < ctx->packets; ++i) { in prepare_silent_urb() 314 urb->number_of_packets = ctx->packets; in prepare_silent_urb() 384 for (i = 0; i < urb_ctx->packets; i++) { in prepare_inbound_urb() 391 urb->number_of_packets = urb_ctx->packets; in prepare_inbound_urb() 492 for (i = 0; i < packet->packets; i++) in snd_usb_queue_pending_output_urbs() 1256 u->packets = urb_packs; in data_ep_set_params() 1257 u->buffer_size = maxsize * u->packets; in data_ep_set_params() 1306 u->packets = 1; in sync_ep_set_params() 1788 for (i = 0; i < in_ctx->packets; i++) in snd_usb_handle_sync_urb() 1821 out_packet->packets = in_ctx->packets; in snd_usb_handle_sync_urb() [all …]
|
| A D | card.h | 58 int packets; /* number of packets per urb */ member 94 int packets; member
|
| A D | midi2.c | 64 unsigned int packets; /* packet buffer size in bytes */ member 143 ep->packets); in prepare_output_urb() 178 urb->transfer_buffer_length = ep->packets; in prepare_input_urb() 200 if (len > ep->packets) in input_urb_complete() 201 len = ep->packets; in input_urb_complete() 272 usb_free_coherent(ep->dev, ep->packets, in free_midi_urbs() 292 len = ep->packets; in alloc_midi_urbs() 471 ep->packets = usb_maxpacket(ep->dev, ep->pipe); in create_midi2_endpoint()
|
| A D | pcm.c | 1561 for (i = 0; i < ctx->packets; i++) { in prepare_playback_urb() 1587 if (i < ctx->packets) { in prepare_playback_urb()
|
| /sound/usb/usx2y/ |
| A D | usb_stream.c | 161 int packets, max_packsize; in usb_stream_new() local 179 packets = period_frames * usb_frames / sample_rate + 1; in usb_stream_new() 182 packets = (packets + 7) & ~7; in usb_stream_new() 184 read_size += packets * USB_STREAM_URBDEPTH * in usb_stream_new() 188 write_size = max_packsize * packets * USB_STREAM_URBDEPTH; in usb_stream_new() 207 sk->n_o_ps = packets; in usb_stream_new() 208 sk->s->inpackets = packets * USB_STREAM_URBDEPTH; in usb_stream_new()
|
| /sound/usb/misc/ |
| A D | ua101.c | 1022 unsigned int remaining_packets, packets, packets_per_page, i; in alloc_stream_buffers() local 1040 packets = min(remaining_packets, packets_per_page); in alloc_stream_buffers() 1041 size = packets * stream->max_packet_bytes; in alloc_stream_buffers() 1048 remaining_packets -= packets; in alloc_stream_buffers()
|
Completed in 47 milliseconds