Home
last modified time | relevance | path

Searched refs:virt_to_phys (Results 1 – 25 of 33) sorted by relevance

12

/external/u-boot/drivers/crypto/fsl/
Djobdesc.c184 dma_addr_in = virt_to_phys((void *)msg); in inline_cnstr_jobdesc_hash()
185 dma_addr_out = virt_to_phys((void *)digest); in inline_cnstr_jobdesc_hash()
217 dma_addr_key_idnfr = virt_to_phys((void *)key_idnfr); in inline_cnstr_jobdesc_blob_encap()
218 dma_addr_in = virt_to_phys((void *)plain_txt); in inline_cnstr_jobdesc_blob_encap()
219 dma_addr_out = virt_to_phys((void *)enc_blob); in inline_cnstr_jobdesc_blob_encap()
240 dma_addr_key_idnfr = virt_to_phys((void *)key_idnfr); in inline_cnstr_jobdesc_blob_decap()
241 dma_addr_in = virt_to_phys((void *)enc_blob); in inline_cnstr_jobdesc_blob_decap()
242 dma_addr_out = virt_to_phys((void *)plain_txt); in inline_cnstr_jobdesc_blob_decap()
294 dma_addr_e = virt_to_phys((void *)pkin->e); in inline_cnstr_jobdesc_pkha_rsaexp()
295 dma_addr_a = virt_to_phys((void *)pkin->a); in inline_cnstr_jobdesc_pkha_rsaexp()
[all …]
Djr.c78 phys_addr_t ip_base = virt_to_phys((void *)jr->input_ring); in jr_initregs()
79 phys_addr_t op_base = virt_to_phys((void *)jr->output_ring); in jr_initregs()
204 phys_addr_t desc_phys_addr = virt_to_phys(desc_addr); in jr_enqueue()
Dfsl_hash.c87 phys_addr_t addr = virt_to_phys((void *)buf); in caam_hash_update()
/external/u-boot/arch/powerpc/cpu/mpc8xxx/
Dpamu_table.c17 (uint64_t)virt_to_phys((void *)CONFIG_SYS_SDRAM_BASE); in construct_pamu_addr_table()
24 (uint64_t)virt_to_phys((void *)CONFIG_SYS_FLASH_BASE_PHYS); in construct_pamu_addr_table()
32 (uint64_t)virt_to_phys((void *)CONFIG_SYS_INIT_L3_VADDR); in construct_pamu_addr_table()
Dfsl_pamu.c260 ppaact_phys = virt_to_phys((void *)ppaact); in pamu_init()
263 spaact_phys = (uint64_t)virt_to_phys((void *)sec); in pamu_init()
/external/u-boot/include/asm-generic/
Dio.h45 #ifndef virt_to_phys
46 static inline phys_addr_t virt_to_phys(void *vaddr) in virt_to_phys() function
/external/u-boot/arch/mips/mach-au1x00/
Dau1x00_eth.c142 fifo_tx[next_tx].addr = (virt_to_phys(packet))|TX_DMA_ENABLE; in au1x00_send()
196 (virt_to_phys(net_rx_packets[next_rx])) | RX_DMA_ENABLE; in au1x00_recv()
236 fifo_tx[i].addr = virt_to_phys(&txbuf[0]); in au1x00_init()
237 fifo_rx[i].addr = (virt_to_phys(net_rx_packets[i])) | in au1x00_init()
/external/u-boot/drivers/net/fm/
Deth.c279 buf_hi = upper_32_bits(virt_to_phys(rx_buf_pool + in fm_eth_rx_port_parameter_init()
281 buf_lo = lower_32_bits(virt_to_phys(rx_buf_pool + in fm_eth_rx_port_parameter_init()
291 bd_ring_base_hi = upper_32_bits(virt_to_phys(rx_bd_ring_base)); in fm_eth_rx_port_parameter_init()
292 bd_ring_base_lo = lower_32_bits(virt_to_phys(rx_bd_ring_base)); in fm_eth_rx_port_parameter_init()
359 bd_ring_base_hi = upper_32_bits(virt_to_phys(tx_bd_ring_base)); in fm_eth_tx_port_parameter_init()
360 bd_ring_base_lo = lower_32_bits(virt_to_phys(tx_bd_ring_base)); in fm_eth_tx_port_parameter_init()
536 muram_writew(&txbd->buf_ptr_hi, (u16)upper_32_bits(virt_to_phys(buf))); in fm_eth_send()
537 out_be32(&txbd->buf_ptr_lo, lower_32_bits(virt_to_phys(buf))); in fm_eth_send()
/external/u-boot/drivers/net/
Dpic32_eth.c286 rxd->data_buff = virt_to_phys(net_rx_packets[idx]); in pic32_rx_desc_init()
289 rxd->next_ed = virt_to_phys(rxd + 1); in pic32_rx_desc_init()
300 rxd->next_ed = virt_to_phys(&priv->rxd_ring[0]); in pic32_rx_desc_init()
307 writel((ulong)virt_to_phys(&priv->rxd_ring[0]), &ectl_p->rxst.raw); in pic32_rx_desc_init()
397 txd->data_buff = virt_to_phys(packet); in pic32_eth_send()
410 writel(virt_to_phys(txd), &ectl_p->txst.raw); in pic32_eth_send()
Daltera_tse.c45 desc->source = virt_to_phys(read_addr); in alt_sgdma_construct_descriptor()
46 desc->destination = virt_to_phys(write_addr); in alt_sgdma_construct_descriptor()
47 desc->next = virt_to_phys(next); in alt_sgdma_construct_descriptor()
106 writel(virt_to_phys(desc), &regs->next_descriptor_pointer); in alt_sgdma_start_transfer()
315 u32 tx_buf = virt_to_phys(packet); in altera_tse_send_msgdma()
358 u32 rx_buf = virt_to_phys(priv->rx_buf); in altera_tse_free_pkt_msgdma()
Dag7xxx.c349 curr->data_addr = virt_to_phys(&priv->txbuffs[i * CONFIG_ETH_BUFSIZE]); in ag7xxx_dma_clean_tx()
351 curr->next_desc = virt_to_phys(next); in ag7xxx_dma_clean_tx()
373 curr->data_addr = virt_to_phys(&priv->rxbuffs[i * CONFIG_ETH_BUFSIZE]); in ag7xxx_dma_clean_rx()
375 curr->next_desc = virt_to_phys(next); in ag7xxx_dma_clean_rx()
496 writel(virt_to_phys(&priv->tx_mac_descrtable[priv->tx_currdescnum]), in ag7xxx_eth_start()
498 writel(virt_to_phys(&priv->rx_mac_descrtable[priv->rx_currdescnum]), in ag7xxx_eth_start()
Dftgmac100.c416 txdes[i].txdes3 = virt_to_phys(buf); in ftgmac100_init()
426 rxdes[i].rxdes3 = virt_to_phys(buf); in ftgmac100_init()
Dftmac110.c442 chip->txd[i].pbuf = cpu_to_le32(virt_to_phys(va)); in ftmac110_initialize()
463 chip->rxd[i].pbuf = cpu_to_le32(virt_to_phys(va)); in ftmac110_initialize()
/external/u-boot/arch/nios2/include/asm/
Dio.h41 static inline phys_addr_t virt_to_phys(void * vaddr) in virt_to_phys() function
46 #define virt_to_phys virt_to_phys macro
/external/u-boot/arch/mips/include/asm/
Dio.h86 static inline unsigned long virt_to_phys(volatile const void *address) in virt_to_phys() function
97 #define virt_to_phys virt_to_phys macro
138 #define virt_to_bus virt_to_phys
/external/u-boot/arch/sandbox/include/asm/
Dio.h12 phys_addr_t virt_to_phys(void *vaddr);
13 #define virt_to_phys virt_to_phys macro
/external/u-boot/arch/powerpc/include/asm/
Dio.h295 static inline phys_addr_t virt_to_phys(void * vaddr) in virt_to_phys() function
303 #define virt_to_phys virt_to_phys macro
/external/u-boot/drivers/usb/host/
Dehci-hcd.c253 td->qt_buffer[idx] = cpu_to_hc32(virt_to_phys((void *)addr)); in ehci_td_buffer()
406 qh->qh_link = cpu_to_hc32(virt_to_phys(&ctrl->qh_list) | QH_LINK_TYPE_QH); in ehci_submit_async()
445 *tdp = cpu_to_hc32(virt_to_phys(&qtd[qtd_counter])); in ehci_submit_async()
504 *tdp = cpu_to_hc32(virt_to_phys(&qtd[qtd_counter])); in ehci_submit_async()
535 *tdp = cpu_to_hc32(virt_to_phys(&qtd[qtd_counter])); in ehci_submit_async()
539 ctrl->qh_list.qh_link = cpu_to_hc32(virt_to_phys(qh) | QH_LINK_TYPE_QH); in ehci_submit_async()
549 ehci_writel(&ctrl->hcor->or_asynclistaddr, virt_to_phys(&ctrl->qh_list)); in ehci_submit_async()
997 qh_list->qh_link = cpu_to_hc32(virt_to_phys(qh_list) | QH_LINK_TYPE_QH); in ehci_common_init()
1009 ehci_writel(&ctrl->hcor->or_asynclistaddr, virt_to_phys(qh_list)); in ehci_common_init()
/external/u-boot/arch/powerpc/cpu/mpc85xx/
Dmp.c245 return virt_to_phys(&__spin_table); in get_spin_phys_addr()
444 __bootpg_addr = (u32)virt_to_phys(&__second_half_boot_page); in setup_mp()
/external/u-boot/arch/arm/include/asm/
Dmemory.h32 static inline unsigned long virt_to_phys(void *x)
/external/u-boot/drivers/video/
Dfsl_diu_fb.c212 buf->paddr = virt_to_phys(buf->vaddr); in allocate_buf()
366 out_be32(&hw->desc[0], virt_to_phys(ad)); in fsl_diu_init()
/external/u-boot/drivers/ata/
Dahci.c588 (struct ahci_cmd_hdr *)(uintptr_t)virt_to_phys((void *)mem); in ahci_port_start()
595 pp->rx_fis = virt_to_phys((void *)mem); in ahci_port_start()
602 pp->cmd_tbl = virt_to_phys((void *)mem); in ahci_port_start()
607 (struct ahci_sg *)(uintptr_t)virt_to_phys((void *)mem); in ahci_port_start()
/external/u-boot/arch/sandbox/cpu/
Dcpu.c65 phys_addr_t virt_to_phys(void *vaddr) in virt_to_phys() function
/external/u-boot/drivers/mtd/nand/
Dtegra_nand.c542 writel(virt_to_phys(bbstate.bounce_buffer), &info->reg->data_block_ptr); in nand_rw_page()
574 writel(virt_to_phys(bbstate_oob.bounce_buffer), &info->reg->tag_ptr); in nand_rw_page()
762 writel(virt_to_phys(bbstate_oob.bounce_buffer), &info->reg->tag_ptr); in nand_rw_oob()
/external/u-boot/arch/mips/lib/
Dbootm.c258 u64 mem_start = virt_to_phys((void *)gd->bd->bi_memstart); in arch_fixup_fdt()

12