Home
last modified time | relevance | path

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

12

/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()
Dhw_gpio.h44 bool opened; member
/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 …]
/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
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/
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()
/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()
Dbcm2835.h62 unsigned int opened; member
/drivers/tty/hvc/
Dhvsi_lib.c60 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/
Diowarrior.c91 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/
Dtsc200x-core.c102 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/
Dvdpa.c54 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/
Dvideo-fopen.rst70 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
Daudio-fopen.rst69 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
Dvideo-fclose.rst38 This system call closes a previously opened video device.
Daudio-fclose.rst38 This system call closes a previously opened audio device.
/drivers/misc/
Dphantom.c42 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/
Dbcm5974.c281 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/
Daf9005-fe.c43 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/
Dcmt_speech.c37 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/
DKconfig20 identified as N_CAIF. When this ldisc is opened from user space
/drivers/tty/serial/
Dsccnxp.c114 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/
Dkaweth.c207 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/
Du_fs.h181 atomic_t opened; member
/drivers/net/hamradio/
Dhdlcdrv.c444 s->opened = 1; in hdlcdrv_open()
481 s->opened = 0; in hdlcdrv_close()
728 if (s->opened && s->ops->close) in hdlcdrv_unregister()

12