Home
last modified time | relevance | path

Searched refs:_softc (Results 1 – 5 of 5) sorted by relevance

/freebsd/share/examples/drivers/
H A Dmake_device_driver.sh520 struct ${1}_softc *scp = DEVICE2SOFTC(device);
537 struct ${1}_softc *scp = DEVICE2SOFTC(device);
564 sizeof(struct ${1}_softc),
613 struct ${1}_softc *scp = DEVICE2SOFTC(device);
625 struct ${1}_softc *scp = DEVICE2SOFTC(device);
637 ${1}_attach(device_t device, struct ${1}_softc * scp)
734 struct ${1}_softc *scp = DEVICE2SOFTC(device);
768 struct ${1}_softc *scp = DEVICE2SOFTC(device);
806 struct ${1}_softc *scp = (struct ${1}_softc *) arg;
821 struct ${1}_softc *scp = DEV2SOFTC(dev);
[all …]
H A Dmake_pseudo_driver.sh170 struct ${1}_softc {
176 typedef struct ${1}_softc *sc_p;
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt.h254 #define BNXT_HWRM_LOCK_INIT(_softc, _name) \
255 mtx_init(&(_softc)->hwrm_lock, _name, "BNXT HWRM Lock", MTX_DEF) argument
256 #define BNXT_HWRM_LOCK(_softc) mtx_lock(&(_softc)->hwrm_lock) argument
257 #define BNXT_HWRM_UNLOCK(_softc) mtx_unlock(&(_softc)->hwrm_lock) argument
258 #define BNXT_HWRM_LOCK_DESTROY(_softc) mtx_destroy(&(_softc)->hwrm_lock) argument
259 #define BNXT_HWRM_LOCK_ASSERT(_softc) mtx_assert(&(_softc)
253 BNXT_HWRM_LOCK_INIT(_softc,_name) global() argument
[all...]
/freebsd/sys/dev/enic/
H A Denic.h72 #define ENIC_LOCK(_softc) mtx_lock(&(_softc)->enic_lock) argument
73 #define ENIC_UNLOCK(_softc) mtx_unlock(&(_softc)->enic_lock) argument
/freebsd/sys/dev/aic7xxx/
H A Daic_osm_lib.h45 #define aic_softc AIC_LIB_ENTRY(_softc)