/src/sys/dev/marvell/ |
gttwsi.c | 112 struct marvell_attach_args *mva = aux; local in function:gttwsi_match 114 if (strcmp(mva->mva_name, match->cf_name) != 0) 116 if (mva->mva_offset == MVA_OFFSET_DEFAULT || 117 mva->mva_irq == MVA_IRQ_DEFAULT) 120 mva->mva_size = GTTWSI_SIZE; 128 struct marvell_attach_args *mva = args; local in function:gttwsi_attach 131 if (bus_space_subregion(mva->mva_iot, mva->mva_ioh, mva->mva_offset, 132 mva->mva_size, &ioh)) [all...] |
com_mv.c | 69 struct marvell_attach_args *mva = aux; local in function:mvuart_match 73 if (strcmp(mva->mva_name, match->cf_name) != 0) 75 if (mva->mva_offset == MVA_OFFSET_DEFAULT || 76 mva->mva_irq == MVA_IRQ_DEFAULT) 79 if (com_is_console(mva->mva_iot, mva->mva_addr + mva->mva_offset, NULL)) 82 if (bus_space_subregion(mva->mva_iot, mva->mva_ioh, mva->mva_offset 99 struct marvell_attach_args *mva = aux; local in function:mvuart_attach [all...] |
obio.c | 86 struct marvell_attach_args *mva = aux; local in function:obio_match 88 if (strcmp(mva->mva_name, cf->cf_name) != 0) 92 if (mva->mva_unit == MVA_UNIT_DEFAULT || 93 mva->mva_unit > NUM_OBIO) 104 struct marvell_attach_args *mva = aux; local in function:obio_attach 113 if (gt_devbus_addr(parent, mva->mva_unit, &datal, &datah)) { 115 mva->mva_unit); 131 sc->sc_iot = mva->mva_iot;
|
mvsata_mv.c | 123 struct marvell_attach_args *mva = aux; local in function:mvsatahc_match 126 if (strcmp(mva->mva_name, match->cf_name) != 0) 128 if (mva->mva_offset == MVA_OFFSET_DEFAULT || 129 mva->mva_irq == MVA_IRQ_DEFAULT) 133 if (mva->mva_model == mvsata_products[i].model) { 134 mva->mva_size = MVSATAHC_SIZE; 145 struct marvell_attach_args *mva = aux; local in function:mvsatahc_attach 153 sc->sc_model = mva->mva_model; 154 sc->sc_iot = mva->mva_iot; 155 if (bus_space_subregion(mva->mva_iot, mva->mva_ioh, mva->mva_offset [all...] |
mvxpbm.c | 109 struct marvell_attach_args *mva = aux; local in function:mvxpbm_match 111 if (strcmp(mva->mva_name, match->cf_name) != 0) 113 if (mva->mva_unit > MVXPBM_UNIT_MAX) 117 if (mva->mva_offset != MVA_OFFSET_DEFAULT) { 128 struct marvell_attach_args *mva = aux; local in function:mvxpbm_attach 135 sc->sc_iot = mva->mva_iot; 136 sc->sc_dmat = mva->mva_dmat; 138 if (mva->mva_offset == MVA_OFFSET_DEFAULT) { 338 mvxpbm_device(struct marvell_attach_args *mva) 344 if (mva == NULL [all...] |
mvspi.c | 90 struct marvell_attach_args *mva = aux; local in function:mvspi_match 92 if (strcmp(mva->mva_name, cf->cf_name) != 0) 94 if (mva->mva_offset == MVA_OFFSET_DEFAULT || 95 mva->mva_irq == MVA_IRQ_DEFAULT) 98 mva->mva_size = MVSPI_SIZE; 106 struct marvell_attach_args *mva = aux; local in function:mvspi_attach 114 sc->sc_st = mva->mva_iot; 115 sc->sc_size = mva->mva_size; 117 if (bus_space_subregion(sc->sc_st, mva->mva_ioh, mva->mva_offset [all...] |
mvcesa.c | 104 struct marvell_attach_args *mva = aux; local in function:mvcesa_match 106 if (strcmp(mva->mva_name, match->cf_name) != 0) 108 if (mva->mva_offset == MVA_OFFSET_DEFAULT || 109 mva->mva_irq == MVA_IRQ_DEFAULT) 112 mva->mva_size = MVCESA_SIZE; 121 struct marvell_attach_args *mva = aux; local in function:mvcesa_attach 128 sc->sc_iot = mva->mva_iot; 130 if (bus_space_subregion(mva->mva_iot, mva->mva_ioh, mva->mva_offset [all...] |
mvpex.c | 89 struct marvell_attach_args *mva = aux; local in function:mvpex_match 91 if (strcmp(mva->mva_name, match->cf_name) != 0) 93 if (mva->mva_offset == MVA_OFFSET_DEFAULT || 94 mva->mva_irq == MVA_IRQ_DEFAULT) 97 mva->mva_size = MVPEX_SIZE; 106 struct marvell_attach_args *mva = aux; local in function:mvpex_attach 167 sc->sc_model = mva->mva_model; 168 sc->sc_rev = mva->mva_revision; 169 sc->sc_offset = mva->mva_offset; 170 sc->sc_iot = mva->mva_iot [all...] |
gt.c | 182 struct marvell_attach_args *mva = aux; local in function:gt_cfprint 186 mva->mva_name, pnp, mva->mva_unit); 188 if (mva->mva_unit != MVA_UNIT_DEFAULT) 189 aprint_normal(" unit %d", mva->mva_unit); 190 if (mva->mva_offset != MVA_OFFSET_DEFAULT) { 191 aprint_normal(" offset 0x%04x", mva->mva_offset); 192 if (mva->mva_size > 0) 194 mva->mva_offset + mva->mva_size - 1) 208 struct marvell_attach_args *mva = aux; local in function:gt_cfsearch 219 struct marvell_attach_args mva; local in function:gt_attach_peripherals [all...] |
mvsdio.c | 141 struct marvell_attach_args *mva = aux; local in function:mvsdio_match 143 if (strcmp(mva->mva_name, match->cf_name) != 0) 145 if (mva->mva_offset == MVA_OFFSET_DEFAULT) 148 mva->mva_size = MVSDIO_SIZE; 157 struct marvell_attach_args *mva = aux; local in function:mvsdio_attach 166 sc->sc_iot = mva->mva_iot; 167 if (bus_space_subregion(mva->mva_iot, mva->mva_ioh, mva->mva_offset, 168 mva->mva_size, &sc->sc_ioh)) [all...] |
gtpci.c | 86 struct marvell_attach_args *mva = aux; local in function:gtpci_match 88 if (strcmp(mva->mva_name, match->cf_name) != 0) 91 if (mva->mva_unit == MVA_UNIT_DEFAULT) 93 switch (mva->mva_model) { 102 if (mva->mva_offset != MVA_OFFSET_DEFAULT) 106 mva->mva_size = GTPCI_SIZE; 115 struct marvell_attach_args *mva = aux; local in function:gtpci_attach 189 sc->sc_model = mva->mva_model; 190 sc->sc_rev = mva->mva_revision; 191 sc->sc_unit = mva->mva_unit [all...] |
ehci_mv.c | 183 struct marvell_attach_args *mva = aux; local in function:mvusb_match 185 if (strcmp(mva->mva_name, match->cf_name) != 0) 187 if (mva->mva_offset == MVA_OFFSET_DEFAULT || 188 mva->mva_irq == MVA_IRQ_DEFAULT) 191 mva->mva_size = MARVELL_USB_SIZE; 200 struct marvell_attach_args *mva = aux; local in function:mvusb_attach 208 sc->sc_model = mva->mva_model; 209 sc->sc_rev = mva->mva_revision; 210 sc->sc_iot = mva->mva_iot; 213 if (bus_space_subregion(mva->mva_iot, mva->mva_ioh, mva->mva_offset [all...] |
/src/sys/arch/arm/marvell/ |
mvsoc_sdhc.c | 61 struct marvell_attach_args *mva = aux; local in function:mvsoc_sdhc_match 63 if (strcmp(mva->mva_name, match->cf_name) != 0) 65 mva->mva_size = MVSOC_SDHC_SIZE; 73 struct marvell_attach_args *mva = aux; local in function:mvsoc_sdhc_attach 79 sc->sc_dmat = mva->mva_dmat; 89 if (bus_space_subregion(mva->mva_iot, mva->mva_ioh, 90 mva->mva_offset, mva->mva_size, &ioh)) { 95 intr_establish(mva->mva_irq, IPL_VM, IST_LEVEL, sdhc_intr, sc) [all...] |
mvsocts.c | 76 struct marvell_attach_args *mva = aux; local in function:mvsocts_match 78 if (strcmp(mva->mva_name, match->cf_name) != 0) 88 struct marvell_attach_args *mva = aux; local in function:mvsocts_attach 94 sc->sc_iot = mva->mva_iot; 95 if (bus_space_subregion(mva->mva_iot, mva->mva_ioh, 96 mva->mva_offset, sizeof(uint32_t), &sc->sc_ioh)) 99 switch (mva->mva_model) { 119 aprint_error_dev(self, "unknown model: 0x%x", mva->mva_model);
|
mvsocrtc.c | 71 struct marvell_attach_args * const mva = aux; local in function:mvsocrtc_match 73 if (strcmp(mva->mva_name, cf->cf_name) != 0) 75 if (mva->mva_offset == MVA_OFFSET_DEFAULT) 78 mva->mva_size = MVSOCRTC_SIZE; 86 struct marvell_attach_args * const mva = aux; local in function:mvsocrtc_attach 89 sc->sc_iot = mva->mva_iot; 94 if (bus_space_subregion(mva->mva_iot, mva->mva_ioh, mva->mva_offset, 95 mva->mva_size, &sc->sc_ioh)) [all...] |
mvsocpmu.c | 76 struct marvell_attach_args *mva = aux; local in function:mvsocpmu_match 78 if (strcmp(mva->mva_name, match->cf_name) != 0)
|
mvsoctmr.c | 117 struct marvell_attach_args *mva = aux; local in function:mvsoctmr_match 119 if (strcmp(mva->mva_name, match->cf_name) != 0) 121 if (mva->mva_offset == MVA_OFFSET_DEFAULT || 122 mva->mva_irq == MVA_IRQ_DEFAULT) 125 mva->mva_size = MVSOCTMR_SIZE; 134 struct marvell_attach_args *mva = aux; local in function:mvsoctmr_attach 144 sc->sc_iot = mva->mva_iot; 145 if (bus_space_subregion(mva->mva_iot, mva->mva_ioh, 146 mva->mva_offset, mva->mva_size, &sc->sc_ioh) [all...] |
mvsocgpp.c | 117 struct marvell_attach_args *mva = aux; local in function:mvsocgpp_match 119 if (strcmp(mva->mva_name, match->cf_name) != 0) 121 if (mva->mva_offset == MVA_OFFSET_DEFAULT || 122 mva->mva_irq == MVA_IRQ_DEFAULT) 125 mva->mva_size = MVSOC_GPP_SIZE; 134 struct marvell_attach_args *mva = aux; local in function:mvsocgpp_attach 149 sc->sc_iot = mva->mva_iot; 151 if (bus_space_subregion(mva->mva_iot, mva->mva_ioh, 152 mva->mva_offset, mva->mva_size, &sc->sc_ioh)) [all...] |
dove.c | 325 dove_clkgating(struct marvell_attach_args *mva) 340 if (strcmp(mva->mva_name, "mvsocpmu") == 0) 344 if (clkgatings[i].offset == mva->mva_offset) { 360 struct marvell_attach_args *mva = aux; local in function:dove_pmu_match 365 if (mva->mva_offset == MVA_OFFSET_DEFAULT || 366 mva->mva_irq == MVA_IRQ_DEFAULT) 369 mva->mva_size = DOVE_PMU_SIZE; 377 struct marvell_attach_args *mva = aux; local in function:dove_pmu_attach 380 sc->sc_iot = mva->mva_iot; 381 if (bus_space_subregion(sc->sc_iot, mva->mva_ioh [all...] |
mvsoc.c | 1039 struct marvell_attach_args mva; local in function:mvsoc_attach 1092 mva.mva_name = mvsoc_periphs[i].name; 1093 mva.mva_model = model; 1094 mva.mva_revision = rev; 1095 mva.mva_iot = sc->sc_iot; 1096 mva.mva_ioh = sc->sc_ioh; 1097 mva.mva_unit = mvsoc_periphs[i].unit; 1098 mva.mva_addr = sc->sc_addr; 1099 mva.mva_offset = mvsoc_periphs[i].offset; 1100 mva.mva_size = 0 1120 struct marvell_attach_args *mva = aux; local in function:mvsoc_print [all...] |
/src/sys/arch/evbppc/ev64260/ |
autoconf.c | 132 struct marvell_attach_args *mva = aux; local in function:device_register 137 switch (mva->mva_offset) { 162 struct marvell_attach_args *mva = aux; local in function:device_register 167 if (mva->mva_unit == 0) { 211 struct marvell_attach_args *mva = aux; local in function:device_register 213 ev64260_obio_bs_tags[mva->mva_unit];
|
/src/sys/arch/evbarm/marvell/ |
marvell_machdep.c | 645 struct marvell_attach_args *mva = aux; local in function:marvell_device_register 659 if (mva->mva_offset == MVSOC_PEX_BASE) { 677 if (mva->mva_offset != MVSOC_PEX_BASE) { 701 if (mva->mva_offset == MVSOC_PEX_BASE) { 785 if (mva->mva_offset != mvpex_tags[i].offset)
|
/src/sys/arch/powerpc/oea/ |
ofw_autoconf.c | 277 struct marvell_attach_args *mva = aux; local in function:ofw_device_register 285 if (mva->mva_unit == 0) {
|
/src/sys/arch/sparc/stand/ofwboot/ |
loadfile_machdep.c | 311 vaddr_t va, mva; local in function:mmu_mapin_sun4u 326 mva = OF_claim_virt(va, PAGE_SIZE_4M); 327 if (mva != va) { 330 va, mva); 390 vaddr_t va, mva; local in function:mmu_mapin_sun4v 404 mva = OF_claim_virt(va, PAGE_SIZE_4M); 405 if (mva != va) { 408 va, mva);
|
/src/sys/arch/evbarm/armadaxp/ |
armadaxp_machdep.c | 507 struct marvell_attach_args *mva = aux; local in function:axp_device_register 516 if (mva->mva_offset == MVSOC_PEX_BASE) { 522 } else if (mva->mva_offset == ARMADAXP_PEX01_BASE) { 528 } else if (mva->mva_offset == ARMADAXP_PEX02_BASE) { 534 } else if (mva->mva_offset == ARMADAXP_PEX03_BASE) { 540 } else if (mva->mva_offset == ARMADAXP_PEX10_BASE) { 546 } else if (mva->mva_offset == ARMADAXP_PEX2_BASE) {
|