Home
last modified time | relevance | path

Searched defs:s (Results 1 – 25 of 119) sorted by relevance

12345

/sound/firewire/
Damdtp-stream.c80 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_stream_init()
118 void amdtp_stream_destroy(struct amdtp_stream *s) in amdtp_stream_destroy()
155 struct snd_interval *s = hw_param_interval(params, rule->var); in apply_constraint_to_size() local
179 int amdtp_stream_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_stream_add_pcm_hw_constraints()
255 int amdtp_stream_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_stream_set_parameters()
295 unsigned int amdtp_stream_get_max_payload(struct amdtp_stream *s) in amdtp_stream_get_max_payload()
316 void amdtp_stream_pcm_prepare(struct amdtp_stream *s) in amdtp_stream_pcm_prepare()
324 static unsigned int calculate_data_blocks(struct amdtp_stream *s, in calculate_data_blocks()
368 static unsigned int calculate_syt(struct amdtp_stream *s, in calculate_syt()
412 static void update_pcm_pointers(struct amdtp_stream *s, in update_pcm_pointers()
[all …]
Damdtp-am824.c55 int amdtp_am824_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_am824_set_parameters()
124 void amdtp_am824_set_pcm_position(struct amdtp_stream *s, unsigned int index, in amdtp_am824_set_pcm_position()
140 void amdtp_am824_set_midi_position(struct amdtp_stream *s, in amdtp_am824_set_midi_position()
149 static void write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in write_pcm_s32()
180 static void read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in read_pcm_s32()
210 static void write_pcm_silence(struct amdtp_stream *s, in write_pcm_silence()
229 int amdtp_am824_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_am824_add_pcm_hw_constraints()
253 void amdtp_am824_midi_trigger(struct amdtp_stream *s, unsigned int port, in amdtp_am824_midi_trigger()
273 static bool midi_ratelimit_per_packet(struct amdtp_stream *s, unsigned int port) in midi_ratelimit_per_packet()
289 static void midi_rate_use_one_byte(struct amdtp_stream *s, unsigned int port) in midi_rate_use_one_byte()
[all …]
Damdtp-stream.h210 static inline bool amdtp_stream_running(struct amdtp_stream *s) in amdtp_stream_running()
222 static inline bool amdtp_streaming_error(struct amdtp_stream *s) in amdtp_streaming_error()
233 static inline bool amdtp_stream_pcm_running(struct amdtp_stream *s) in amdtp_stream_pcm_running()
247 static inline void amdtp_stream_pcm_trigger(struct amdtp_stream *s, in amdtp_stream_pcm_trigger()
265 static inline bool amdtp_stream_wait_callback(struct amdtp_stream *s, in amdtp_stream_wait_callback()
/sound/firewire/digi00x/
Damdtp-dot.c113 int amdtp_dot_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_dot_set_parameters()
145 static void write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in write_pcm_s32()
177 static void read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in read_pcm_s32()
208 static void write_pcm_silence(struct amdtp_stream *s, __be32 *buffer, in write_pcm_silence()
224 static bool midi_ratelimit_per_packet(struct amdtp_stream *s, unsigned int port) in midi_ratelimit_per_packet()
240 static inline void midi_use_bytes(struct amdtp_stream *s, in midi_use_bytes()
248 static void write_midi_messages(struct amdtp_stream *s, __be32 *buffer, in write_midi_messages()
292 static void read_midi_messages(struct amdtp_stream *s, __be32 *buffer, in read_midi_messages()
322 int amdtp_dot_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_dot_add_pcm_hw_constraints()
335 void amdtp_dot_midi_trigger(struct amdtp_stream *s, unsigned int port, in amdtp_dot_midi_trigger()
[all …]
/sound/firewire/fireface/
Damdtp-ff.c15 int amdtp_ff_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_ff_set_parameters()
30 static void write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in write_pcm_s32()
60 static void read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in read_pcm_s32()
90 static void write_pcm_silence(struct amdtp_stream *s, in write_pcm_silence()
103 int amdtp_ff_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_ff_add_pcm_hw_constraints()
115 static unsigned int process_it_ctx_payloads(struct amdtp_stream *s, in process_it_ctx_payloads()
139 static unsigned int process_ir_ctx_payloads(struct amdtp_stream *s, in process_ir_ctx_payloads()
161 int amdtp_ff_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_ff_init()
Dff-stream.c39 static int init_stream(struct snd_ff *ff, struct amdtp_stream *s) in init_stream()
64 static void destroy_stream(struct snd_ff *ff, struct amdtp_stream *s) in destroy_stream()
/sound/firewire/tascam/
Damdtp-tascam.c18 int amdtp_tscm_set_parameters(struct amdtp_stream *s, unsigned int rate) in amdtp_tscm_set_parameters()
35 static void write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in write_pcm_s32()
65 static void read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in read_pcm_s32()
98 static void write_pcm_silence(struct amdtp_stream *s, __be32 *buffer, in write_pcm_silence()
113 int amdtp_tscm_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_tscm_add_pcm_hw_constraints()
129 static void read_status_messages(struct amdtp_stream *s, in read_status_messages()
179 static unsigned int process_ir_ctx_payloads(struct amdtp_stream *s, in process_ir_ctx_payloads()
203 static unsigned int process_it_ctx_payloads(struct amdtp_stream *s, in process_it_ctx_payloads()
227 int amdtp_tscm_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_tscm_init()
/sound/firewire/motu/
Damdtp-motu.c46 int amdtp_motu_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_motu_set_parameters()
120 static void read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in read_pcm_s32()
156 static void write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in write_pcm_s32()
193 static void write_pcm_silence(struct amdtp_stream *s, __be32 *buffer, in write_pcm_silence()
216 int amdtp_motu_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_motu_add_pcm_hw_constraints()
229 void amdtp_motu_midi_trigger(struct amdtp_stream *s, unsigned int port, in amdtp_motu_midi_trigger()
238 static void write_midi_messages(struct amdtp_stream *s, __be32 *buffer, in write_midi_messages()
264 static void read_midi_messages(struct amdtp_stream *s, __be32 *buffer, in read_midi_messages()
313 static void probe_tracepoints_events(struct amdtp_stream *s, in probe_tracepoints_events()
329 static unsigned int process_ir_ctx_payloads(struct amdtp_stream *s, in process_ir_ctx_payloads()
[all …]
/sound/usb/usx2y/
Dusb_stream.c16 struct usb_stream *s = sk->s; in usb_stream_next_packet_size() local
23 struct usb_stream *s = sk->s; in playback_prep_freqn() local
86 struct usb_stream *s = sk->s; in init_urbs() local
131 struct usb_stream *s; in usb_stream_free() local
277 struct usb_stream *s = sk->s; in usb_stream_prepare_playback() local
378 static void loop_back(struct usb_stream *s) in loop_back()
430 static void loop_back(struct usb_stream *s) in loop_back()
438 struct usb_stream *s = sk->s; in stream_idle() local
520 struct usb_stream *s = sk->s; in stream_start() local
601 struct usb_stream *s = sk->s; in i_capture_start() local
[all …]
Dus122l.c135 struct usb_stream *s; in usb_stream_hwdep_vm_fault() local
228 struct usb_stream *s; in usb_stream_hwdep_mmap() local
272 struct usb_stream *s = us122l->sk.s; in usb_stream_hwdep_poll() local
370 struct usb_stream *s; in usb_stream_hwdep_ioctl() local
/sound/soc/fsl/
Dmpc5200_dma.c61 static void psc_dma_bcom_enqueue_next_buffer(struct psc_dma_stream *s) in psc_dma_bcom_enqueue_next_buffer()
78 struct psc_dma_stream *s = _psc_dma_stream; in psc_dma_bcom_irq() local
118 struct psc_dma_stream *s = to_psc_dma_stream(substream, psc_dma); in psc_dma_trigger() local
218 struct psc_dma_stream *s; in psc_dma_open() local
245 struct psc_dma_stream *s; in psc_dma_close() local
270 struct psc_dma_stream *s; in psc_dma_pointer() local
Dmpc5200_psc_ac97.c142 struct psc_dma_stream *s = to_psc_dma_stream(substream, psc_dma); in psc_ac97_hw_analog_params() local
180 struct psc_dma_stream *s = to_psc_dma_stream(substream, psc_dma); in psc_ac97_trigger() local
/sound/pci/nm256/
Dnm256.c415 snd_nm256_set_format(struct nm256 *chip, struct nm256_stream *s, in snd_nm256_set_format()
487 static void snd_nm256_pcm_mark(struct nm256 *chip, struct nm256_stream *s, int reg) in snd_nm256_pcm_mark()
494 #define snd_nm256_playback_mark(chip, s) snd_nm256_pcm_mark(chip, s, NM_PBUFFER_WMARK) argument
495 #define snd_nm256_capture_mark(chip, s) snd_nm256_pcm_mark(chip, s, NM_RBUFFER_WMARK) argument
498 snd_nm256_playback_start(struct nm256 *chip, struct nm256_stream *s, in snd_nm256_playback_start()
515 snd_nm256_capture_start(struct nm256 *chip, struct nm256_stream *s, in snd_nm256_capture_start()
551 struct nm256_stream *s = substream->runtime->private_data; in snd_nm256_playback_trigger() local
589 struct nm256_stream *s = substream->runtime->private_data; in snd_nm256_capture_trigger() local
627 struct nm256_stream *s = runtime->private_data; in snd_nm256_pcm_prepare() local
652 struct nm256_stream *s = substream->runtime->private_data; in snd_nm256_playback_pointer() local
[all …]
/sound/pci/hda/
Dca0132_regs.h350 #define X_RANGE_MAIN(a, s) \ argument
352 #define X_RANGE_AUX(a, s) \ argument
354 #define X_RANGE_EXT(a, s) \ argument
356 #define X_RANGE_ALL(a, s) \ argument
359 #define Y_RANGE_MAIN(a, s) \ argument
362 #define Y_RANGE_AUX(a, s) \ argument
365 #define Y_RANGE_EXT(a, s) \ argument
368 #define Y_RANGE_ALL(a, s) \ argument
372 #define UC_RANGE(a, s) \ argument
391 #define X_EXT_AUX_SIZE(a, s) ((s) - X_EXT_MAIN_SIZE(a)) argument
[all …]
Dhda_controller.c41 struct hdac_stream *s; in azx_assign_device() local
211 struct snd_pcm_substream *s; in azx_pcm_trigger() local
728 int s, err; in snd_hda_attach_pcm_stream() local
1013 struct hdac_stream *s; in azx_get_dsp_loader_dev() local
1103 struct hdac_stream *s; in azx_stop_all_streams() local
1119 static void stream_update(struct hdac_bus *bus, struct hdac_stream *s) in stream_update()
1379 struct hdac_stream *s; in azx_free_streams() local
/sound/
Dsound_core.c162 static int __sound_insert_unit(struct sound_unit * s, struct sound_unit **list, const struct file_o… in __sound_insert_unit()
244 struct sound_unit *s = kmalloc(sizeof(*s), GFP_KERNEL); in sound_insert_unit() local
524 struct sound_unit *s; in __look_for_unit() local
540 struct sound_unit *s; in soundcore_open() local
/sound/isa/
Dsscape.c156 static struct snd_dma_buffer *get_dmabuf(struct soundscape *s, in get_dmabuf()
199 static void sscape_write(struct soundscape *s, enum GA_REG reg, in sscape_write()
375 static int obp_startup_ack(struct soundscape *s, unsigned timeout) in obp_startup_ack()
402 static int host_startup_ack(struct soundscape *s, unsigned timeout) in host_startup_ack()
425 static int upload_dma_data(struct soundscape *s, const unsigned char *data, in upload_dma_data()
607 register struct soundscape *s = get_card_soundscape(card); in sscape_midi_get() local
621 struct soundscape *s = get_card_soundscape(card); in sscape_midi_put() local
697 static int detect_sscape(struct soundscape *s, long wss_io) in detect_sscape()
/sound/soc/sof/intel/
Dhda-stream.c160 struct hdac_stream *s; in hda_dsp_stream_get() local
206 struct hdac_stream *s; in hda_dsp_stream_put() local
559 struct hdac_stream *s; in hda_dsp_stream_check() local
805 struct hdac_stream *s, *_s; in hda_dsp_stream_free() local
/sound/core/seq/
Dseq_ports.c448 static inline int addr_match(struct snd_seq_addr *r, struct snd_seq_addr *s) in addr_match()
456 struct snd_seq_port_subscribe *s) in match_subs_info()
475 struct snd_seq_subscribers *s; in check_and_subscribe_port() local
624 struct snd_seq_subscribers *s; in snd_seq_port_get_subscription() local
/sound/pci/
Dmaestro3.c1045 static int snd_m3_pcm_start(struct snd_m3 *chip, struct m3_dma *s, in snd_m3_pcm_start()
1072 static int snd_m3_pcm_stop(struct snd_m3 *chip, struct m3_dma *s, in snd_m3_pcm_stop()
1100 struct m3_dma *s = subs->runtime->private_data; in snd_m3_pcm_trigger() local
1135 snd_m3_pcm_setup1(struct snd_m3 *chip, struct m3_dma *s, struct snd_pcm_substream *subs) in snd_m3_pcm_setup1()
1220 static void snd_m3_pcm_setup2(struct snd_m3 *chip, struct m3_dma *s, in snd_m3_pcm_setup2()
1287 snd_m3_playback_setup(struct snd_m3 *chip, struct m3_dma *s, in snd_m3_playback_setup()
1354 snd_m3_capture_setup(struct snd_m3 *chip, struct m3_dma *s, struct snd_pcm_substream *subs) in snd_m3_capture_setup()
1383 struct m3_dma *s = substream->runtime->private_data; in snd_m3_pcm_hw_params() local
1399 struct m3_dma *s; in snd_m3_pcm_hw_free() local
1414 struct m3_dma *s = runtime->private_data; in snd_m3_pcm_prepare() local
[all …]
/sound/soc/codecs/
Dcs42xx8.h106 #define CS42XX8_FUNCMOD_MFREQ_256(s) ((0 << CS42XX8_FUNCMOD_MFREQ_SHIFT) >> (s >> 1)) argument
107 #define CS42XX8_FUNCMOD_MFREQ_384(s) ((1 << CS42XX8_FUNCMOD_MFREQ_SHIFT) >> (s >> 1)) argument
108 #define CS42XX8_FUNCMOD_MFREQ_512(s) ((2 << CS42XX8_FUNCMOD_MFREQ_SHIFT) >> (s >> 1)) argument
109 #define CS42XX8_FUNCMOD_MFREQ_768(s) ((3 << CS42XX8_FUNCMOD_MFREQ_SHIFT) >> (s >> 1)) argument
110 #define CS42XX8_FUNCMOD_MFREQ_1024(s) ((4 << CS42XX8_FUNCMOD_MFREQ_SHIFT) >> (s >> 1)) argument
/sound/pci/lola/
Dlola_pcm.c121 struct snd_pcm_substream *s; in lola_sync_wait_for_fifo() local
154 struct snd_pcm_substream *s; in lola_sync_pause() local
251 struct lola_stream *s = &pcm->streams[i]; in lola_cleanup_slave_streams() local
508 struct snd_pcm_substream *s; in lola_pcm_trigger() local
/sound/synth/emux/
Demux_voice.h81 #define STATE_IS_PLAYING(s) ((s) & SNDRV_EMUX_ST_ON) argument
/sound/pci/ice1712/
Dice1724.c260 struct snd_rawmidi_substream *s; in vt1724_midi_write() local
280 struct snd_rawmidi_substream *s; in vt1724_midi_read() local
315 static int vt1724_midi_output_open(struct snd_rawmidi_substream *s) in vt1724_midi_output_open()
320 static int vt1724_midi_output_close(struct snd_rawmidi_substream *s) in vt1724_midi_output_close()
325 static void vt1724_midi_output_trigger(struct snd_rawmidi_substream *s, int up) in vt1724_midi_output_trigger()
341 static void vt1724_midi_output_drain(struct snd_rawmidi_substream *s) in vt1724_midi_output_drain()
363 static int vt1724_midi_input_open(struct snd_rawmidi_substream *s) in vt1724_midi_input_open()
370 static int vt1724_midi_input_close(struct snd_rawmidi_substream *s) in vt1724_midi_input_close()
376 static void vt1724_midi_input_trigger(struct snd_rawmidi_substream *s, int up) in vt1724_midi_input_trigger()
546 struct snd_pcm_substream *s; in snd_vt1724_pcm_trigger() local
/sound/hda/
Dhdac_stream.c345 struct hdac_stream *s; in snd_hdac_get_stream() local
569 struct hdac_stream *s; in snd_hdac_stream_timecounter_init() local
626 struct hdac_stream *s; in snd_hdac_stream_sync() local

12345