Home
last modified time | relevance | path

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

1234567

/linux/Documentation/firmware-guide/acpi/
H 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/
H 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/drivers/net/ethernet/mellanox/mlx5/core/en/
H A 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/scripts/
H A Drecordmcount.pl367 my $opened = 0;
436 if (!$opened) {
438 $opened = 1;
530 if (!$opened) {
/linux/Documentation/userspace-api/media/v4l/
H A 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/Documentation/userspace-api/media/dvb/
H 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.
H 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/staging/vc04_services/bcm2835-audio/
H A 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/drivers/tty/hvc/
H A 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/Documentation/userspace-api/media/mediactl/
H 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/core/seq/
H A 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/arch/um/drivers/
H A 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/sound/usb/
H A Dendpoint.c34 int opened; member
43 int opened; member
742 if (!ep->opened) in endpoint_compatible()
797 if (!ep->opened) { in snd_usb_endpoint_open()
818 ep->clock_ref->opened++; in snd_usb_endpoint_open()
856 ep_num, ep->opened); in snd_usb_endpoint_open()
859 if (!ep->iface_ref->opened++) in snd_usb_endpoint_open()
862 ep->opened++; in snd_usb_endpoint_open()
947 ep->ep_num, ep->opened); in snd_usb_endpoint_close()
949 if (!--ep->iface_ref->opened && in snd_usb_endpoint_close()
[all …]
H A Dcard.h69 int opened; /* open refcount; protect with chip->mutex */ member
168 unsigned int opened:1; /* pcm device opened */ member
/linux/Documentation/userspace-api/media/cec/
H A Dcec-func-open.rst28 Device to be opened.
50 When the device is opened in read-only mode, attempts to modify its
/linux/sound/core/
H A Drawmidi.c211 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()
257 if (!substream->opened || !runtime || !runtime->buffer) in snd_rawmidi_drain_output()
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()
1337 if (!substream->opened || !runtime || !runtime->buffer) { in snd_rawmidi_transmit_empty()
1417 if (!substream->opened || !substrea in snd_rawmidi_transmit_peek()
[all...]
/linux/Documentation/arch/powerpc/
H 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/Documentation/userspace-api/gpio/
H A 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()`.
H A Dgpio-get-lineinfo-watch-ioctl.rst53 By default all lines are unwatched when the GPIO chip is opened.
64 on the same GPIO chip opened with a separate call to `open()`.
/linux/tools/perf/tests/
H A Dmmap-basic.c250 bool mapped = false, opened = false, rdpmc_supported; in test_stat_user_read() local
280 opened = true; in test_stat_user_read()
358 if (opened) in test_stat_user_read()
/linux/drivers/misc/
H A Dphantom.c45 unsigned int opened; member
226 if (dev->opened) { in phantom_open()
237 dev->opened++; in phantom_open()
249 dev->opened = 0; in phantom_release()
/linux/Documentation/filesystems/ext4/
H A Dmmp.rst8 simultaneously. When a filesystem is opened (for mounting, or fsck,
57 - Hostname of the node that opened the filesystem.
/linux/include/drm/
H A Ddrm_debugfs_crc.h62 bool opened, overflow; member
/linux/Documentation/filesystems/spufs/
H A Dspufs.rst103 box and the file descriptor has been opened with O_NONBLOCK, the
107 descriptor has been opened without O_NONBLOCK, the call will
124 opened with O_NONBLOCK, the return value is set to -1 and errno becomes
128 has been opened without O_NONBLOCK, the call will block until the SPU
183 descriptor needs to be opened to read the value again.
250 descriptor needs to be opened to read the value again.
/linux/sound/soc/sof/intel/
H A Dhda-stream.c227 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()

1234567