Searched refs:pmx0_base (Results 1 – 2 of 2) sorted by relevance
/optee_os/core/arch/arm/plat-hikey/ |
A D | main.c | 58 vaddr_t pmx0_base = core_mmu_get_va(PMX0_BASE, MEM_AREA_IO_NSEC, in spi_init() local 105 io_write32(pmx0_base + PMX0_IOMG104, PINMUX_SPI); in spi_init() 106 io_write32(pmx0_base + PMX0_IOMG105, PINMUX_SPI); in spi_init() 107 io_write32(pmx0_base + PMX0_IOMG106, PINMUX_SPI); in spi_init() 108 io_write32(pmx0_base + PMX0_IOMG107, PINMUX_SPI); in spi_init()
|
A D | spi_test.c | 50 vaddr_t pmx0_base = core_mmu_get_va(PMX0_BASE, MEM_AREA_IO_NSEC, in spi_set_cs_mux() local 55 io_write32(pmx0_base + PMX0_IOMG106, PINMUX_SPI); in spi_set_cs_mux() 58 io_write32(pmx0_base + PMX0_IOMG106, PINMUX_GPIO); in spi_set_cs_mux() 61 data = io_read32(pmx0_base + PMX0_IOMG106); in spi_set_cs_mux()
|
Completed in 2 milliseconds