Home
last modified time | relevance | path

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

12345678910

/linux-6.12.1/sound/core/seq/oss/
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()
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 …]
Dseq_oss_midi.c35 int opened; /* flag for opening */ member
169 mdev->opened = 0; in snd_seq_oss_midi_check_new_port()
330 if (mdev->opened && mdev->devinfo != dp) { in snd_seq_oss_midi_open()
347 if ((mdev->opened & perm) == perm) { in snd_seq_oss_midi_open()
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()
400 if (!mdev->opened || mdev->devinfo != dp) in snd_seq_oss_midi_close()
404 if (mdev->opened & PERM_WRITE) { in snd_seq_oss_midi_close()
[all …]
/linux-6.12.1/Documentation/firmware-guide/acpi/
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-6.12.1/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-6.12.1/scripts/
Drecordmcount.pl367 my $opened = 0;
436 if (!$opened) {
438 $opened = 1;
530 if (!$opened) {
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dhtb.c180 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-6.12.1/Documentation/userspace-api/media/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.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-6.12.1/sound/atmel/
Dac97c.c52 int opened; member
91 chip->opened++; in atmel_ac97c_playback_open()
110 chip->opened++; in atmel_ac97c_capture_open()
128 chip->opened--; in atmel_ac97c_playback_close()
129 if (!chip->opened) { in atmel_ac97c_playback_close()
145 chip->opened--; in atmel_ac97c_capture_close()
146 if (!chip->opened) { in atmel_ac97c_capture_close()
213 if (chip->opened <= 1) in atmel_ac97c_playback_prepare()
295 if (chip->opened <= 1) in atmel_ac97c_capture_prepare()
368 if (chip->opened <= 1) in atmel_ac97c_playback_trigger()
[all …]
/linux-6.12.1/Documentation/userspace-api/media/v4l/
Dvidioc-subdev-g-client-cap.rst41 handle of the opened subdev device node, and the client must set the
42 capabilities for each opened subdev separately.
44 By default no client capabilities are set when a subdev device node is opened.
75 - Sub-device client capabilities of the opened device.
/linux-6.12.1/drivers/input/misc/
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()
Dadxl34x.c202 bool opened; /* P: mutex */ member
421 if (!ac->suspended && !ac->disabled && ac->opened) in adxl34x_suspend()
435 if (ac->suspended && !ac->disabled && ac->opened) in adxl34x_resume()
465 if (!ac->suspended && ac->opened) { in adxl34x_disable_store()
587 if (!ac->disabled && !ac->suspended && ac->opened) in adxl34x_autosleep_store()
665 ac->opened = true; in adxl34x_input_open()
679 ac->opened = false; in adxl34x_input_close()
/linux-6.12.1/sound/hda/ext/
Dhdac_ext_stream.c312 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()
/linux-6.12.1/drivers/gpu/drm/
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-6.12.1/drivers/staging/vc04_services/bcm2835-audio/
Dbcm2835-pcm.c96 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-6.12.1/sound/core/seq/
Dseq_ump_client.c39 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()
/linux-6.12.1/drivers/input/touchscreen/
Dtsc200x-core.c102 bool opened; member
414 ts->opened = true; in tsc200x_open()
428 ts->opened = false; in tsc200x_close()
562 if (!ts->suspended && ts->opened) in tsc200x_suspend()
584 if (ts->suspended && ts->opened) in tsc200x_resume()
/linux-6.12.1/drivers/tty/hvc/
Dhvsi_lib.c60 if (!pv->is_console && pv->opened) { in hvsi_cd_change()
194 if (!pv->opened) in hvsilib_get_chars()
373 pv->opened = 1; in hvsilib_establish()
400 pv->opened = 0; in hvsilib_close()
/linux-6.12.1/Documentation/userspace-api/media/mediactl/
Dmedia-func-open.rst28 Device to be opened.
41 When the device is opened in read-only mode, attempts to modify its
/linux-6.12.1/tools/perf/tests/
Dmmap-basic.c186 bool opened = false, mapped = false; in test_stat_user_read() local
202 opened = true; in test_stat_user_read()
261 if (opened) in test_stat_user_read()
/linux-6.12.1/drivers/usb/misc/
Diowarrior.c91 int opened; /* this is 1 if the device is currently open */ member
407 if (!dev->opened) { in iowarrior_write()
614 if (dev->opened) { in iowarrior_open()
626 ++dev->opened; in iowarrior_open()
653 if (dev->opened <= 0) { in iowarrior_release()
657 dev->opened = 0; /* we're closing now */ in iowarrior_release()
897 if (dev->opened) { in iowarrior_disconnect()
/linux-6.12.1/Documentation/userspace-api/media/cec/
Dcec-func-open.rst28 Device to be opened.
50 When the device is opened in read-only mode, attempts to modify its
/linux-6.12.1/arch/um/drivers/
Dchan_kern.c94 if (chan->opened) in open_one_chan()
136 chan->opened = 1; in open_one_chan()
245 if (!chan->opened) in close_one_chan()
265 chan->opened = 0; in close_one_chan()
519 .opened = 0, in parse_chan()
/linux-6.12.1/sound/usb/
Dendpoint.c34 int opened; member
43 int opened; member
742 if (!ep->opened) in endpoint_compatible()
801 if (!ep->opened) { in snd_usb_endpoint_open()
826 ep->clock_ref->opened++; in snd_usb_endpoint_open()
867 ep_num, ep->opened); in snd_usb_endpoint_open()
870 if (!ep->iface_ref->opened++) in snd_usb_endpoint_open()
873 ep->opened++; in snd_usb_endpoint_open()
954 ep->ep_num, ep->opened); in snd_usb_endpoint_close()
956 if (!--ep->iface_ref->opened && in snd_usb_endpoint_close()
[all …]
/linux-6.12.1/Documentation/userspace-api/gpio/
Dgpio-v2-get-lineinfo-watch-ioctl.rst48 By default all lines are unwatched when the GPIO chip is opened.
59 on the same GPIO chip opened with a separate call to `open()`.

12345678910