Home
last modified time | relevance | path

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

123

/titanic_44/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)
/titanic_44/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))
/titanic_44/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()
/titanic_44/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dhba.c1265 if (cmd->sc_flags & SCSA1394_CMD_DMA_BUF_VALID) { in scsa1394_scsi_sync_pkt()
1267 (cmd->sc_flags & SCSA1394_CMD_READ) ? in scsa1394_scsi_sync_pkt()
1340 cmd->sc_flags &= ~SCSA1394_CMD_RDWR; in scsa1394_scsi_init_pkt()
1344 if ((cmd->sc_flags & SCSA1394_CMD_DMA_BUF_VALID) == 0) { in scsa1394_scsi_init_pkt()
1368 ((cmd->sc_flags & SCSA1394_CMD_DMA_BUF_MAPIN) == 0)) { in scsa1394_scsi_init_pkt()
1370 cmd->sc_flags |= SCSA1394_CMD_DMA_BUF_MAPIN; in scsa1394_scsi_init_pkt()
1382 if (cmd->sc_flags & SCSA1394_CMD_DMA_BUF_VALID) { in scsa1394_scsi_destroy_pkt()
1385 if (cmd->sc_flags & SCSA1394_CMD_DMA_CDB_VALID) { in scsa1394_scsi_destroy_pkt()
1388 if (cmd->sc_flags & SCSA1394_CMD_DMA_BUF_MAPIN) { in scsa1394_scsi_destroy_pkt()
1390 cmd->sc_flags &= ~SCSA1394_CMD_DMA_BUF_MAPIN; in scsa1394_scsi_destroy_pkt()
[all …]
/titanic_44/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()
1135 if (!(sc->sc_flags & WPI_F_QUIESCED)) { in wpi_reset_tx_ring()
1252 sc->sc_flags |= WPI_F_SCANNING; in wpi_newstate()
1275 sc->sc_flags &= ~WPI_F_SCANNING; in wpi_newstate()
[all …]
/titanic_44/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)
/titanic_44/usr/src/uts/common/io/iwp/
H A Diwp.c491 if (sc->sc_flags & IWP_F_RUNNING) { in iwp_attach()
495 atomic_and_32(&sc->sc_flags, ~IWP_F_SUSPEND); in iwp_attach()
865 atomic_or_32(&sc->sc_flags, IWP_F_ATTACHED); in iwp_attach()
917 atomic_and_32(&sc->sc_flags, ~IWP_F_HW_ERR_RECOVER); in iwp_detach()
918 atomic_and_32(&sc->sc_flags, ~IWP_F_RATE_AUTO_CTL); in iwp_detach()
920 atomic_or_32(&sc->sc_flags, IWP_F_SUSPEND); in iwp_detach()
922 if (sc->sc_flags & IWP_F_RUNNING) { in iwp_detach()
935 if (!(sc->sc_flags & IWP_F_ATTACHED)) { in iwp_detach()
1644 if (!(sc->sc_flags & IWP_F_QUIESCED)) { in iwp_reset_tx_ring()
1809 atomic_or_32(&sc->sc_flags, IWP_F_SCANNING); in iwp_newstate()
[all …]
/titanic_44/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)
/titanic_44/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 …]
/titanic_44/usr/src/cmd/saf/
H A Dreadtab.c188 tsp->sc_flags = sp->sc_flags;
218 if (startflag && !(sp->sc_flags & X_FLAG))
240 if (startflag && !(sp->sc_flags & X_FLAG))
365 sp->sc_flags, sp->sc_rsmax, sp->sc_pstate, sp->sc_cmd, sp->sc_comment); in dump_table()
H A Dutil.c170 sp->sc_flags = 0;
174 sp->sc_flags |= D_FLAG;
177 sp->sc_flags |= X_FLAG;
H A Dstructs.h51 long sc_flags; /* flags */ member
/titanic_44/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 …]
/titanic_44/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.c470 if (sc->sc_flags & RT2860_ADVANCED_PS) { in rt2860_read_eeprom()
796 if (!(sc->sc_flags & RT2860_F_QUIESCE)) in rt2860_reset_tx_ring()
809 if (!(sc->sc_flags & RT2860_F_QUIESCE)) in rt2860_reset_tx_ring()
2294 if (!(sc->sc_flags & RT2860_FWLOADED)) { in rt2860_init()
2302 sc->sc_flags |= RT2860_FWLOADED; in rt2860_init()
2487 if (sc->sc_flags & RT2860_ADVANCED_PS) in rt2860_init()
2509 sc->sc_flags |= RT2860_F_QUIESCE; in rt2860_quiesce()
2525 if (!(sc->sc_flags & RT2860_F_QUIESCE)) in rt2860_stop()
2527 if (sc->sc_flags == RT2860_F_RUNNING) in rt2860_stop()
2531 if (!(sc->sc_flags & RT2860_F_QUIESCE)) in rt2860_stop()
[all …]
/titanic_44/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()
/titanic_44/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)
/titanic_44/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)
/titanic_44/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 …]
/titanic_44/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)
/titanic_44/usr/src/uts/common/io/arn/
H A Darn_main.c891 if (sc->sc_flags & SC_OP_INVALID) in arn_set_channel()
896 (sc->sc_flags & SC_OP_CHAINMASK_UPDATE) || in arn_set_channel()
897 (sc->sc_flags & SC_OP_FULL_RESET)) { in arn_set_channel()
919 if (!stopped || (sc->sc_flags & SC_OP_FULL_RESET)) in arn_set_channel()
941 sc->sc_flags &= ~SC_OP_CHAINMASK_UPDATE; in arn_set_channel()
942 sc->sc_flags &= ~SC_OP_FULL_RESET; in arn_set_channel()
1111 if (sc->sc_flags & SC_OP_INVALID) { in arn_isr()
1316 if (sc->sc_flags & SC_OP_BEACONS) in arn_reset()
1450 if (sc->sc_flags & SC_OP_INVALID) in arn_newstate()
1653 if (sc->sc_flags & SC_OP_INVALID) { in arn_watchdog()
[all …]
/titanic_44/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 …]
/titanic_44/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))
/titanic_44/usr/src/uts/common/io/sdcard/impl/
H A Dsda_init.c69 cmdp->sc_flags |= SDA_CMDF_INIT; in sda_init_cmd()
87 cmdp->sc_flags |= SDA_CMDF_INIT; in sda_init_acmd()
599 cmdp->sc_flags |= SDA_CMDF_INIT | SDA_CMDF_DAT | SDA_CMDF_READ; in sda_init_switch()

123