/illumos-gate/usr/src/uts/common/io/rwd/ |
H A D | rt2661_var.h | 183 #define RT2661_GLOCK(_sc) mutex_enter(&(_sc)->sc_genlock) argument 184 #define RT2661_GUNLOCK(_sc) mutex_exit(&(_sc)->sc_genlock) argument 195 #define RT2661_IS_RUNNING(_sc) (((_sc)->sc_flags & RT2661_F_RUNNING)) argument 196 #define RT2661_IS_SUSPEND(_sc) (((_sc)->sc_flags & RT2661_F_SUSPEND)) argument 197 #define RT2661_IS_FWLOADED(_sc) (((_sc)->sc_flags & RT2661_F_FWLOADED)) argument 198 #define RT2661_IS_FASTREBOOT(_sc) (((_sc)->sc_flags & RT2661_F_QUIESCE)) argument
|
/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)) argument 119 #define RT2860_IS_INITED(_sc) ((_sc)->sc_flags & RT2860_F_RUNNING) argument 120 #define RT2860_IS_SUSPEND(_sc) ((_sc)->sc_flags & RT2860_F_SUSPEND) argument 121 #define RT2860_GLOCK(_sc) mutex_enter(&(_sc)->sc_genlock) argument 122 #define RT2860_GUNLOCK(_sc) mutex_exit(&(_sc)->sc_genlock) argument
|
/illumos-gate/usr/src/uts/common/io/urtw/ |
H A D | urtw_var.h | 141 #define URTW_IS_PLUGIN_ONLINE(_sc) \ argument 142 ((_sc)->sc_flags & URTW_FLAG_PLUGIN_ONLINE) 143 #define URTW_IS_RUNNING(_sc) \ argument 144 ((_sc)->sc_flags & URTW_FLAG_RUNNING) 145 #define URTW_IS_NOT_RUNNING(_sc) \ argument 146 (((_sc)->sc_flags & URTW_FLAG_RUNNING) == 0) 147 #define URTW_IS_SUSPENDING(_sc) ((_sc)->sc_flags & URTW_FLAG_SUSPEND) argument
|
/illumos-gate/usr/src/uts/common/io/mwl/ |
H A D | mwl_var.h | 609 #define MWL_GLOCK(_sc) mutex_enter(&(_sc)->sc_glock) argument 610 #define MWL_GUNLOCK(_sc) mutex_exit(&(_sc)->sc_glock) argument 612 #define MWL_RXLOCK(_sc) mutex_enter(&(_sc)->sc_rxlock) argument 613 #define MWL_RXUNLOCK(_sc) mutex_exit(&(_sc)->sc_rxlock) argument 615 #define MWL_TXLOCK(_sc) mutex_enter(&(_sc)->sc_txlock) argument 616 #define MWL_TXUNLOCK(_sc) mutex_exit(&(_sc)->sc_txlock) argument 625 #define MWL_IS_RUNNING(_sc) (((_sc)->sc_flags & MWL_F_RUNNING)) argument 626 #define MWL_IS_SUSPEND(_sc) (((_sc)->sc_flags & MWL_F_SUSPEND)) argument 627 #define MWL_IS_QUIESCE(_sc) (((_sc)->sc_flags & MWL_F_QUIESCE)) argument
|
/illumos-gate/usr/src/uts/common/io/uath/ |
H A D | uath_var.h | 248 #define UATH_IS_RUNNING(_sc) ((_sc)->sc_flags & UATH_FLAG_RUNNING) argument 249 #define UATH_IS_SUSPEND(_sc) ((_sc)->sc_flags & UATH_FLAG_SUSPEND) argument 250 #define UATH_IS_DISCONNECT(_sc) ((_sc)->sc_flags & UATH_FLAG_DISCONNECT) argument 251 #define UATH_IS_RECONNECT(_sc) ((_sc)->sc_flags & UATH_FLAG_RECONNECT) argument
|
/illumos-gate/usr/src/uts/common/io/ral/ |
H A D | rt2560_var.h | 202 #define RAL_IS_RUNNING(_sc) (((_sc)->sc_flags & RAL_FLAG_RUNNING) && \ argument 203 !((_sc)->sc_flags & RAL_FLAG_SUSPENDING)) 204 #define RAL_IS_INITED(_sc) ((_sc)->sc_flags & RAL_FLAG_RUNNING) argument
|
/illumos-gate/usr/src/uts/common/io/ural/ |
H A D | ural_var.h | 124 #define RAL_IS_RUNNING(_sc) ((_sc)->sc_flags & RAL_FLAG_RUNNING) argument
|
/illumos-gate/usr/src/uts/common/io/rum/ |
H A D | rum_var.h | 131 #define RAL_IS_RUNNING(_sc) ((_sc)->sc_flags & RAL_FLAG_RUNNING) argument
|
/illumos-gate/usr/src/uts/common/io/arn/ |
H A D | arn_core.h | 46 #define ARN_LOCK(_sc) mutex_enter(&(_sc)->sc_genlock) argument 47 #define ARN_UNLOCK(_sc) mutex_exit(&(_sc)->sc_genlock) argument 48 #define ARN_LOCK_ASSERT(_sc) ASSERT(mutex_owned(&(_sc)->sc_genlock)) argument
|
H A D | arn_recv.c | 418 #define PA2DESC(_sc, _pa) \ in arn_rx_handler() argument 419 ((struct ath_desc *)((caddr_t)(_sc)->sc_desc + \ in arn_rx_handler() 420 ((_pa) - (_sc)->sc_desc_dma.cookie.dmac_address))) in arn_rx_handler()
|
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | pci_virtio_scsi.c | 74 #define VTSCSI_IN_HEADER_LEN(_sc) \ argument 75 (sizeof(struct pci_vtscsi_req_cmd_rd) + _sc->vss_config.cdb_size) 77 #define VTSCSI_OUT_HEADER_LEN(_sc) \ argument 78 (sizeof(struct pci_vtscsi_req_cmd_wr) + _sc->vss_config.sense_size)
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_impl.h | 1140 #define DEVNAME(_sc) ((_sc)->ifname) argument
|