Home
last modified time | relevance | path

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

12345

/sound/firewire/
Damdtp-stream.c90 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_stream_init()
123 void amdtp_stream_destroy(struct amdtp_stream *s) in amdtp_stream_destroy()
160 struct snd_interval *s = hw_param_interval(params, rule->var); in apply_constraint_to_size() local
184 int amdtp_stream_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_stream_add_pcm_hw_constraints()
278 int amdtp_stream_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_stream_set_parameters()
306 static int amdtp_stream_get_max_ctx_payload_size(struct amdtp_stream *s) in amdtp_stream_get_max_ctx_payload_size()
325 unsigned int amdtp_stream_get_max_payload(struct amdtp_stream *s) in amdtp_stream_get_max_payload()
344 void amdtp_stream_pcm_prepare(struct amdtp_stream *s) in amdtp_stream_pcm_prepare()
351 static void pool_blocking_data_blocks(struct amdtp_stream *s, struct seq_desc *descs, in pool_blocking_data_blocks()
370 static void pool_ideal_nonblocking_data_blocks(struct amdtp_stream *s, struct seq_desc *descs, in pool_ideal_nonblocking_data_blocks()
[all …]
Damdtp-am824.c55 int amdtp_am824_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_am824_set_parameters()
125 void amdtp_am824_set_pcm_position(struct amdtp_stream *s, unsigned int index, in amdtp_am824_set_pcm_position()
141 void amdtp_am824_set_midi_position(struct amdtp_stream *s, in amdtp_am824_set_midi_position()
150 static void write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in write_pcm_s32()
181 static void read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in read_pcm_s32()
211 static void write_pcm_silence(struct amdtp_stream *s, in write_pcm_silence()
230 int amdtp_am824_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_am824_add_pcm_hw_constraints()
254 void amdtp_am824_midi_trigger(struct amdtp_stream *s, unsigned int port, in amdtp_am824_midi_trigger()
274 static bool midi_ratelimit_per_packet(struct amdtp_stream *s, unsigned int port) in midi_ratelimit_per_packet()
290 static void midi_rate_use_one_byte(struct amdtp_stream *s, unsigned int port) in midi_rate_use_one_byte()
[all …]
Damdtp-stream.h237 static inline bool amdtp_stream_running(struct amdtp_stream *s) in amdtp_stream_running()
249 static inline bool amdtp_streaming_error(struct amdtp_stream *s) in amdtp_streaming_error()
260 static inline bool amdtp_stream_pcm_running(struct amdtp_stream *s) in amdtp_stream_pcm_running()
274 static inline void amdtp_stream_pcm_trigger(struct amdtp_stream *s, in amdtp_stream_pcm_trigger()
343 struct amdtp_stream *s; in amdtp_domain_wait_ready() local
/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/usb/usx2y/
Dusb_stream.c15 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
89 struct usb_stream *s = sk->s; in init_urbs() local
132 struct usb_stream *s; in usb_stream_free() local
285 struct usb_stream *s = sk->s; in usb_stream_prepare_playback() local
388 static void loop_back(struct usb_stream *s) in loop_back()
440 static void loop_back(struct usb_stream *s) in loop_back()
448 struct usb_stream *s = sk->s; in stream_idle() local
533 struct usb_stream *s = sk->s; in stream_start() local
618 struct usb_stream *s = sk->s; in i_capture_start() local
[all …]
Dus122l.c109 struct usb_stream *s; in usb_stream_hwdep_vm_fault() local
204 struct usb_stream *s; in usb_stream_hwdep_mmap() local
248 struct usb_stream *s = us122l->sk.s; in usb_stream_hwdep_poll() local
350 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
116 struct psc_dma_stream *s = to_psc_dma_stream(substream, psc_dma); in psc_dma_trigger() local
217 struct psc_dma_stream *s; in psc_dma_open() local
245 struct psc_dma_stream *s; in psc_dma_close() local
271 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/firewire/motu/
Damdtp-motu.c48 int amdtp_motu_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_motu_set_parameters()
93 static void read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in read_pcm_s32()
129 static void write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in write_pcm_s32()
166 static void write_pcm_silence(struct amdtp_stream *s, __be32 *buffer, in write_pcm_silence()
189 int amdtp_motu_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_motu_add_pcm_hw_constraints()
202 void amdtp_motu_midi_trigger(struct amdtp_stream *s, unsigned int port, in amdtp_motu_midi_trigger()
211 static void write_midi_messages(struct amdtp_stream *s, __be32 *buffer, in write_midi_messages()
237 static void read_midi_messages(struct amdtp_stream *s, __be32 *buffer, in read_midi_messages()
287 static void probe_tracepoints_events(struct amdtp_stream *s, in probe_tracepoints_events()
331 static unsigned int process_ir_ctx_payloads(struct amdtp_stream *s, in process_ir_ctx_payloads()
[all …]
/sound/pci/nm256/
Dnm256.c411 snd_nm256_set_format(struct nm256 *chip, struct nm256_stream *s, in snd_nm256_set_format()
485 static void snd_nm256_pcm_mark(struct nm256 *chip, struct nm256_stream *s, int reg) in snd_nm256_pcm_mark()
492 #define snd_nm256_playback_mark(chip, s) snd_nm256_pcm_mark(chip, s, NM_PBUFFER_WMARK) argument
493 #define snd_nm256_capture_mark(chip, s) snd_nm256_pcm_mark(chip, s, NM_RBUFFER_WMARK) argument
496 snd_nm256_playback_start(struct nm256 *chip, struct nm256_stream *s, in snd_nm256_playback_start()
513 snd_nm256_capture_start(struct nm256 *chip, struct nm256_stream *s, in snd_nm256_capture_start()
549 struct nm256_stream *s = substream->runtime->private_data; in snd_nm256_playback_trigger() local
587 struct nm256_stream *s = substream->runtime->private_data; in snd_nm256_capture_trigger() local
625 struct nm256_stream *s = runtime->private_data; in snd_nm256_pcm_prepare() local
650 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.c42 struct hdac_stream *s; in azx_assign_device() local
208 struct snd_pcm_substream *s; in azx_pcm_trigger() local
704 int s, err; in snd_hda_attach_pcm_stream() local
946 struct hdac_stream *s; in azx_get_dsp_loader_dev() local
1050 static void stream_update(struct hdac_bus *bus, struct hdac_stream *s) in stream_update()
1318 struct hdac_stream *s; in azx_free_streams() local
/sound/
Dsound_core.c158 static int __sound_insert_unit(struct sound_unit * s, struct sound_unit **list, const struct file_o… in __sound_insert_unit()
240 struct sound_unit *s = kmalloc(sizeof(*s), GFP_KERNEL); in sound_insert_unit() local
520 struct sound_unit *s; in __look_for_unit() local
536 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()
364 static int obp_startup_ack(struct soundscape *s, unsigned timeout) in obp_startup_ack()
391 static int host_startup_ack(struct soundscape *s, unsigned timeout) in host_startup_ack()
414 static int upload_dma_data(struct soundscape *s, const unsigned char *data, in upload_dma_data()
596 register struct soundscape *s = get_card_soundscape(card); in sscape_midi_get() local
610 struct soundscape *s = get_card_soundscape(card); in sscape_midi_put() local
686 static int detect_sscape(struct soundscape *s, long wss_io) in detect_sscape()
/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
639 struct snd_seq_subscribers *s; in snd_seq_port_get_subscription() local
/sound/pci/
Dmaestro3.c1040 static int snd_m3_pcm_start(struct snd_m3 *chip, struct m3_dma *s, in snd_m3_pcm_start()
1067 static int snd_m3_pcm_stop(struct snd_m3 *chip, struct m3_dma *s, in snd_m3_pcm_stop()
1095 struct m3_dma *s = subs->runtime->private_data; in snd_m3_pcm_trigger() local
1130 snd_m3_pcm_setup1(struct snd_m3 *chip, struct m3_dma *s, struct snd_pcm_substream *subs) in snd_m3_pcm_setup1()
1215 static void snd_m3_pcm_setup2(struct snd_m3 *chip, struct m3_dma *s, in snd_m3_pcm_setup2()
1282 snd_m3_playback_setup(struct snd_m3 *chip, struct m3_dma *s, in snd_m3_playback_setup()
1349 snd_m3_capture_setup(struct snd_m3 *chip, struct m3_dma *s, struct snd_pcm_substream *subs) in snd_m3_capture_setup()
1378 struct m3_dma *s = substream->runtime->private_data; in snd_m3_pcm_hw_params() local
1391 struct m3_dma *s; in snd_m3_pcm_hw_free() local
1405 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/soc/sof/intel/
Dhda-stream.c188 struct hdac_stream *s; in hda_dsp_stream_get() local
239 struct hdac_stream *s; in hda_dsp_stream_put() local
732 struct hdac_stream *s; in hda_dsp_stream_check() local
987 struct hdac_stream *s, *_s; in hda_dsp_stream_free() local
/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
507 struct snd_pcm_substream *s; in lola_pcm_trigger() local
/sound/pci/ice1712/
Dice1724.c241 struct snd_rawmidi_substream *s; in vt1724_midi_write() local
261 struct snd_rawmidi_substream *s; in vt1724_midi_read() local
296 static int vt1724_midi_output_open(struct snd_rawmidi_substream *s) in vt1724_midi_output_open()
301 static int vt1724_midi_output_close(struct snd_rawmidi_substream *s) in vt1724_midi_output_close()
306 static void vt1724_midi_output_trigger(struct snd_rawmidi_substream *s, int up) in vt1724_midi_output_trigger()
322 static void vt1724_midi_output_drain(struct snd_rawmidi_substream *s) in vt1724_midi_output_drain()
344 static int vt1724_midi_input_open(struct snd_rawmidi_substream *s) in vt1724_midi_input_open()
351 static int vt1724_midi_input_close(struct snd_rawmidi_substream *s) in vt1724_midi_input_close()
357 static void vt1724_midi_input_trigger(struct snd_rawmidi_substream *s, int up) in vt1724_midi_input_trigger()
527 struct snd_pcm_substream *s; in snd_vt1724_pcm_trigger() local
/sound/core/
Dcontrol_led.c467 static char *find_eos(char *s) in find_eos()
476 static char *parse_uint(char *s, unsigned int *val) in parse_uint()
485 static char *parse_string(char *s, char *val, size_t val_size) in parse_string()
512 static char *parse_iface(char *s, snd_ctl_elem_iface_t *val) in parse_iface()
532 char buf2[256], *s, *os; in set_led_id() local
/sound/synth/emux/
Demux_voice.h81 #define STATE_IS_PLAYING(s) ((s) & SNDRV_EMUX_ST_ON) argument

12345