Searched refs:subs (Results 1 - 25 of 177) sorted by relevance

12345678

/linux-master/sound/usb/
H A Dpcm.c32 static snd_pcm_uframes_t snd_usb_pcm_delay(struct snd_usb_substream *subs, argument
40 if (subs->direction == SNDRV_PCM_STREAM_PLAYBACK) {
41 queued = bytes_to_frames(runtime, subs->inflight_bytes);
44 } else if (!subs->running) {
48 current_frame_number = usb_get_current_frame_number(subs->dev);
54 frame_diff = (current_frame_number - subs->last_frame_number) & 0xff;
60 if (subs->direction == SNDRV_PCM_STREAM_PLAYBACK) {
75 struct snd_usb_substream *subs = runtime->private_data; local
78 if (atomic_read(&subs->stream->chip->shutdown))
80 spin_lock(&subs
91 find_format(struct list_head *fmt_list_head, snd_pcm_format_t format, unsigned int rate, unsigned int channels, bool strict_match, struct snd_usb_substream *subs) argument
152 find_substream_format(struct snd_usb_substream *subs, const struct snd_pcm_hw_params *params) argument
160 snd_usb_pcm_has_fixed_rate(struct snd_usb_substream *subs) argument
250 stop_endpoints(struct snd_usb_substream *subs, bool keep_pending) argument
265 start_endpoints(struct snd_usb_substream *subs) argument
296 sync_pending_stops(struct snd_usb_substream *subs) argument
305 struct snd_usb_substream *subs = substream->runtime->private_data; local
401 snd_usb_pcm_change_state(struct snd_usb_substream *subs, int state) argument
449 close_endpoints(struct snd_usb_audio *chip, struct snd_usb_substream *subs) argument
477 struct snd_usb_substream *subs = substream->runtime->private_data; local
590 struct snd_usb_substream *subs = substream->runtime->private_data; local
614 lowlatency_playback_available(struct snd_pcm_runtime *runtime, struct snd_usb_substream *subs) argument
640 struct snd_usb_substream *subs = runtime->private_data; local
724 hw_check_valid_format(struct snd_usb_substream *subs, struct snd_pcm_hw_params *params, const struct audioformat *fp) argument
817 struct snd_usb_substream *subs = rule->private; local
883 struct snd_usb_substream *subs = rule->private; local
922 struct snd_usb_substream *subs = rule->private; local
963 struct snd_usb_substream *subs = rule->private; local
991 struct snd_usb_substream *subs = rule->private; local
1036 struct snd_usb_substream *subs = rule->private; local
1082 setup_hw_info(struct snd_pcm_runtime *runtime, struct snd_usb_substream *subs) argument
1210 struct snd_usb_substream *subs = &as->substream[direction]; local
1243 struct snd_usb_substream *subs = &as->substream[direction]; local
1266 retire_capture_urb(struct snd_usb_substream *subs, struct urb *urb) argument
1337 urb_ctx_queue_advance(struct snd_usb_substream *subs, struct urb *urb, unsigned int bytes) argument
1349 fill_playback_urb_dsd_dop(struct snd_usb_substream *subs, struct urb *urb, unsigned int bytes) argument
1406 fill_playback_urb_dsd_bitrev(struct snd_usb_substream *subs, struct urb *urb, unsigned int bytes) argument
1423 copy_to_urb(struct snd_usb_substream *subs, struct urb *urb, int offset, int stride, unsigned int bytes) argument
1444 copy_to_urb_quirk(struct snd_usb_substream *subs, struct urb *urb, int stride, unsigned int bytes) argument
1470 prepare_playback_urb(struct snd_usb_substream *subs, struct urb *urb, bool in_stream_lock) argument
1604 retire_playback_urb(struct snd_usb_substream *subs, struct urb *urb) argument
1634 struct snd_usb_substream *subs = substream->runtime->private_data; local
1653 struct snd_usb_substream *subs = substream->runtime->private_data; local
1711 struct snd_usb_substream *subs = substream->runtime->private_data; local
1778 snd_usb_preallocate_buffer(struct snd_usb_substream *subs) argument
[all...]
H A Dmedia.h56 int snd_media_stream_init(struct snd_usb_substream *subs, struct snd_pcm *pcm,
58 void snd_media_stream_delete(struct snd_usb_substream *subs);
59 int snd_media_start_pipeline(struct snd_usb_substream *subs);
60 void snd_media_stop_pipeline(struct snd_usb_substream *subs);
66 static inline int snd_media_stream_init(struct snd_usb_substream *subs, argument
69 static inline void snd_media_stream_delete(struct snd_usb_substream *subs) { } argument
70 static inline int snd_media_start_pipeline(struct snd_usb_substream *subs) argument
72 static inline void snd_media_stop_pipeline(struct snd_usb_substream *subs) { } argument
H A Dpcm.h13 void snd_usb_preallocate_buffer(struct snd_usb_substream *subs);
H A Dproc.c92 static void proc_dump_substream_formats(struct snd_usb_substream *subs, struct snd_info_buffer *buffer) argument
99 list_for_each_entry(fp, &subs->fmt_list, list) {
129 if (subs->speed != USB_SPEED_FULL)
172 static void proc_dump_ep_status(struct snd_usb_substream *subs, argument
181 subs->speed == USB_SPEED_FULL
193 struct snd_usb_substream *subs,
197 if (subs->running) {
199 if (subs->cur_audiofmt) {
200 snd_iprintf(buffer, " Interface = %d\n", subs->cur_audiofmt->iface);
201 snd_iprintf(buffer, " Altset = %d\n", subs
192 proc_dump_substream_status(struct snd_usb_audio *chip, struct snd_usb_substream *subs, struct snd_info_buffer *buffer) argument
[all...]
H A Dstream.c42 static void free_substream(struct snd_usb_substream *subs) argument
46 if (!subs->num_formats)
48 list_for_each_entry_safe(fp, n, &subs->fmt_list, list)
50 kfree(subs->str_pd);
51 snd_media_stream_delete(subs);
84 struct snd_usb_substream *subs = &as->substream[stream]; local
86 INIT_LIST_HEAD(&subs->fmt_list);
87 spin_lock_init(&subs->lock);
89 subs->stream = as;
90 subs
123 struct snd_usb_substream *subs = info->private_data; local
133 have_dup_chmap(struct snd_usb_substream *subs, struct audioformat *fp) argument
150 struct snd_usb_substream *subs = info->private_data; local
193 struct snd_usb_substream *subs = info->private_data; local
209 add_chmap(struct snd_pcm *pcm, int stream, struct snd_usb_substream *subs) argument
486 struct snd_usb_substream *subs; local
[all...]
H A Dmedia.c33 int snd_media_stream_init(struct snd_usb_substream *subs, struct snd_pcm *pcm, argument
44 mdev = subs->stream->chip->media_dev;
48 if (subs->media_ctl)
103 subs->media_ctl = mctl;
117 void snd_media_stream_delete(struct snd_usb_substream *subs) argument
119 struct media_ctl *mctl = subs->media_ctl;
131 subs->media_ctl = NULL;
135 int snd_media_start_pipeline(struct snd_usb_substream *subs) argument
137 struct media_ctl *mctl = subs->media_ctl;
151 void snd_media_stop_pipeline(struct snd_usb_substream *subs) argument
[all...]
/linux-master/sound/usb/usx2y/
H A Dusbusx2yaudio.c58 static int usx2y_urb_capt_retire(struct snd_usx2y_substream *subs) argument
60 struct urb *urb = subs->completed_urb;
61 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime;
63 int i, len, lens = 0, hwptr_done = subs->hwptr_done;
65 struct usx2ydev *usx2y = subs->usx2y;
97 subs->hwptr_done = hwptr_done;
98 subs->transfer_done += lens;
100 if (subs->transfer_done >= runtime->period_size) {
101 subs->transfer_done -= runtime->period_size;
102 snd_pcm_period_elapsed(subs
117 usx2y_urb_play_prepare(struct snd_usx2y_substream *subs, struct urb *cap_urb, struct urb *urb) argument
173 usx2y_urb_play_retire(struct snd_usx2y_substream *subs, struct urb *urb) argument
188 usx2y_urb_submit(struct snd_usx2y_substream *subs, struct urb *urb, int frame) argument
260 struct snd_usx2y_substream *subs; local
288 usx2y_error_urb_status(struct usx2ydev *usx2y, struct snd_usx2y_substream *subs, struct urb *urb) argument
298 struct snd_usx2y_substream *subs = urb->context; local
335 struct snd_usx2y_substream *subs; local
359 struct snd_usx2y_substream *subs = urb->context; local
374 usx2y_subs_prepare(struct snd_usx2y_substream *subs) argument
398 usx2y_urbs_release(struct snd_usx2y_substream *subs) argument
414 usx2y_urbs_allocate(struct snd_usx2y_substream *subs) argument
465 usx2y_subs_startup(struct snd_usx2y_substream *subs) argument
475 usx2y_urbs_start(struct snd_usx2y_substream *subs) argument
487 struct snd_usx2y_substream *subs = usx2y->subs[i]; local
539 struct snd_usx2y_substream *subs = substream->runtime->private_data; local
549 struct snd_usx2y_substream *subs = substream->runtime->private_data; local
776 struct snd_usx2y_substream *subs; local
813 struct snd_usx2y_substream *subs = runtime->private_data; local
848 struct snd_usx2y_substream *subs = runtime->private_data; local
905 struct snd_usx2y_substream *subs = local
923 struct snd_usx2y_substream *subs = runtime->private_data; local
[all...]
H A Dusx2yhwdeppcm.c49 static int usx2y_usbpcm_urb_capt_retire(struct snd_usx2y_substream *subs) argument
51 struct urb *urb = subs->completed_urb;
52 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime;
53 int i, lens = 0, hwptr_done = subs->hwptr_done;
54 struct usx2ydev *usx2y = subs->usx2y;
76 subs->hwptr_done = hwptr_done;
77 subs->transfer_done += lens;
79 if (subs->transfer_done >= runtime->period_size) {
80 subs->transfer_done -= runtime->period_size;
81 snd_pcm_period_elapsed(subs
102 usx2y_hwdep_urb_play_prepare(struct snd_usx2y_substream *subs, struct urb *urb) argument
140 usx2y_usbpcm_urb_capt_iso_advance(struct snd_usx2y_substream *subs, struct urb *urb) argument
232 struct snd_usx2y_substream *subs = urb->context; local
274 usx2y_usbpcm_urbs_release(struct snd_usx2y_substream *subs) argument
291 struct snd_usx2y_substream *subs = urb->context; local
314 usx2y_usbpcm_urbs_allocate(struct snd_usx2y_substream *subs) argument
362 struct snd_usx2y_substream *subs = runtime->private_data; local
400 usx2y_usbpcm_subs_startup(struct snd_usx2y_substream *subs) argument
410 usx2y_usbpcm_urbs_start(struct snd_usx2y_substream *subs) argument
423 struct snd_usx2y_substream *subs = usx2y->subs[stream + p]; local
433 struct snd_usx2y_substream *subs = usx2y->subs[p]; local
443 struct snd_usx2y_substream *subs = usx2y->subs[stream + p]; local
498 struct snd_usx2y_substream *subs = runtime->private_data; local
587 struct snd_usx2y_substream *subs = local
608 struct snd_usx2y_substream *subs = runtime->private_data; local
627 struct snd_usx2y_substream *subs; local
[all...]
/linux-master/arch/arm/mach-rpc/
H A Dfloppydma.S13 subs r9, r9, #1
17 subs pc, lr, #4
22 subs r9, r9, #1
28 subs pc, lr, #4
H A Dfiq.S17 subs pc, lr, #4
/linux-master/arch/arm/lib/
H A Ddelay-loop.S42 subs r0, r0, #1
45 subs r0, r0, #1
47 subs r0, r0, #1
49 subs r0, r0, #1
51 subs r0, r0, #1
53 subs r0, r0, #1
55 subs r0, r0, #1
57 subs r0, r0, #1
H A Dio-writesl.S16 subs r2, r2, #4
20 subs r2, r2, #4
43 subs r2, r2, #1
51 subs r2, r2, #1
59 subs r2, r2, #1
H A Dmemchr.S15 1: subs r2, r2, #1
H A Dio-readsl.S16 subs r2, r2, #4
23 subs r2, r2, #4
46 4: subs r2, r2, #1
54 5: subs r2, r2, #1
62 6: subs r2, r2, #1
H A Dio-writesw-armv4.S37 subs r2, r2, #8
41 subs r2, r2, #8
81 subs r2, r2, #2
88 subs r2, r2, #2
/linux-master/sound/firewire/tascam/
H A Dtascam-midi.c87 struct snd_rawmidi_substream *subs; local
107 list_for_each_entry(subs, &stream->substreams, list) {
109 if (subs->number < tscm->spec->midi_capture_ports) {
111 scnprintf(subs->name, sizeof(subs->name),
113 tscm->card->shortname, subs->number + 1);
123 list_for_each_entry(subs, &stream->substreams, list) {
124 if (subs->number < tscm->spec->midi_playback_ports) {
126 scnprintf(subs->name, sizeof(subs
[all...]
/linux-master/sound/core/seq/
H A Dseq_ports.c196 struct snd_seq_subscribers *subs,
220 struct snd_seq_subscribers *subs; local
224 subs = get_subscriber(p, is_src);
226 aport = get_client_port(&subs->info.dest, &c);
228 aport = get_client_port(&subs->info.sender, &c);
229 delete_and_unsubscribe_port(client, port, subs, is_src, false);
236 if (atomic_dec_and_test(&subs->ref_count))
237 kfree(subs);
242 delete_and_unsubscribe_port(c, aport, subs, !is_src, true);
243 kfree(subs);
489 check_and_subscribe_port(struct snd_seq_client *client, struct snd_seq_client_port *port, struct snd_seq_subscribers *subs, bool is_src, bool exclusive, bool ack) argument
534 __delete_and_unsubscribe_port(struct snd_seq_client *client, struct snd_seq_client_port *port, struct snd_seq_subscribers *subs, bool is_src, bool ack) argument
556 delete_and_unsubscribe_port(struct snd_seq_client *client, struct snd_seq_client_port *port, struct snd_seq_subscribers *subs, bool is_src, bool ack) argument
576 struct snd_seq_subscribers *subs; local
621 struct snd_seq_subscribers *subs; local
650 snd_seq_port_get_subscription(struct snd_seq_port_subs_info *src_grp, struct snd_seq_addr *dest_addr, struct snd_seq_port_subscribe *subs) argument
[all...]
/linux-master/sound/core/
H A Dpcm_local.h71 #define for_each_pcm_substream(pcm, str, subs) \
73 for ((subs) = (pcm)->streams[str].substream; (subs); \
74 (subs) = (subs)->next)
/linux-master/sound/pcmcia/pdaudiocf/
H A Dpdaudiocf_pcm.c34 static int pdacf_pcm_trigger(struct snd_pcm_substream *subs, int cmd) argument
36 struct snd_pdacf *chip = snd_pcm_substream_chip(subs);
37 struct snd_pcm_runtime *runtime = subs->runtime;
89 static int pdacf_pcm_prepare(struct snd_pcm_substream *subs) argument
91 struct snd_pdacf *chip = snd_pcm_substream_chip(subs);
92 struct snd_pcm_runtime *runtime = subs->runtime;
196 static int pdacf_pcm_capture_open(struct snd_pcm_substream *subs) argument
198 struct snd_pcm_runtime *runtime = subs->runtime;
199 struct snd_pdacf *chip = snd_pcm_substream_chip(subs);
206 chip->pcm_substream = subs;
214 pdacf_pcm_capture_close(struct snd_pcm_substream *subs) argument
229 pdacf_pcm_capture_pointer(struct snd_pcm_substream *subs) argument
[all...]
/linux-master/sound/isa/sb/
H A Demu8000_pcm.c216 static int emu8k_pcm_open(struct snd_pcm_substream *subs) argument
218 struct snd_emu8000 *emu = snd_pcm_substream_chip(subs);
220 struct snd_pcm_runtime *runtime = subs->runtime;
227 rec->substream = subs;
244 static int emu8k_pcm_close(struct snd_pcm_substream *subs) argument
246 struct snd_emu8k_pcm *rec = subs->runtime->private_data;
248 subs->runtime->private_data = NULL;
373 static int emu8k_pcm_trigger(struct snd_pcm_substream *subs, int cmd) argument
375 struct snd_emu8k_pcm *rec = subs->runtime->private_data;
437 static int emu8k_pcm_copy(struct snd_pcm_substream *subs, argument
451 emu8k_pcm_silence(struct snd_pcm_substream *subs, int voice, unsigned long pos, unsigned long count) argument
491 emu8k_pcm_copy(struct snd_pcm_substream *subs, int voice, unsigned long pos, struct iov_iter *src, unsigned long count) argument
504 emu8k_pcm_silence(struct snd_pcm_substream *subs, int voice, unsigned long pos, unsigned long count) argument
521 emu8k_pcm_hw_params(struct snd_pcm_substream *subs, struct snd_pcm_hw_params *hw_params) argument
546 emu8k_pcm_hw_free(struct snd_pcm_substream *subs) argument
564 emu8k_pcm_prepare(struct snd_pcm_substream *subs) argument
611 emu8k_pcm_pointer(struct snd_pcm_substream *subs) argument
[all...]
/linux-master/sound/firewire/motu/
H A Dmotu-midi.c88 struct snd_rawmidi_substream *subs; local
90 list_for_each_entry(subs, &str->substreams, list) {
91 scnprintf(subs->name, sizeof(subs->name),
92 "%s MIDI %d", motu->card->shortname, subs->number + 1);
/linux-master/sound/firewire/digi00x/
H A Ddigi00x-midi.c94 struct snd_rawmidi_substream *subs; local
101 list_for_each_entry(subs, &str->substreams, list) {
103 scnprintf(subs->name, sizeof(subs->name),
106 subs->number + 1);
108 scnprintf(subs->name, sizeof(subs->name),
/linux-master/sound/pci/mixart/
H A Dmixart.c416 static int snd_mixart_trigger(struct snd_pcm_substream *subs, int cmd) argument
418 struct mixart_stream *stream = subs->runtime->private_data;
423 dev_dbg(subs->pcm->card->dev, "SNDRV_PCM_TRIGGER_START\n");
440 dev_dbg(subs->pcm->card->dev, "SNDRV_PCM_TRIGGER_STOP\n");
447 dev_dbg(subs->pcm->card->dev, "SNDRV_PCM_PAUSE_PUSH\n");
452 dev_dbg(subs->pcm->card->dev, "SNDRV_PCM_PAUSE_RELEASE\n");
477 static int snd_mixart_prepare(struct snd_pcm_substream *subs) argument
479 struct snd_mixart *chip = snd_pcm_substream_chip(subs);
480 struct mixart_stream *stream = subs->runtime->private_data;
491 chip->mgr->sample_rate = subs
590 snd_mixart_hw_params(struct snd_pcm_substream *subs, struct snd_pcm_hw_params *hw) argument
649 snd_mixart_hw_free(struct snd_pcm_substream *subs) argument
704 snd_mixart_playback_open(struct snd_pcm_substream *subs) argument
783 snd_mixart_capture_open(struct snd_pcm_substream *subs) argument
865 snd_mixart_close(struct snd_pcm_substream *subs) argument
898 snd_mixart_stream_pointer(struct snd_pcm_substream *subs) argument
[all...]
/linux-master/sound/core/seq/oss/
H A Dseq_oss_midi.c321 struct snd_seq_port_subscribe subs; local
354 memset(&subs, 0, sizeof(subs));
357 subs.sender = dp->addr;
358 subs.dest.client = mdev->client;
359 subs.dest.port = mdev->port;
360 if (snd_seq_kernel_client_ctl(dp->cseq, SNDRV_SEQ_IOCTL_SUBSCRIBE_PORT, &subs) >= 0)
364 subs.sender.client = mdev->client;
365 subs.sender.port = mdev->port;
366 subs
394 struct snd_seq_port_subscribe subs; local
[all...]
/linux-master/sound/drivers/vx/
H A Dvx_pcm.c512 static int vx_pcm_playback_open(struct snd_pcm_substream *subs) argument
514 struct snd_pcm_runtime *runtime = subs->runtime;
515 struct vx_core *chip = snd_pcm_substream_chip(subs);
523 audio = subs->pcm->device * 2;
538 pipe->substream = subs;
555 static int vx_pcm_playback_close(struct snd_pcm_substream *subs) argument
557 struct vx_core *chip = snd_pcm_substream_chip(subs);
560 if (! subs->runtime->private_data)
563 pipe = subs->runtime->private_data;
600 * @subs
675 vx_pcm_playback_transfer(struct vx_core *chip, struct snd_pcm_substream *subs, struct vx_pipe *pipe, int nchunks) argument
696 vx_pcm_playback_update(struct vx_core *chip, struct snd_pcm_substream *subs, struct vx_pipe *pipe) argument
717 vx_pcm_trigger(struct snd_pcm_substream *subs, int cmd) argument
772 vx_pcm_playback_pointer(struct snd_pcm_substream *subs) argument
782 vx_pcm_prepare(struct snd_pcm_substream *subs) argument
886 vx_pcm_capture_open(struct snd_pcm_substream *subs) argument
945 vx_pcm_capture_close(struct snd_pcm_substream *subs) argument
981 vx_pcm_capture_update(struct vx_core *chip, struct snd_pcm_substream *subs, struct vx_pipe *pipe) argument
1057 vx_pcm_capture_pointer(struct snd_pcm_substream *subs) argument
[all...]

Completed in 472 milliseconds

12345678