Home
last modified time | relevance | path

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

12345

/sound/firewire/
Damdtp-stream.c74 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_stream_init()
109 void amdtp_stream_destroy(struct amdtp_stream *s) in amdtp_stream_destroy()
148 int amdtp_stream_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_stream_add_pcm_hw_constraints()
221 int amdtp_stream_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_stream_set_parameters()
254 unsigned int amdtp_stream_get_max_payload(struct amdtp_stream *s) in amdtp_stream_get_max_payload()
275 void amdtp_stream_pcm_prepare(struct amdtp_stream *s) in amdtp_stream_pcm_prepare()
283 static unsigned int calculate_data_blocks(struct amdtp_stream *s, in calculate_data_blocks()
327 static unsigned int calculate_syt(struct amdtp_stream *s, in calculate_syt()
370 static void update_pcm_pointers(struct amdtp_stream *s, in update_pcm_pointers()
390 struct amdtp_stream *s = (void *)data; in pcm_period_tasklet() local
[all …]
Damdtp-am824.c56 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, in write_pcm_s32()
176 static void read_pcm_s32(struct amdtp_stream *s, in read_pcm_s32()
201 static void write_pcm_silence(struct amdtp_stream *s, in write_pcm_silence()
220 int amdtp_am824_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_am824_add_pcm_hw_constraints()
244 void amdtp_am824_midi_trigger(struct amdtp_stream *s, unsigned int port, in amdtp_am824_midi_trigger()
264 static bool midi_ratelimit_per_packet(struct amdtp_stream *s, unsigned int port) in midi_ratelimit_per_packet()
280 static void midi_rate_use_one_byte(struct amdtp_stream *s, unsigned int port) in midi_rate_use_one_byte()
[all …]
Damdtp-stream.h184 static inline bool amdtp_stream_running(struct amdtp_stream *s) in amdtp_stream_running()
196 static inline bool amdtp_streaming_error(struct amdtp_stream *s) in amdtp_streaming_error()
207 static inline bool amdtp_stream_pcm_running(struct amdtp_stream *s) in amdtp_stream_pcm_running()
221 static inline void amdtp_stream_pcm_trigger(struct amdtp_stream *s, in amdtp_stream_pcm_trigger()
239 static inline bool amdtp_stream_wait_callback(struct amdtp_stream *s, in amdtp_stream_wait_callback()
/sound/firewire/digi00x/
Damdtp-dot.c114 int amdtp_dot_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_dot_set_parameters()
146 static void write_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in write_pcm_s32()
172 static void read_pcm_s32(struct amdtp_stream *s, struct snd_pcm_substream *pcm, in read_pcm_s32()
197 static void write_pcm_silence(struct amdtp_stream *s, __be32 *buffer, in write_pcm_silence()
213 static bool midi_ratelimit_per_packet(struct amdtp_stream *s, unsigned int port) in midi_ratelimit_per_packet()
229 static inline void midi_use_bytes(struct amdtp_stream *s, in midi_use_bytes()
237 static void write_midi_messages(struct amdtp_stream *s, __be32 *buffer, in write_midi_messages()
281 static void read_midi_messages(struct amdtp_stream *s, __be32 *buffer, in read_midi_messages()
311 int amdtp_dot_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_dot_add_pcm_hw_constraints()
324 void amdtp_dot_midi_trigger(struct amdtp_stream *s, unsigned int port, in amdtp_dot_midi_trigger()
[all …]
/sound/firewire/tascam/
Damdtp-tascam.c19 int amdtp_tscm_set_parameters(struct amdtp_stream *s, unsigned int rate) in amdtp_tscm_set_parameters()
36 static void write_pcm_s32(struct amdtp_stream *s, in write_pcm_s32()
61 static void read_pcm_s32(struct amdtp_stream *s, in read_pcm_s32()
89 static void write_pcm_silence(struct amdtp_stream *s, __be32 *buffer, in write_pcm_silence()
104 int amdtp_tscm_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_tscm_add_pcm_hw_constraints()
120 static unsigned int process_tx_data_blocks(struct amdtp_stream *s, in process_tx_data_blocks()
136 static unsigned int process_rx_data_blocks(struct amdtp_stream *s, in process_rx_data_blocks()
155 int amdtp_tscm_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_tscm_init()
/sound/firewire/fireface/
Damdtp-ff.c16 int amdtp_ff_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_ff_set_parameters()
31 static void write_pcm_s32(struct amdtp_stream *s, in write_pcm_s32()
56 static void read_pcm_s32(struct amdtp_stream *s, in read_pcm_s32()
81 static void write_pcm_silence(struct amdtp_stream *s, in write_pcm_silence()
94 int amdtp_ff_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_ff_add_pcm_hw_constraints()
106 static unsigned int process_rx_data_blocks(struct amdtp_stream *s, in process_rx_data_blocks()
125 static unsigned int process_tx_data_blocks(struct amdtp_stream *s, in process_tx_data_blocks()
143 int amdtp_ff_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_ff_init()
/sound/firewire/motu/
Damdtp-motu.c47 int amdtp_motu_set_parameters(struct amdtp_stream *s, unsigned int rate, in amdtp_motu_set_parameters()
121 static void read_pcm_s32(struct amdtp_stream *s, in read_pcm_s32()
151 static void write_pcm_s32(struct amdtp_stream *s, in write_pcm_s32()
182 static void write_pcm_silence(struct amdtp_stream *s, __be32 *buffer, in write_pcm_silence()
205 int amdtp_motu_add_pcm_hw_constraints(struct amdtp_stream *s, in amdtp_motu_add_pcm_hw_constraints()
218 void amdtp_motu_midi_trigger(struct amdtp_stream *s, unsigned int port, in amdtp_motu_midi_trigger()
227 static void write_midi_messages(struct amdtp_stream *s, __be32 *buffer, in write_midi_messages()
253 static void read_midi_messages(struct amdtp_stream *s, __be32 *buffer, in read_midi_messages()
302 static unsigned int process_tx_data_blocks(struct amdtp_stream *s, in process_tx_data_blocks()
345 static void write_sph(struct amdtp_stream *s, __be32 *buffer, in write_sph()
[all …]
/sound/usb/usx2y/
Dusb_stream.c29 struct usb_stream *s = sk->s; in usb_stream_next_packet_size() local
36 struct usb_stream *s = sk->s; in playback_prep_freqn() local
99 struct usb_stream *s = sk->s; in init_urbs() local
139 struct usb_stream *s; in usb_stream_free() local
289 struct usb_stream *s = sk->s; in usb_stream_prepare_playback() local
390 static void loop_back(struct usb_stream *s) in loop_back()
442 static void loop_back(struct usb_stream *s) in loop_back()
450 struct usb_stream *s = sk->s; in stream_idle() local
532 struct usb_stream *s = sk->s; in stream_start() local
613 struct usb_stream *s = sk->s; in i_capture_start() local
[all …]
Dus122l.c148 struct usb_stream *s; in usb_stream_hwdep_vm_fault() local
241 struct usb_stream *s; in usb_stream_hwdep_mmap() local
285 struct usb_stream *s = us122l->sk.s; in usb_stream_hwdep_poll() local
383 struct usb_stream *s; in usb_stream_hwdep_ioctl() local
/sound/oss/
Dswarm_cs4297a.c195 #define VALIDATE_STATE(s) \ argument
333 static int prog_dmabuf_adc(struct cs4297a_state *s) in prog_dmabuf_adc()
340 static int prog_dmabuf_dac(struct cs4297a_state *s) in prog_dmabuf_dac()
575 static int ser_init(struct cs4297a_state *s) in ser_init()
673 static int dma_init(struct cs4297a_state *s) in dma_init()
736 static int serdma_reg_access(struct cs4297a_state *s, u64 data) in serdma_reg_access()
787 static int cs4297a_read_ac97(struct cs4297a_state *s, u32 offset, in cs4297a_read_ac97()
807 static int cs4297a_write_ac97(struct cs4297a_state *s, u32 offset, in cs4297a_write_ac97()
815 static void stop_dac(struct cs4297a_state *s) in stop_dac()
834 static void start_dac(struct cs4297a_state *s) in start_dac()
[all …]
/sound/soc/fsl/
Dmpc5200_dma.c59 static void psc_dma_bcom_enqueue_next_buffer(struct psc_dma_stream *s) in psc_dma_bcom_enqueue_next_buffer()
76 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
216 struct psc_dma_stream *s; in psc_dma_open() local
243 struct psc_dma_stream *s; in psc_dma_close() local
268 struct psc_dma_stream *s; in psc_dma_pointer() local
Dmpc5200_psc_ac97.c146 struct psc_dma_stream *s = to_psc_dma_stream(substream, psc_dma); in psc_ac97_hw_analog_params() local
184 struct psc_dma_stream *s = to_psc_dma_stream(substream, psc_dma); in psc_ac97_trigger() local
/sound/pci/nm256/
Dnm256.c429 snd_nm256_set_format(struct nm256 *chip, struct nm256_stream *s, in snd_nm256_set_format()
501 static void snd_nm256_pcm_mark(struct nm256 *chip, struct nm256_stream *s, int reg) in snd_nm256_pcm_mark()
508 #define snd_nm256_playback_mark(chip, s) snd_nm256_pcm_mark(chip, s, NM_PBUFFER_WMARK) argument
509 #define snd_nm256_capture_mark(chip, s) snd_nm256_pcm_mark(chip, s, NM_RBUFFER_WMARK) argument
512 snd_nm256_playback_start(struct nm256 *chip, struct nm256_stream *s, in snd_nm256_playback_start()
529 snd_nm256_capture_start(struct nm256 *chip, struct nm256_stream *s, in snd_nm256_capture_start()
565 struct nm256_stream *s = substream->runtime->private_data; in snd_nm256_playback_trigger() local
603 struct nm256_stream *s = substream->runtime->private_data; in snd_nm256_capture_trigger() local
641 struct nm256_stream *s = runtime->private_data; in snd_nm256_pcm_prepare() local
666 struct nm256_stream *s = substream->runtime->private_data; in snd_nm256_playback_pointer() local
[all …]
/sound/pci/hda/
Dca0132_regs.h363 #define X_RANGE_MAIN(a, s) \ argument
365 #define X_RANGE_AUX(a, s) \ argument
367 #define X_RANGE_EXT(a, s) \ argument
369 #define X_RANGE_ALL(a, s) \ argument
372 #define Y_RANGE_MAIN(a, s) \ argument
375 #define Y_RANGE_AUX(a, s) \ argument
378 #define Y_RANGE_EXT(a, s) \ argument
381 #define Y_RANGE_ALL(a, s) \ argument
385 #define UC_RANGE(a, s) \ argument
404 #define X_EXT_AUX_SIZE(a, s) ((s) - X_EXT_MAIN_SIZE(a)) argument
[all …]
Dhda_controller.c52 struct hdac_stream *s; in azx_assign_device() local
222 struct snd_pcm_substream *s; in azx_pcm_trigger() local
739 int s, err; in snd_hda_attach_pcm_stream() local
1023 struct hdac_stream *s; in azx_get_dsp_loader_dev() local
1113 struct hdac_stream *s; in azx_stop_all_streams() local
1129 static void stream_update(struct hdac_bus *bus, struct hdac_stream *s) in stream_update()
1412 struct hdac_stream *s; in azx_free_streams() local
/sound/
Dsound_core.c174 static int __sound_insert_unit(struct sound_unit * s, struct sound_unit **list, const struct file_o… in __sound_insert_unit()
256 struct sound_unit *s = kmalloc(sizeof(*s), GFP_KERNEL); in sound_insert_unit() local
571 struct sound_unit *s; in __look_for_unit() local
587 struct sound_unit *s; in soundcore_open() local
/sound/isa/
Dsscape.c212 static void sscape_write(struct soundscape *s, enum GA_REG reg, in sscape_write()
388 static int obp_startup_ack(struct soundscape *s, unsigned timeout) in obp_startup_ack()
415 static int host_startup_ack(struct soundscape *s, unsigned timeout) in host_startup_ack()
438 static int upload_dma_data(struct soundscape *s, const unsigned char *data, in upload_dma_data()
620 register struct soundscape *s = get_card_soundscape(card); in sscape_midi_get() local
634 struct soundscape *s = get_card_soundscape(card); in sscape_midi_put() local
710 static int detect_sscape(struct soundscape *s, long wss_io) in detect_sscape()
/sound/core/seq/
Dseq_ports.c466 static inline int addr_match(struct snd_seq_addr *r, struct snd_seq_addr *s) in addr_match()
474 struct snd_seq_port_subscribe *s) in match_subs_info()
493 struct snd_seq_subscribers *s; in check_and_subscribe_port() local
642 struct snd_seq_subscribers *s; in snd_seq_port_get_subscription() local
/sound/pci/
Dmaestro3.c1060 static int snd_m3_pcm_start(struct snd_m3 *chip, struct m3_dma *s, in snd_m3_pcm_start()
1087 static int snd_m3_pcm_stop(struct snd_m3 *chip, struct m3_dma *s, in snd_m3_pcm_stop()
1115 struct m3_dma *s = subs->runtime->private_data; in snd_m3_pcm_trigger() local
1150 snd_m3_pcm_setup1(struct snd_m3 *chip, struct m3_dma *s, struct snd_pcm_substream *subs) in snd_m3_pcm_setup1()
1235 static void snd_m3_pcm_setup2(struct snd_m3 *chip, struct m3_dma *s, in snd_m3_pcm_setup2()
1302 snd_m3_playback_setup(struct snd_m3 *chip, struct m3_dma *s, in snd_m3_playback_setup()
1369 snd_m3_capture_setup(struct snd_m3 *chip, struct m3_dma *s, struct snd_pcm_substream *subs) in snd_m3_capture_setup()
1398 struct m3_dma *s = substream->runtime->private_data; in snd_m3_pcm_hw_params() local
1414 struct m3_dma *s; in snd_m3_pcm_hw_free() local
1429 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/usb/
Dusbaudio.h117 #define combine_word(s) ((*(s)) | ((unsigned int)(s)[1] << 8)) argument
118 #define combine_triple(s) (combine_word(s) | ((unsigned int)(s)[2] << 16)) argument
119 #define combine_quad(s) (combine_triple(s) | ((unsigned int)(s)[3] << 24)) argument
/sound/pci/lola/
Dlola_pcm.c134 struct snd_pcm_substream *s; in lola_sync_wait_for_fifo() local
167 struct snd_pcm_substream *s; in lola_sync_pause() local
264 struct lola_stream *s = &pcm->streams[i]; in lola_cleanup_slave_streams() local
521 struct snd_pcm_substream *s; in lola_pcm_trigger() local
/sound/synth/emux/
Demux_voice.h94 #define STATE_IS_PLAYING(s) ((s) & SNDRV_EMUX_ST_ON) argument
/sound/hda/
Dhdac_stream.c300 struct hdac_stream *s; in snd_hdac_get_stream() local
524 struct hdac_stream *s; in snd_hdac_stream_timecounter_init() local
581 struct hdac_stream *s; in snd_hdac_stream_sync() local
/sound/pci/ice1712/
Dice1724.c274 struct snd_rawmidi_substream *s; in vt1724_midi_write() local
294 struct snd_rawmidi_substream *s; in vt1724_midi_read() local
329 static int vt1724_midi_output_open(struct snd_rawmidi_substream *s) in vt1724_midi_output_open()
334 static int vt1724_midi_output_close(struct snd_rawmidi_substream *s) in vt1724_midi_output_close()
339 static void vt1724_midi_output_trigger(struct snd_rawmidi_substream *s, int up) in vt1724_midi_output_trigger()
355 static void vt1724_midi_output_drain(struct snd_rawmidi_substream *s) in vt1724_midi_output_drain()
377 static int vt1724_midi_input_open(struct snd_rawmidi_substream *s) in vt1724_midi_input_open()
384 static int vt1724_midi_input_close(struct snd_rawmidi_substream *s) in vt1724_midi_input_close()
390 static void vt1724_midi_input_trigger(struct snd_rawmidi_substream *s, int up) in vt1724_midi_input_trigger()
560 struct snd_pcm_substream *s; in snd_vt1724_pcm_trigger() local

12345