Home
last modified time | relevance | path

Searched refs:open (Results 1 – 25 of 267) sorted by relevance

1234567891011

/sound/isa/sb/
Dsb8_midi.c41 if (chip->open & SB_OPEN_MIDI_INPUT_TRIGGER) { in snd_sb8dsp_midi_interrupt()
60 if (chip->open & ~valid_open_flags) { in snd_sb8dsp_midi_input_open()
64 chip->open |= SB_OPEN_MIDI_INPUT; in snd_sb8dsp_midi_input_open()
66 if (!(chip->open & SB_OPEN_MIDI_OUTPUT)) { in snd_sb8dsp_midi_input_open()
87 if (chip->open & ~valid_open_flags) { in snd_sb8dsp_midi_output_open()
91 chip->open |= SB_OPEN_MIDI_OUTPUT; in snd_sb8dsp_midi_output_open()
93 if (!(chip->open & SB_OPEN_MIDI_INPUT)) { in snd_sb8dsp_midi_output_open()
111 chip->open &= ~(SB_OPEN_MIDI_INPUT | SB_OPEN_MIDI_INPUT_TRIGGER); in snd_sb8dsp_midi_input_close()
113 if (!(chip->open & SB_OPEN_MIDI_OUTPUT)) { in snd_sb8dsp_midi_input_close()
130 chip->open &= ~(SB_OPEN_MIDI_OUTPUT | SB_OPEN_MIDI_OUTPUT_TRIGGER); in snd_sb8dsp_midi_output_close()
[all …]
Dsb16_main.c82 chip->open = SNDRV_SB_CSP_MODE_DSP_WRITE; in snd_sb16_csp_playback_prepare()
120 chip->open = SNDRV_SB_CSP_MODE_DSP_READ; in snd_sb16_csp_capture_prepare()
161 if ((chip->hardware == SB_HW_16CSP) && (chip->open == SNDRV_SB_CSP_MODE_DSP_WRITE)) { in snd_sb16_csp_playback_close()
166 chip->open = 0; in snd_sb16_csp_playback_close()
192 if ((chip->hardware == SB_HW_16CSP) && (chip->open == SNDRV_SB_CSP_MODE_DSP_READ)) { in snd_sb16_csp_capture_close()
197 chip->open = 0; in snd_sb16_csp_capture_close()
819 .open = snd_sb16_playback_open,
827 .open = snd_sb16_capture_open,
Dsb8_main.c470 if (chip->open) { in snd_sb8_open()
474 chip->open |= SB_OPEN_PCM; in snd_sb8_open()
534 chip->open &= ~SB_OPEN_PCM; in snd_sb8_close()
548 .open = snd_sb8_open,
556 .open = snd_sb8_open,
/sound/soc/qcom/qdsp6/
Dq6adm.c183 } __packed *open = data->payload; in q6adm_callback() local
189 if (open->copp_id == INVALID_COPP_ID) { in q6adm_callback()
191 open->copp_id); in q6adm_callback()
198 copp->id = open->copp_id; in q6adm_callback()
325 struct q6adm_cmd_device_open_v5 *open; in q6adm_device_open() local
331 pkt_size = APR_HDR_SIZE + sizeof(*open); in q6adm_device_open()
337 open = p + APR_HDR_SIZE; in q6adm_device_open()
346 open->flags = ADM_LEGACY_DEVICE_SESSION; in q6adm_device_open()
347 open->mode_of_operation = path; in q6adm_device_open()
348 open->endpoint_id_1 = afe_port; in q6adm_device_open()
[all …]
Dq6asm.c930 struct asm_stream_cmd_open_write_v3 *open; in q6asm_open_write() local
935 pkt_size = APR_HDR_SIZE + sizeof(*open); in q6asm_open_write()
942 open = p + APR_HDR_SIZE; in q6asm_open_write()
946 open->mode_flags = 0x00; in q6asm_open_write()
947 open->mode_flags |= ASM_LEGACY_STREAM_SESSION; in q6asm_open_write()
949 open->mode_flags |= BIT(ASM_SHIFT_GAPLESS_MODE_FLAG); in q6asm_open_write()
952 open->sink_endpointype = ASM_END_POINT_DEVICE_MATRIX; in q6asm_open_write()
953 open->bits_per_sample = bits_per_sample; in q6asm_open_write()
954 open->postprocopo_id = ASM_NULL_POPP_TOPOLOGY; in q6asm_open_write()
958 open->dec_fmt_id = ASM_MEDIA_FMT_MP3; in q6asm_open_write()
[all …]
/sound/isa/wavefront/
Dwavefront_midi.c246 spin_lock_irqsave (&midi->open, flags); in snd_wavefront_midi_input_open()
249 spin_unlock_irqrestore (&midi->open, flags); in snd_wavefront_midi_input_open()
271 spin_lock_irqsave (&midi->open, flags); in snd_wavefront_midi_output_open()
274 spin_unlock_irqrestore (&midi->open, flags); in snd_wavefront_midi_output_open()
296 spin_lock_irqsave (&midi->open, flags); in snd_wavefront_midi_input_close()
298 spin_unlock_irqrestore (&midi->open, flags); in snd_wavefront_midi_input_close()
320 spin_lock_irqsave (&midi->open, flags); in snd_wavefront_midi_output_close()
322 spin_unlock_irqrestore (&midi->open, flags); in snd_wavefront_midi_output_close()
565 .open = snd_wavefront_midi_output_open,
572 .open = snd_wavefront_midi_input_open,
/sound/xen/
Dxen_snd_front.c97 req->op.open.pcm_format = format; in xen_snd_front_stream_prepare()
98 req->op.open.pcm_channels = channels; in xen_snd_front_stream_prepare()
99 req->op.open.pcm_rate = rate; in xen_snd_front_stream_prepare()
100 req->op.open.buffer_sz = buffer_sz; in xen_snd_front_stream_prepare()
101 req->op.open.period_sz = period_sz; in xen_snd_front_stream_prepare()
102 req->op.open.gref_directory = in xen_snd_front_stream_prepare()
/sound/isa/
Dcmi8330.c161 snd_pcm_open_callback_t open; member
415 return chip->streams[SNDRV_PCM_STREAM_PLAYBACK].open(substream); in snd_cmi8330_playback_open()
424 return chip->streams[SNDRV_PCM_STREAM_CAPTURE].open(substream); in snd_cmi8330_capture_open()
446 chip->streams[CMI_SB_STREAM].open = ops->open; in snd_cmi8330_pcm()
447 chip->streams[CMI_SB_STREAM].ops.open = cmi_open_callbacks[CMI_SB_STREAM]; in snd_cmi8330_pcm()
453 chip->streams[CMI_AD_STREAM].open = ops->open; in snd_cmi8330_pcm()
454 chip->streams[CMI_AD_STREAM].ops.open = cmi_open_callbacks[CMI_AD_STREAM]; in snd_cmi8330_pcm()
/sound/core/
Djack.c311 .open = simple_open,
318 .open = simple_open,
325 .open = simple_open,
331 .open = simple_open,
337 .open = simple_open,
343 .open = simple_open,
Dsound.c168 if (file->f_op->open) in snd_open()
169 err = file->f_op->open(inode, file); in snd_open()
176 .open = snd_open,
/sound/firewire/motu/
Dmotu-midi.c99 .open = midi_open, in snd_motu_create_midi_devices()
104 .open = midi_open, in snd_motu_create_midi_devices()
/sound/firewire/fireface/
Dff-midi.c90 .open = midi_capture_open, in snd_ff_create_midi_devices()
95 .open = midi_playback_open, in snd_ff_create_midi_devices()
/sound/firewire/tascam/
Dtascam-midi.c75 .open = midi_capture_open, in snd_tscm_create_midi_devices()
80 .open = midi_playback_open, in snd_tscm_create_midi_devices()
/sound/usb/caiaq/
Dmidi.c94 .open = snd_usb_caiaq_midi_output_open,
101 .open = snd_usb_caiaq_midi_input_open,
/sound/soc/meson/
Daxg-toddr.c179 .open = axg_fifo_pcm_open,
240 .open = axg_fifo_pcm_open,
311 .open = axg_fifo_pcm_open,
Daxg-frddr.c158 .open = axg_fifo_pcm_open,
284 .open = axg_fifo_pcm_open,
355 .open = axg_fifo_pcm_open,
/sound/firewire/bebob/
Dbebob_midi.c96 .open = midi_open, in snd_bebob_create_midi_devices()
101 .open = midi_open, in snd_bebob_create_midi_devices()
/sound/firewire/fireworks/
Dfireworks_midi.c95 .open = midi_open, in snd_efw_create_midi_devices()
100 .open = midi_open, in snd_efw_create_midi_devices()
/sound/pci/oxygen/
Doxygen_pcm.c617 .open = oxygen_rec_a_open,
627 .open = oxygen_rec_b_open,
637 .open = oxygen_rec_c_open,
647 .open = oxygen_spdif_open,
657 .open = oxygen_multich_open,
667 .open = oxygen_ac97_open,
/sound/firewire/dice/
Ddice-midi.c99 .open = midi_open, in snd_dice_create_midi()
104 .open = midi_open, in snd_dice_create_midi()
/sound/firewire/digi00x/
Ddigi00x-midi.c120 .open = midi_open, in add_substream_pair()
125 .open = midi_open, in add_substream_pair()
/sound/
Dsound_core.c149 .open = soundcore_open,
590 if (!file->f_op->open) in soundcore_open()
593 return file->f_op->open(inode, file); in soundcore_open()
/sound/soc/intel/atom/
Dsst-mfld-platform.h98 int (*open)(struct device *dev, member
120 int (*open)(struct device *dev, struct snd_sst_params *str_param); member
/sound/firewire/oxfw/
Doxfw-midi.c141 .open = midi_capture_open, in snd_oxfw_create_midi()
146 .open = midi_playback_open, in snd_oxfw_create_midi()
/sound/usb/6fire/
Dmidi.c139 .open = usb6fire_midi_out_open,
146 .open = usb6fire_midi_in_open,

1234567891011