Home
last modified time | relevance | path

Searched refs:sc_flags (Results 1 – 25 of 60) sorted by relevance

123

/illumos-gate/usr/src/uts/common/io/urtw/
H A Durtw_var.h97 int sc_flags; member
142 ((_sc)->sc_flags & URTW_FLAG_PLUGIN_ONLINE)
144 ((_sc)->sc_flags & URTW_FLAG_RUNNING)
146 (((_sc)->sc_flags & URTW_FLAG_RUNNING) == 0)
147 #define URTW_IS_SUSPENDING(_sc) ((_sc)->sc_flags & URTW_FLAG_SUSPEND)
/illumos-gate/usr/src/uts/common/io/rwd/
H A Drt2661_var.h177 uint32_t sc_flags; member
195 #define RT2661_IS_RUNNING(_sc) (((_sc)->sc_flags & RT2661_F_RUNNING))
196 #define RT2661_IS_SUSPEND(_sc) (((_sc)->sc_flags & RT2661_F_SUSPEND))
197 #define RT2661_IS_FWLOADED(_sc) (((_sc)->sc_flags & RT2661_F_FWLOADED))
198 #define RT2661_IS_FASTREBOOT(_sc) (((_sc)->sc_flags & RT2661_F_QUIESCE))
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dhba.c1264 if (cmd->sc_flags & SCSA1394_CMD_DMA_BUF_VALID) { in scsa1394_scsi_sync_pkt()
1266 (cmd->sc_flags & SCSA1394_CMD_READ) ? in scsa1394_scsi_sync_pkt()
1339 cmd->sc_flags &= ~SCSA1394_CMD_RDWR; in scsa1394_scsi_init_pkt()
1343 if ((cmd->sc_flags & SCSA1394_CMD_DMA_BUF_VALID) == 0) { in scsa1394_scsi_init_pkt()
1367 ((cmd->sc_flags & SCSA1394_CMD_DMA_BUF_MAPIN) == 0)) { in scsa1394_scsi_init_pkt()
1369 cmd->sc_flags |= SCSA1394_CMD_DMA_BUF_MAPIN; in scsa1394_scsi_init_pkt()
1381 if (cmd->sc_flags & SCSA1394_CMD_DMA_BUF_VALID) { in scsa1394_scsi_destroy_pkt()
1384 if (cmd->sc_flags & SCSA1394_CMD_DMA_CDB_VALID) { in scsa1394_scsi_destroy_pkt()
1387 if (cmd->sc_flags & SCSA1394_CMD_DMA_BUF_MAPIN) { in scsa1394_scsi_destroy_pkt()
1389 cmd->sc_flags &= ~SCSA1394_CMD_DMA_BUF_MAPIN; in scsa1394_scsi_destroy_pkt()
[all …]
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_prop.c56 uint32_t sc_flags; member
122 if ((cfg->sc_flags & NDMP_CF_DEFINED) || value) { in ndmpd_load_prop()
157 cfg->sc_flags |= NDMP_CF_DEFINED; in ndmpd_config_update()
165 cfg->sc_flags &= ~NDMP_CF_DEFINED; in ndmpd_config_update()
/illumos-gate/usr/src/uts/common/io/wpi/
H A Dwpi.c423 sc->sc_flags &= ~WPI_F_SUSPEND; in wpi_attach()
426 if (sc->sc_flags & WPI_F_RUNNING) in wpi_attach()
430 sc->sc_flags |= WPI_F_LAZY_RESUME; in wpi_attach()
672 sc->sc_flags |= WPI_F_ATTACHED; in wpi_attach()
711 sc->sc_flags |= WPI_F_SUSPEND; in wpi_detach()
714 if (sc->sc_flags & WPI_F_RUNNING) { in wpi_detach()
723 if (!(sc->sc_flags & WPI_F_ATTACHED)) in wpi_detach()
1137 if (!(sc->sc_flags & WPI_F_QUIESCED)) { in wpi_reset_tx_ring()
1254 sc->sc_flags |= WPI_F_SCANNING; in wpi_newstate()
1277 sc->sc_flags &= ~WPI_F_SCANNING; in wpi_newstate()
[all …]
/illumos-gate/usr/src/uts/common/io/iwp/
H A Diwp.c495 if (sc->sc_flags & IWP_F_RUNNING) { in iwp_attach()
499 atomic_and_32(&sc->sc_flags, ~IWP_F_SUSPEND); in iwp_attach()
869 atomic_or_32(&sc->sc_flags, IWP_F_ATTACHED); in iwp_attach()
921 atomic_and_32(&sc->sc_flags, ~IWP_F_HW_ERR_RECOVER); in iwp_detach()
922 atomic_and_32(&sc->sc_flags, ~IWP_F_RATE_AUTO_CTL); in iwp_detach()
924 atomic_or_32(&sc->sc_flags, IWP_F_SUSPEND); in iwp_detach()
926 if (sc->sc_flags & IWP_F_RUNNING) { in iwp_detach()
939 if (!(sc->sc_flags & IWP_F_ATTACHED)) { in iwp_detach()
1648 if (!(sc->sc_flags & IWP_F_QUIESCED)) { in iwp_reset_tx_ring()
1813 atomic_or_32(&sc->sc_flags, IWP_F_SCANNING); in iwp_newstate()
[all …]
/illumos-gate/usr/src/uts/common/io/ral/
H A Drt2560_var.h167 uint32_t sc_flags; member
202 #define RAL_IS_RUNNING(_sc) (((_sc)->sc_flags & RAL_FLAG_RUNNING) && \
203 !((_sc)->sc_flags & RAL_FLAG_SUSPENDING))
204 #define RAL_IS_INITED(_sc) ((_sc)->sc_flags & RAL_FLAG_RUNNING)
/illumos-gate/usr/src/uts/common/io/iwi/
H A Dipw2200.c361 sc->sc_flags &= ~IPW2200_FLAG_SUSPEND; in ipw2200_attach()
362 if (sc->sc_flags & IPW2200_FLAG_RUNNING) in ipw2200_attach()
667 if (sc->sc_flags & IPW2200_FLAG_RUNNING) { in ipw2200_detach()
670 sc->sc_flags |= IPW2200_FLAG_SUSPEND; in ipw2200_detach()
751 sc->sc_flags |= IPW2200_FLAG_QUIESCED; in ipw2200_quiesce()
778 sc->sc_flags &= ~IPW2200_FLAG_SCANNING; in ipw2200_stop()
779 sc->sc_flags &= ~IPW2200_FLAG_ASSOCIATED; in ipw2200_stop()
1052 if (!(sc->sc_flags & IPW2200_FLAG_FW_CACHED)) { in ipw2200_init()
1100 sc->sc_flags |= IPW2200_FLAG_FW_INITED; in ipw2200_init()
1190 sc->sc_flags &= ~IPW2200_FLAG_FW_INITED; in ipw2200_master_stop()
[all …]
/illumos-gate/usr/src/uts/common/io/uath/
H A Duath_var.h183 uint32_t sc_flags; member
248 #define UATH_IS_RUNNING(_sc) ((_sc)->sc_flags & UATH_FLAG_RUNNING)
249 #define UATH_IS_SUSPEND(_sc) ((_sc)->sc_flags & UATH_FLAG_SUSPEND)
250 #define UATH_IS_DISCONNECT(_sc) ((_sc)->sc_flags & UATH_FLAG_DISCONNECT)
251 #define UATH_IS_RECONNECT(_sc) ((_sc)->sc_flags & UATH_FLAG_RECONNECT)
/illumos-gate/usr/src/uts/common/io/iwh/
H A Diwh.c530 if (sc->sc_flags & IWH_F_RUNNING) { in iwh_attach()
534 atomic_and_32(&sc->sc_flags, ~IWH_F_SUSPEND); in iwh_attach()
942 atomic_or_32(&sc->sc_flags, IWH_F_ATTACHED); in iwh_attach()
1009 atomic_and_32(&sc->sc_flags, ~IWH_F_HW_ERR_RECOVER); in iwh_detach()
1010 atomic_and_32(&sc->sc_flags, ~IWH_F_RATE_AUTO_CTL); in iwh_detach()
1012 atomic_or_32(&sc->sc_flags, IWH_F_SUSPEND); in iwh_detach()
1014 if (sc->sc_flags & IWH_F_RUNNING) { in iwh_detach()
1027 if (!(sc->sc_flags & IWH_F_ATTACHED)) { in iwh_detach()
1707 if (!(sc->sc_flags & IWH_F_QUIESCED)) { in iwh_reset_tx_ring()
1873 atomic_or_32(&sc->sc_flags, IWH_F_SCANNING); in iwh_newstate()
[all …]
/illumos-gate/usr/src/cmd/saf/
H A Dreadtab.c186 tsp->sc_flags = sp->sc_flags;
216 if (startflag && !(sp->sc_flags & X_FLAG))
238 if (startflag && !(sp->sc_flags & X_FLAG))
363 sp->sc_flags, sp->sc_rsmax, sp->sc_pstate, sp->sc_cmd, sp->sc_comment); in dump_table()
H A Dutil.c167 sp->sc_flags = 0;
171 sp->sc_flags |= D_FLAG;
174 sp->sc_flags |= X_FLAG;
/illumos-gate/usr/src/uts/common/io/rwn/
H A Drt2860_var.h118 #define RT2860_IS_RUNNING(_sc) (((_sc)->sc_flags & RT2860_F_RUNNING))
119 #define RT2860_IS_INITED(_sc) ((_sc)->sc_flags & RT2860_F_RUNNING)
120 #define RT2860_IS_SUSPEND(_sc) ((_sc)->sc_flags & RT2860_F_SUSPEND)
188 uint32_t sc_flags; member
H A Drt2860.c472 if (sc->sc_flags & RT2860_ADVANCED_PS) { in rt2860_read_eeprom()
798 if (!(sc->sc_flags & RT2860_F_QUIESCE)) in rt2860_reset_tx_ring()
811 if (!(sc->sc_flags & RT2860_F_QUIESCE)) in rt2860_reset_tx_ring()
2295 if (!(sc->sc_flags & RT2860_FWLOADED)) { in rt2860_init()
2303 sc->sc_flags |= RT2860_FWLOADED; in rt2860_init()
2488 if (sc->sc_flags & RT2860_ADVANCED_PS) in rt2860_init()
2510 sc->sc_flags |= RT2860_F_QUIESCE; in rt2860_quiesce()
2526 if (!(sc->sc_flags & RT2860_F_QUIESCE)) in rt2860_stop()
2528 if (sc->sc_flags == RT2860_F_RUNNING) in rt2860_stop()
2532 if (!(sc->sc_flags & RT2860_F_QUIESCE)) in rt2860_stop()
[all …]
/illumos-gate/usr/src/uts/common/io/ipw/
H A Dipw2100.c606 sc->sc_flags &= ~IPW2100_FLAG_RUNNING; in ipw2100_cpr_suspend()
677 sc->sc_flags |= IPW2100_FLAG_RUNNING; in ipw2100_cpr_resume()
704 sc->sc_flags |= IPW2100_FLAG_QUIESCED; in ipw2100_quiesce()
727 sc->sc_flags &= ~IPW2100_FLAG_FW_INITED; in ipw2100_stop()
729 if (!(sc->sc_flags & IPW2100_FLAG_QUIESCED)) in ipw2100_stop()
1040 sc->sc_flags |= IPW2100_FLAG_CMD_WAIT; in ipw2100_cmd()
1108 if (!(sc->sc_flags & IPW2100_FLAG_FW_CACHED)) { in ipw2100_init()
1224 sc->sc_flags |= IPW2100_FLAG_HAS_RADIO_SWITCH; in ipw2100_hwconf_get()
1228 (sc->sc_flags & IPW2100_FLAG_HAS_RADIO_SWITCH)? "yes" : "no", in ipw2100_hwconf_get()
1253 if (ntries == 50 && !(sc->sc_flags & IPW2100_FLAG_QUIESCED)) in ipw2100_master_stop()
[all …]
H A Dipw2100_hw.c360 sc->sc_flags |= IPW2100_FLAG_FW_CACHED; in ipw2100_cache_firmware()
376 sc->sc_flags &= ~IPW2100_FLAG_FW_CACHED; in ipw2100_free_firmware()
485 while (!(sc->sc_flags & IPW2100_FLAG_FW_INITED)) { in ipw2100_load_fw()
499 if (!(sc->sc_flags & IPW2100_FLAG_FW_INITED)) { in ipw2100_load_fw()
/illumos-gate/usr/src/uts/common/io/iwn/
H A Dif_iwn.c787 if (sc->sc_flags & IWN_FLAG_RUNNING) { in iwn_attach()
791 sc->sc_flags &= ~IWN_FLAG_SUSPEND; in iwn_attach()
982 if (sc->sc_flags & IWN_FLAG_HAS_11N) { in iwn_attach()
1003 if (sc->sc_flags & IWN_FLAG_HAS_5GHZ) { in iwn_attach()
1007 if (sc->sc_flags & IWN_FLAG_HAS_11N) { in iwn_attach()
1128 sc->sc_flags |= IWN_FLAG_ATTACHED; in iwn_attach()
1301 sc->sc_flags |= IWN_FLAG_INTERNAL_PA; in iwn5000_attach()
1388 sc->sc_flags &= ~IWN_FLAG_HW_ERR_RECOVER; in iwn_detach()
1389 sc->sc_flags &= ~IWN_FLAG_RATE_AUTO_CTL; in iwn_detach()
1391 sc->sc_flags |= IWN_FLAG_SUSPEND; in iwn_detach()
[all …]
/illumos-gate/usr/src/uts/common/io/iwk/
H A Diwk2.c494 sc->sc_flags &= ~IWK_F_SUSPEND; in iwk_attach()
497 if (sc->sc_flags & IWK_F_RUNNING) in iwk_attach()
501 sc->sc_flags |= IWK_F_LAZY_RESUME; in iwk_attach()
814 sc->sc_flags |= IWK_F_ATTACHED; in iwk_attach()
865 sc->sc_flags |= IWK_F_SUSPEND; in iwk_detach()
867 if (sc->sc_flags & IWK_F_RUNNING) { in iwk_detach()
877 if (!(sc->sc_flags & IWK_F_ATTACHED)) in iwk_detach()
955 sc->sc_flags |= IWK_F_QUIESCED; in iwk_quiesce()
1562 sc->sc_flags |= IWK_F_SCANNING; in iwk_newstate()
1583 sc->sc_flags &= ~IWK_F_SCANNING; in iwk_newstate()
[all …]
/illumos-gate/usr/src/boot/sys/x86/include/
H A Dsignal.h81 int sc_flags; member
138 int sc_flags; member
/illumos-gate/usr/src/uts/common/io/ural/
H A Dural_var.h90 uint32_t sc_flags; member
124 #define RAL_IS_RUNNING(_sc) ((_sc)->sc_flags & RAL_FLAG_RUNNING)
/illumos-gate/usr/src/uts/common/io/rum/
H A Drum_var.h93 uint32_t sc_flags; member
131 #define RAL_IS_RUNNING(_sc) ((_sc)->sc_flags & RAL_FLAG_RUNNING)
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_main.c845 if (sc->sc_flags & SC_OP_INVALID) in arn_set_channel()
850 (sc->sc_flags & SC_OP_CHAINMASK_UPDATE) || in arn_set_channel()
851 (sc->sc_flags & SC_OP_FULL_RESET)) { in arn_set_channel()
873 if (!stopped || (sc->sc_flags & SC_OP_FULL_RESET)) in arn_set_channel()
895 sc->sc_flags &= ~SC_OP_CHAINMASK_UPDATE; in arn_set_channel()
896 sc->sc_flags &= ~SC_OP_FULL_RESET; in arn_set_channel()
1064 if (sc->sc_flags & SC_OP_INVALID) { in arn_isr()
1269 if (sc->sc_flags & SC_OP_BEACONS) in arn_reset()
1403 if (sc->sc_flags & SC_OP_INVALID) in arn_newstate()
1606 if (sc->sc_flags & SC_OP_INVALID) { in arn_watchdog()
[all …]
/illumos-gate/usr/src/uts/common/io/atu/
H A Datu.h76 uint32_t sc_flags; member
107 #define ATU_RUNNING(sc) ((sc)->sc_flags & ATU_FLAG_RUNNING)
108 #define ATU_REATTACH(sc) ((sc)->sc_flags & ATU_FLAG_REATTACH)
109 #define ATU_RADIO_ON(sc) ((sc)->sc_flags & ATU_FLAG_RADIO_ON)
/illumos-gate/usr/src/uts/common/io/rtw/
H A Drtw.c1578 rtw_pwrstate0(rsc, power, 1, rsc->sc_flags & RTW_F_DIGPHY); in rtw_pwrstate()
1580 rtw_pwrstate0(rsc, power, 0, rsc->sc_flags & RTW_F_DIGPHY); in rtw_pwrstate()
1605 if ((rsc->sc_flags & RTW_F_ENABLED) == 0) in rtw_disable()
1609 if ((rsc->sc_flags & RTW_F_INVALID) == 0 && in rtw_disable()
1617 rsc->sc_flags &= ~RTW_F_ENABLED; in rtw_disable()
1623 if ((rsc->sc_flags & RTW_F_ENABLED) == 0) { in rtw_enable()
1628 rsc->sc_flags |= RTW_F_ENABLED; in rtw_enable()
1767 int antdiv = rsc->sc_flags & RTW_F_ANTDIV, in rtw_tune()
1768 dflantb = rsc->sc_flags & RTW_F_DFLANTB; in rtw_tune()
1787 ASSERT((rsc->sc_flags & RTW_F_ENABLED) != 0); in rtw_tune()
[all …]
/illumos-gate/usr/src/uts/common/io/mwl/
H A Dmwl_var.h517 uint32_t sc_flags; member
625 #define MWL_IS_RUNNING(_sc) (((_sc)->sc_flags & MWL_F_RUNNING))
626 #define MWL_IS_SUSPEND(_sc) (((_sc)->sc_flags & MWL_F_SUSPEND))
627 #define MWL_IS_QUIESCE(_sc) (((_sc)->sc_flags & MWL_F_QUIESCE))

123