| /sound/core/seq/oss/ |
| A D | seq_oss_synth.c | 41 int opened; member 99 rec->opened = 0; in snd_seq_oss_synth_probe() 218 info->opened = 0; in snd_seq_oss_synth_setup() 239 info->opened++; in snd_seq_oss_synth_setup() 240 rec->opened++; in snd_seq_oss_synth_setup() 272 info->opened = 1; in snd_seq_oss_synth_setup_midi() 296 if (! info->opened) in snd_seq_oss_synth_cleanup() 310 rec->opened = 0; in snd_seq_oss_synth_cleanup() 341 if (!info->opened) in get_synthdev() 351 if (! rec->opened) { in get_synthdev() [all …]
|
| A D | seq_oss_midi.c | 35 int opened; /* flag for opening */ member 169 mdev->opened = 0; in snd_seq_oss_midi_check_new_port() 352 perm &= ~mdev->opened; in snd_seq_oss_midi_open() 361 mdev->opened |= PERM_WRITE; in snd_seq_oss_midi_open() 370 mdev->opened |= PERM_READ; in snd_seq_oss_midi_open() 373 if (! mdev->opened) { in snd_seq_oss_midi_open() 410 if (mdev->opened & PERM_READ) { in snd_seq_oss_midi_close() 417 mdev->opened = 0; in snd_seq_oss_midi_close() 440 if (mdev->opened & PERM_WRITE) in snd_seq_oss_midi_filemode() 442 if (mdev->opened & PERM_READ) in snd_seq_oss_midi_filemode() [all …]
|
| A D | seq_oss_device.h | 59 int opened; member
|
| /sound/atmel/ |
| A D | ac97c.c | 53 int opened; member 92 chip->opened++; in atmel_ac97c_playback_open() 111 chip->opened++; in atmel_ac97c_capture_open() 129 chip->opened--; in atmel_ac97c_playback_close() 130 if (!chip->opened) { in atmel_ac97c_playback_close() 146 chip->opened--; in atmel_ac97c_capture_close() 147 if (!chip->opened) { in atmel_ac97c_capture_close() 214 if (chip->opened <= 1) in atmel_ac97c_playback_prepare() 296 if (chip->opened <= 1) in atmel_ac97c_capture_prepare() 369 if (chip->opened <= 1) in atmel_ac97c_playback_trigger() [all …]
|
| /sound/hda/core/ext/ |
| A D | stream.c | 312 if (!hstream->opened) { in hdac_ext_host_dma_stream_assign() 319 res->hstream.opened = 1; in hdac_ext_host_dma_stream_assign() 401 if (!hext_stream->hstream.opened) in snd_hdac_ext_stream_release() 437 if (!hstream->opened) { in snd_hdac_ext_cstream_assign() 445 res->hstream.opened = 1; in snd_hdac_ext_cstream_assign()
|
| /sound/core/seq/ |
| A D | seq_ump_client.c | 39 int opened[2]; /* current opens for each direction */ member 66 if (!client->opened[STR_IN]) in seq_ump_input_receive() 112 if (dir == STR_OUT && !client->opened[dir]) { in seq_ump_client_open() 120 client->opened[dir]++; in seq_ump_client_open() 130 if (!--client->opened[dir]) in seq_ump_client_close()
|
| /sound/usb/ |
| A D | endpoint.c | 34 int opened; member 43 int opened; member 750 if (!ep->opened) in endpoint_compatible() 809 if (!ep->opened) { in snd_usb_endpoint_open() 834 ep->clock_ref->opened++; in snd_usb_endpoint_open() 875 ep_num, ep->opened); in snd_usb_endpoint_open() 878 if (!ep->iface_ref->opened++) in snd_usb_endpoint_open() 881 ep->opened++; in snd_usb_endpoint_open() 969 ep->ep_num, ep->opened); in snd_usb_endpoint_close() 971 if (!--ep->iface_ref->opened && in snd_usb_endpoint_close() [all …]
|
| A D | card.h | 69 int opened; /* open refcount; protect with chip->mutex */ member 168 unsigned int opened:1; /* pcm device opened */ member
|
| A D | midi.c | 113 unsigned int opened[2]; member 1159 if (!umidi->opened[0] && !umidi->opened[1]) { in substream_open() 1169 umidi->opened[dir]++; in substream_open() 1170 if (umidi->opened[1]) in substream_open() 1173 umidi->opened[dir]--; in substream_open() 1174 if (!umidi->opened[1]) in substream_open() 1176 if (!umidi->opened[0] && !umidi->opened[1]) { in substream_open() 2475 if (umidi->input_running || !umidi->opened[1]) in snd_usbmidi_input_start()
|
| A D | pcm.c | 842 if (ep && ep->cur_audiofmt && (ep != ref_ep || ep->opened > 1)) in get_endpoint_in_use() 1248 if (subs->opened) { in snd_usb_pcm_open() 1252 subs->opened = 1; in snd_usb_pcm_open() 1285 subs->opened = 0; in snd_usb_pcm_open() 1311 subs->opened = 0; in snd_usb_pcm_close()
|
| /sound/core/ |
| A D | rawmidi.c | 211 if (!substream->opened) in snd_rawmidi_output_trigger() 218 if (!substream->opened) in snd_rawmidi_input_trigger() 237 if (substream->opened && substream->runtime) in reset_runtime_ptrs() 323 if (substream->opened) { in assign_substream() 354 substream->opened = 1; in open_substream() 557 substream->opened = 0; in close_substream() 1151 if (!substream->opened) in snd_rawmidi_receive() 1487 if (!substream->opened) in snd_rawmidi_transmit() 1509 if (substream->opened && runtime && in snd_rawmidi_proceed() 1727 if (substream->opened) { in snd_rawmidi_proc_info_read() [all …]
|
| /sound/pci/lola/ |
| A D | lola_pcm.c | 218 if (str->opened) { in lola_pcm_open() 224 str->opened = 1; in lola_pcm_open() 255 s->opened = 0; in lola_cleanup_slave_streams() 267 str->opened = 0; in lola_pcm_close() 469 str[i].opened = 1; in lola_pcm_prepare()
|
| A D | lola.h | 295 unsigned int opened:1; member
|
| /sound/soc/sof/intel/ |
| A D | hda-stream.c | 227 if (s->direction == direction && !s->opened) { in hda_dsp_stream_get() 236 s->opened = true; in hda_dsp_stream_get() 289 if (!s->opened) in hda_dsp_stream_put() 293 s->opened = false; in hda_dsp_stream_put() 791 if (status & BIT(s->index) && s->opened) { in hda_dsp_stream_check() 961 hstream->opened = false; in hda_dsp_stream_init()
|
| /sound/usb/line6/ |
| A D | pcm.h | 128 unsigned long opened; member
|
| A D | pcm.c | 156 if (!test_and_set_bit(type, &pstr->opened) && !pstr->buffer) { in line6_buffer_acquire() 173 clear_bit(type, &pstr->opened); in line6_buffer_release() 174 if (!pstr->opened) { in line6_buffer_release()
|
| /sound/pci/ |
| A D | bt87x.c | 184 unsigned long opened; member 407 if (test_and_set_bit(0, &chip->opened)) in snd_bt87x_pcm_open() 425 clear_bit(0, &chip->opened); in snd_bt87x_pcm_open() 440 clear_bit(0, &chip->opened); in snd_bt87x_close()
|
| A D | atiixp_modem.c | 211 int opened; member 852 if (dma->opened) in snd_atiixp_pcm_open() 870 dma->opened = 1; in snd_atiixp_pcm_open() 886 dma->opened = 0; in snd_atiixp_pcm_close()
|
| A D | atiixp.c | 235 int opened; member 1028 if (dma->opened) in snd_atiixp_pcm_open() 1049 dma->opened = 1; in snd_atiixp_pcm_open() 1065 dma->opened = 0; in snd_atiixp_pcm_close()
|
| A D | cmipci.c | 471 int opened[2]; /* open mode */ member 668 if (cm->opened[CM_CH_PLAY]) { in snd_cmipci_playback2_hw_params() 673 cm->opened[CM_CH_PLAY] = CM_OPEN_PLAYBACK_MULTI; in snd_cmipci_playback2_hw_params() 1586 if (cm->opened[ch]) { in open_device_check() 1590 cm->opened[ch] = mode; in open_device_check() 1608 if (cm->opened[ch] == mode) { in close_device_check() 1614 cm->opened[ch] = 0; in close_device_check() 1689 if (! cm->opened[CM_CH_PLAY]) { in snd_cmipci_playback2_open()
|
| A D | maestro3.c | 702 int opened; member 1713 if (! s->opened) in snd_m3_substream_open() 1719 s->opened = 1; in snd_m3_substream_open() 1755 s->opened = 0; in snd_m3_substream_close()
|
| /sound/hda/core/ |
| A D | stream.c | 377 if (azx_dev->opened) in snd_hdac_stream_assign() 387 res->opened = 1; in snd_hdac_stream_assign() 406 azx_dev->opened = 0; in snd_hdac_stream_release_locked()
|
| /sound/ |
| A D | Kconfig | 24 module aliases when one of the device numbers is opened. With
|
| /sound/usb/qcom/ |
| A D | qc_audio_offload.c | 1585 if (info_idx < 0 || chip->system_suspend || subs->opened) { in handle_uaudio_stream_req() 1591 subs->opened = 1; in handle_uaudio_stream_req() 1617 subs->opened = 0; in handle_uaudio_stream_req() 1650 subs->opened = 0; in handle_uaudio_stream_req()
|
| /sound/hda/common/ |
| A D | controller.c | 975 if (hstr->opened) { in snd_hda_codec_load_dsp_prepare() 1018 if (hstr->opened) in snd_hda_codec_load_dsp_cleanup()
|