Home | History | Annotate | Download | only in marvell

Lines Matching refs:mva

404 	struct marvell_attach_args *mva = aux;
407 if (strcmp(mva->mva_name, match->cf_name) != 0)
409 if (mva->mva_offset == MVA_OFFSET_DEFAULT)
413 if (mva->mva_model == mvgbe_ports[i].model) {
414 mva->mva_size = MVGBE_SIZE;
425 struct marvell_attach_args *mva = aux, gbea;
436 csc->sc_iot = mva->mva_iot;
437 if (bus_space_subregion(mva->mva_iot, mva->mva_ioh, mva->mva_offset,
438 mva->mva_size, &csc->sc_ioh)) {
455 mvgbec_wininit(csc, mva->mva_tags);
459 if (mvgbe_ports[i].model != mva->mva_model ||
460 mvgbe_ports[i].unit != mva->mva_unit)
467 gbea.mva_model = mva->mva_model;
471 gbea.mva_dmat = mva->mva_dmat;
684 struct marvell_attach_args *mva = aux;
691 pbase = MVGBE_PORTR_BASE + mva->mva_unit * MVGBE_PORTR_SIZE;
693 bus_space_read_4(mva->mva_iot, mva->mva_ioh, pbase + MVGBE_MACAH);
695 bus_space_read_4(mva->mva_iot, mva->mva_ioh, pbase + MVGBE_MACAL);
708 struct marvell_attach_args *mva = aux;
723 sc->sc_port = mva->mva_unit;
724 sc->sc_iot = mva->mva_iot;
727 if (bus_space_subregion(mva->mva_iot, mva->mva_ioh,
728 MVGBE_PORTR_BASE + mva->mva_unit * MVGBE_PORTR_SIZE,
733 if (bus_space_subregion(mva->mva_iot, mva->mva_ioh,
734 MVGBE_PORTDAFR_BASE + mva->mva_unit * MVGBE_PORTDAFR_SIZE,
740 sc->sc_dmat = mva->mva_dmat;
753 if (bus_space_subregion(mva->mva_iot, mva->mva_ioh,
761 if (bus_space_subregion(mva->mva_iot, sc->sc_ioh,
795 marvell_intr_establish(mva->mva_irq, IPL_NET, mvgbe_intr, sc);