| /linux/sound/usb/ |
| H A D | pcm.c | 32 static snd_pcm_uframes_t snd_usb_pcm_delay(struct snd_usb_substream *subs, in snd_usb_pcm_delay() argument 40 if (subs->direction == SNDRV_PCM_STREAM_PLAYBACK) { in snd_usb_pcm_delay() 41 queued = bytes_to_frames(runtime, subs->inflight_bytes); in snd_usb_pcm_delay() 44 } else if (!subs->running) { in snd_usb_pcm_delay() 48 current_frame_number = usb_get_current_frame_number(subs->dev); in snd_usb_pcm_delay() 54 frame_diff = (current_frame_number - subs->last_frame_number) & 0xff; in snd_usb_pcm_delay() 60 if (subs->direction == SNDRV_PCM_STREAM_PLAYBACK) { in snd_usb_pcm_delay() 75 struct snd_usb_substream *subs = runtime->private_data; in snd_usb_pcm_pointer() local 78 if (atomic_read(&subs->stream->chip->shutdown)) in snd_usb_pcm_pointer() 80 scoped_guard(spinlock, &subs in snd_usb_pcm_pointer() 93 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) find_format() argument 154 snd_usb_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) snd_usb_find_format() argument 162 find_substream_format(struct snd_usb_substream * subs,const struct snd_pcm_hw_params * params) find_substream_format() argument 171 snd_usb_find_substream_format(struct snd_usb_substream * subs,const struct snd_pcm_hw_params * params) snd_usb_find_substream_format() argument 178 snd_usb_pcm_has_fixed_rate(struct snd_usb_substream * subs) snd_usb_pcm_has_fixed_rate() argument 268 stop_endpoints(struct snd_usb_substream * subs,bool keep_pending) stop_endpoints() argument 283 start_endpoints(struct snd_usb_substream * subs) start_endpoints() argument 314 sync_pending_stops(struct snd_usb_substream * subs) sync_pending_stops() argument 323 struct snd_usb_substream *subs = substream->runtime->private_data; snd_usb_pcm_sync_stop() local 419 snd_usb_pcm_change_state(struct snd_usb_substream * subs,int state) snd_usb_pcm_change_state() argument 468 close_endpoints(struct snd_usb_audio * chip,struct snd_usb_substream * subs) close_endpoints() argument 482 snd_usb_hw_params(struct snd_usb_substream * subs,struct snd_pcm_hw_params * hw_params) snd_usb_hw_params() argument 604 struct snd_usb_substream *subs = substream->runtime->private_data; snd_usb_pcm_hw_params() local 609 snd_usb_hw_free(struct snd_usb_substream * subs) snd_usb_hw_free() argument 635 struct snd_usb_substream *subs = substream->runtime->private_data; snd_usb_pcm_hw_free() local 648 lowlatency_playback_available(struct snd_pcm_runtime * runtime,struct snd_usb_substream * subs) lowlatency_playback_available() argument 673 struct snd_usb_substream *subs = runtime->private_data; snd_usb_pcm_prepare() local 754 hw_check_valid_format(struct snd_usb_substream * subs,struct snd_pcm_hw_params * params,const struct audioformat * fp) hw_check_valid_format() argument 847 struct snd_usb_substream *subs = rule->private; hw_rule_rate() local 913 struct snd_usb_substream *subs = rule->private; hw_rule_channels() local 952 struct snd_usb_substream *subs = rule->private; hw_rule_format() local 993 struct snd_usb_substream *subs = rule->private; hw_rule_period_time() local 1021 struct snd_usb_substream *subs = rule->private; hw_rule_period_size_implicit_fb() local 1066 struct snd_usb_substream *subs = rule->private; hw_rule_periods_implicit_fb() local 1112 setup_hw_info(struct snd_pcm_runtime * runtime,struct snd_usb_substream * subs) setup_hw_info() argument 1240 struct snd_usb_substream *subs = &as->substream[direction]; snd_usb_pcm_open() local 1290 struct snd_usb_substream *subs = &as->substream[direction]; snd_usb_pcm_close() local 1319 retire_capture_urb(struct snd_usb_substream * subs,struct urb * urb) retire_capture_urb() argument 1387 urb_ctx_queue_advance(struct snd_usb_substream * subs,struct urb * urb,unsigned int bytes) urb_ctx_queue_advance() argument 1399 fill_playback_urb_dsd_dop(struct snd_usb_substream * subs,struct urb * urb,unsigned int bytes) fill_playback_urb_dsd_dop() argument 1456 fill_playback_urb_dsd_bitrev(struct snd_usb_substream * subs,struct urb * urb,unsigned int bytes) fill_playback_urb_dsd_bitrev() argument 1473 copy_to_urb(struct snd_usb_substream * subs,struct urb * urb,int offset,int stride,unsigned int bytes) copy_to_urb() argument 1494 copy_to_urb_quirk(struct snd_usb_substream * subs,struct urb * urb,int stride,unsigned int bytes) copy_to_urb_quirk() argument 1520 prepare_playback_urb(struct snd_usb_substream * subs,struct urb * urb,bool in_stream_lock) prepare_playback_urb() argument 1648 retire_playback_urb(struct snd_usb_substream * subs,struct urb * urb) retire_playback_urb() argument 1677 struct snd_usb_substream *subs = substream->runtime->private_data; snd_usb_pcm_playback_ack() local 1696 struct snd_usb_substream *subs = substream->runtime->private_data; snd_usb_substream_playback_trigger() local 1754 struct snd_usb_substream *subs = substream->runtime->private_data; snd_usb_substream_capture_trigger() local 1821 snd_usb_preallocate_buffer(struct snd_usb_substream * subs) snd_usb_preallocate_buffer() argument [all...] |
| H A D | stream.c | 42 static void free_substream(struct snd_usb_substream *subs) in free_substream() argument 46 if (!subs->num_formats) in free_substream() 48 list_for_each_entry_safe(fp, n, &subs->fmt_list, list) in free_substream() 50 kfree(subs->str_pd); in free_substream() 51 snd_media_stream_delete(subs); in free_substream() 84 struct snd_usb_substream *subs = &as->substream[stream]; in snd_usb_init_substream() local 86 INIT_LIST_HEAD(&subs->fmt_list); in snd_usb_init_substream() 87 spin_lock_init(&subs->lock); in snd_usb_init_substream() 89 subs->stream = as; in snd_usb_init_substream() 90 subs in snd_usb_init_substream() 123 struct snd_usb_substream *subs = info->private_data; usb_chmap_ctl_info() local 133 have_dup_chmap(struct snd_usb_substream * subs,struct audioformat * fp) have_dup_chmap() argument 150 struct snd_usb_substream *subs = info->private_data; usb_chmap_ctl_tlv() local 193 struct snd_usb_substream *subs = info->private_data; usb_chmap_ctl_get() local 210 add_chmap(struct snd_pcm * pcm,int stream,struct snd_usb_substream * subs) add_chmap() argument 503 struct snd_usb_substream *subs; __snd_usb_add_audio_stream() local [all...] |
| H A D | media.h | 56 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, in snd_media_stream_init() argument 69 static inline void snd_media_stream_delete(struct snd_usb_substream *subs) { } in snd_media_stream_delete() argument 70 static inline int snd_media_start_pipeline(struct snd_usb_substream *subs) in snd_media_start_pipeline() argument 72 static inline void snd_media_stop_pipeline(struct snd_usb_substream *subs) { } in snd_media_stop_pipeline() argument
|
| H A D | pcm.h | 13 void snd_usb_preallocate_buffer(struct snd_usb_substream *subs); 21 struct snd_usb_substream *subs); 23 snd_usb_find_substream_format(struct snd_usb_substream *subs, 26 int snd_usb_hw_params(struct snd_usb_substream *subs, 28 int snd_usb_hw_free(struct snd_usb_substream *subs);
|
| H A D | media.c | 33 int snd_media_stream_init(struct snd_usb_substream *subs, struct snd_pcm *pcm, in snd_media_stream_init() argument 44 mdev = subs->stream->chip->media_dev; in snd_media_stream_init() 48 if (subs->media_ctl) in snd_media_stream_init() 103 subs->media_ctl = mctl; in snd_media_stream_init() 117 void snd_media_stream_delete(struct snd_usb_substream *subs) in snd_media_stream_delete() argument 119 struct media_ctl *mctl = subs->media_ctl; in snd_media_stream_delete() 131 subs->media_ctl = NULL; in snd_media_stream_delete() 135 int snd_media_start_pipeline(struct snd_usb_substream *subs) in snd_media_start_pipeline() argument 137 struct media_ctl *mctl = subs->media_ctl; in snd_media_start_pipeline() 150 void snd_media_stop_pipeline(struct snd_usb_substream *subs) in snd_media_stop_pipeline() argument [all …]
|
| H A D | implicit.c | 406 static int match_endpoint_audioformats(struct snd_usb_substream *subs, in match_endpoint_audioformats() argument 443 struct snd_usb_substream *subs; in find_matching_substream() local 446 subs = &as->substream[stream]; in find_matching_substream() 447 if (as->fmt_type == fmt_type && subs->ep_num == ep_num) in find_matching_substream() 448 return subs; in find_matching_substream() 464 struct snd_usb_substream *subs; in snd_usb_find_implicit_fb_sync_format() local 473 subs = find_matching_substream(chip, stream, target->sync_ep, in snd_usb_find_implicit_fb_sync_format() 475 if (!subs) in snd_usb_find_implicit_fb_sync_format() 479 list_for_each_entry(fp, &subs->fmt_list, list) { in snd_usb_find_implicit_fb_sync_format() 480 score = match_endpoint_audioformats(subs, fp, in snd_usb_find_implicit_fb_sync_format() [all …]
|
| /linux/sound/usb/usx2y/ |
| H A D | usbusx2yaudio.c | 31 static int usx2y_urb_capt_retire(struct snd_usx2y_substream *subs) in usx2y_urb_capt_retire() argument 33 struct urb *urb = subs->completed_urb; in usx2y_urb_capt_retire() 34 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in usx2y_urb_capt_retire() 36 int i, len, lens = 0, hwptr_done = subs->hwptr_done; in usx2y_urb_capt_retire() 38 struct usx2ydev *usx2y = subs->usx2y; in usx2y_urb_capt_retire() 83 subs->hwptr_done = hwptr_done; 84 subs->transfer_done += lens; 86 if (subs->transfer_done >= runtime->period_size) { 87 subs->transfer_done %= runtime->period_size; 88 snd_pcm_period_elapsed(subs 91 usx2y_urb_play_prepare(struct snd_usx2y_substream * subs,struct urb * cap_urb,struct urb * urb) usx2y_urb_play_prepare() argument 148 usx2y_urb_play_retire(struct snd_usx2y_substream * subs,struct urb * urb) usx2y_urb_play_retire() argument 163 usx2y_urb_submit(struct snd_usx2y_substream * subs,struct urb * urb,int frame) usx2y_urb_submit() argument 236 struct snd_usx2y_substream *subs; usx2y_clients_stop() local 267 usx2y_error_urb_status(struct usx2ydev * usx2y,struct snd_usx2y_substream * subs,struct urb * urb) usx2y_error_urb_status() argument 277 struct snd_usx2y_substream *subs = urb->context; i_usx2y_urb_complete() local 315 struct snd_usx2y_substream *subs; usx2y_urbs_set_complete() local 339 struct snd_usx2y_substream *subs = urb->context; i_usx2y_subs_startup() local 354 usx2y_subs_prepare(struct snd_usx2y_substream * subs) usx2y_subs_prepare() argument 379 usx2y_urbs_release(struct snd_usx2y_substream * subs) usx2y_urbs_release() argument 395 usx2y_urbs_allocate(struct snd_usx2y_substream * subs) usx2y_urbs_allocate() argument 446 usx2y_subs_startup(struct snd_usx2y_substream * subs) usx2y_subs_startup() argument 456 usx2y_urbs_start(struct snd_usx2y_substream * subs) usx2y_urbs_start() argument 468 struct snd_usx2y_substream *subs = usx2y->subs[i]; usx2y_urbs_start() local 521 struct snd_usx2y_substream *subs = substream->runtime->private_data; snd_usx2y_pcm_pointer() local 531 struct snd_usx2y_substream *subs = substream->runtime->private_data; snd_usx2y_pcm_trigger() local 756 struct snd_usx2y_substream *subs; snd_usx2y_pcm_hw_params() local 790 struct snd_usx2y_substream *subs = runtime->private_data; snd_usx2y_pcm_hw_free() local 824 struct snd_usx2y_substream *subs = runtime->private_data; snd_usx2y_pcm_prepare() local 880 struct snd_usx2y_substream *subs = snd_usx2y_pcm_open() local 898 struct snd_usx2y_substream *subs = runtime->private_data; snd_usx2y_pcm_close() local [all...] |
| H A D | usx2yhwdeppcm.c | 49 static int usx2y_usbpcm_urb_capt_retire(struct snd_usx2y_substream *subs) in usx2y_usbpcm_urb_capt_retire() argument 51 struct urb *urb = subs->completed_urb; in usx2y_usbpcm_urb_capt_retire() 52 struct snd_pcm_runtime *runtime = subs->pcm_substream->runtime; in usx2y_usbpcm_urb_capt_retire() 53 int i, lens = 0, hwptr_done = subs->hwptr_done; in usx2y_usbpcm_urb_capt_retire() 54 struct usx2ydev *usx2y = subs->usx2y; in usx2y_usbpcm_urb_capt_retire() 76 subs->hwptr_done = hwptr_done; in usx2y_usbpcm_urb_capt_retire() 77 subs->transfer_done += lens; in usx2y_usbpcm_urb_capt_retire() 79 if (subs->transfer_done >= runtime->period_size) { in usx2y_usbpcm_urb_capt_retire() 80 subs->transfer_done -= runtime->period_size; in usx2y_usbpcm_urb_capt_retire() 81 snd_pcm_period_elapsed(subs->pcm_substream); in usx2y_usbpcm_urb_capt_retire() [all …]
|
| /linux/sound/usb/qcom/ |
| H A D | qc_audio_offload.c | 180 struct snd_usb_substream *subs = NULL; in usb_qmi_get_pcm_num() local 185 subs = &as->substream[direction]; in usb_qmi_get_pcm_num() 186 if (subs->ep_num) in usb_qmi_get_pcm_num() 216 struct snd_usb_substream *subs = NULL; in find_substream() local 232 subs = &as->substream[direction]; in find_substream() 238 return subs; in find_substream() 263 static int get_data_interval_from_si(struct snd_usb_substream *subs, in get_data_interval_from_si() argument 270 if (subs->dev->speed >= USB_SPEED_HIGH) in get_data_interval_from_si() 749 * @subs: usb substream 755 static void disable_audio_stream(struct snd_usb_substream *subs) in disable_audio_stream() argument 766 struct snd_usb_substream *subs; qmi_stop_session() local 958 enable_audio_stream(struct snd_usb_substream * subs,snd_pcm_format_t pcm_format,unsigned int channels,unsigned int cur_rate,int datainterval) enable_audio_stream() argument 1043 uaudio_transfer_buffer_setup(struct snd_usb_substream * subs,void ** xfer_buf_cpu,u32 xfer_buf_len,struct mem_info_v01 * mem_info) uaudio_transfer_buffer_setup() argument 1119 uaudio_endpoint_setup(struct snd_usb_substream * subs,struct snd_usb_endpoint * endpoint,int card_num,struct mem_info_v01 * mem_info,struct usb_endpoint_descriptor_v01 * ep_desc) uaudio_endpoint_setup() argument 1196 uaudio_event_ring_setup(struct snd_usb_substream * subs,int card_num,struct mem_info_v01 * mem_info) uaudio_event_ring_setup() argument 1267 uaudio_populate_uac_desc(struct snd_usb_substream * subs,struct qmi_uaudio_stream_resp_msg_v01 * resp) uaudio_populate_uac_desc() argument 1374 prepare_qmi_response(struct snd_usb_substream * subs,struct qmi_uaudio_stream_req_msg_v01 * req_msg,struct qmi_uaudio_stream_resp_msg_v01 * resp,int info_idx) prepare_qmi_response() argument 1554 struct snd_usb_substream *subs; handle_uaudio_stream_req() local 1754 struct snd_usb_substream *subs; qc_usb_audio_offload_fill_avail_pcms() local [all...] |
| /linux/sound/core/seq/ |
| H A D | seq_ports.c | 200 struct snd_seq_subscribers *subs, 224 struct snd_seq_subscribers *subs; in clear_subscriber_list() 226 subs = get_subscriber(p, is_src); in clear_subscriber_list() 230 get_client_port(&subs->info.dest, &c) : in clear_subscriber_list() 231 get_client_port(&subs->info.sender, &c); in clear_subscriber_list() 232 delete_and_unsubscribe_port(client, port, subs, is_src, false); in clear_subscriber_list() 239 if (atomic_dec_and_test(&subs->ref_count)) 240 kfree_rcu(subs, rcu); in port_delete() 245 delete_and_unsubscribe_port(c, aport, subs, !is_src, true); in port_delete() 246 kfree_rcu(subs, rc in port_delete() 213 struct snd_seq_subscribers *subs; clear_subscriber_list() local 486 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) check_and_subscribe_port() argument 531 __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) __delete_and_unsubscribe_port() argument 553 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) delete_and_unsubscribe_port() argument 571 struct snd_seq_subscribers *subs; snd_seq_port_connect() local 616 struct snd_seq_subscribers *subs; snd_seq_port_disconnect() local 647 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) snd_seq_port_get_subscription() argument [all...] |
| H A D | seq_clientmgr.c | 713 struct snd_seq_subscribers *subs; 737 hlist_for_each_entry_rcu(subs, &grp->list_head, src_list, in __deliver_to_subscribers() 740 if (atomic_read(&subs->ref_count) != 2) in __deliver_to_subscribers() 742 event->dest = subs->info.dest; in __deliver_to_subscribers() 743 if (subs->info.flags & SNDRV_SEQ_PORT_SUBS_TIMESTAMP) in __deliver_to_subscribers() 745 update_timestamp_of_queue(event, subs->info.queue, in __deliver_to_subscribers() 746 subs->info.flags & SNDRV_SEQ_PORT_SUBS_TIME_REAL); in __deliver_to_subscribers() 1439 struct snd_seq_port_subscribe *subs) 1441 if (client->number != subs->sender.client && in check_subscription_permission() 1442 client->number != subs in check_subscription_permission() 718 struct snd_seq_subscribers *subs; __deliver_to_subscribers() local 1444 check_subscription_permission(struct snd_seq_client * client,struct snd_seq_client_port * sport,struct snd_seq_client_port * dport,struct snd_seq_port_subscribe * subs) check_subscription_permission() argument 1496 struct snd_seq_port_subscribe *subs = arg; snd_seq_ioctl_subscribe_port() local 1535 struct snd_seq_port_subscribe *subs = arg; snd_seq_ioctl_unsubscribe_port() local 1940 struct snd_seq_port_subscribe *subs = arg; snd_seq_ioctl_get_subscription() local 1959 struct snd_seq_query_subs *subs = arg; snd_seq_ioctl_query_subs() local [all...] |
| /linux/sound/isa/sb/ |
| H A D | emu8000_pcm.c | 218 static int emu8k_pcm_open(struct snd_pcm_substream *subs) in emu8k_pcm_open() argument 220 struct snd_emu8000 *emu = snd_pcm_substream_chip(subs); in emu8k_pcm_open() 222 struct snd_pcm_runtime *runtime = subs->runtime; in emu8k_pcm_open() 229 rec->substream = subs; in emu8k_pcm_open() 246 static int emu8k_pcm_close(struct snd_pcm_substream *subs) in emu8k_pcm_close() argument 248 struct snd_emu8k_pcm *rec = subs->runtime->private_data; in emu8k_pcm_close() 250 subs->runtime->private_data = NULL; in emu8k_pcm_close() 371 static int emu8k_pcm_trigger(struct snd_pcm_substream *subs, int cmd) in emu8k_pcm_trigger() argument 373 struct snd_emu8k_pcm *rec = subs->runtime->private_data; in emu8k_pcm_trigger() 435 static int emu8k_pcm_copy(struct snd_pcm_substream *subs, in emu8k_pcm_copy() argument [all …]
|
| /linux/sound/pci/mixart/ |
| H A D | mixart.c | 416 static int snd_mixart_trigger(struct snd_pcm_substream *subs, int cmd) in snd_mixart_trigger() argument 418 struct mixart_stream *stream = subs->runtime->private_data; in snd_mixart_trigger() 423 dev_dbg(subs->pcm->card->dev, "SNDRV_PCM_TRIGGER_START\n"); in snd_mixart_trigger() 440 dev_dbg(subs->pcm->card->dev, "SNDRV_PCM_TRIGGER_STOP\n"); in snd_mixart_trigger() 447 dev_dbg(subs->pcm->card->dev, "SNDRV_PCM_PAUSE_PUSH\n"); in snd_mixart_trigger() 452 dev_dbg(subs->pcm->card->dev, "SNDRV_PCM_PAUSE_RELEASE\n"); in snd_mixart_trigger() 477 static int snd_mixart_prepare(struct snd_pcm_substream *subs) in snd_mixart_prepare() argument 479 struct snd_mixart *chip = snd_pcm_substream_chip(subs); in snd_mixart_prepare() 480 struct mixart_stream *stream = subs->runtime->private_data; in snd_mixart_prepare() 491 chip->mgr->sample_rate = subs in snd_mixart_prepare() 590 snd_mixart_hw_params(struct snd_pcm_substream * subs,struct snd_pcm_hw_params * hw) snd_mixart_hw_params() argument 646 snd_mixart_hw_free(struct snd_pcm_substream * subs) snd_mixart_hw_free() argument 701 snd_mixart_playback_open(struct snd_pcm_substream * subs) snd_mixart_playback_open() argument 773 snd_mixart_capture_open(struct snd_pcm_substream * subs) snd_mixart_capture_open() argument 848 snd_mixart_close(struct snd_pcm_substream * subs) snd_mixart_close() argument 880 snd_mixart_stream_pointer(struct snd_pcm_substream * subs) snd_mixart_stream_pointer() argument [all...] |
| /linux/arch/arm/lib/ |
| H A D | delay-loop.S | 48 subs r0, r0, #1 51 subs r0, r0, #1 53 subs r0, r0, #1 55 subs r0, r0, #1 57 subs r0, r0, #1 59 subs r0, r0, #1 61 subs r0, r0, #1 63 subs r0, r0, #1
|
| H A D | memmove.S | 31 subs ip, r0, r1 43 subs r2, r2, #4 51 1: subs r2, r2, #(28) 59 CALGN( subs r2, r2, ip ) @ C is set here 64 2: PLD( subs r2, r2, #96 ) 72 subs r2, r2, #32 121 subs r2, r2, ip 136 subs r2, r2, #28 147 PLD( subs r2, r2, #96 ) 156 subs r2, r2, #32 [all …]
|
| H A D | io-writesl.S | 16 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 D | copy_template.S | 77 subs r2, r2, #4 85 1: subs r2, r2, #(28) 94 CALGN( subs r2, r2, r3 ) @ C gets set 98 2: PLD( subs r2, r2, #96 ) 106 subs r2, r2, #32 170 subs r2, r2, ip 185 subs r2, r2, #28 197 PLD( subs r2, r2, #96 ) 206 subs r2, r2, #32 235 subs ip, ip, #4
|
| H A D | io-readsl.S | 16 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
|
| /linux/sound/core/seq/oss/ |
| H A D | seq_oss_midi.c | 313 struct snd_seq_port_subscribe subs; in snd_seq_oss_midi_open() 340 memset(&subs, 0, sizeof(subs)); in snd_seq_oss_midi_open() 343 subs.sender = dp->addr; in snd_seq_oss_midi_open() 344 subs.dest.client = mdev->client; in snd_seq_oss_midi_open() 345 subs.dest.port = mdev->port; in snd_seq_oss_midi_open() 346 if (snd_seq_kernel_client_ctl(dp->cseq, SNDRV_SEQ_IOCTL_SUBSCRIBE_PORT, &subs) >= 0) in snd_seq_oss_midi_open() 350 subs.sender.client = mdev->client; in snd_seq_oss_midi_open() 351 subs.sender.port = mdev->port; in snd_seq_oss_midi_open() 352 subs in snd_seq_oss_midi_open() 308 struct snd_seq_port_subscribe subs; snd_seq_oss_midi_open() local 367 struct snd_seq_port_subscribe subs; snd_seq_oss_midi_close() local [all...] |
| /linux/sound/drivers/vx/ |
| H A D | vx_pcm.c | 514 static int vx_pcm_playback_open(struct snd_pcm_substream *subs) in vx_pcm_playback_open() argument 516 struct snd_pcm_runtime *runtime = subs->runtime; in vx_pcm_playback_open() 517 struct vx_core *chip = snd_pcm_substream_chip(subs); in vx_pcm_playback_open() 525 audio = subs->pcm->device * 2; in vx_pcm_playback_open() 540 pipe->substream = subs; in vx_pcm_playback_open() 557 static int vx_pcm_playback_close(struct snd_pcm_substream *subs) in vx_pcm_playback_close() argument 559 struct vx_core *chip = snd_pcm_substream_chip(subs); in vx_pcm_playback_close() 562 if (! subs->runtime->private_data) in vx_pcm_playback_close() 565 pipe = subs->runtime->private_data; in vx_pcm_playback_close() 677 struct snd_pcm_substream *subs, in vx_pcm_playback_transfer() argument [all …]
|
| /linux/sound/ppc/ |
| H A D | pmac.c | 179 …nd_pmac_pcm_prepare(struct snd_pmac *chip, struct pmac_stream *rec, struct snd_pcm_substream *subs) in snd_pmac_pcm_prepare() argument 183 struct snd_pcm_runtime *runtime = subs->runtime; in snd_pmac_pcm_prepare() 188 rec->dma_size = snd_pcm_lib_buffer_bytes(subs); in snd_pmac_pcm_prepare() 189 rec->period_size = snd_pcm_lib_period_bytes(subs); in snd_pmac_pcm_prepare() 244 struct snd_pcm_substream *subs, int cmd) in snd_pmac_pcm_trigger() argument 254 command = (subs->stream == SNDRV_PCM_STREAM_PLAYBACK ? in snd_pmac_pcm_trigger() 291 struct snd_pcm_substream *subs) in snd_pmac_pcm_pointer() argument 306 return bytes_to_frames(subs->runtime, count); in snd_pmac_pcm_pointer() 313 static int snd_pmac_playback_prepare(struct snd_pcm_substream *subs) in snd_pmac_playback_prepare() argument 315 struct snd_pmac *chip = snd_pcm_substream_chip(subs); in snd_pmac_playback_prepare() [all …]
|
| /linux/sound/pci/pcxhr/ |
| H A D | pcxhr.c | 629 struct snd_pcm_substream *subs = stream->substream; in pcxhr_update_r_buffer() local 630 struct snd_pcxhr *chip = snd_pcm_substream_chip(subs); in pcxhr_update_r_buffer() 632 is_capture = (subs->stream == SNDRV_PCM_STREAM_CAPTURE); in pcxhr_update_r_buffer() 633 stream_num = is_capture ? 0 : subs->number; in pcxhr_update_r_buffer() 638 chip->chip_idx, (void *)(long)subs->runtime->dma_addr, in pcxhr_update_r_buffer() 639 subs->runtime->dma_bytes, subs->number); in pcxhr_update_r_buffer() 646 snd_BUG_ON(subs->runtime->dma_bytes >= 0x200000); in pcxhr_update_r_buffer() 648 rmh.cmd[1] = subs->runtime->dma_bytes * 8; in pcxhr_update_r_buffer() 650 rmh.cmd[2] = subs->runtime->dma_addr >> 24; in pcxhr_update_r_buffer() 654 rmh.cmd[3] = subs->runtime->dma_addr & MASK_DSP_WORD; in pcxhr_update_r_buffer() [all …]
|
| /linux/arch/arm/mach-rpc/ |
| H A D | floppydma.S | 13 subs r9, r9, #1 17 subs pc, lr, #4 22 subs r9, r9, #1 28 subs pc, lr, #4
|
| /linux/sound/core/ |
| H A D | pcm_local.h | 71 #define for_each_pcm_substream(pcm, str, subs) \ argument 73 for ((subs) = (pcm)->streams[str].substream; (subs); \ 74 (subs) = (subs)->next)
|
| /linux/arch/arm/mm/ |
| H A D | proc-arm940.S | 120 subs r3, r3, #1 << 26 122 subs r1, r1, #1 << 4 175 subs r3, r3, #1 << 26 177 subs r1, r1, #1 << 4 198 subs r3, r3, #1 << 26 200 subs r1, r1, #1 << 4 221 subs r3, r3, #1 << 26 223 subs r1, r1, #1 << 4 249 subs r3, r3, #1 << 26 251 subs r1, r1, #1 << 4
|