Home
last modified time | relevance | path

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

/drivers/staging/most/hdm-i2c/
Dhdm_i2c.c49 bool is_open[NUM_CHANNELS]; member
83 BUG_ON(dev->is_open[ch_idx]); in configure_channel()
99 dev->is_open[ch_idx] = true; in configure_channel()
122 BUG_ON(!dev->is_open[ch_idx]); in enqueue()
164 BUG_ON(!dev->is_open[ch_idx]); in poison_channel()
166 dev->is_open[ch_idx] = false; in poison_channel()
220 !dev->is_open[ch_idx] || in do_rx_work()
226 if (!dev->is_open[ch_idx]) in do_rx_work()
261 if (dev->is_open[CH_RX]) in pending_rx_work()
323 dev->is_open[i] = false; in i2c_probe()
[all …]
/drivers/char/tpm/
Dtpm-dev.c33 if (test_and_set_bit(0, &chip->is_open)) { in tpm_open()
47 clear_bit(0, &chip->is_open); in tpm_open()
65 clear_bit(0, &priv->chip->is_open); in tpm_release()
Dtpm.h217 unsigned long is_open; /* only one allowed */ member
/drivers/usb/storage/
Donetouch.c61 unsigned int is_open:1; member
139 onetouch->is_open = 1; in usb_onetouch_open()
154 onetouch->is_open = 0; in usb_onetouch_close()
162 if (onetouch->is_open) { in usb_onetouch_pm_hook()
/drivers/usb/gadget/function/
Df_ecm.c60 bool is_open; member
398 if (ecm->is_open) in ecm_do_notify()
406 ecm->is_open ? "true" : "false"); in ecm_do_notify()
668 ecm->is_open = true; in ecm_open()
678 ecm->is_open = false; in ecm_close()
Df_ncm.c62 bool is_open; member
567 if (ncm->is_open) in ncm_do_notify()
575 ncm->is_open ? "true" : "false"); in ncm_do_notify()
1386 ncm->is_open = true; in ncm_open()
1398 ncm->is_open = false; in ncm_close()
/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
/drivers/tty/hvc/
Dhvsi.c117 static inline int is_open(struct hvsi_struct *hp) in is_open() function
439 if (!is_open(hp)) in hvsi_load_chunk()
878 if (!is_open(hp)) { in hvsi_write_worker()
933 if (!is_open(hp)) { in hvsi_write()
1105 if (!is_open(hp)) in hvsi_console_print()
/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_ioctl.h45 int is_open; member
Dvchiq_arm.c606 if (args.is_open) { in vchiq_ioctl()
643 if (args.is_open) { in vchiq_ioctl()
1248 int is_open; member
1285 put_user(args32.is_open, &args->is_open) || in vchiq_compat_ioctl_create_service()
/drivers/rpmsg/
Dqcom_smd.c429 bool is_open = state == SMD_CHANNEL_OPENED; in qcom_smd_channel_set_state() local
436 SET_TX_CHANNEL_FLAG(channel, fDSR, is_open); in qcom_smd_channel_set_state()
437 SET_TX_CHANNEL_FLAG(channel, fCTS, is_open); in qcom_smd_channel_set_state()
438 SET_TX_CHANNEL_FLAG(channel, fCD, is_open); in qcom_smd_channel_set_state()
/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c1147 vxge_assert(vpath->is_open); in vxge_set_multicast()
1157 vxge_assert(vpath->is_open); in vxge_set_multicast()
1170 vxge_assert(vpath->is_open); in vxge_set_multicast()
1259 vxge_assert(vpath->is_open); in vxge_set_multicast()
1315 if (!vpath->is_open) { in vxge_set_mac_addr()
1454 if (vpath->is_open) { in vxge_restore_vpath_mac_addr()
1493 if (!vpath->is_open) in vxge_restore_vpath_vid_table()
2015 if (vpath->handle && vpath->is_open) { in vxge_close_vpaths()
2019 vpath->is_open = 0; in vxge_close_vpaths()
2092 vpath->is_open = 1; in vxge_open_vpaths()
[all …]
Dvxge-main.h309 int is_open; member
/drivers/net/wireless/intel/iwlwifi/dvm/
Dmac80211.c318 priv->is_open = 1; in iwlagn_mac_start()
329 if (!priv->is_open) in iwlagn_mac_stop()
332 priv->is_open = 0; in iwlagn_mac_stop()
Ddev.h772 u8 is_open; member
Drx.c635 if (unlikely(!priv->is_open)) { in iwlagn_pass_packet_to_mac80211()
Dmain.c1009 priv->is_open = 0; in iwlagn_prepare_restart()
/drivers/net/wireless/intel/iwlegacy/
D3945-mac.c2693 il->is_open = 0; in il3945_bg_restart()
2731 if (!il->vif || !il->is_open) in il3945_post_associate()
2843 il->is_open = 1; in il3945_mac_start()
2848 il->is_open = 0; in il3945_mac_start()
2860 if (!il->is_open) { in il3945_mac_stop()
2865 il->is_open = 0; in il3945_mac_stop()
D4965-mac.c587 if (unlikely(!il->is_open)) { in il4965_pass_packet_to_mac80211()
5705 il->is_open = 0; in il4965_bg_restart()
5854 il->is_open = 1; in il4965_mac_start()
5866 if (!il->is_open) in il4965_mac_stop()
5869 il->is_open = 0; in il4965_mac_stop()
D4965.c1752 if (!vif || !il->is_open) in il4965_post_associate()
D3945.c499 if (unlikely(!il->is_open)) { in il3945_pass_packet_to_mac80211()
Dcommon.h1310 u8 is_open; member