Home
last modified time | relevance | path

Searched refs:opened (Results 1 – 25 of 192) sorted by relevance

12345678

/Linux-v4.19/sound/core/seq/oss/
Dseq_oss_synth.c61 int opened; member
119 rec->opened = 0; in snd_seq_oss_synth_probe()
238 info->opened = 0; in snd_seq_oss_synth_setup()
259 info->opened++; in snd_seq_oss_synth_setup()
260 rec->opened++; in snd_seq_oss_synth_setup()
292 info->opened = 1; in snd_seq_oss_synth_setup_midi()
293 midi_synth_dev.opened++; in snd_seq_oss_synth_setup_midi()
316 if (! info->opened) in snd_seq_oss_synth_cleanup()
319 if (midi_synth_dev.opened > 0) { in snd_seq_oss_synth_cleanup()
321 midi_synth_dev.opened--; in snd_seq_oss_synth_cleanup()
[all …]
Dseq_oss_midi.c48 int opened; /* flag for opening */ member
185 mdev->opened = 0; in snd_seq_oss_midi_check_new_port()
338 if (mdev->opened && mdev->devinfo != dp) { in snd_seq_oss_midi_open()
355 if ((mdev->opened & perm) == perm) { in snd_seq_oss_midi_open()
360 perm &= ~mdev->opened; in snd_seq_oss_midi_open()
369 mdev->opened |= PERM_WRITE; in snd_seq_oss_midi_open()
378 mdev->opened |= PERM_READ; in snd_seq_oss_midi_open()
381 if (! mdev->opened) { in snd_seq_oss_midi_open()
402 if (! mdev->opened || mdev->devinfo != dp) { in snd_seq_oss_midi_close()
408 if (mdev->opened & PERM_WRITE) { in snd_seq_oss_midi_close()
[all …]
/Linux-v4.19/Documentation/acpi/
Dacpi-lid.txt13 report the "current" state of the lid as either "opened" or "closed".
36 changed to "opened". Thus the "opened" notification is not guaranteed. But
56 firmware cannot make sure "opened"/"closed" events are paired, the ACPI
59 If the userspace hasn't been prepared to ignore the unreliable "opened"
65 and whether the "opened"/"closed" events are paired fully relies on the
74 initial lid state as "opened" and whether the "opened"/"closed" events
80 If the userspace has been prepared to ignore the unreliable "opened" events
88 "opened" input events. But there is still no guarantee that the "opened"
90 opens given that some AML tables do not send "opened" notifications
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/gpio/
Dhw_gpio.c68 ptr->opened = (dal_hw_gpio_config_mode(pin, mode) == GPIO_RESULT_OK); in dal_hw_gpio_open()
70 return ptr->opened; in dal_hw_gpio_open()
138 ptr->opened = false; in dal_hw_gpio_close()
189 pin->base.opened = false; in dal_hw_gpio_construct()
202 ASSERT(!pin->base.opened); in dal_hw_gpio_destruct()
/Linux-v4.19/Documentation/media/uapi/dvb/
Dquery-dvb-frontend-info.rst9 Usually, the first thing to do when the frontend is opened is to check
13 be opened either in read only or read/write mode.
Dfrontend_f_open.rst30 Device to be opened.
56 The device can be opened in read-only mode, which only allows monitoring
62 long as a front-end device is opened in read/write mode, other open()
64 non-blocking or blocking mode was specified. A front-end device opened
Daudio-fopen.rst72 of the open() call itself. A device opened in blocking mode can later be
77 fail, and an error code will be returned. If the Audio Device is opened
Dvideo-fopen.rst72 affect the semantics of the open() call itself. A device opened in
78 returned. If the Video Device is opened in O_RDONLY mode, the only
/Linux-v4.19/scripts/
Drecordmcount.pl401 my $opened = 0;
477 if (!$opened) {
479 $opened = 1;
563 if (!$opened) {
/Linux-v4.19/drivers/input/misc/
Dcma3000_d0x.c80 bool opened; member
236 data->opened = true; in cma3000_open()
252 data->opened = false; in cma3000_close()
261 if (!data->suspended && data->opened) in cma3000_suspend()
275 if (data->suspended && data->opened) in cma3000_resume()
Dadxl34x.c202 bool opened; /* P: mutex */ member
419 if (!ac->suspended && !ac->disabled && ac->opened) in adxl34x_suspend()
432 if (ac->suspended && !ac->disabled && ac->opened) in adxl34x_resume()
463 if (!ac->suspended && ac->opened) { in adxl34x_disable_store()
592 if (!ac->disabled && !ac->suspended && ac->opened) in adxl34x_autosleep_store()
670 ac->opened = true; in adxl34x_input_open()
686 ac->opened = false; in adxl34x_input_close()
/Linux-v4.19/sound/atmel/
Dac97c.c56 int opened; member
95 chip->opened++; in atmel_ac97c_playback_open()
114 chip->opened++; in atmel_ac97c_capture_open()
132 chip->opened--; in atmel_ac97c_playback_close()
133 if (!chip->opened) { in atmel_ac97c_playback_close()
149 chip->opened--; in atmel_ac97c_capture_close()
150 if (!chip->opened) { in atmel_ac97c_capture_close()
229 if (chip->opened <= 1) in atmel_ac97c_playback_prepare()
311 if (chip->opened <= 1) in atmel_ac97c_capture_prepare()
384 if (chip->opened <= 1) in atmel_ac97c_playback_trigger()
[all …]
/Linux-v4.19/drivers/isdn/hardware/eicon/
Ddivamnt.c47 static unsigned long opened; variable
120 if (test_and_set_bit(0, &opened)) in maint_open()
138 clear_bit(0, &opened); in maint_close()
/Linux-v4.19/drivers/gpu/drm/
Ddrm_debugfs_crc.c109 if (crc->opened) { in crc_control_write()
147 crc->opened = false; in crtc_crc_cleanup()
172 if (!crc->opened) in crtc_crc_open()
173 crc->opened = true; in crtc_crc_open()
/Linux-v4.19/Documentation/media/uapi/mediactl/
Dmedia-func-open.rst30 Device to be opened.
44 When the device is opened in read-only mode, attempts to modify its
/Linux-v4.19/drivers/usb/misc/
Diowarrior.c86 int opened; /* this is 1 if the device is currently open */ member
395 if (!dev->opened) { in iowarrior_write()
612 if (dev->opened) { in iowarrior_open()
624 ++dev->opened; in iowarrior_open()
652 if (dev->opened <= 0) { in iowarrior_release()
656 dev->opened = 0; /* we're closing now */ in iowarrior_release()
883 if (dev->opened) { in iowarrior_disconnect()
/Linux-v4.19/drivers/tty/hvc/
Dhvsi_lib.c60 if (!pv->is_console && pv->opened) { in hvsi_cd_change()
193 if (!pv->opened) in hvsilib_get_chars()
371 pv->opened = 1; in hvsilib_establish()
398 pv->opened = 0; in hvsilib_close()
/Linux-v4.19/Documentation/media/uapi/cec/
Dcec-func-open.rst30 Device to be opened.
53 When the device is opened in read-only mode, attempts to modify its
/Linux-v4.19/arch/um/drivers/
Dchan_kern.c88 if (chan->opened) in open_one_chan()
106 chan->opened = 1; in open_one_chan()
176 if (!chan->opened) in close_one_chan()
190 chan->opened = 0; in close_one_chan()
452 .opened = 0, in parse_chan()
/Linux-v4.19/drivers/input/touchscreen/
Dtsc200x-core.c108 bool opened; member
427 ts->opened = true; in tsc200x_open()
443 ts->opened = false; in tsc200x_close()
606 if (!ts->suspended && ts->opened) in tsc200x_suspend()
622 if (ts->suspended && ts->opened) in tsc200x_resume()
/Linux-v4.19/drivers/staging/vc04_services/bcm2835-audio/
Dbcm2835-pcm.c109 if (spdif && chip->opened) { in snd_bcm2835_playback_open_generic()
112 } else if (!spdif && (chip->opened & (1 << idx))) { in snd_bcm2835_playback_open_generic()
167 chip->opened |= (1 << idx); in snd_bcm2835_playback_open_generic()
233 chip->opened &= ~(1 << substream->number); in snd_bcm2835_playback_close()
/Linux-v4.19/include/drm/
Ddrm_debugfs_crc.h56 bool opened, overflow; member
/Linux-v4.19/arch/xtensa/platforms/iss/
Dnetwork.c47 static LIST_HEAD(opened);
325 list_for_each(ele, &opened) { in iss_net_poll()
387 list_add(&lp->opened_list, &opened); in iss_net_open()
407 list_del(&opened); in iss_net_close()
/Linux-v4.19/sound/hda/ext/
Dhdac_ext_stream.c310 if (!stream->opened) { in hdac_ext_host_stream_assign()
319 res->hstream.opened = 1; in hdac_ext_host_stream_assign()
395 if (stream->decoupled && !stream->hstream.opened) in snd_hdac_ext_stream_release()
/Linux-v4.19/sound/pci/lola/
Dlola_pcm.c231 if (str->opened) { in lola_pcm_open()
237 str->opened = 1; in lola_pcm_open()
268 s->opened = 0; in lola_cleanup_slave_streams()
280 str->opened = 0; in lola_pcm_close()
483 str[i].opened = 1; in lola_pcm_prepare()

12345678