Home
last modified time | relevance | path

Searched refs:CSR_READ_1 (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/MarvellYukonDxe/
Dif_msk.c696 sc->msk_ramsize = CSR_READ_1 (sc, B2_E_0) * 4; in mskc_setup_rambuffer()
1122 sc_if->MacAddress.Addr[i] = CSR_READ_1 (sc_if->msk_softc, B2_MAC_1 + (Port * 8) + i); in mskc_attach_if()
1224 sc->msk_hw_id = CSR_READ_1 (sc, B2_CHIP_ID); in mskc_attach()
1225 sc->msk_hw_rev = (CSR_READ_1 (sc, B2_MAC_CFG) >> 4) & 0x0f; in mskc_attach()
1250 sc->msk_pmd = CSR_READ_1 (sc, B2_PMD_TYP); in mskc_attach()
1254 if ((CSR_READ_1 (sc, B2_Y2_HW_RES) & CFG_DUAL_MAC_MSK) == CFG_DUAL_MAC_MSK) { in mskc_attach()
1255 if (!(CSR_READ_1 (sc, B2_Y2_CLK_GATE) & Y2_STATUS_LNK2_INAC)) { in mskc_attach()
2105 status = CSR_READ_1 (sc, MR_ADDR (sc_if->msk_md.port, GMAC_IRQ_SRC)); in msk_intr_gmac()
2472 CSR_READ_1 (sc, MR_ADDR (port, GMAC_IRQ_SRC)); in msk_init()
2690 CSR_READ_1 (sc, RB_ADDR (sc_if->msk_rxq, RB_CTRL)); in msk_set_rambuffer()
[all …]
Dif_mskreg.h2072 #define CSR_READ_1(sc, reg) MmioRead8 ((sc)->RegBase + (reg)) macro