Home
last modified time | relevance | path

Searched refs:is_open (Results 1 – 25 of 29) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm-dev.c28 if (test_and_set_bit(0, &chip->is_open)) { in tpm_open()
42 clear_bit(0, &chip->is_open); in tpm_open()
54 clear_bit(0, &priv->chip->is_open); in tpm_release()
/kernel/linux/linux-5.10/drivers/input/joystick/
Dpxrc.c26 bool is_open; member
96 pxrc->is_open = true; in pxrc_open()
109 pxrc->is_open = false; in pxrc_close()
212 if (pxrc->is_open) in pxrc_suspend()
225 if (pxrc->is_open && usb_submit_urb(pxrc->urb, GFP_KERNEL) < 0) in pxrc_resume()
246 if (pxrc->is_open && usb_submit_urb(pxrc->urb, GFP_KERNEL) < 0) in pxrc_post_reset()
/kernel/linux/linux-5.10/drivers/usb/storage/
Donetouch.c45 unsigned int is_open:1; member
123 onetouch->is_open = 1; in usb_onetouch_open()
138 onetouch->is_open = 0; in usb_onetouch_close()
146 if (onetouch->is_open) { in usb_onetouch_pm_hook()
/kernel/linux/linux-5.10/drivers/input/tablet/
Dpegasus_notetaker.c84 bool is_open; member
237 pegasus->is_open = true; in pegasus_open()
257 pegasus->is_open = false; in pegasus_close()
422 if (pegasus->is_open && usb_submit_urb(pegasus->irq, GFP_NOIO) < 0) in pegasus_resume()
435 if (pegasus->is_open) { in pegasus_reset_resume()
/kernel/linux/linux-5.10/drivers/input/mouse/
Dsynaptics_usb.c83 bool is_open; member
266 synusb->is_open = true; in synusb_open()
284 synusb->is_open = false; in synusb_close()
491 if ((synusb->is_open || (synusb->flags & SYNUSB_IO_ALWAYS)) && in synusb_resume()
516 if ((synusb->is_open || (synusb->flags & SYNUSB_IO_ALWAYS)) && in synusb_post_reset()
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Df_ecm.c56 bool is_open; member
394 if (ecm->is_open) in ecm_do_notify()
402 ecm->is_open ? "true" : "false"); in ecm_do_notify()
664 ecm->is_open = true; in ecm_open()
674 ecm->is_open = false; in ecm_close()
Df_ncm.c57 bool is_open; member
563 if (ncm->is_open) in ncm_do_notify()
571 ncm->is_open ? "true" : "false"); in ncm_do_notify()
1398 ncm->is_open = true; in ncm_open()
1410 ncm->is_open = false; in ncm_close()
/kernel/linux/linux-5.10/drivers/char/xilinx_hwicap/
Dxilinx_hwicap.c541 if (drvdata->is_open) { in hwicap_open()
555 drvdata->is_open = 1; in hwicap_open()
588 drvdata->is_open = 0; in hwicap_release()
675 drvdata->is_open = 0; in hwicap_setup()
Dxilinx_hwicap.h59 bool is_open; member
/kernel/linux/linux-5.10/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_ioctl.h26 int is_open; member
Dvchiq_arm.c816 if (args->is_open) { in vchiq_ioc_create_service()
855 if (args->is_open) { in vchiq_ioc_create_service()
1585 int is_open; member
1614 .is_open = args32.is_open, in vchiq_compat_ioctl_create_service()
/kernel/linux/linux-5.10/sound/xen/
Dxen_snd_front_alsa.c38 bool is_open; member
219 stream->is_open = false; in stream_clear()
516 if (!stream->is_open) { in alsa_prepare()
540 stream->is_open = true; in alsa_prepare()
/kernel/linux/linux-5.10/drivers/tty/hvc/
Dhvsi.c104 static inline int is_open(struct hvsi_struct *hp) in is_open() function
426 if (!is_open(hp)) in hvsi_load_chunk()
865 if (!is_open(hp)) { in hvsi_write_worker()
920 if (!is_open(hp)) { in hvsi_write()
1105 if (!is_open(hp)) in hvsi_console_print()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dusbtouchscreen.c99 bool is_open; member
1547 usbtouch->is_open = true; in usbtouch_open()
1563 usbtouch->is_open = false; in usbtouch_close()
1588 if (usbtouch->is_open || usbtouch->type->irq_always) in usbtouch_resume()
1613 if (usbtouch->is_open) in usbtouch_reset_resume()
/kernel/linux/linux-5.10/drivers/rpmsg/
Dqcom_smd.c445 bool is_open = state == SMD_CHANNEL_OPENED; in qcom_smd_channel_set_state() local
452 SET_TX_CHANNEL_FLAG(channel, fDSR, is_open); in qcom_smd_channel_set_state()
453 SET_TX_CHANNEL_FLAG(channel, fCTS, is_open); in qcom_smd_channel_set_state()
454 SET_TX_CHANNEL_FLAG(channel, fCD, is_open); in qcom_smd_channel_set_state()
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c1146 vxge_assert(vpath->is_open); in vxge_set_multicast()
1156 vxge_assert(vpath->is_open); in vxge_set_multicast()
1169 vxge_assert(vpath->is_open); in vxge_set_multicast()
1258 vxge_assert(vpath->is_open); in vxge_set_multicast()
1313 if (!vpath->is_open) { in vxge_set_mac_addr()
1452 if (vpath->is_open) { in vxge_restore_vpath_mac_addr()
1491 if (!vpath->is_open) in vxge_restore_vpath_vid_table()
2012 if (vpath->handle && vpath->is_open) { in vxge_close_vpaths()
2016 vpath->is_open = 0; in vxge_close_vpaths()
2089 vpath->is_open = 1; in vxge_open_vpaths()
[all …]
Dvxge-main.h309 int is_open; member
/kernel/linux/linux-5.10/include/linux/
Dtpm.h132 unsigned long is_open; /* only one allowed */ member
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
Dmac80211.c305 priv->is_open = 1; in iwlagn_mac_start()
316 if (!priv->is_open) in iwlagn_mac_stop()
319 priv->is_open = 0; in iwlagn_mac_stop()
Ddev.h752 u8 is_open; member
Drx.c622 if (unlikely(!priv->is_open)) { in iwlagn_pass_packet_to_mac80211()
/kernel/linux/linux-5.10/tools/perf/util/
Devlist.c1715 bool is_open = true; in perf_evlist__reset_weak_group() local
1727 is_open = false; in perf_evlist__reset_weak_group()
1729 if (is_open && close) in perf_evlist__reset_weak_group()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/
D3945-mac.c2666 il->is_open = 0; in il3945_bg_restart()
2703 if (!il->vif || !il->is_open) in il3945_post_associate()
2813 il->is_open = 1; in il3945_mac_start()
2818 il->is_open = 0; in il3945_mac_start()
2830 if (!il->is_open) { in il3945_mac_stop()
2835 il->is_open = 0; in il3945_mac_stop()
D4965-mac.c572 if (unlikely(!il->is_open)) { in il4965_pass_packet_to_mac80211()
5675 il->is_open = 0; in il4965_bg_restart()
5824 il->is_open = 1; in il4965_mac_start()
5836 if (!il->is_open) in il4965_mac_stop()
5839 il->is_open = 0; in il4965_mac_stop()
D4965.c1737 if (!vif || !il->is_open) in il4965_post_associate()

12