qcsmem_softc
struct qcsmem_softc *qcsmem_sc;
static int qcmtx_lock(struct qcsmem_softc *, u_int, u_int);
static void qcmtx_unlock(struct qcsmem_softc *, u_int);
CFATTACH_DECL_NEW(qcomsmem, sizeof(struct qcsmem_softc),
struct qcsmem_softc *sc = device_private(self);
qcsmem_alloc_private(struct qcsmem_softc *sc, struct qcsmem_partition *part,
qcsmem_alloc_global(struct qcsmem_softc *sc, int item, int size)
struct qcsmem_softc *sc = qcsmem_sc;
qcsmem_get_private(struct qcsmem_softc *sc, struct qcsmem_partition *part,
qcsmem_get_global(struct qcsmem_softc *sc, int item, int *size)
struct qcsmem_softc *sc = qcsmem_sc;
qcmtx_dolockunlock(struct qcsmem_softc *sc, u_int idx, int lock)
qcmtx_lock(struct qcsmem_softc *sc, u_int idx, u_int timeout_ms)
qcmtx_unlock(struct qcsmem_softc *sc, u_int idx)