Home
last modified time | relevance | path

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

12

/Linux-v6.6/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()
/Linux-v6.6/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()
/Linux-v6.6/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()
/Linux-v6.6/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()
428 if (pegasus->is_open && usb_submit_urb(pegasus->irq, GFP_NOIO) < 0) in pegasus_resume()
441 if (pegasus->is_open) { in pegasus_reset_resume()
/Linux-v6.6/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()
/Linux-v6.6/fs/smb/client/
Dcached_dir.c264 cfid->is_open = true; in open_cached_dir()
337 if (cfid->is_open) in open_cached_dir()
393 if (cfid->is_open) { in smb2_close_cached_fid()
472 cfid->is_open = false; in invalidate_all_cached_dirs()
664 cfid->is_open = false; in free_cached_dirs()
Dcached_dir.h38 bool is_open:1; member
/Linux-v6.6/drivers/net/wwan/iosm/
Diosm_ipc_imem.c61 if (!pipe->is_open || pipe->nr_of_queued_entries > 0) in ipc_imem_tq_td_alloc_timer()
734 if (dl_pipe->is_open && in ipc_imem_handle_irq()
742 if (ul_pipe->is_open) in ipc_imem_handle_irq()
872 pipe->is_open = true; in ipc_imem_pipe_open()
874 return pipe->is_open; in ipc_imem_pipe_open()
955 pipe->is_open = false; in ipc_imem_pipe_close()
1149 channel->ul_pipe.is_open = false; in ipc_imem_channel_update()
1159 channel->dl_pipe.is_open = false; in ipc_imem_channel_update()
1191 pipe->is_open = false; in ipc_imem_pipe_cleanup()
Diosm_ipc_mux.c478 ipc_mux->channel->ul_pipe.is_open = false; in ipc_mux_deinit()
479 ipc_mux->channel->dl_pipe.is_open = false; in ipc_mux_deinit()
Diosm_ipc_imem.h217 u8 is_open:1; member
/Linux-v6.6/drivers/usb/gadget/function/
Df_ecm.c56 bool is_open; member
383 if (ecm->is_open) in ecm_do_notify()
391 ecm->is_open ? "true" : "false"); in ecm_do_notify()
653 ecm->is_open = true; in ecm_open()
663 ecm->is_open = false; in ecm_close()
Df_ncm.c57 bool is_open; member
544 if (ncm->is_open) in ncm_do_notify()
552 ncm->is_open ? "true" : "false"); in ncm_do_notify()
1387 ncm->is_open = true; in ncm_open()
1399 ncm->is_open = false; in ncm_close()
/Linux-v6.6/drivers/char/xilinx_hwicap/
Dxilinx_hwicap.c543 if (drvdata->is_open) { in hwicap_open()
557 drvdata->is_open = 1; in hwicap_open()
590 drvdata->is_open = 0; in hwicap_release()
677 drvdata->is_open = 0; in hwicap_setup()
Dxilinx_hwicap.h59 bool is_open; member
/Linux-v6.6/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_dev.c149 if (args->is_open && !instance->connected) in vchiq_ioc_create_service()
156 if (args->is_open) { in vchiq_ioc_create_service()
191 if (args->is_open) { in vchiq_ioc_create_service()
897 int is_open; member
925 .is_open = args32.is_open, in vchiq_compat_ioctl_create_service()
Dvchiq_ioctl.h27 int is_open; member
/Linux-v6.6/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()
/Linux-v6.6/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()
919 if (!is_open(hp)) { in hvsi_write()
1106 if (!is_open(hp)) in hvsi_console_print()
/Linux-v6.6/drivers/input/touchscreen/
Dusbtouchscreen.c99 bool is_open; member
1550 usbtouch->is_open = true; in usbtouch_open()
1566 usbtouch->is_open = false; in usbtouch_close()
1591 if (usbtouch->is_open || usbtouch->type->irq_always) in usbtouch_resume()
1616 if (usbtouch->is_open) in usbtouch_reset_resume()
/Linux-v6.6/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()
/Linux-v6.6/include/linux/
Dtpm.h139 unsigned long is_open; /* only one allowed */ member
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/dvm/
Dmac80211.c300 priv->is_open = 1; in iwlagn_mac_start()
311 if (!priv->is_open) in iwlagn_mac_stop()
314 priv->is_open = 0; in iwlagn_mac_stop()
Ddev.h748 u8 is_open; member
/Linux-v6.6/drivers/net/wireless/intel/iwlegacy/
D3945-mac.c2658 il->is_open = 0; in il3945_bg_restart()
2695 if (!il->vif || !il->is_open) in il3945_post_associate()
2805 il->is_open = 1; in il3945_mac_start()
2810 il->is_open = 0; in il3945_mac_start()
2822 if (!il->is_open) { in il3945_mac_stop()
2827 il->is_open = 0; in il3945_mac_stop()
/Linux-v6.6/tools/perf/util/
Devlist.c1798 bool is_open = true; in evlist__reset_weak_group() local
1811 is_open = false; in evlist__reset_weak_group()
1813 if (is_open && close) in evlist__reset_weak_group()

12