Home
last modified time | relevance | path

Searched refs:CPHYSADDR (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v5.4/arch/mips/include/asm/
Daddrspace.h53 #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 …]
Dpage.h179 return x < CKSEG0 ? XPHYSADDR(x) : CPHYSADDR(x); in ___pa()
189 return CPHYSADDR(x); in ___pa()
/Linux-v5.4/arch/mips/pmcs-msp71xx/
Dmsp_prom.c453 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/
Dplatform_net.c54 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/
Dfloppy.h68 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/
Dlantiq.h14 #ifndef CPHYSADDR
15 #define CPHYSADDR(a) 0 macro
/Linux-v5.4/arch/mips/netlogic/xlr/
Dplatform.c93 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/
Dkorina.c189 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/
Dbcsr.c33 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/
Dmc146818rtc.h20 #define RTC_PORT(x) CPHYSADDR((long)dec_rtc_base)
/Linux-v5.4/arch/mips/sibyte/common/
Dcfe.c95 initrd_pstart = CPHYSADDR(initrd_start); in prom_meminit()
96 initrd_pend = CPHYSADDR(initrd_end); in prom_meminit()
/Linux-v5.4/arch/mips/ar7/
Dmemory.c24 u32 *kernel_end = (u32 *)KSEG1ADDR(CPHYSADDR((u32)&_end)); in memsize()
/Linux-v5.4/arch/mips/ralink/
Dprom.c53 if (CPHYSADDR(p) && *p) { in prom_init_cmdline()
/Linux-v5.4/arch/mips/lantiq/xway/
Dvmmc.c32 (void *) CPHYSADDR(dma_alloc_coherent(&pdev->dev, CP1_SIZE, in vmmc_probe()
/Linux-v5.4/arch/mips/dec/
Dtc.c45 tbus->slot_base = CPHYSADDR((long)rex_slot_address(0)); in tc_bus_get_info()
Dkn01-berr.c106 address = CPHYSADDR(vaddr); in dec_kn01_be_backend()
/Linux-v5.4/arch/mips/lantiq/
Dprom.c62 if (CPHYSADDR(p) && *p) { in prom_init_cmdline()
/Linux-v5.4/arch/mips/txx9/rbtx4938/
Dsetup.c213 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/
Dprom.c76 off = CPHYSADDR((unsigned long)prom_init); in prom_init_mem()
/Linux-v5.4/arch/mips/include/asm/mach-au1x00/
Dau1000_dma.h242 __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/
Dgpio-mm-lantiq.c96 ltq_ebu_w32(CPHYSADDR(chip->mmchip.regs) | 0x1, LTQ_EBU_ADDRSEL1); in ltq_mm_save_regs()
/Linux-v5.4/arch/mips/alchemy/common/
Dplatform.c37 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/
Dpage.c628 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/
Dpmcmsp-flash.c118 addr = CPHYSADDR(addr); in init_msp_flash()
/Linux-v5.4/drivers/mtd/nand/raw/
Dxway_nand.c195 ltq_ebu_w32(CPHYSADDR(data->nandaddr) in xway_nand_probe()

12