Lines Matching refs:exp

55 bs_protos(exp);
63 #define EXP_LOCK_INIT(exp) \
64 mtx_init(&(exp)->lock, "ExpBus", NULL, MTX_SPIN)
65 #define EXP_LOCK_DESTROY(exp) \
66 mtx_destroy(&(exp)->lock)
67 #define EXP_LOCK(exp) mtx_lock_spin(&(exp)->lock)
68 #define EXP_UNLOCK(exp) mtx_unlock_spin(&(exp)->lock)
88 struct expbus_softc *exp = tag->bs_privdata;
89 struct ixp425_softc *sc = exp->sc;
92 EXP_LOCK(exp);
94 EXP_UNLOCK(exp);
101 struct expbus_softc *exp = tag->bs_privdata;
102 struct ixp425_softc *sc = exp->sc;
104 EXP_LOCK(exp);
106 EXP_UNLOCK(exp);
112 struct expbus_softc *exp = tag->bs_privdata;
113 struct ixp425_softc *sc = exp->sc;
116 EXP_LOCK(exp);
117 enable_16(sc, exp->csoff);
119 disable_16(sc, exp->csoff);
120 EXP_UNLOCK(exp);
127 struct expbus_softc *exp = tag->bs_privdata;
128 struct ixp425_softc *sc = exp->sc;
130 EXP_LOCK(exp);
131 enable_16(sc, exp->csoff);
133 disable_16(sc, exp->csoff);
134 EXP_UNLOCK(exp);
141 struct expbus_softc *exp = tag->bs_privdata;
142 struct ixp425_softc *sc = exp->sc;
144 EXP_LOCK(exp);
145 enable_16(sc, exp->csoff);
147 disable_16(sc, exp->csoff);
148 EXP_UNLOCK(exp);
155 struct expbus_softc *exp = tag->bs_privdata;
156 struct ixp425_softc *sc = exp->sc;
158 EXP_LOCK(exp);
159 enable_16(sc, exp->csoff);
161 disable_16(sc, exp->csoff);
162 EXP_UNLOCK(exp);
171 struct expbus_softc *exp = tag->bs_privdata;
172 struct ixp425_softc *sc = exp->sc;
176 EXP_LOCK(exp);
177 enable_16(sc, exp->csoff);
186 disable_16(sc, exp->csoff);
187 EXP_UNLOCK(exp);
194 struct expbus_softc *exp = tag->bs_privdata;
195 struct ixp425_softc *sc = exp->sc;
198 EXP_LOCK(exp);
199 enable_16(sc, exp->csoff);
206 disable_16(sc, exp->csoff);
207 EXP_UNLOCK(exp);