/openbmc/linux/sound/core/seq/oss/ |
H A D | seq_oss_synth.c | 48 int opened; member 107 rec->opened = 0; in snd_seq_oss_synth_probe() 226 info->opened = 0; in snd_seq_oss_synth_setup() 247 info->opened++; in snd_seq_oss_synth_setup() 248 rec->opened++; in snd_seq_oss_synth_setup() 280 info->opened = 1; in snd_seq_oss_synth_setup_midi() 281 midi_synth_dev.opened++; in snd_seq_oss_synth_setup_midi() 304 if (! info->opened) in snd_seq_oss_synth_cleanup() 307 if (midi_synth_dev.opened > 0) { in snd_seq_oss_synth_cleanup() 309 midi_synth_dev.opened--; in snd_seq_oss_synth_cleanup() [all …]
|
H A D | seq_oss_midi.c | 35 int opened; /* flag for opening */ member 174 mdev->opened = 0; in snd_seq_oss_midi_check_new_port() 335 if (mdev->opened && mdev->devinfo != dp) { in snd_seq_oss_midi_open() 352 if ((mdev->opened & perm) == perm) { in snd_seq_oss_midi_open() 357 perm &= ~mdev->opened; in snd_seq_oss_midi_open() 366 mdev->opened |= PERM_WRITE; in snd_seq_oss_midi_open() 375 mdev->opened |= PERM_READ; in snd_seq_oss_midi_open() 378 if (! mdev->opened) { in snd_seq_oss_midi_open() 405 if (!mdev->opened || mdev->devinfo != dp) in snd_seq_oss_midi_close() 409 if (mdev->opened & PERM_WRITE) { in snd_seq_oss_midi_close() [all …]
|
/openbmc/linux/Documentation/firmware-guide/acpi/ |
H A 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
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/gpio/ |
H A 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()
|
/openbmc/qemu/backends/ |
H A D | rng.c | 45 return s->opened; in rng_backend_prop_get_opened() 54 if (k->opened) { in rng_backend_complete() 55 k->opened(s, &local_err); in rng_backend_complete() 62 s->opened = true; in rng_backend_complete()
|
/openbmc/ipmitool/src/plugins/lipmi/ |
H A D | lipmi.c | 59 intf->opened = 1; in ipmi_lipmi_open() 69 intf->opened = 0; in ipmi_lipmi_close() 83 if (!intf->opened && intf->open && intf->open(intf) < 0) in ipmi_lipmi_send_cmd()
|
/openbmc/linux/scripts/ |
H A D | recordmcount.pl | 374 my $opened = 0; 443 if (!$opened) { 445 $opened = 1; 537 if (!$opened) {
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A 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 …]
|
/openbmc/ipmitool/src/plugins/dummy/ |
H A D | dummy.c | 163 intf->opened = 0; in ipmi_dummyipmi_close() 179 if (intf->opened == 1) { in ipmi_dummyipmi_open() 195 intf->opened = 1; in ipmi_dummyipmi_open() 212 if (intf == NULL || intf->fd < 0 || intf->opened != 1) { in ipmi_dummyipmi_send_cmd()
|
/openbmc/ipmitool/src/plugins/dbus/ |
H A D | dbus.c | 181 intf->opened = 1; in ipmi_dbus_setup() 188 if (intf->opened) in ipmi_dbus_close() 190 intf->opened = 0; in ipmi_dbus_close()
|
/openbmc/qemu/include/sysemu/ |
H A D | rng.h | 47 void (*opened)(RngBackend *s, Error **errp); member 55 bool opened; member
|
/openbmc/linux/sound/hda/ext/ |
H A D | hdac_ext_stream.c | 269 if (!hstream->opened) { in hdac_ext_host_dma_stream_assign() 276 res->hstream.opened = 1; in hdac_ext_host_dma_stream_assign() 358 if (!hext_stream->hstream.opened) in snd_hdac_ext_stream_release() 394 if (!hstream->opened) { in snd_hdac_ext_cstream_assign() 402 res->hstream.opened = 1; in snd_hdac_ext_cstream_assign()
|
/openbmc/linux/Documentation/userspace-api/media/dvb/ |
H A 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.
|
H A 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
|
/openbmc/linux/sound/atmel/ |
H A D | ac97c.c | 52 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 …]
|
/openbmc/linux/drivers/input/misc/ |
H A 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()
|
/openbmc/linux/drivers/gpu/drm/ |
H A 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()
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 249.out | 8 === Send a write command to a drive opened in read-only mode (1) 23 === Send a write command to a drive opened in read-only mode (2) 42 === Send a write command to a drive opened in read-only mode (3)
|
H A D | 070.out | 4 …ylog-10G-4M.vhdx: VHDX image file 'TEST_DIR/iotest-dirtylog-10G-4M.vhdx' opened read-only, but con… 22 === Verify image created by Disk2VHD can be opened ===
|
H A D | 195.out | 6 Change backing file of mid (opened read-only) 43 Change backing file of top (opened writable)
|
/openbmc/ipmitool/src/plugins/imb/ |
H A D | imb.c | 65 intf->opened = 1; in ipmi_imb_open() 73 intf->opened = 0; in ipmi_imb_close()
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-subdev-g-client-cap.rst | 41 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.
|
/openbmc/phosphor-webui/app/common/styles/directives/ |
H A D | app-navigation.scss | 31 &.opened{ 46 &.opened{ 138 &.opened {
|
/openbmc/ipmitool/src/plugins/free/ |
H A D | free.c | 169 intf->opened = 1; in ipmi_free_open() 200 intf->opened = 0; in ipmi_free_close() 226 if (!intf->opened && intf->open && intf->open(intf) < 0) in ipmi_free_send_cmd()
|
/openbmc/linux/drivers/staging/vc04_services/bcm2835-audio/ |
H A 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()
|