/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()
|
D | hw_gpio.h | 44 bool opened; member
|
/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 …]
|
/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()
|
/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()
|
/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()
|
D | bcm2835.h | 62 unsigned int opened; member
|
/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()
|
/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()
|
/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()
|
/drivers/vhost/ |
D | vdpa.c | 54 atomic_t opened; member 1212 int r, opened; in vhost_vdpa_open() local 1217 opened = atomic_cmpxchg(&v->opened, 0, 1); in vhost_vdpa_open() 1218 if (opened) in vhost_vdpa_open() 1253 atomic_dec(&v->opened); in vhost_vdpa_open() 1279 atomic_dec(&v->opened); in vhost_vdpa_release() 1392 atomic_set(&v->opened, 0); in vhost_vdpa_probe() 1436 int opened; in vhost_vdpa_remove() local 1441 opened = atomic_cmpxchg(&v->opened, 0, 1); in vhost_vdpa_remove() 1442 if (!opened) in vhost_vdpa_remove()
|
/drivers/staging/media/deprecated/saa7146/av7110/ |
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
|
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-fclose.rst | 38 This system call closes a previously opened video device.
|
D | audio-fclose.rst | 38 This system call closes a previously opened audio device.
|
/drivers/misc/ |
D | phantom.c | 42 unsigned int opened; member 223 if (dev->opened) { in phantom_open() 234 dev->opened++; in phantom_open() 246 dev->opened = 0; in phantom_release()
|
/drivers/input/mouse/ |
D | bcm5974.c | 281 int opened; /* 1: opened, 0: closed */ member 841 dev->opened = 1; in bcm5974_open() 858 dev->opened = 0; in bcm5974_close() 871 if (dev->opened) in bcm5974_suspend() 886 if (dev->opened) in bcm5974_resume()
|
/drivers/media/usb/dvb-usb/ |
D | af9005-fe.c | 43 int opened; member 461 if (state->opened) in af9005_fe_read_status() 1081 state->opened++; in af9005_ts_bus_ctrl() 1084 state->opened--; in af9005_ts_bus_ctrl() 1085 if (!state->opened) in af9005_ts_bus_ctrl() 1434 state->opened = 0; in af9005_fe_attach()
|
/drivers/hsi/clients/ |
D | cmt_speech.c | 37 unsigned int opened; member 137 if (!cs_char_data.opened) { in cs_notify() 1280 if (cs_char_data.opened) { in cs_char_open() 1285 cs_char_data.opened = 1; in cs_char_open() 1313 cs_char_data.opened = 0; in cs_char_open() 1344 csdata->opened = 0; in cs_char_release() 1376 cs_char_data.opened = 0; in cs_hsi_client_probe()
|
/drivers/net/caif/ |
D | Kconfig | 20 identified as N_CAIF. When this ldisc is opened from user space
|
/drivers/tty/serial/ |
D | sccnxp.c | 114 bool opened[SCCNXP_MAX_UARTS]; member 491 if (s->opened[i] && (isr & ISR_RXRDY(i))) in sccnxp_handle_events() 493 if (s->opened[i] && (isr & ISR_TXRDY(i))) in sccnxp_handle_events() 750 s->opened[port->line] = 1; in sccnxp_startup() 764 s->opened[port->line] = 0; in sccnxp_shutdown()
|
/drivers/net/usb/ |
D | kaweth.c | 207 int opened; member 615 kaweth->opened = 1; in kaweth_open() 652 kaweth->opened = 0; in kaweth_close() 853 if (!kaweth->opened) in kaweth_resume()
|
/drivers/usb/gadget/function/ |
D | u_fs.h | 181 atomic_t opened; member
|
/drivers/net/hamradio/ |
D | hdlcdrv.c | 444 s->opened = 1; in hdlcdrv_open() 481 s->opened = 0; in hdlcdrv_close() 728 if (s->opened && s->ops->close) in hdlcdrv_unregister()
|