Home
last modified time | relevance | path

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

/linux-4.4.14/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.h169 __x < CKSEG0 ? XPHYSADDR(__x) : CPHYSADDR(__x); \
/linux-4.4.14/arch/mips/pmcs-msp71xx/
Dmsp_prom.c443 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.4.14/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-4.4.14/drivers/staging/netlogic/
Dplatform_net.c83 res->start = CPHYSADDR(nlm_mmio_base(offset)); in xlr_resource_init()
109 gmac4_addr = ioremap(CPHYSADDR( in gmac_controller2_init()
136 void __iomem *gmac0_addr = ioremap(CPHYSADDR( in xls_gmac_init()
155 gpio_addr = ioremap(CPHYSADDR( in xls_gmac_init()
217 ndata0.mii_addr = ioremap(CPHYSADDR( in xlr_gmac_init()
/linux-4.4.14/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-4.4.14/drivers/net/ethernet/
Dkorina.c186 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 …]
Dlantiq_etop.c123 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.4.14/arch/mips/alchemy/devboards/
Dbcsr.c31 bcsr1_phys = KSEG1ADDR(CPHYSADDR(bcsr1_phys)); in bcsr_init()
32 bcsr2_phys = KSEG1ADDR(CPHYSADDR(bcsr2_phys)); in bcsr_init()
/linux-4.4.14/arch/mips/include/asm/mach-dec/
Dmc146818rtc.h24 #define RTC_PORT(x) CPHYSADDR((long)dec_rtc_base)
/linux-4.4.14/arch/mips/sibyte/common/
Dcfe.c107 initrd_pstart = CPHYSADDR(initrd_start); in prom_meminit()
108 initrd_pend = CPHYSADDR(initrd_end); in prom_meminit()
/linux-4.4.14/arch/mips/ar7/
Dmemory.c38 u32 *kernel_end = (u32 *)KSEG1ADDR(CPHYSADDR((u32)&_end)); in memsize()
/linux-4.4.14/arch/mips/ralink/
Dprom.c53 if (CPHYSADDR(p) && *p) { in prom_init_cmdline()
/linux-4.4.14/arch/mips/lantiq/xway/
Dvmmc.c34 (void *) CPHYSADDR(dma_alloc_coherent(NULL, CP1_SIZE, in vmmc_probe()
/linux-4.4.14/arch/mips/dec/
Dtc.c45 tbus->slot_base = CPHYSADDR((long)rex_slot_address(0)); in tc_bus_get_info()
Dkn01-berr.c110 address = CPHYSADDR(vaddr); in dec_kn01_be_backend()
/linux-4.4.14/arch/mips/lantiq/
Dprom.c59 if (CPHYSADDR(p) && *p) { in prom_init_cmdline()
/linux-4.4.14/arch/mips/txx9/rbtx4938/
Dsetup.c212 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.4.14/arch/mips/bcm47xx/
Dprom.c76 off = CPHYSADDR((unsigned long)prom_init); in prom_init_mem()
/linux-4.4.14/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-4.4.14/arch/mips/mm/
Dpage.c623 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.4.14/drivers/gpio/
Dgpio-mm-lantiq.c100 ltq_ebu_w32(CPHYSADDR(chip->mmchip.regs) | 0x1, LTQ_EBU_ADDRSEL1); in ltq_mm_save_regs()
/linux-4.4.14/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()
Dclock.c108 #define IOMEM(x) ((void __iomem *)(KSEG1ADDR(CPHYSADDR(x))))
/linux-4.4.14/drivers/mtd/nand/
Dxway_nand.c146 ltq_ebu_w32(CPHYSADDR(nandaddr) in xway_nand_probe()
/linux-4.4.14/drivers/mtd/maps/
Dpmcmsp-flash.c118 addr = CPHYSADDR(addr); in init_msp_flash()
/linux-4.4.14/arch/mips/pci/
Dpci-malta.c112 GT_WRITE(GT_PCI0_CFGDATA_OFS, CPHYSADDR(MIPS_GT_BASE)); in mips_pcibios_init()
/linux-4.4.14/arch/mips/jazz/
Djazzdma.c81 r4030_write_reg32(JAZZ_R4030_TRSTBL_BASE, CPHYSADDR(pgtbl)); in vdma_init()
/linux-4.4.14/sound/oss/
Dswarm_cs4297a.c640 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.4.14/arch/mips/sgi-ip22/
Dip28-berr.c427 CPHYSADDR(hp->addr), hp->ctrl, hp->ndptr, hp->cbp); in ip28_be_interrupt()
/linux-4.4.14/drivers/ide/
Dau1xxx-ide.c328 dev->dev_physaddr = CPHYSADDR(regbase); in auide_init_dbdma_dev()
/linux-4.4.14/arch/mips/kvm/
Dtlb.c320 pfn0 = CPHYSADDR(vcpu->arch.kseg0_commpage) >> PAGE_SHIFT; in kvm_mips_handle_commpage_tlb_fault()
Dtrap_emul.c28 gpa = CPHYSADDR(gva); in kvm_trap_emul_gva_to_gpa_cb()
/linux-4.4.14/drivers/tty/serial/
Dlantiq.c691 if (mmres->start != CPHYSADDR(LTQ_EARLY_ASC)) in lqasc_probe()
/linux-4.4.14/drivers/net/ethernet/amd/
Ddeclance.c1105 CPHYSADDR(dev->mem_start) << 3); in dec_lance_probe()