Home
last modified time | relevance | path

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

123456789

/linux/sound/core/seq/oss/
A Dseq_oss_synth.c48 int opened; member
106 rec->opened = 0; in snd_seq_oss_synth_probe()
225 info->opened = 0; in snd_seq_oss_synth_setup()
246 info->opened++; in snd_seq_oss_synth_setup()
247 rec->opened++; in snd_seq_oss_synth_setup()
279 info->opened = 1; in snd_seq_oss_synth_setup_midi()
303 if (! info->opened) in snd_seq_oss_synth_cleanup()
317 rec->opened = 0; in snd_seq_oss_synth_cleanup()
350 if (!info->opened) in get_synthdev()
360 if (! rec->opened) { in get_synthdev()
[all …]
A Dseq_oss_midi.c35 int opened; /* flag for opening */ member
173 mdev->opened = 0; in snd_seq_oss_midi_check_new_port()
351 perm &= ~mdev->opened; in snd_seq_oss_midi_open()
360 mdev->opened |= PERM_WRITE; in snd_seq_oss_midi_open()
369 mdev->opened |= PERM_READ; in snd_seq_oss_midi_open()
372 if (! mdev->opened) { in snd_seq_oss_midi_open()
406 if (mdev->opened & PERM_READ) { in snd_seq_oss_midi_close()
413 mdev->opened = 0; in snd_seq_oss_midi_close()
434 if (mdev->opened & PERM_WRITE) in snd_seq_oss_midi_filemode()
436 if (mdev->opened & PERM_READ) in snd_seq_oss_midi_filemode()
[all …]
/linux/Documentation/firmware-guide/acpi/
A Dacpi-lid.rst18 report the "current" state of the lid as either "opened" or "closed".
43 changed to "opened". Thus the "opened" notification is not guaranteed. But
67 firmware cannot make sure "opened"/"closed" events are paired, the ACPI
70 If the userspace hasn't been prepared to ignore the unreliable "opened"
77 and whether the "opened"/"closed" events are paired fully relies on the
89 initial lid state as "opened" and whether the "opened"/"closed" events
96 If the userspace has been prepared to ignore the unreliable "opened" events
105 "opened" input events. But there is still no guarantee that the "opened"
107 opens given that some AML tables do not send "opened" notifications
/linux/drivers/gpu/drm/amd/display/dc/gpio/
A 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/sound/atmel/
A Dac97c.c53 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 …]
/linux/scripts/
A Drecordmcount.pl377 my $opened = 0;
446 if (!$opened) {
448 $opened = 1;
540 if (!$opened) {
/linux/drivers/input/misc/
A Dcma3000_d0x.c69 bool opened; member
225 data->opened = true; in cma3000_open()
241 data->opened = false; in cma3000_close()
250 if (!data->suspended && data->opened) in cma3000_suspend()
264 if (data->suspended && data->opened) in cma3000_resume()
A 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/Documentation/userspace-api/media/dvb/
A 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.
A Dfrontend_f_open.rst28 Device to be opened.
53 The device can be opened in read-only mode, which only allows monitoring
59 long as a front-end device is opened in read/write mode, other open()
61 non-blocking or blocking mode was specified. A front-end device opened
/linux/drivers/gpu/drm/
A Ddrm_debugfs_crc.c154 if (crc->opened) { in crc_control_write()
192 crc->opened = false; in crtc_crc_cleanup()
231 if (!crc->opened) { in crtc_crc_open()
232 crc->opened = true; in crtc_crc_open()
265 crc->opened = false; in crtc_crc_release()
/linux/drivers/vhost/
A Dvdpa.c44 atomic_t opened; member
951 int nvqs, i, r, opened; in vhost_vdpa_open() local
955 opened = atomic_cmpxchg(&v->opened, 0, 1); in vhost_vdpa_open()
956 if (opened) in vhost_vdpa_open()
998 atomic_dec(&v->opened); in vhost_vdpa_open()
1027 atomic_dec(&v->opened); in vhost_vdpa_release()
1133 atomic_set(&v->opened, 0); in vhost_vdpa_probe()
1174 int opened; in vhost_vdpa_remove() local
1179 opened = atomic_cmpxchg(&v->opened, 0, 1); in vhost_vdpa_remove()
1180 if (!opened) in vhost_vdpa_remove()
/linux/drivers/staging/vc04_services/bcm2835-audio/
A Dbcm2835-pcm.c97 if (spdif && chip->opened) { in snd_bcm2835_playback_open_generic()
100 } else if (!spdif && (chip->opened & (1 << idx))) { in snd_bcm2835_playback_open_generic()
150 chip->opened |= (1 << idx); in snd_bcm2835_playback_open_generic()
189 chip->opened &= ~(1 << substream->number); in snd_bcm2835_playback_close()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dqos.c474 bool opened; in mlx5e_htb_root_add() local
485 opened = test_bit(MLX5E_STATE_OPENED, &priv->state); in mlx5e_htb_root_add()
486 if (opened) { in mlx5e_htb_root_add()
516 if (opened) in mlx5e_htb_root_add()
758 bool opened; in mlx5e_htb_leaf_del() local
770 opened = test_bit(MLX5E_STATE_OPENED, &priv->state); in mlx5e_htb_leaf_del()
771 if (opened) { in mlx5e_htb_leaf_del()
789 if (opened) in mlx5e_htb_leaf_del()
799 if (opened) in mlx5e_htb_leaf_del()
815 if (opened) { in mlx5e_htb_leaf_del()
[all …]
/linux/drivers/tty/hvc/
A 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/drivers/usb/misc/
A Diowarrior.c91 int opened; /* this is 1 if the device is currently open */ member
407 if (!dev->opened) { in iowarrior_write()
615 if (dev->opened) { in iowarrior_open()
627 ++dev->opened; in iowarrior_open()
654 if (dev->opened <= 0) { in iowarrior_release()
658 dev->opened = 0; /* we're closing now */ in iowarrior_release()
898 if (dev->opened) { in iowarrior_disconnect()
/linux/arch/um/drivers/
A Dchan_kern.c88 if (chan->opened) in open_one_chan()
106 chan->opened = 1; in open_one_chan()
209 if (!chan->opened) in close_one_chan()
226 chan->opened = 0; in close_one_chan()
480 .opened = 0, in parse_chan()
/linux/drivers/input/touchscreen/
A Dtsc200x-core.c100 bool opened; member
419 ts->opened = true; in tsc200x_open()
435 ts->opened = false; in tsc200x_close()
596 if (!ts->suspended && ts->opened) in tsc200x_suspend()
612 if (ts->suspended && ts->opened) in tsc200x_resume()
/linux/Documentation/userspace-api/media/mediactl/
A Dmedia-func-open.rst28 Device to be opened.
41 When the device is opened in read-only mode, attempts to modify its
/linux/sound/soc/sof/intel/
A Dhda-stream.c196 if (s->direction == direction && !s->opened) { in hda_dsp_stream_get()
205 s->opened = true; in hda_dsp_stream_get()
255 if (!s->opened) in hda_dsp_stream_put()
259 s->opened = false; in hda_dsp_stream_put()
708 if (status & BIT(s->index) && s->opened) { in hda_dsp_stream_check()
877 hstream->opened = false; in hda_dsp_stream_init()
933 hstream->opened = false; in hda_dsp_stream_init()
/linux/Documentation/userspace-api/media/cec/
A Dcec-func-open.rst28 Device to be opened.
50 When the device is opened in read-only mode, attempts to modify its
/linux/Documentation/powerpc/
A Dvas-api.rst41 establish connection to the engine. It means send window is opened on GZIP
81 node is opened, Kernel opens send window on a suitable instance of NX
99 The nx-gzip device should be opened for read and write. No special
154 EEXIST Window is already opened for the given fd
157 opened
237 to the process who opened the send window on which the original request was
250 the signal will be sent to the child thread that opened the window. But if
/linux/drivers/staging/media/av7110/
A Daudio-fopen.rst69 of the open() call itself. A device opened in blocking mode can later be
74 fail, and an error code will be returned. If the Audio Device is opened
A Dvideo-fopen.rst70 affect the semantics of the open() call itself. A device opened in
76 returned. If the Video Device is opened in O_RDONLY mode, the only
/linux/arch/xtensa/platforms/iss/
A Dnetwork.c42 static LIST_HEAD(opened);
321 list_for_each(ele, &opened) { in iss_net_poll()
383 list_add(&lp->opened_list, &opened); in iss_net_open()
403 list_del(&opened); in iss_net_close()

Completed in 68 milliseconds

123456789