Searched refs:MIPS_PHYS_TO_KSEG1 (Results 1 – 25 of 27) sorted by relevance
12
163 MIPS_PHYS_TO_KSEG1(MALTA_PCI0_ADDR(MALTA_RTCADR))) = addr; in malta_rtcin()165 MIPS_PHYS_TO_KSEG1(MALTA_PCI0_ADDR(MALTA_RTCDAT)))); in malta_rtcin()173 MIPS_PHYS_TO_KSEG1(MALTA_PCI0_ADDR(MALTA_RTCADR))) = addr; in malta_writertc()175 MIPS_PHYS_TO_KSEG1(MALTA_PCI0_ADDR(MALTA_RTCDAT))) = val; in malta_writertc()
87 sc->sc_sysdev->bas.bsh = MIPS_PHYS_TO_KSEG1(MALTA_UART0ADR); in uart_malta_probe()89 sc->sc_bas.bsh = MIPS_PHYS_TO_KSEG1(MALTA_UART0ADR); in uart_malta_probe()
38 (MIPS_PHYS_TO_KSEG1(MALTA_CORECTRL_BASE + (x))))
69 di->bas.bsh = MIPS_PHYS_TO_KSEG1(MALTA_UART0ADR); in uart_cpu_getdev()
88 sc->oba_addr = MIPS_PHYS_TO_KSEG1(MALTA_UART0ADR); in obio_attach()
315 sc->sc_ioh_elcr = MIPS_PHYS_TO_KSEG1(sc->sc_io + 0x4d0); in gt_pci_attach()316 sc->sc_ioh_icu1 = MIPS_PHYS_TO_KSEG1(sc->sc_io + IO_ICU1); in gt_pci_attach()317 sc->sc_ioh_icu2 = MIPS_PHYS_TO_KSEG1(sc->sc_io + IO_ICU2); in gt_pci_attach()
83 sc->sc_sysdev->bas.bsh = MIPS_PHYS_TO_KSEG1(AR71XX_UART_ADDR) + 3; in uart_ar71xx_probe()86 sc->sc_bas.bsh = MIPS_PHYS_TO_KSEG1(AR71XX_UART_ADDR) + 3; in uart_ar71xx_probe()
88 sc->sc_sysdev->bas.bsh = MIPS_PHYS_TO_KSEG1(AR71XX_UART_ADDR); in uart_ar933x_probe()91 sc->sc_bas.bsh = MIPS_PHYS_TO_KSEG1(AR71XX_UART_ADDR); in uart_ar933x_probe()
76 di->bas.bsh = MIPS_PHYS_TO_KSEG1(AR71XX_UART_ADDR); in uart_cpu_getdev()
78 di->bas.bsh = MIPS_PHYS_TO_KSEG1(AR71XX_UART_ADDR); in uart_cpu_getdev()
81 uint16_t *cal_data = (uint16_t *) MIPS_PHYS_TO_KSEG1(flash_addr); in ar71xx_pci_slot_create_eeprom_firmware()
533 *((volatile uint32_t *)MIPS_PHYS_TO_KSEG1((reg)))540 *((volatile uint32_t *)MIPS_PHYS_TO_KSEG1((reg))) = (val)
81 uint16_t *cal_data = (uint16_t *) MIPS_PHYS_TO_KSEG1(flash_addr); in ar71xx_platform_create_cal_data()
179 mac = (const char *) MIPS_PHYS_TO_KSEG1(eeprom_mac_addr); in ar71xx_platform_read_eeprom_mac()
281 uint16_t *cal_data = (uint16_t *) MIPS_PHYS_TO_KSEG1(flash_addr); in ar724x_pci_fixup()
225 *((volatile uint32_t *)MIPS_PHYS_TO_KSEG1((reg)))228 *((volatile uint32_t *)MIPS_PHYS_TO_KSEG1((reg))) = (val)
85 ptr = (const uint8_t *) MIPS_PHYS_TO_KSEG1(AR5315_CONFIG_END in ar5315_detect_sys_type()
179 u_ar531x_uart_addr = MIPS_PHYS_TO_KSEG1(AR5312_UART0_BASE); in ar5312_chip_soc_init()
228 u_ar531x_uart_addr = MIPS_PHYS_TO_KSEG1(AR5315_UART_BASE); in ar5315_chip_soc_init()
184 #define REGVAL(x) *((volatile uint32_t *)(MIPS_PHYS_TO_KSEG1((x))))
88 return (MIPS_PHYS_TO_KSEG1(cpld_phys << 8)); in nlm_board_cpld_base()
156 addr = MIPS_PHYS_TO_KSEG1(MIPS_KSEG0_TO_PHYS(jz4780_mpentry)); in platform_start_ap()
128 *(volatile int32_t *)MIPS_PHYS_TO_KSEG1(reg) = val; in writereg()136 return *(volatile int32_t *)MIPS_PHYS_TO_KSEG1(reg); in readreg()
99 #define MIPS_PHYS_TO_KSEG1(x) ((uintptr_t)(x) | MIPS_KSEG1_START) macro139 #define MIPS_PHYS_TO_DIRECT_UNCACHED(pa) MIPS_PHYS_TO_KSEG1(pa)
108 MIPS_PHYS_TO_KSEG1((_addr) + (_offset))