Home
last modified time | relevance | path

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

/freebsd/sys/arm/allwinner/
H A Daw_mmc.c659 val = AW_MMC_READ_4(sc, AW_MMC_GCTL); in aw_mmc_prepare_dma()
662 AW_MMC_WRITE_4(sc, AW_MMC_GCTL, val); in aw_mmc_prepare_dma()
666 AW_MMC_WRITE_4(sc, AW_MMC_GCTL, val); in aw_mmc_prepare_dma()
695 reg = AW_MMC_READ_4(sc, AW_MMC_GCTL); in aw_mmc_reset()
697 AW_MMC_WRITE_4(sc, AW_MMC_GCTL, reg); in aw_mmc_reset()
700 if ((AW_MMC_READ_4(sc, AW_MMC_GCTL) & AW_MMC_GCTL_RESET) == 0) in aw_mmc_reset()
740 reg = AW_MMC_READ_4(sc, AW_MMC_GCTL); in aw_mmc_init()
744 AW_MMC_WRITE_4(sc, AW_MMC_GCTL, reg); in aw_mmc_init()
773 val = AW_MMC_READ_4(sc, AW_MMC_GCTL); in aw_mmc_req_done()
774 AW_MMC_WRITE_4(sc, AW_MMC_GCTL, val | mask); in aw_mmc_req_done()
[all …]
H A Daw_mmc.h33 #define AW_MMC_GCTL 0x00 /* Control Register */ macro