/netbsd-src/sys/dev/ic/ |
H A D | ath_netbsd.h | 52 #define ATH_TXQ_LOCK_INIT(_sc, _tq) mutex_init(&(_tq)->axq_lock, MUTEX_DEFAULT, IPL_NET) argument 59 #define ATH_TXBUF_LOCK_INIT(_sc) mutex_init(&(_sc)->sc_txbuflock, MUTEX_DEFAULT, IPL_NET) argument 60 #define ATH_TXBUF_LOCK_DESTROY(_sc) mutex_destroy(&(_sc)->sc_txbuflock) argument 61 #define ATH_TXBUF_LOCK(_sc) mutex_enter(&(_sc)->sc_txbuflock) argument 62 #define ATH_TXBUF_UNLOCK(_sc) mutex_exit(&(_sc)->sc_txbuflock) argument 63 #define ATH_TXBUF_LOCK_ASSERT(_sc) do { KASSERTMSG(mutex_owned(&(_sc)->sc_txbuflock), "txbuf lock u… argument
|
/netbsd-src/sys/arch/arm/sunxi/ |
H A D | sunxi_codec.c | 52 #define AC_DAC_DPC(_sc) ((_sc)->sc_cfg->DPC) argument 54 #define AC_DAC_FIFOC(_sc) ((_sc)->sc_cfg->DAC_FIFOC) argument 74 #define AC_DAC_FIFOS(_sc) ((_sc)->sc_cfg->DAC_FIFOS) argument 75 #define AC_DAC_TXDATA(_sc) ((_sc)->sc_cfg->DAC_TXDATA) argument 76 #define AC_ADC_FIFOC(_sc) ((_sc)->sc_cfg->ADC_FIFOC) argument 86 #define AC_ADC_FIFOS(_sc) ((_sc)->sc_cfg->ADC_FIFOS) argument 87 #define AC_ADC_RXDATA(_sc) ((_sc)->sc_cfg->ADC_RXDATA) argument 88 #define AC_DAC_CNT(_sc) ((_sc)->sc_cfg->DAC_CNT) argument 89 #define AC_ADC_CNT(_sc) ((_sc)->sc_cfg->ADC_CNT) argument
|
/netbsd-src/sys/net/lagg/ |
H A D | if_laggproto.h | 207 #define LAGG_LOCK(_sc) mutex_enter(&(_sc)->sc_lock) argument 208 #define LAGG_UNLOCK(_sc) mutex_exit(&(_sc)->sc_lock) argument 209 #define LAGG_LOCKED(_sc) mutex_owned(&(_sc)->sc_lock) argument 210 #define LAGG_CLLADDR(_sc) CLLADDR((_sc)->sc_if.if_sadl) argument 212 #define LAGG_PORTS_FOREACH(_sc, _lp) \ argument 214 #define LAGG_PORTS_FIRST(_sc) SIMPLEQ_FIRST(&(_sc)->sc_ports) argument 215 #define LAGG_PORTS_EMPTY(_sc) SIMPLEQ_EMPTY(&(_sc)->sc_ports) argument 276 #define LAGG_LOG(_sc, _lvl, _fmt, _arg...) do { \ argument
|
H A D | if_lagg_lacp.c | 220 #define LACP_LOCK(_sc) mutex_enter(&(_sc)->lsc_lock) argument 221 #define LACP_UNLOCK(_sc) mutex_exit(&(_sc)->lsc_lock) argument 222 #define LACP_LOCKED(_sc) mutex_owned(&(_sc)->lsc_lock) argument 229 #define LACP_PTIMER_ARM(_sc, _timer, _val) \ argument 231 #define LACP_PTIMER_DISARM(_sc, _timer) \ argument 233 #define LACP_PTIMER_ISARMED(_sc, _timer) \ argument 238 #define LACP_ISDUMPING(_sc) (_sc)->lsc_dump_du argument 239 #define LACP_PORTMAP_ACTIVE(_sc) \ argument 241 #define LACP_PORTMAP_NEXT(_sc) \ argument
|
H A D | if_lagg.c | 214 #define LAGG_DPRINTF(_sc, _fmt, _args...) do { \ argument 220 #define LAGG_DPRINTF(_sc, _fmt, _args...) __nothing argument
|
/netbsd-src/sys/dev/pci/ixgbe/ |
H A D | ixgbe.h | 655 #define IXGBE_CORE_LOCK_INIT(_sc, _name) \ argument 657 #define IXGBE_CORE_LOCK_DESTROY(_sc) mutex_destroy(&(_sc)->core_mtx) argument 658 #define IXGBE_TX_LOCK_DESTROY(_sc) mutex_destroy(&(_sc)->tx_mtx) argument 659 #define IXGBE_RX_LOCK_DESTROY(_sc) mutex_destroy(&(_sc)->rx_mtx) argument 660 #define IXGBE_CORE_LOCK(_sc) mutex_enter(&(_sc) argument 661 IXGBE_TX_LOCK(_sc) global() argument 662 IXGBE_TX_TRYLOCK(_sc) global() argument 663 IXGBE_RX_LOCK(_sc) global() argument 664 IXGBE_CORE_UNLOCK(_sc) global() argument 665 IXGBE_TX_UNLOCK(_sc) global() argument 666 IXGBE_RX_UNLOCK(_sc) global() argument 667 IXGBE_CORE_LOCK_ASSERT(_sc) global() argument 668 IXGBE_TX_LOCK_ASSERT(_sc) global() argument [all...] |
/netbsd-src/sys/net/ |
H A D | if_bridgevar.h | 351 #define BRIDGE_LOCK_OBJ(_sc) (&(_sc)->sc_iflist_psref.bip_lock) argument 352 #define BRIDGE_LOCK(_sc) mutex_enter(BRIDGE_LOCK_OBJ(_sc)) argument 353 #define BRIDGE_UNLOCK(_sc) mutex_exit(BRIDGE_LOCK_OBJ(_sc)) argument 350 BRIDGE_LOCK_OBJ(_sc) global() argument 355 BRIDGE_PSZ_PERFORM(_sc) global() argument 357 BRIDGE_IFLIST_READER_FOREACH(_bif,_sc) global() argument 360 BRIDGE_IFLIST_WRITER_FOREACH(_bif,_sc) global() argument [all...] |
H A D | if_bridge.c | 182 #define BRIDGE_RT_LOCK(_sc) mutex_enter((_sc)->sc_rtlist_lock) argument 183 #define BRIDGE_RT_UNLOCK(_sc) mutex_exit((_sc)->sc_rtlist_lock) argument 181 BRIDGE_RT_LOCK(_sc) global() argument 185 BRIDGE_RT_PSZ_PERFORM(_sc) global() argument 188 BRIDGE_RTLIST_READER_FOREACH(_brt,_sc) global() argument 191 BRIDGE_RTLIST_WRITER_FOREACH(_brt,_sc) global() argument 194 BRIDGE_RTLIST_WRITER_INSERT_HEAD(_sc,_brt) global() argument 199 BRIDGE_RTHASH_READER_FOREACH(_brt,_sc,_hash) global() argument 202 BRIDGE_RTHASH_WRITER_FOREACH(_brt,_sc,_hash) global() argument 205 BRIDGE_RTHASH_WRITER_INSERT_HEAD(_sc,_hash,_brt) global() argument [all...] |
H A D | if_pppoe.c | 145 #define PPPOE_LOCK(_sc, _op) rw_enter(&(_sc)->sc_lock, (_op)) argument 146 #define PPPOE_UNLOCK(_sc) rw_exit(&(_sc)->sc_lock) argument 147 #define PPPOE_WLOCKED(_sc) rw_write_held(&(_sc)->sc_lock) argument 164 #define DPRINTF(_sc, _fmt, _arg...) pppoe_printf((_sc), (_fmt), ##_arg) argument 166 #define DPRINTF(_sc, _fmt, _arg...) __nothing argument
|
/netbsd-src/sys/dev/pci/ |
H A D | if_stge.c | 223 #define CSR_WRITE_4(_sc, reg, val) \ argument 225 #define CSR_WRITE_2(_sc, reg, val) \ argument 227 #define CSR_WRITE_1(_sc, reg, val) \ argument 230 #define CSR_READ_4(_sc, reg) \ argument 232 #define CSR_READ_2(_sc, reg) \ argument 234 #define CSR_READ_1(_sc, reg) \ argument
|
H A D | if_vtevar.h | 154 #define CSR_WRITE_2(_sc, reg, val) \ argument 157 #define CSR_READ_2(_sc, reg) \ argument
|
H A D | if_alereg.h | 951 #define CSR_WRITE_4(_sc, reg, val) \ argument 953 #define CSR_WRITE_2(_sc, reg, val) \ argument 955 #define CSR_WRITE_1(_sc, reg, val) \ argument 957 #define CSR_READ_2(_sc, reg) \ argument 959 #define CSR_READ_4(_sc, reg) \ argument
|
H A D | if_alcreg.h | 1491 #define CSR_WRITE_4(_sc, reg, val) \ argument 1493 #define CSR_WRITE_2(_sc, reg, val) \ argument 1495 #define CSR_WRITE_1(_sc, reg, val) \ argument 1497 #define CSR_READ_2(_sc, reg) \ argument 1499 #define CSR_READ_4(_sc, reg) \ argument 1502 #define ALC_RXCHAIN_RESET(_sc) \ argument
|
/netbsd-src/sys/arch/arm/imx/ |
H A D | imx23_clkctrl.c | 55 static clkctrl_softc_t _sc = NULL; variable
|
H A D | imx23_rtc.c | 56 static rtc_softc_t _sc = NULL; variable
|
H A D | imx23_digctl.c | 60 static digctl_softc_t _sc = NULL; variable
|
H A D | imx23_pinctrl.c | 71 static imx23_pinctrl_softc_t _sc = NULL; variable
|
/netbsd-src/sys/arch/hppa/dev/ |
H A D | wax.c | 77 wax_fix_args(void *_sc, struct gsc_attach_args *ga) in wax_fix_args()
|
H A D | lasi.c | 95 lasi_fix_args(void *_sc, struct gsc_attach_args *ga) in lasi_fix_args()
|
H A D | asp.c | 145 asp_fix_args(void *_sc, struct gsc_attach_args *ga) in asp_fix_args()
|
/netbsd-src/sys/arch/arm/at91/ |
H A D | at91pio.c | 69 #define PIO_READ(_sc, _reg) bus_space_read_4((_sc)->sc_iot, (_sc)->sc_ioh, (_reg)) argument 70 #define PIO_WRITE(_sc, _reg, _val) bus_space_write_4((_sc)->sc_iot, (_sc)->sc_ioh, (_reg), (_val)) argument
|
/netbsd-src/sys/arch/arm/rockchip/ |
H A D | rk_usb.c | 64 #define RK3399_PHY_NO(_sc) ((_sc)->sc_reg == 0xe450 ? 0 : 1) argument
|
/netbsd-src/sys/dev/pci/igc/ |
H A D | if_igc.h | 389 #define DEVNAME(_sc) ((_sc)->sc_dev.dv_xname) argument
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/c6x/ |
H A D | c6x.c | 3863 c6x_init_sched_context (void *_sc, bool clean_p) in c6x_init_sched_context() 3881 c6x_set_sched_context (void *_sc) in c6x_set_sched_context() 3892 c6x_clear_sched_context (void *_sc) in c6x_clear_sched_context() 3902 c6x_free_sched_context (void *_sc) in c6x_free_sched_context()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/config/c6x/ |
H A D | c6x.cc | 3865 c6x_init_sched_context (void *_sc, bool clean_p) in c6x_init_sched_context() 3883 c6x_set_sched_context (void *_sc) in c6x_set_sched_context() 3894 c6x_clear_sched_context (void *_sc) in c6x_clear_sched_context() 3904 c6x_free_sched_context (void *_sc) in c6x_free_sched_context()
|