Home
last modified time | relevance | path

Searched refs:subs (Results 1 – 142 of 142) sorted by relevance

/linux-4.4.14/sound/usb/
Dpcm.c43 snd_pcm_uframes_t snd_usb_pcm_delay(struct snd_usb_substream *subs, in snd_usb_pcm_delay() argument
50 if (!subs->last_delay) in snd_usb_pcm_delay()
53 current_frame_number = usb_get_current_frame_number(subs->dev); in snd_usb_pcm_delay()
59 frame_diff = (current_frame_number - subs->last_frame_number) & 0xff; in snd_usb_pcm_delay()
64 if (subs->direction == SNDRV_PCM_STREAM_PLAYBACK) in snd_usb_pcm_delay()
65 est_delay = subs->last_delay - est_delay; in snd_usb_pcm_delay()
67 est_delay = subs->last_delay + est_delay; in snd_usb_pcm_delay()
79 struct snd_usb_substream *subs; in snd_usb_pcm_pointer() local
82 subs = (struct snd_usb_substream *)substream->runtime->private_data; in snd_usb_pcm_pointer()
83 if (atomic_read(&subs->stream->chip->shutdown)) in snd_usb_pcm_pointer()
[all …]
Dstream.c43 static void free_substream(struct snd_usb_substream *subs) in free_substream() argument
47 if (!subs->num_formats) in free_substream()
49 list_for_each_entry_safe(fp, n, &subs->fmt_list, list) { in free_substream()
54 kfree(subs->rate_list.list); in free_substream()
86 struct snd_usb_substream *subs = &as->substream[stream]; in snd_usb_init_substream() local
88 INIT_LIST_HEAD(&subs->fmt_list); in snd_usb_init_substream()
89 spin_lock_init(&subs->lock); in snd_usb_init_substream()
91 subs->stream = as; in snd_usb_init_substream()
92 subs->direction = stream; in snd_usb_init_substream()
93 subs->dev = as->chip->dev; in snd_usb_init_substream()
[all …]
Dproc.c74 static void proc_dump_substream_formats(struct snd_usb_substream *subs, struct snd_info_buffer *buf… in proc_dump_substream_formats() argument
81 list_for_each_entry(fp, &subs->fmt_list, list) { in proc_dump_substream_formats()
110 if (subs->speed != USB_SPEED_FULL) in proc_dump_substream_formats()
118 static void proc_dump_ep_status(struct snd_usb_substream *subs, in proc_dump_ep_status() argument
127 subs->speed == USB_SPEED_FULL in proc_dump_ep_status()
138 static void proc_dump_substream_status(struct snd_usb_substream *subs, struct snd_info_buffer *buff… in proc_dump_substream_status() argument
140 if (subs->running) { in proc_dump_substream_status()
142 snd_iprintf(buffer, " Interface = %d\n", subs->interface); in proc_dump_substream_status()
143 snd_iprintf(buffer, " Altset = %d\n", subs->altset_idx); in proc_dump_substream_status()
144 proc_dump_ep_status(subs, subs->data_endpoint, subs->sync_endpoint, buffer); in proc_dump_substream_status()
Dcard.h42 struct snd_usb_substream *subs; member
58 void (*prepare_data_urb) (struct snd_usb_substream *subs,
60 void (*retire_data_urb) (struct snd_usb_substream *subs,
Dquirks.h21 void snd_usb_set_format_quirk(struct snd_usb_substream *subs,
36 int snd_usb_select_mode_quirk(struct snd_usb_substream *subs,
Dquirks.c1077 static void set_format_emu_quirk(struct snd_usb_substream *subs, in set_format_emu_quirk() argument
1086 if (subs->direction == SNDRV_PCM_STREAM_PLAYBACK) { in set_format_emu_quirk()
1087 if (subs->stream->substream[SNDRV_PCM_STREAM_CAPTURE].interface != -1) in set_format_emu_quirk()
1111 snd_emuusb_set_samplerate(subs->stream->chip, emu_samplerate_id); in set_format_emu_quirk()
1112 subs->pkt_offset_adj = (emu_samplerate_id >= EMU_QUIRK_SR_176400HZ) ? 4 : 0; in set_format_emu_quirk()
1115 void snd_usb_set_format_quirk(struct snd_usb_substream *subs, in snd_usb_set_format_quirk() argument
1118 switch (subs->stream->chip->usb_id) { in snd_usb_set_format_quirk()
1123 set_format_emu_quirk(subs, fmt); in snd_usb_set_format_quirk()
1166 int snd_usb_select_mode_quirk(struct snd_usb_substream *subs, in snd_usb_select_mode_quirk() argument
1169 struct usb_device *dev = subs->dev; in snd_usb_select_mode_quirk()
[all …]
Dcard.c120 struct snd_usb_substream *subs; in snd_usb_stream_disconnect() local
123 subs = &as->substream[idx]; in snd_usb_stream_disconnect()
124 if (!subs->num_formats) in snd_usb_stream_disconnect()
126 subs->interface = -1; in snd_usb_stream_disconnect()
127 subs->data_endpoint = NULL; in snd_usb_stream_disconnect()
128 subs->sync_endpoint = NULL; in snd_usb_stream_disconnect()
Dpcm.h4 snd_pcm_uframes_t snd_usb_pcm_delay(struct snd_usb_substream *subs,
/linux-4.4.14/sound/usb/usx2y/
Dusbusx2yaudio.c71 static int usX2Y_urb_capt_retire(struct snd_usX2Y_substream *subs) in usX2Y_urb_capt_retire() argument
73 struct urb *urb = subs->completed_urb; in usX2Y_urb_capt_retire()
74 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in usX2Y_urb_capt_retire()
76 int i, len, lens = 0, hwptr_done = subs->hwptr_done; in usX2Y_urb_capt_retire()
77 struct usX2Ydev *usX2Y = subs->usX2Y; in usX2Y_urb_capt_retire()
108 subs->hwptr_done = hwptr_done; in usX2Y_urb_capt_retire()
109 subs->transfer_done += lens; in usX2Y_urb_capt_retire()
111 if (subs->transfer_done >= runtime->period_size) { in usX2Y_urb_capt_retire()
112 subs->transfer_done -= runtime->period_size; in usX2Y_urb_capt_retire()
113 snd_pcm_period_elapsed(subs->pcm_substream); in usX2Y_urb_capt_retire()
[all …]
Dusx2yhwdeppcm.c62 static int usX2Y_usbpcm_urb_capt_retire(struct snd_usX2Y_substream *subs) in usX2Y_usbpcm_urb_capt_retire() argument
64 struct urb *urb = subs->completed_urb; in usX2Y_usbpcm_urb_capt_retire()
65 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in usX2Y_usbpcm_urb_capt_retire()
66 int i, lens = 0, hwptr_done = subs->hwptr_done; in usX2Y_usbpcm_urb_capt_retire()
67 struct usX2Ydev *usX2Y = subs->usX2Y; in usX2Y_usbpcm_urb_capt_retire()
84 subs->hwptr_done = hwptr_done; in usX2Y_usbpcm_urb_capt_retire()
85 subs->transfer_done += lens; in usX2Y_usbpcm_urb_capt_retire()
87 if (subs->transfer_done >= runtime->period_size) { in usX2Y_usbpcm_urb_capt_retire()
88 subs->transfer_done -= runtime->period_size; in usX2Y_usbpcm_urb_capt_retire()
89 snd_pcm_period_elapsed(subs->pcm_substream); in usX2Y_usbpcm_urb_capt_retire()
[all …]
Dusbusx2y.h44 struct snd_usX2Y_substream *subs[4]; member
/linux-4.4.14/sound/pcmcia/pdaudiocf/
Dpdaudiocf_pcm.c47 static int pdacf_pcm_trigger(struct snd_pcm_substream *subs, int cmd) in pdacf_pcm_trigger() argument
49 struct snd_pdacf *chip = snd_pcm_substream_chip(subs); in pdacf_pcm_trigger()
50 struct snd_pcm_runtime *runtime = subs->runtime; in pdacf_pcm_trigger()
102 static int pdacf_pcm_hw_params(struct snd_pcm_substream *subs, in pdacf_pcm_hw_params() argument
106 (subs, params_buffer_bytes(hw_params)); in pdacf_pcm_hw_params()
112 static int pdacf_pcm_hw_free(struct snd_pcm_substream *subs) in pdacf_pcm_hw_free() argument
114 return snd_pcm_lib_free_vmalloc_buffer(subs); in pdacf_pcm_hw_free()
120 static int pdacf_pcm_prepare(struct snd_pcm_substream *subs) in pdacf_pcm_prepare() argument
122 struct snd_pdacf *chip = snd_pcm_substream_chip(subs); in pdacf_pcm_prepare()
123 struct snd_pcm_runtime *runtime = subs->runtime; in pdacf_pcm_prepare()
[all …]
/linux-4.4.14/sound/core/seq/
Dseq_ports.c204 struct snd_seq_subscribers *subs,
228 struct snd_seq_subscribers *subs; in clear_subscriber_list() local
232 subs = get_subscriber(p, is_src); in clear_subscriber_list()
234 aport = get_client_port(&subs->info.dest, &c); in clear_subscriber_list()
236 aport = get_client_port(&subs->info.sender, &c); in clear_subscriber_list()
237 delete_and_unsubscribe_port(client, port, subs, is_src, false); in clear_subscriber_list()
244 if (atomic_dec_and_test(&subs->ref_count)) in clear_subscriber_list()
245 kfree(subs); in clear_subscriber_list()
250 delete_and_unsubscribe_port(c, aport, subs, !is_src, true); in clear_subscriber_list()
251 kfree(subs); in clear_subscriber_list()
[all …]
Dseq_clientmgr.c662 struct snd_seq_subscribers *subs; in deliver_to_subscribers() local
680 list_for_each_entry(subs, &grp->list_head, src_list) { in deliver_to_subscribers()
682 if (atomic_read(&subs->ref_count) != 2) in deliver_to_subscribers()
684 event->dest = subs->info.dest; in deliver_to_subscribers()
685 if (subs->info.flags & SNDRV_SEQ_PORT_SUBS_TIMESTAMP) in deliver_to_subscribers()
687 update_timestamp_of_queue(event, subs->info.queue, in deliver_to_subscribers()
688 subs->info.flags & SNDRV_SEQ_PORT_SUBS_TIME_REAL); in deliver_to_subscribers()
1393 struct snd_seq_port_subscribe *subs) in check_subscription_permission() argument
1395 if (client->number != subs->sender.client && in check_subscription_permission()
1396 client->number != subs->dest.client) { in check_subscription_permission()
[all …]
/linux-4.4.14/sound/firewire/tascam/
Dtascam-midi.c87 struct snd_rawmidi_substream *subs; in snd_tscm_create_midi_devices() local
107 list_for_each_entry(subs, &stream->substreams, list) { in snd_tscm_create_midi_devices()
109 if (subs->number < tscm->spec->midi_capture_ports) { in snd_tscm_create_midi_devices()
111 snprintf(subs->name, sizeof(subs->name), in snd_tscm_create_midi_devices()
113 tscm->card->shortname, subs->number + 1); in snd_tscm_create_midi_devices()
123 list_for_each_entry(subs, &stream->substreams, list) { in snd_tscm_create_midi_devices()
124 if (subs->number < tscm->spec->midi_playback_ports) { in snd_tscm_create_midi_devices()
126 snprintf(subs->name, sizeof(subs->name), in snd_tscm_create_midi_devices()
128 tscm->card->shortname, subs->number + 1); in snd_tscm_create_midi_devices()
/linux-4.4.14/arch/arm/lib/
Ddelay-loop.S47 subs r0, r0, #1
50 subs r0, r0, #1
52 subs r0, r0, #1
54 subs r0, r0, #1
56 subs r0, r0, #1
58 subs r0, r0, #1
60 subs r0, r0, #1
62 subs r0, r0, #1
Dfloppydma.S16 subs r9, r9, #1
20 subs pc, lr, #4
25 subs r9, r9, #1
31 subs pc, lr, #4
Dio-writesl.S19 subs r2, r2, #4
23 subs r2, r2, #4
46 subs r2, r2, #1
54 subs r2, r2, #1
62 subs r2, r2, #1
Dmemmove.S33 subs ip, r0, r1
44 subs r2, r2, #4
52 1: subs r2, r2, #(28)
65 CALGN( subs r2, r2, ip ) @ C is set here
70 2: PLD( subs r2, r2, #96 )
78 subs r2, r2, #32
131 subs r2, r2, ip
149 subs r2, r2, #28
165 PLD( subs r2, r2, #96 )
174 subs r2, r2, #32
[all …]
Dio-readsl.S19 subs r2, r2, #4
26 subs r2, r2, #4
49 4: subs r2, r2, #1
57 5: subs r2, r2, #1
65 6: subs r2, r2, #1
Dcopy_template.S83 subs r2, r2, #4
91 1: subs r2, r2, #(28)
105 CALGN( subs r2, r2, r3 ) @ C gets set
109 2: PLD( subs r2, r2, #96 )
117 subs r2, r2, #32
184 subs r2, r2, ip
202 subs r2, r2, #28
218 PLD( subs r2, r2, #96 )
227 subs r2, r2, #32
259 subs ip, ip, #4
Dio-writesw-armv4.S40 subs r2, r2, #8
44 subs r2, r2, #8
84 subs r2, r2, #2
91 subs r2, r2, #2
Dio-readsw-armv4.S35 subs r2, r2, #8
54 subs r2, r2, #8
107 1: subs r2, r2, #2
113 subs r2, r2, #2
Dio-writesb.S43 subs r2, r2, ip
55 subs r2, r2, #16
63 subs r2, r2, #16
Dio-readsw-armv3.S29 subs r2, r2, #1
42 subs r2, r2, #8
67 subs r2, r2, #8
Dmemzero.S23 1: subs r1, r1, #4 @ 1 do we have enough
58 3: subs r1, r1, #64 @ 1 write 32 bytes out per loop
106 3: subs r1, r1, #64
Dmemset.S46 2: subs r2, r2, #64
96 3: subs r2, r2, #64
127 6: subs r2, r2, #4 @ 1 do we have enough
Dio-writesw-armv3.S30 subs r2, r2, #1
41 subs r2, r2, #8
78 subs r2, r2, #8
Dio-readsb.S23 subs r2, r2, ip
34 subs r2, r2, #16
71 subs r2, r2, #16
Dlib1funcs.S172 subs \order, \order, #3 @ yes, 3 is intended here
212 subs r2, r1, #1
241 subs r2, r1, #1 @ compare divisor with 1
264 subs r2, r1, #1 @ division by 1 or -1 ?
307 subs r2, r1, #1 @ compare divisor with 1
Dmemchr.S18 1: subs r2, r2, #1
Dashrdi3.S43 subs r3, r2, #32
Dashldi3.S43 subs r3, r2, #32
Dlshrdi3.S43 subs r3, r2, #32
Dcopy_page.S40 subs r2, r2, #1 @ 1
Dclear_user.S38 1: subs r1, r1, #8 @ -1 -2 -3 -4 -5 -6 -7
Dbacktrace.S138 2: subs reg, reg, #1
Ddiv64.S52 subs ip, r4, #1
/linux-4.4.14/sound/isa/sb/
Demu8000_pcm.c227 static int emu8k_pcm_open(struct snd_pcm_substream *subs) in emu8k_pcm_open() argument
229 struct snd_emu8000 *emu = snd_pcm_substream_chip(subs); in emu8k_pcm_open()
231 struct snd_pcm_runtime *runtime = subs->runtime; in emu8k_pcm_open()
238 rec->substream = subs; in emu8k_pcm_open()
255 static int emu8k_pcm_close(struct snd_pcm_substream *subs) in emu8k_pcm_close() argument
257 struct snd_emu8k_pcm *rec = subs->runtime->private_data; in emu8k_pcm_close()
259 subs->runtime->private_data = NULL; in emu8k_pcm_close()
384 static int emu8k_pcm_trigger(struct snd_pcm_substream *subs, int cmd) in emu8k_pcm_trigger() argument
386 struct snd_emu8k_pcm *rec = subs->runtime->private_data; in emu8k_pcm_trigger()
441 static int emu8k_pcm_copy(struct snd_pcm_substream *subs, in emu8k_pcm_copy() argument
[all …]
/linux-4.4.14/sound/pci/mixart/
Dmixart.c429 static int snd_mixart_trigger(struct snd_pcm_substream *subs, int cmd) in snd_mixart_trigger() argument
431 struct mixart_stream *stream = subs->runtime->private_data; in snd_mixart_trigger()
436 dev_dbg(subs->pcm->card->dev, "SNDRV_PCM_TRIGGER_START\n"); in snd_mixart_trigger()
453 dev_dbg(subs->pcm->card->dev, "SNDRV_PCM_TRIGGER_STOP\n"); in snd_mixart_trigger()
460 dev_dbg(subs->pcm->card->dev, "SNDRV_PCM_PAUSE_PUSH\n"); in snd_mixart_trigger()
465 dev_dbg(subs->pcm->card->dev, "SNDRV_PCM_PAUSE_RELEASE\n"); in snd_mixart_trigger()
490 static int snd_mixart_prepare(struct snd_pcm_substream *subs) in snd_mixart_prepare() argument
492 struct snd_mixart *chip = snd_pcm_substream_chip(subs); in snd_mixart_prepare()
493 struct mixart_stream *stream = subs->runtime->private_data; in snd_mixart_prepare()
504 chip->mgr->sample_rate = subs->runtime->rate; in snd_mixart_prepare()
[all …]
/linux-4.4.14/sound/drivers/vx/
Dvx_pcm.c526 static int vx_pcm_playback_open(struct snd_pcm_substream *subs) in vx_pcm_playback_open() argument
528 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_open()
529 struct vx_core *chip = snd_pcm_substream_chip(subs); in vx_pcm_playback_open()
537 audio = subs->pcm->device * 2; in vx_pcm_playback_open()
553 pipe->substream = subs; in vx_pcm_playback_open()
570 static int vx_pcm_playback_close(struct snd_pcm_substream *subs) in vx_pcm_playback_close() argument
572 struct vx_core *chip = snd_pcm_substream_chip(subs); in vx_pcm_playback_close()
575 if (! subs->runtime->private_data) in vx_pcm_playback_close()
578 pipe = subs->runtime->private_data; in vx_pcm_playback_close()
691 struct snd_pcm_substream *subs, in vx_pcm_playback_transfer() argument
[all …]
/linux-4.4.14/sound/ppc/
Dpmac.c127 static int snd_pmac_pcm_hw_params(struct snd_pcm_substream *subs, in snd_pmac_pcm_hw_params() argument
130 return snd_pcm_lib_malloc_pages(subs, params_buffer_bytes(hw_params)); in snd_pmac_pcm_hw_params()
136 static int snd_pmac_pcm_hw_free(struct snd_pcm_substream *subs) in snd_pmac_pcm_hw_free() argument
138 snd_pcm_lib_free_pages(subs); in snd_pmac_pcm_hw_free()
211 …nd_pmac_pcm_prepare(struct snd_pmac *chip, struct pmac_stream *rec, struct snd_pcm_substream *subs) in snd_pmac_pcm_prepare() argument
215 struct snd_pcm_runtime *runtime = subs->runtime; in snd_pmac_pcm_prepare()
220 rec->dma_size = snd_pcm_lib_buffer_bytes(subs); in snd_pmac_pcm_prepare()
221 rec->period_size = snd_pcm_lib_period_bytes(subs); in snd_pmac_pcm_prepare()
276 struct snd_pcm_substream *subs, int cmd) in snd_pmac_pcm_trigger() argument
286 command = (subs->stream == SNDRV_PCM_STREAM_PLAYBACK ? in snd_pmac_pcm_trigger()
[all …]
/linux-4.4.14/firmware/av7110/
DBoot.S39 subs pc, r14, #4 // SWI
40 subs pc, r14, #4 // prefetch abort
41 subs pc, r14, #8 // data abort
42 subs pc, r14, #4 // reserved
43 subs pc, r14, #4 // IRQ
44 subs pc, r14, #4 // FIQ
91 subs r2, r2, #1
/linux-4.4.14/sound/core/seq/oss/
Dseq_oss_midi.c330 struct snd_seq_port_subscribe subs; in snd_seq_oss_midi_open() local
360 memset(&subs, 0, sizeof(subs)); in snd_seq_oss_midi_open()
363 subs.sender = dp->addr; in snd_seq_oss_midi_open()
364 subs.dest.client = mdev->client; in snd_seq_oss_midi_open()
365 subs.dest.port = mdev->port; in snd_seq_oss_midi_open()
366 if (snd_seq_kernel_client_ctl(dp->cseq, SNDRV_SEQ_IOCTL_SUBSCRIBE_PORT, &subs) >= 0) in snd_seq_oss_midi_open()
370 subs.sender.client = mdev->client; in snd_seq_oss_midi_open()
371 subs.sender.port = mdev->port; in snd_seq_oss_midi_open()
372 subs.dest = dp->addr; in snd_seq_oss_midi_open()
373 subs.flags = SNDRV_SEQ_PORT_SUBS_TIMESTAMP; in snd_seq_oss_midi_open()
[all …]
Dseq_oss_init.c112 struct snd_seq_port_subscribe subs; in snd_seq_oss_create_client() local
114 memset(&subs, 0, sizeof(subs)); in snd_seq_oss_create_client()
115 subs.sender.client = SNDRV_SEQ_CLIENT_SYSTEM; in snd_seq_oss_create_client()
116 subs.sender.port = SNDRV_SEQ_PORT_SYSTEM_ANNOUNCE; in snd_seq_oss_create_client()
117 subs.dest.client = system_client; in snd_seq_oss_create_client()
118 subs.dest.port = system_port; in snd_seq_oss_create_client()
119 call_ctl(SNDRV_SEQ_IOCTL_SUBSCRIBE_PORT, &subs); in snd_seq_oss_create_client()
/linux-4.4.14/sound/pci/pcxhr/
Dpcxhr.c640 struct snd_pcm_substream *subs = stream->substream; in pcxhr_update_r_buffer() local
641 struct snd_pcxhr *chip = snd_pcm_substream_chip(subs); in pcxhr_update_r_buffer()
643 is_capture = (subs->stream == SNDRV_PCM_STREAM_CAPTURE); in pcxhr_update_r_buffer()
644 stream_num = is_capture ? 0 : subs->number; in pcxhr_update_r_buffer()
649 chip->chip_idx, (void *)(long)subs->runtime->dma_addr, in pcxhr_update_r_buffer()
650 subs->runtime->dma_bytes, subs->number); in pcxhr_update_r_buffer()
657 snd_BUG_ON(subs->runtime->dma_bytes >= 0x200000); in pcxhr_update_r_buffer()
659 rmh.cmd[1] = subs->runtime->dma_bytes * 8; in pcxhr_update_r_buffer()
661 rmh.cmd[2] = subs->runtime->dma_addr >> 24; in pcxhr_update_r_buffer()
665 rmh.cmd[3] = subs->runtime->dma_addr & MASK_DSP_WORD; in pcxhr_update_r_buffer()
[all …]
/linux-4.4.14/sound/firewire/digi00x/
Ddigi00x-midi.c158 struct snd_rawmidi_substream *subs; in set_midi_substream_names() local
160 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
162 snprintf(subs->name, sizeof(subs->name), in set_midi_substream_names()
164 dg00x->card->shortname, subs->number + 1); in set_midi_substream_names()
167 snprintf(subs->name, sizeof(subs->name), in set_midi_substream_names()
/linux-4.4.14/drivers/spi/
Dspi-s3c24xx-fiq.S52 subs fiq_rcount, fiq_rcount, #1
58 subs pc, lr, #4
79 subs fiq_rcount, fiq_rcount, #1
84 subs pc, lr, #4
104 subs fiq_rcount, fiq_rcount, #1
109 subs pc, lr, #4
/linux-4.4.14/sound/pci/
Dmaestro3.c1061 struct snd_pcm_substream *subs) in snd_m3_pcm_start() argument
1063 if (! s || ! subs) in snd_m3_pcm_start()
1067 switch (subs->stream) { in snd_m3_pcm_start()
1088 struct snd_pcm_substream *subs) in snd_m3_pcm_stop() argument
1090 if (! s || ! subs) in snd_m3_pcm_stop()
1096 switch (subs->stream) { in snd_m3_pcm_stop()
1112 snd_m3_pcm_trigger(struct snd_pcm_substream *subs, int cmd) in snd_m3_pcm_trigger() argument
1114 struct snd_m3 *chip = snd_pcm_substream_chip(subs); in snd_m3_pcm_trigger()
1115 struct m3_dma *s = subs->runtime->private_data; in snd_m3_pcm_trigger()
1129 err = snd_m3_pcm_start(chip, s, subs); in snd_m3_pcm_trigger()
[all …]
Dcmipci.c1203 static void setup_ac3(struct cmipci *cm, struct snd_pcm_substream *subs, int do_ac3, int rate) in setup_ac3() argument
1235 if (snd_pcm_format_width(subs->runtime->format) > 16) { in setup_ac3()
1250 static int setup_spdif_playback(struct cmipci *cm, struct snd_pcm_substream *subs, int up, int do_a… in setup_spdif_playback() argument
1254 rate = subs->runtime->rate; in setup_spdif_playback()
1268 setup_ac3(cm, subs, do_ac3, rate); in setup_spdif_playback()
1284 setup_ac3(cm, subs, 0, 0); in setup_spdif_playback()
1427 static int snd_cmipci_capture_spdif_hw_free(struct snd_pcm_substream *subs) in snd_cmipci_capture_spdif_hw_free() argument
1429 struct cmipci *cm = snd_pcm_substream_chip(subs); in snd_cmipci_capture_spdif_hw_free()
1436 return snd_cmipci_hw_free(subs); in snd_cmipci_capture_spdif_hw_free()
1611 static int open_device_check(struct cmipci *cm, int mode, struct snd_pcm_substream *subs) in open_device_check() argument
[all …]
Dintel8x0.c2762 struct snd_pcm_substream *subs; in intel8x0_measure_ac97_clock() local
2773 subs = chip->pcm[0]->streams[0].substream; in intel8x0_measure_ac97_clock()
2774 if (! subs || subs->dma_buffer.bytes < INTEL8X0_TESTBUF_SIZE) { in intel8x0_measure_ac97_clock()
2780 ichdev->physbuf = subs->dma_buffer.addr; in intel8x0_measure_ac97_clock()
Des1968.c1868 struct snd_pcm_substream *subs = es->substream; in snd_es1968_update_pcm() local
1870 if (subs == NULL || !es->running) in snd_es1968_update_pcm()
1883 snd_pcm_period_elapsed(subs); in snd_es1968_update_pcm()
/linux-4.4.14/sound/firewire/dice/
Ddice-midi.c96 struct snd_rawmidi_substream *subs; in set_midi_substream_names() local
98 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
99 snprintf(subs->name, sizeof(subs->name), in set_midi_substream_names()
100 "%s MIDI %d", dice->card->shortname, subs->number + 1); in set_midi_substream_names()
/linux-4.4.14/arch/arm/mm/
Dproc-arm940.S117 subs r3, r3, #1 << 26
119 subs r1, r1, #1 << 4
167 subs r3, r3, #1 << 26
169 subs r1, r1, #1 << 4
189 subs r3, r3, #1 << 26
191 subs r1, r1, #1 << 4
212 subs r3, r3, #1 << 26
214 subs r1, r1, #1 << 4
239 subs r3, r3, #1 << 26
241 subs r1, r1, #1 << 4
Dproc-arm922.S149 subs r3, r3, #1 << 26
151 subs r1, r1, #1 << 5
336 subs r1, r1, #CACHE_DLINESIZE
364 subs r3, r3, #1 << 26
366 subs r1, r1, #1 << 5
Dproc-arm1020e.S159 subs r3, r3, #1 << 26
161 subs r1, r1, #1 << 5
367 subs r1, r1, #CACHE_DLINESIZE
392 subs r3, r3, #1
395 subs r1, r1, #1
Dproc-arm1022.S149 subs r3, r3, #1 << 26
151 subs r1, r1, #1 << 5
358 subs r1, r1, #CACHE_DLINESIZE
379 subs r3, r3, #1 << 26
381 subs r1, r1, #1 << 5
Dproc-arm920.S147 subs r3, r3, #1 << 26
149 subs r1, r1, #1 << 5
333 subs r1, r1, #CACHE_DLINESIZE
360 subs r3, r3, #1 << 26
362 subs r1, r1, #1 << 5
Dproc-arm1020.S160 subs r3, r3, #1 << 26
162 subs r1, r1, #1 << 5
382 subs r1, r1, #CACHE_DLINESIZE
408 subs r3, r3, #1
411 subs r1, r1, #1
Dproc-arm946.S112 subs r3, r3, #1 << 4
114 subs r1, r1, #1 << 29
323 subs r1, r1, #CACHE_DLINESIZE
Dproc-arm925.S185 subs r3, r3, #1 << 4
389 subs r1, r1, #CACHE_DLINESIZE
414 subs r3, r3, #1 << 4
Dproc-feroceon.S163 subs ip, ip, #(1 << 30) @ next way
165 subs r1, r1, #(1 << 5) @ next set
454 subs r1, r1, #CACHE_DLINESIZE
460 subs r3, r3, #CACHE_DLINESIZE
Dpv-fixup-asm.S63 subs r6, r6, #1
Dcache-v7.S54 2: subs r3, r3, #1 @ Temp--
158 subs r9, r9, #1 @ decrement the index
160 subs r4, r4, #1 @ decrement the way
Dproc-sa110.S122 subs r1, r1, #DCACHELINESIZE
Dproc-fa526.S90 subs r1, r1, #CACHE_DLINESIZE
Dproc-xsc3.S74 subs \rd, \rd, #0x20
349 subs r1, r1, #CACHELINESIZE
Dproc-sa1100.S132 subs r1, r1, #DCACHELINESIZE
Dproc-v6.S85 subs r1, r1, #D_CACHE_LINE_SIZE
Dproc-arm1026.S352 subs r1, r1, #CACHE_DLINESIZE
Dproc-mohawk.S315 subs r1, r1, #CACHE_DLINESIZE
Dproc-arm926.S352 subs r1, r1, #CACHE_DLINESIZE
Dproc-xscale.S459 subs r1, r1, #CACHELINESIZE
Dproc-v7.S84 subs r1, r1, r2
/linux-4.4.14/sound/firewire/fireworks/
Dfireworks_midi.c117 struct snd_rawmidi_substream *subs; in set_midi_substream_names() local
119 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
120 snprintf(subs->name, sizeof(subs->name), in set_midi_substream_names()
121 "%s MIDI %d", efw->card->shortname, subs->number + 1); in set_midi_substream_names()
/linux-4.4.14/sound/firewire/bebob/
Dbebob_midi.c116 struct snd_rawmidi_substream *subs; in set_midi_substream_names() local
118 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
119 snprintf(subs->name, sizeof(subs->name), in set_midi_substream_names()
121 bebob->card->shortname, subs->number + 1); in set_midi_substream_names()
/linux-4.4.14/sound/firewire/oxfw/
Doxfw-midi.c134 struct snd_rawmidi_substream *subs; in set_midi_substream_names() local
136 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
137 snprintf(subs->name, sizeof(subs->name), in set_midi_substream_names()
139 oxfw->card->shortname, subs->number + 1); in set_midi_substream_names()
/linux-4.4.14/arch/arm64/crypto/
Daes-ce-ccm-core.S27 subs w2, w2, #1
51 subs w7, w7, #3
57 subs w2, w2, #16 /* last data? */
72 subs w2, w2, #1
113 subs w3, w3, #3
158 subs w7, w7, #3
167 subs w2, w2, #16
201 subs w2, w2, #1
Daes-modes.S121 subs w4, w4, #INTERLEAVE
141 subs w4, w4, #1
157 subs w4, w4, #INTERLEAVE
177 subs w4, w4, #1
203 subs w4, w4, #1
218 subs w4, w4, #INTERLEAVE
255 subs w4, w4, #1
290 subs w4, w4, #INTERLEAVE
345 subs w4, w4, #1
407 subs w4, w4, #INTERLEAVE
[all …]
Daes-neon.S93 subs \i, \i, #1
241 subs \i, \i, #1
270 subs \i, \i, #1
/linux-4.4.14/arch/arm64/lib/
Dmemcmp.S78 subs limit_wd, limit_wd, #1
147 subs tmp3, tmp1, tmp2
155 subs pos, pos, #1
181 subs limit_wd, limit_wd, #1
208 subs limit_wd, limit_wd, #1
249 subs limit, limit, #1
Dstrncmp.S92 subs limit_wd, limit_wd, #1
165 subs tmp3, tmp1, tmp2
174 subs pos, pos, #1
199 subs limit_wd, limit_wd, #1
234 subs limit_wd, limit_wd, #1
299 subs limit, limit, #1
Dclear_user.S39 subs x1, x1, #8
43 subs x1, x1, #8
Dmemset.S140 subs count, count, #64
202 subs tmp2, tmp2, #64
213 subs count, count, zva_len_x
Dmemchr.S35 1: subs x2, x2, #1
Dcopy_template.S141 subs count, count, #128
184 subs count, count, #64
Dmemmove.S146 subs count, count, #128
189 subs count, count, #64
Dstrcmp.S121 subs tmp3, tmp1, tmp2
126 subs pos, pos, #1
Dstrnlen.S92 subs limit_wd, limit_wd, #1
/linux-4.4.14/arch/arm/crypto/
Daes-ce-core.S170 subs r4, r4, #3
185 subs r4, r4, #1
196 subs r4, r4, #3
211 subs r4, r4, #1
233 subs r4, r4, #1
245 subs r4, r4, #3
270 subs r4, r4, #1
291 subs r4, r4, #3
320 subs r4, r4, #1
406 subs r4, r4, #3
[all …]
Daesbs-core.S_shipped369 subs r5,r5,#1
856 subs r5,r5,#1
1045 subs r5,r5,#1
1122 subs r2, r2, #0x8
1413 subs r2, r2, #8
1531 subs r6, r6, #1
1605 subs r9, #0x80
1707 subs r9, #0x80
1731 subs r9, #0x10
1740 subs r9, #0x10
[all …]
Dghash-ce-core.S59 subs r0, r0, #1
Dsha2-ce-core.S82 subs r2, r2, #1
Dsha1-ce-core.S80 subs r2, r2, #1
Daes-armv4.S320 subs r12,r12,#1
486 subs r12,r12,#1
550 subs r12,r12,#1
619 subs r12,r12,#1
734 subs r12,r12,#1
1015 subs r12,r12,#1
Dsha1-armv7-neon.S535 subs RNBLKS, #1;
Dsha512-core.S_shipped1135 subs r12,#1
/linux-4.4.14/arch/arm/include/debug/
Dicedcc.S33 subs \rd, \rd, #1
57 subs \rd, \rd, #1
82 subs \rd, \rd, #1
/linux-4.4.14/arch/h8300/kernel/
Dentry.S109 subs #2,sp /* set dummy ccr */
110 subs #4,sp /* set dummp sp */
228 subs #4,er1 /* adjust ret_pc */
236 subs #4,sp /* dummy LVEC */
305 subs #4,er0 /* er0: pt_regs */
379 subs #4,sp
391 subs #2,er1
400 subs #4, sp
Dhead_rom.S73 subs #1,er3
/linux-4.4.14/arch/arm/mach-imx/
Dsuspend-imx53.S61 subs r1, r1, #1
93 subs r1, r1, #1
116 subs r1, r1, #1
Dsuspend-imx6.S109 subs r6, r6, #0x1
221 subs r7, r7, #0x1
291 subs r6, r6, #0x1
Dssi-fiq.S133 subs pc, lr, #4
/linux-4.4.14/arch/arm/mach-davinci/
Dsleep.S75 1: subs ip, ip, #0x1
97 2: subs ip, ip, #0x1
131 3: subs ip, ip, #0x1
141 4: subs ip, ip, #0x1
/linux-4.4.14/drivers/media/pci/cx18/
Dcx18-alsa-pcm.c231 static int snd_pcm_alloc_vmalloc_buffer(struct snd_pcm_substream *subs, in snd_pcm_alloc_vmalloc_buffer() argument
234 struct snd_pcm_runtime *runtime = subs->runtime; in snd_pcm_alloc_vmalloc_buffer()
306 static struct page *snd_pcm_get_vmalloc_page(struct snd_pcm_substream *subs, in snd_pcm_get_vmalloc_page() argument
309 void *pageptr = subs->runtime->dma_area + offset; in snd_pcm_get_vmalloc_page()
/linux-4.4.14/drivers/media/pci/ivtv/
Divtv-alsa-pcm.c238 static int snd_pcm_alloc_vmalloc_buffer(struct snd_pcm_substream *subs, in snd_pcm_alloc_vmalloc_buffer() argument
241 struct snd_pcm_runtime *runtime = subs->runtime; in snd_pcm_alloc_vmalloc_buffer()
313 static struct page *snd_pcm_get_vmalloc_page(struct snd_pcm_substream *subs, in snd_pcm_get_vmalloc_page() argument
316 void *pageptr = subs->runtime->dma_area + offset; in snd_pcm_get_vmalloc_page()
/linux-4.4.14/arch/arm/mach-omap2/
Dsleep24xx.S80 subs r5, r5, #0x1 @ awake, wait just a bit
96 subs r5, r5, #0x1
Dsram242x.S102 subs r4, r4, #0x1
196 subs r1, r1, #0x1
276 subs r4, r4, #1 @ dec loop
290 subs r0, r0, #1 @ dec loop
312 subs r4, r4, #0x1
Dsram243x.S102 subs r4, r4, #0x1
196 subs r1, r1, #0x1
276 subs r4, r4, #1 @ dec loop
290 subs r0, r0, #1 @ dec loop
312 subs r4, r4, #0x1
Dsleep34xx.S311 subs r6, r6, #0x1
393 subs r2, r2, #0x1 @ num_words--
/linux-4.4.14/arch/arm/mach-rpc/
Dfiq.S15 subs pc, lr, #4
/linux-4.4.14/drivers/media/pci/bt8xx/
Dbttv-gpio.c105 list_add_tail(&sub->list,&core->subs); in bttv_sub_add_device()
113 list_for_each_entry_safe(sub, save, &core->subs, list) { in bttv_sub_del_devices()
Dbttv.h208 struct list_head subs; /* struct bttv_sub_device */ member
Dbttv-driver.c4038 INIT_LIST_HEAD(&btv->c.subs); in bttv_probe()
/linux-4.4.14/drivers/media/pci/cobalt/
Dcobalt-alsa-pcm.c260 static int snd_pcm_alloc_vmalloc_buffer(struct snd_pcm_substream *subs, in snd_pcm_alloc_vmalloc_buffer() argument
263 struct snd_pcm_runtime *runtime = subs->runtime; in snd_pcm_alloc_vmalloc_buffer()
505 static struct page *snd_pcm_get_vmalloc_page(struct snd_pcm_substream *subs, in snd_pcm_get_vmalloc_page() argument
508 void *pageptr = subs->runtime->dma_area + offset; in snd_pcm_get_vmalloc_page()
/linux-4.4.14/drivers/media/usb/cx231xx/
Dcx231xx-audio.c390 static int snd_pcm_alloc_vmalloc_buffer(struct snd_pcm_substream *subs, in snd_pcm_alloc_vmalloc_buffer() argument
393 struct snd_pcm_runtime *runtime = subs->runtime; in snd_pcm_alloc_vmalloc_buffer()
394 struct cx231xx *dev = snd_pcm_substream_chip(subs); in snd_pcm_alloc_vmalloc_buffer()
627 static struct page *snd_pcm_get_vmalloc_page(struct snd_pcm_substream *subs, in snd_pcm_get_vmalloc_page() argument
630 void *pageptr = subs->runtime->dma_area + offset; in snd_pcm_get_vmalloc_page()
/linux-4.4.14/arch/arm/kernel/
Drelocate_kernel.S53 subs r6,r6,#1
Dhead.S215 subs r6, r6, #1
/linux-4.4.14/sound/pci/ymfpci/
Dymfpci_main.c336 unsigned int subs = ypcm->substream->number; in snd_ymfpci_pcm_interrupt() local
342 volume = cpu_to_le32(chip->pcm_mixer[subs].left << 15); in snd_ymfpci_pcm_interrupt()
348 volume = cpu_to_le32(chip->pcm_mixer[subs].right << 15); in snd_ymfpci_pcm_interrupt()
1742 unsigned int subs = kcontrol->id.subdevice; in snd_ymfpci_pcm_vol_get() local
1744 ucontrol->value.integer.value[0] = chip->pcm_mixer[subs].left; in snd_ymfpci_pcm_vol_get()
1745 ucontrol->value.integer.value[1] = chip->pcm_mixer[subs].right; in snd_ymfpci_pcm_vol_get()
1753 unsigned int subs = kcontrol->id.subdevice; in snd_ymfpci_pcm_vol_put() local
1757 if (ucontrol->value.integer.value[0] != chip->pcm_mixer[subs].left || in snd_ymfpci_pcm_vol_put()
1758 ucontrol->value.integer.value[1] != chip->pcm_mixer[subs].right) { in snd_ymfpci_pcm_vol_put()
1759 chip->pcm_mixer[subs].left = ucontrol->value.integer.value[0]; in snd_ymfpci_pcm_vol_put()
[all …]
/linux-4.4.14/drivers/scsi/arm/
Dacornscsi-io.S30 subs r2, r2, #16
82 subs r2, r2, #16
/linux-4.4.14/sound/soc/kirkwood/
Dkirkwood-dma.c24 static struct kirkwood_dma_data *kirkwood_priv(struct snd_pcm_substream *subs) in kirkwood_priv() argument
26 struct snd_soc_pcm_runtime *soc_runtime = subs->private_data; in kirkwood_priv()
/linux-4.4.14/arch/h8300/lib/
Dmemcpy.S47 subs #4,er2
Dudivsi3.S61 subs #1,er0 ; er0 = AQ - 1
/linux-4.4.14/arch/arm/boot/bootp/
Dinit.S70 subs r6, r6, #8 * 4
/linux-4.4.14/drivers/media/usb/tm6000/
Dtm6000-alsa.c380 static struct page *snd_pcm_get_vmalloc_page(struct snd_pcm_substream *subs, in snd_pcm_get_vmalloc_page() argument
383 void *pageptr = subs->runtime->dma_area + offset; in snd_pcm_get_vmalloc_page()
/linux-4.4.14/drivers/media/usb/em28xx/
Dem28xx-audio.c197 static int snd_pcm_alloc_vmalloc_buffer(struct snd_pcm_substream *subs, in snd_pcm_alloc_vmalloc_buffer() argument
200 struct snd_pcm_runtime *runtime = subs->runtime; in snd_pcm_alloc_vmalloc_buffer()
468 static struct page *snd_pcm_get_vmalloc_page(struct snd_pcm_substream *subs, in snd_pcm_get_vmalloc_page() argument
471 void *pageptr = subs->runtime->dma_area + offset; in snd_pcm_get_vmalloc_page()
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_ioctl.h80 unsigned int subs; member
/linux-4.4.14/sound/usb/caiaq/
Daudio.c93 all_substreams_zero(struct snd_pcm_substream **subs) in all_substreams_zero() argument
97 if (subs[i] != NULL) in all_substreams_zero()
355 struct snd_pcm_substream **subs) in check_for_elapsed_periods() argument
361 sub = subs[stream]; in check_for_elapsed_periods()
/linux-4.4.14/arch/arm/boot/compressed/
Dhead.S354 subs r1, r5, r1
1115 subs r3, r3, #1 << 26
1117 subs r1, r1, #1 << 5
1186 subs r9, r9, #1 @ decrement the way
1188 subs r7, r7, #1 @ decrement the index
1270 1: subs r1, r1, #1
1288 3: subs r1, r1, #1
Dhead-sharpsl.S48 subs r5, r5, #1
/linux-4.4.14/sound/usb/misc/
Dua101.c879 static snd_pcm_uframes_t capture_pcm_pointer(struct snd_pcm_substream *subs) in capture_pcm_pointer() argument
881 struct ua101 *ua = subs->private_data; in capture_pcm_pointer()
886 static snd_pcm_uframes_t playback_pcm_pointer(struct snd_pcm_substream *subs) in playback_pcm_pointer() argument
888 struct ua101 *ua = subs->private_data; in playback_pcm_pointer()
/linux-4.4.14/arch/arm/mach-pxa/
Dsleep.S154 10: subs r0, r0, #1
/linux-4.4.14/arch/arm64/include/asm/
Dinsn.h245 __AARCH64_INSN_FUNCS(subs, 0x7F200000, 0x6B000000)
/linux-4.4.14/arch/arm/include/asm/
Datomic.h325 ATOMIC64_OPS(sub, subs, sbc) in ATOMIC64_OPS()
/linux-4.4.14/arch/arm/mach-omap1/
Dams-delta-fiq-handler.S120 subs pc, lr, #4 @ return from FIQ
Dsleep.S195 subs r5, r5, #1
/linux-4.4.14/arch/arm/kvm/
Dinterrupts_head.S456 subs r4, r4, #1
495 subs r4, r4, #1
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dclass_obd.c177 libcfs_subsystem_debug = debug_data->subs; in class_handle_ioctl()
/linux-4.4.14/Documentation/hwmon/
Dasc762119 volume production, shipping to Intel and their subs.
/linux-4.4.14/arch/arm/mach-tegra/
Dsleep-tegra30.S192 subs r3, r3, #1 @ delay as a part of wfe war.
/linux-4.4.14/drivers/media/platform/s5p-jpeg/
Djpeg-core.c549 enum v4l2_jpeg_chroma_subsampling subs, in s5p_jpeg_adjust_fourcc_to_subsampling() argument
/linux-4.4.14/drivers/net/wireless/
Datmel.c4409 subs r0, r0, #1