/Linux-v5.4/arch/mips/include/asm/ |
D | addrspace.h | 53 #define CPHYSADDR(a) ((_ACAST32_(a)) & 0x1fffffff) macro 73 #define CKSEG0ADDR(a) (CPHYSADDR(a) | CKSEG0) 74 #define CKSEG1ADDR(a) (CPHYSADDR(a) | CKSEG1) 75 #define CKSEG2ADDR(a) (CPHYSADDR(a) | CKSEG2) 76 #define CKSEG3ADDR(a) (CPHYSADDR(a) | CKSEG3) 80 #define CKSEG0ADDR(a) (CPHYSADDR(a) | KSEG0) 81 #define CKSEG1ADDR(a) (CPHYSADDR(a) | KSEG1) 82 #define CKSEG2ADDR(a) (CPHYSADDR(a) | KSEG2) 83 #define CKSEG3ADDR(a) (CPHYSADDR(a) | KSEG3) 88 #define KSEG0ADDR(a) (CPHYSADDR(a) | KSEG0) [all …]
|
D | page.h | 179 return x < CKSEG0 ? XPHYSADDR(x) : CPHYSADDR(x); in ___pa() 189 return CPHYSADDR(x); in ___pa()
|
/Linux-v5.4/arch/mips/pmcs-msp71xx/ |
D | msp_prom.c | 453 memsize = CPHYSADDR(memsize); in prom_getmdesc() 458 heaptop = CPHYSADDR((u32)&_text); in prom_getmdesc() 469 heaptop = CPHYSADDR((u32)&_text); in prom_getmdesc() 474 heaptop = CPHYSADDR((u32)heaptop); in prom_getmdesc() 493 if (heaptop != CPHYSADDR((u32)_text)) { in prom_getmdesc() 497 mdesc[i].size = CPHYSADDR((u32)_text) - mdesc[i].base; in prom_getmdesc() 503 mdesc[i].base = CPHYSADDR((u32)_text); in prom_getmdesc() 504 mdesc[i].size = CPHYSADDR(PAGE_ALIGN((u32)_end)) - mdesc[i].base; in prom_getmdesc()
|
/Linux-v5.4/drivers/staging/netlogic/ |
D | platform_net.c | 54 res->start = CPHYSADDR(nlm_mmio_base(offset)); in xlr_resource_init() 82 ioremap(CPHYSADDR(nlm_mmio_base(NETLOGIC_IO_GMAC_4_OFFSET)), in gmac_controller2_init() 110 ioremap(CPHYSADDR(nlm_mmio_base(NETLOGIC_IO_GMAC_0_OFFSET)), in xls_gmac_init() 130 ioremap(CPHYSADDR(nlm_mmio_base(NETLOGIC_IO_GPIO_OFFSET)), in xls_gmac_init() 192 ioremap(CPHYSADDR(nlm_mmio_base(NETLOGIC_IO_GMAC_0_OFFSET)), in xlr_gmac_init()
|
/Linux-v5.4/arch/mips/include/asm/mach-jazz/ |
D | floppy.h | 68 vdma_set_addr(JAZZ_FLOPPY_DMA, vdma_phys2log(CPHYSADDR((unsigned long)a))); in fd_set_dma_addr() 112 vdma_alloc(CPHYSADDR(mem), size); /* XXX error checking */ in fd_dma_mem_alloc() 119 vdma_free(vdma_phys2log(CPHYSADDR(addr))); in fd_dma_mem_free()
|
/Linux-v5.4/include/linux/ |
D | lantiq.h | 14 #ifndef CPHYSADDR 15 #define CPHYSADDR(a) 0 macro
|
/Linux-v5.4/arch/mips/netlogic/xlr/ |
D | platform.c | 93 xlr_uart_data[0].mapbase = CPHYSADDR(uartbase); in nlm_uart_init() 97 xlr_uart_data[1].mapbase = CPHYSADDR(uartbase); in nlm_uart_init() 180 memres = CPHYSADDR((unsigned long)usb_mmio); in xls_platform_usb_init() 237 nlm_xlr_i2c_1.resource[0].start = CPHYSADDR(nlm_mmio_base(offset)); in nlm_i2c_init()
|
/Linux-v5.4/drivers/net/ethernet/ |
D | korina.c | 189 korina_start_dma(lp->rx_dma_regs, CPHYSADDR(rd)); in korina_start_rx() 195 korina_chain_dma(lp->rx_dma_regs, CPHYSADDR(rd)); in korina_chain_rx() 235 td->ca = CPHYSADDR(skb->data); in korina_send_packet() 247 writel(CPHYSADDR(&lp->td_ring[lp->tx_chain_head]), in korina_send_packet() 259 lp->td_ring[chain_prev].link = CPHYSADDR(td); in korina_send_packet() 263 writel(CPHYSADDR(&lp->td_ring[lp->tx_chain_head]), in korina_send_packet() 283 lp->td_ring[chain_prev].link = CPHYSADDR(td); in korina_send_packet() 429 rd->ca = CPHYSADDR(skb_new->data); in korina_rx() 431 rd->ca = CPHYSADDR(skb->data); in korina_rx() 454 rd->ca = CPHYSADDR(skb->data); in korina_rx() [all …]
|
/Linux-v5.4/arch/mips/alchemy/devboards/ |
D | bcsr.c | 33 bcsr1_phys = KSEG1ADDR(CPHYSADDR(bcsr1_phys)); in bcsr_init() 34 bcsr2_phys = KSEG1ADDR(CPHYSADDR(bcsr2_phys)); in bcsr_init()
|
/Linux-v5.4/arch/mips/include/asm/mach-dec/ |
D | mc146818rtc.h | 20 #define RTC_PORT(x) CPHYSADDR((long)dec_rtc_base)
|
/Linux-v5.4/arch/mips/sibyte/common/ |
D | cfe.c | 95 initrd_pstart = CPHYSADDR(initrd_start); in prom_meminit() 96 initrd_pend = CPHYSADDR(initrd_end); in prom_meminit()
|
/Linux-v5.4/arch/mips/ar7/ |
D | memory.c | 24 u32 *kernel_end = (u32 *)KSEG1ADDR(CPHYSADDR((u32)&_end)); in memsize()
|
/Linux-v5.4/arch/mips/ralink/ |
D | prom.c | 53 if (CPHYSADDR(p) && *p) { in prom_init_cmdline()
|
/Linux-v5.4/arch/mips/lantiq/xway/ |
D | vmmc.c | 32 (void *) CPHYSADDR(dma_alloc_coherent(&pdev->dev, CP1_SIZE, in vmmc_probe()
|
/Linux-v5.4/arch/mips/dec/ |
D | tc.c | 45 tbus->slot_base = CPHYSADDR((long)rex_slot_address(0)); in tc_bus_get_info()
|
D | kn01-berr.c | 106 address = CPHYSADDR(vaddr); in dec_kn01_be_backend()
|
/Linux-v5.4/arch/mips/lantiq/ |
D | prom.c | 62 if (CPHYSADDR(p) && *p) { in prom_init_cmdline()
|
/Linux-v5.4/arch/mips/txx9/rbtx4938/ |
D | setup.c | 213 rbtx4938_fpga_resource.start = CPHYSADDR(RBTX4938_FPGA_REG_ADDR); in rbtx4938_mem_setup() 214 rbtx4938_fpga_resource.end = CPHYSADDR(RBTX4938_FPGA_REG_ADDR) + 0xffff; in rbtx4938_mem_setup()
|
/Linux-v5.4/arch/mips/bcm47xx/ |
D | prom.c | 76 off = CPHYSADDR((unsigned long)prom_init); in prom_init_mem()
|
/Linux-v5.4/arch/mips/include/asm/mach-au1x00/ |
D | au1000_dma.h | 242 __raw_writel(CPHYSADDR(chan->fifo_addr), chan->io + DMA_PERIPHERAL_ADDR); in init_dma() 307 __raw_writel(CPHYSADDR(a), chan->io + DMA_PERIPHERAL_ADDR); in set_dma_fifo_addr()
|
/Linux-v5.4/drivers/gpio/ |
D | gpio-mm-lantiq.c | 96 ltq_ebu_w32(CPHYSADDR(chip->mmchip.regs) | 0x1, LTQ_EBU_ADDRSEL1); in ltq_mm_save_regs()
|
/Linux-v5.4/arch/mips/alchemy/common/ |
D | platform.c | 37 alchemy_uart_enable(CPHYSADDR(port->membase)); in alchemy_8250_pm() 42 alchemy_uart_disable(CPHYSADDR(port->membase)); in alchemy_8250_pm()
|
/Linux-v5.4/arch/mips/mm/ |
D | page.c | 628 u64 to_phys = CPHYSADDR((unsigned long)page); in clear_page() 653 u64 from_phys = CPHYSADDR((unsigned long)from); in copy_page() 654 u64 to_phys = CPHYSADDR((unsigned long)to); in copy_page()
|
/Linux-v5.4/drivers/mtd/maps/ |
D | pmcmsp-flash.c | 118 addr = CPHYSADDR(addr); in init_msp_flash()
|
/Linux-v5.4/drivers/mtd/nand/raw/ |
D | xway_nand.c | 195 ltq_ebu_w32(CPHYSADDR(data->nandaddr) in xway_nand_probe()
|