/illumos-gate/usr/src/uts/common/io/urtw/ |
H A D | urtw_var.h | 97 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 D | rt2661_var.h | 177 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 D | hba.c | 1264 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 D | ndmpd_prop.c | 56 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 D | wpi.c | 423 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 D | iwp.c | 495 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 D | rt2560_var.h | 167 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 D | ipw2200.c | 361 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 D | uath_var.h | 183 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 D | iwh.c | 530 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 D | readtab.c | 186 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 D | util.c | 167 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 D | rt2860_var.h | 118 #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 D | rt2860.c | 472 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 D | ipw2100.c | 606 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 D | ipw2100_hw.c | 360 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 D | if_iwn.c | 787 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 D | iwk2.c | 494 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 D | signal.h | 81 int sc_flags; member 138 int sc_flags; member
|
/illumos-gate/usr/src/uts/common/io/ural/ |
H A D | ural_var.h | 90 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 D | rum_var.h | 93 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 D | arn_main.c | 845 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 D | atu.h | 76 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 D | rtw.c | 1578 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 D | mwl_var.h | 517 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))
|