/Linux-v6.1/sound/core/seq/oss/ |
D | seq_oss_synth.c | 48 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() 280 midi_synth_dev.opened++; in snd_seq_oss_synth_setup_midi() 303 if (! info->opened) in snd_seq_oss_synth_cleanup() 306 if (midi_synth_dev.opened > 0) { in snd_seq_oss_synth_cleanup() 308 midi_synth_dev.opened--; in snd_seq_oss_synth_cleanup() [all …]
|
D | seq_oss_midi.c | 35 int opened; /* flag for opening */ member 173 mdev->opened = 0; in snd_seq_oss_midi_check_new_port() 331 if (mdev->opened && mdev->devinfo != dp) { in snd_seq_oss_midi_open() 348 if ((mdev->opened & perm) == perm) { in snd_seq_oss_midi_open() 353 perm &= ~mdev->opened; in snd_seq_oss_midi_open() 362 mdev->opened |= PERM_WRITE; in snd_seq_oss_midi_open() 371 mdev->opened |= PERM_READ; in snd_seq_oss_midi_open() 374 if (! mdev->opened) { in snd_seq_oss_midi_open() 396 if (! mdev->opened || mdev->devinfo != dp) { in snd_seq_oss_midi_close() 402 if (mdev->opened & PERM_WRITE) { in snd_seq_oss_midi_close() [all …]
|
/Linux-v6.1/Documentation/firmware-guide/acpi/ |
D | acpi-lid.rst | 18 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-v6.1/drivers/gpu/drm/amd/display/dc/gpio/ |
D | hw_gpio.c | 68 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-v6.1/scripts/ |
D | recordmcount.pl | 374 my $opened = 0; 443 if (!$opened) { 445 $opened = 1; 537 if (!$opened) {
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | htb.c | 180 bool opened; in mlx5e_htb_root_add() local 187 opened = test_bit(MLX5E_STATE_OPENED, &priv->state); in mlx5e_htb_root_add() 188 if (opened) { in mlx5e_htb_root_add() 214 if (opened) in mlx5e_htb_root_add() 450 bool opened; in mlx5e_htb_leaf_del() local 462 opened = test_bit(MLX5E_STATE_OPENED, &priv->state); in mlx5e_htb_leaf_del() 463 if (opened) { in mlx5e_htb_leaf_del() 481 if (opened) in mlx5e_htb_leaf_del() 491 if (opened) in mlx5e_htb_leaf_del() 507 if (opened) { in mlx5e_htb_leaf_del() [all …]
|
/Linux-v6.1/Documentation/userspace-api/media/dvb/ |
D | query-dvb-frontend-info.rst | 9 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.
|
D | frontend_f_open.rst | 28 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-v6.1/sound/atmel/ |
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 …]
|
/Linux-v6.1/drivers/input/misc/ |
D | cma3000_d0x.c | 69 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()
|
D | adxl34x.c | 202 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-v6.1/drivers/gpu/drm/ |
D | drm_debugfs_crc.c | 154 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-v6.1/drivers/staging/vc04_services/bcm2835-audio/ |
D | bcm2835-pcm.c | 96 if (spdif && chip->opened) { in snd_bcm2835_playback_open_generic() 99 } else if (!spdif && (chip->opened & (1 << idx))) { in snd_bcm2835_playback_open_generic() 149 chip->opened |= (1 << idx); in snd_bcm2835_playback_open_generic() 188 chip->opened &= ~(1 << substream->number); in snd_bcm2835_playback_close()
|
/Linux-v6.1/Documentation/userspace-api/media/mediactl/ |
D | media-func-open.rst | 28 Device to be opened. 41 When the device is opened in read-only mode, attempts to modify its
|
/Linux-v6.1/drivers/tty/hvc/ |
D | hvsi_lib.c | 60 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-v6.1/tools/perf/tests/ |
D | mmap-basic.c | 184 bool opened = false, mapped = false; in test_stat_user_read() local 200 opened = true; in test_stat_user_read() 259 if (opened) in test_stat_user_read()
|
/Linux-v6.1/drivers/input/touchscreen/ |
D | tsc200x-core.c | 102 bool opened; member 420 ts->opened = true; in tsc200x_open() 436 ts->opened = false; in tsc200x_close() 597 if (!ts->suspended && ts->opened) in tsc200x_suspend() 613 if (ts->suspended && ts->opened) in tsc200x_resume()
|
/Linux-v6.1/arch/um/drivers/ |
D | chan_kern.c | 88 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-v6.1/drivers/usb/misc/ |
D | iowarrior.c | 91 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-v6.1/Documentation/userspace-api/media/cec/ |
D | cec-func-open.rst | 28 Device to be opened. 50 When the device is opened in read-only mode, attempts to modify its
|
/Linux-v6.1/drivers/vhost/ |
D | vdpa.c | 54 atomic_t opened; member 1180 int r, opened; in vhost_vdpa_open() local 1185 opened = atomic_cmpxchg(&v->opened, 0, 1); in vhost_vdpa_open() 1186 if (opened) in vhost_vdpa_open() 1221 atomic_dec(&v->opened); in vhost_vdpa_open() 1248 atomic_dec(&v->opened); in vhost_vdpa_release() 1361 atomic_set(&v->opened, 0); in vhost_vdpa_probe() 1406 int opened; in vhost_vdpa_remove() local 1411 opened = atomic_cmpxchg(&v->opened, 0, 1); in vhost_vdpa_remove() 1412 if (!opened) in vhost_vdpa_remove()
|
/Linux-v6.1/sound/usb/ |
D | endpoint.c | 34 int opened; member 43 int opened; member 726 if (!ep->opened) in endpoint_compatible() 784 if (!ep->opened) { in snd_usb_endpoint_open() 809 ep->clock_ref->opened++; in snd_usb_endpoint_open() 849 ep_num, ep->opened); in snd_usb_endpoint_open() 852 if (!ep->iface_ref->opened++) in snd_usb_endpoint_open() 855 ep->opened++; in snd_usb_endpoint_open() 932 ep->ep_num, ep->opened); in snd_usb_endpoint_close() 934 if (!--ep->iface_ref->opened && in snd_usb_endpoint_close() [all …]
|
/Linux-v6.1/drivers/staging/media/deprecated/saa7146/av7110/ |
D | audio-fopen.rst | 69 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
|
D | video-fopen.rst | 70 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-v6.1/sound/soc/sof/intel/ |
D | hda-stream.c | 194 if (s->direction == direction && !s->opened) { in hda_dsp_stream_get() 203 s->opened = true; in hda_dsp_stream_get() 253 if (!s->opened) in hda_dsp_stream_put() 257 s->opened = false; in hda_dsp_stream_put() 737 if (status & BIT(s->index) && s->opened) { in hda_dsp_stream_check() 904 hstream->opened = false; in hda_dsp_stream_init() 960 hstream->opened = false; in hda_dsp_stream_init()
|