/linux-4.1.27/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 | 169 __x < CKSEG0 ? XPHYSADDR(__x) : CPHYSADDR(__x); \
|
/linux-4.1.27/arch/mips/pmcs-msp71xx/ |
D | msp_prom.c | 443 memsize = CPHYSADDR(memsize); in prom_getmdesc() 448 heaptop = CPHYSADDR((u32)&_text); in prom_getmdesc() 459 heaptop = CPHYSADDR((u32)&_text); in prom_getmdesc() 464 heaptop = CPHYSADDR((u32)heaptop); in prom_getmdesc() 483 if (heaptop != CPHYSADDR((u32)_text)) { in prom_getmdesc() 487 mdesc[i].size = CPHYSADDR((u32)_text) - mdesc[i].base; in prom_getmdesc() 493 mdesc[i].base = CPHYSADDR((u32)_text); in prom_getmdesc() 494 mdesc[i].size = CPHYSADDR(PAGE_ALIGN((u32)_end)) - mdesc[i].base; in prom_getmdesc()
|
/linux-4.1.27/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-4.1.27/drivers/staging/netlogic/ |
D | platform_net.c | 84 res->start = CPHYSADDR(nlm_mmio_base(offset)); in xlr_resource_init() 110 gmac4_addr = ioremap(CPHYSADDR( in gmac_controller2_init() 137 void __iomem *gmac0_addr = ioremap(CPHYSADDR( in xls_gmac_init() 156 gpio_addr = ioremap(CPHYSADDR( in xls_gmac_init() 218 ndata0.mii_addr = ioremap(CPHYSADDR( in xlr_gmac_init()
|
/linux-4.1.27/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-4.1.27/arch/mips/mti-malta/ |
D | malta-memory.c | 118 mdesc[3].size = CPHYSADDR(PFN_ALIGN((unsigned long)&_end)) - in fw_getmdesc() 122 mdesc[4].base = mdesc[0].base + CPHYSADDR(PFN_ALIGN(&_end)); in fw_getmdesc() 123 mdesc[4].size = memsize - CPHYSADDR(mdesc[4].base); in fw_getmdesc()
|
/linux-4.1.27/drivers/net/ethernet/ |
D | korina.c | 186 korina_start_dma(lp->rx_dma_regs, CPHYSADDR(rd)); in korina_start_rx() 192 korina_chain_dma(lp->rx_dma_regs, CPHYSADDR(rd)); in korina_chain_rx() 232 td->ca = CPHYSADDR(skb->data); in korina_send_packet() 244 writel(CPHYSADDR(&lp->td_ring[lp->tx_chain_head]), in korina_send_packet() 256 lp->td_ring[chain_prev].link = CPHYSADDR(td); in korina_send_packet() 260 writel(CPHYSADDR(&lp->td_ring[lp->tx_chain_head]), in korina_send_packet() 280 lp->td_ring[chain_prev].link = CPHYSADDR(td); in korina_send_packet() 425 rd->ca = CPHYSADDR(skb_new->data); in korina_rx() 427 rd->ca = CPHYSADDR(skb->data); in korina_rx() 450 rd->ca = CPHYSADDR(skb->data); in korina_rx() [all …]
|
D | lantiq_etop.c | 123 CPHYSADDR(ch->skb[ch->dma.desc]->data); in ltq_etop_alloc_skb() 539 byte_offset = CPHYSADDR(skb->data) % 16; in ltq_etop_tx()
|
/linux-4.1.27/arch/mips/alchemy/devboards/ |
D | bcsr.c | 30 bcsr1_phys = KSEG1ADDR(CPHYSADDR(bcsr1_phys)); in bcsr_init() 31 bcsr2_phys = KSEG1ADDR(CPHYSADDR(bcsr2_phys)); in bcsr_init()
|
/linux-4.1.27/arch/mips/include/asm/mach-dec/ |
D | mc146818rtc.h | 24 #define RTC_PORT(x) CPHYSADDR((long)dec_rtc_base)
|
/linux-4.1.27/arch/mips/sibyte/common/ |
D | cfe.c | 107 initrd_pstart = CPHYSADDR(initrd_start); in prom_meminit() 108 initrd_pend = CPHYSADDR(initrd_end); in prom_meminit()
|
/linux-4.1.27/arch/mips/ar7/ |
D | memory.c | 38 u32 *kernel_end = (u32 *)KSEG1ADDR(CPHYSADDR((u32)&_end)); in memsize()
|
/linux-4.1.27/arch/mips/ralink/ |
D | prom.c | 48 if (CPHYSADDR(p) && *p) { in prom_init_cmdline()
|
/linux-4.1.27/arch/mips/lantiq/xway/ |
D | vmmc.c | 34 (void *) CPHYSADDR(dma_alloc_coherent(NULL, CP1_SIZE, in vmmc_probe()
|
/linux-4.1.27/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 | 110 address = CPHYSADDR(vaddr); in dec_kn01_be_backend()
|
/linux-4.1.27/arch/mips/lantiq/ |
D | prom.c | 59 if (CPHYSADDR(p) && *p) { in prom_init_cmdline()
|
/linux-4.1.27/arch/mips/txx9/rbtx4938/ |
D | setup.c | 212 rbtx4938_fpga_resource.start = CPHYSADDR(RBTX4938_FPGA_REG_ADDR); in rbtx4938_mem_setup() 213 rbtx4938_fpga_resource.end = CPHYSADDR(RBTX4938_FPGA_REG_ADDR) + 0xffff; in rbtx4938_mem_setup()
|
/linux-4.1.27/arch/mips/bcm47xx/ |
D | prom.c | 76 off = CPHYSADDR((unsigned long)prom_init); in prom_init_mem()
|
/linux-4.1.27/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-4.1.27/arch/mips/mm/ |
D | page.c | 623 const u64 base_val = CPHYSADDR((unsigned long)&page_descr[i]) | in sb1_dma_init() 635 u64 to_phys = CPHYSADDR((unsigned long)page); in clear_page() 659 u64 from_phys = CPHYSADDR((unsigned long)from); in copy_page() 660 u64 to_phys = CPHYSADDR((unsigned long)to); in copy_page()
|
/linux-4.1.27/drivers/gpio/ |
D | gpio-mm-lantiq.c | 100 ltq_ebu_w32(CPHYSADDR(chip->mmchip.regs) | 0x1, LTQ_EBU_ADDRSEL1); in ltq_mm_save_regs()
|
/linux-4.1.27/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()
|
D | clock.c | 107 #define IOMEM(x) ((void __iomem *)(KSEG1ADDR(CPHYSADDR(x))))
|
/linux-4.1.27/drivers/mtd/nand/ |
D | xway_nand.c | 146 ltq_ebu_w32(CPHYSADDR(nandaddr) in xway_nand_probe()
|
/linux-4.1.27/drivers/mtd/maps/ |
D | pmcmsp-flash.c | 118 addr = CPHYSADDR(addr); in init_msp_flash()
|
/linux-4.1.27/arch/mips/pci/ |
D | pci-malta.c | 112 GT_WRITE(GT_PCI0_CFGDATA_OFS, CPHYSADDR(MIPS_GT_BASE)); in mips_pcibios_init()
|
/linux-4.1.27/arch/mips/jazz/ |
D | jazzdma.c | 81 r4030_write_reg32(JAZZ_R4030_TRSTBL_BASE, CPHYSADDR(pgtbl)); in vdma_init()
|
/linux-4.1.27/sound/oss/ |
D | swarm_cs4297a.c | 640 dma->descrtab_phys = CPHYSADDR((long)dma->descrtab); in init_serdma() 650 dma->dma_buf_phys = CPHYSADDR((long)dma->dma_buf); in init_serdma() 968 if ((descr_a & M_DMA_DSCRA_A_ADDR) != CPHYSADDR((long)s_ptr)) { in cs4297a_update_ptr() 1040 … if ((descr->descr_a & M_DMA_DSCRA_A_ADDR) != CPHYSADDR((long)data_p)) { in cs4297a_update_ptr() 1043 (long)CPHYSADDR((long)data_p)); in cs4297a_update_ptr()
|
/linux-4.1.27/arch/mips/sgi-ip22/ |
D | ip28-berr.c | 427 CPHYSADDR(hp->addr), hp->ctrl, hp->ndptr, hp->cbp); in ip28_be_interrupt()
|
/linux-4.1.27/drivers/ide/ |
D | au1xxx-ide.c | 328 dev->dev_physaddr = CPHYSADDR(regbase); in auide_init_dbdma_dev()
|
/linux-4.1.27/arch/mips/kvm/ |
D | trap_emul.c | 28 gpa = CPHYSADDR(gva); in kvm_trap_emul_gva_to_gpa_cb()
|
D | tlb.c | 320 pfn0 = CPHYSADDR(vcpu->arch.kseg0_commpage) >> PAGE_SHIFT; in kvm_mips_handle_commpage_tlb_fault()
|
/linux-4.1.27/drivers/tty/serial/ |
D | lantiq.c | 692 if (mmres->start != CPHYSADDR(LTQ_EARLY_ASC)) in lqasc_probe()
|
/linux-4.1.27/drivers/net/ethernet/amd/ |
D | declance.c | 1105 CPHYSADDR(dev->mem_start) << 3); in dec_lance_probe()
|