Home | History | Annotate | Download | only in i2o

Lines Matching defs:mfa

1506 	u_int32_t mfa, *sw;
1545 POLL(10000, (mfa = iop_inl(sc, IOP_REG_IFIFO)) != IOP_MFA_EMPTY);
1546 if (mfa == IOP_MFA_EMPTY) {
1551 iop_release_mfa(sc, mfa);
1655 * and then release the original MFA back to the inbound FIFO.
2082 u_int32_t mfa;
2092 if ((mfa = iop_inl(sc, IOP_REG_IFIFO)) == IOP_MFA_EMPTY)
2093 if ((mfa = iop_inl(sc, IOP_REG_IFIFO)) == IOP_MFA_EMPTY) {
2095 aprint_error_dev(sc->sc_dev, "mfa not forthcoming\n");
2106 bus_space_write_region_4(sc->sc_msg_iot, sc->sc_msg_ioh, mfa, mb,
2108 bus_space_barrier(sc->sc_msg_iot, sc->sc_msg_ioh, mfa,
2111 /* Post the MFA back to the IOP. */
2112 iop_outl(sc, IOP_REG_IFIFO, mfa);
2242 iop_release_mfa(struct iop_softc *sc, u_int32_t mfa)
2246 iop_outl_msg(sc, mfa, I2O_VERSION_11 | (4 << 16));
2247 iop_outl_msg(sc, mfa + 4, I2O_MSGFUNC(I2O_TID_IOP, I2O_UTIL_NOP));
2248 iop_outl_msg(sc, mfa + 8, 0);
2249 iop_outl_msg(sc, mfa + 12, 0);
2251 iop_outl(sc, IOP_REG_IFIFO, mfa);