Home
last modified time | relevance | path

Searched refs:phys_to_bus (Results 1 – 11 of 11) sorted by relevance

/u-boot/include/
A Dphys2bus.h10 unsigned long phys_to_bus(unsigned long phys);
13 static inline unsigned long phys_to_bus(unsigned long phys) in phys_to_bus() function
/u-boot/arch/arm/mach-bcm283x/
A Dphys2bus.c9 unsigned long phys_to_bus(unsigned long phys) in phys_to_bus() function
A Dmbox.c122 phys_to_bus((unsigned long)buffer), in bcm2835_mbox_call_prop()
131 if (rbuffer != phys_to_bus((unsigned long)buffer)) { in bcm2835_mbox_call_prop()
/u-boot/drivers/net/
A Deepro100.c222 #define phys_to_bus(dev, a) dm_pci_phys_to_mem((dev), (a)) macro
225 #define phys_to_bus(dev, a) (a) macro
228 #define phys_to_bus(dev, a) pci_phys_to_mem((dev), (a)) macro
370 cpu_to_le32(phys_to_bus(priv->devno, in init_rx_ring()
422 OUTL(priv, phys_to_bus(priv->devno, (u32)desc), SCB_POINTER); in eepro100_txcmd_send()
586 OUTL(priv, phys_to_bus(priv->devno, (u32)&rx_ring[priv->rx_next]), in eepro100_init_common()
598 cfg_cmd->link = cpu_to_le32(phys_to_bus(priv->devno, in eepro100_init_common()
619 ias_cmd->link = cpu_to_le32(phys_to_bus(priv->devno, in eepro100_init_common()
658 desc->link = cpu_to_le32(phys_to_bus(priv->devno, in eepro100_send_common()
660 desc->tx_desc_addr = cpu_to_le32(phys_to_bus(priv->devno, in eepro100_send_common()
[all …]
A Ddc2114x.c77 #define phys_to_bus(dev, a) dm_pci_phys_to_mem((dev), (a)) macro
79 #define phys_to_bus(dev, a) (a) macro
81 #define phys_to_bus(dev, a) pci_phys_to_mem((dev), (a)) macro
306 priv->tx_ring[priv->tx_new].buf = cpu_to_le32(phys_to_bus(priv->devno, in send_setup_frame()
347 priv->tx_ring[priv->tx_new].buf = cpu_to_le32(phys_to_bus(priv->devno, in dc21x4x_send_common()
418 priv->rx_ring[i].buf = cpu_to_le32(phys_to_bus(priv->devno, in dc21x4x_init_common()
438 dc2114x_outl(priv, phys_to_bus(priv->devno, (u32)&priv->rx_ring), in dc21x4x_init_common()
440 dc2114x_outl(priv, phys_to_bus(priv->devno, (u32)&priv->tx_ring), in dc21x4x_init_common()
A Dns8382x.c272 #define phys_to_bus(a) pci_phys_to_mem((pci_dev_t)dev->priv, a) macro
627 OUTL(dev, phys_to_bus((u32)&txd), TxRingPtr); in ns8382x_init_txd()
662 OUTL(dev, phys_to_bus((u32) & rxd), RxRingPtr); in ns8382x_init_rxd()
750 txd.bufptr = cpu_to_le32(phys_to_bus((u32)packet)); in ns8382x_send()
755 OUTL(dev, phys_to_bus((u32) & txd), TxRingPtr); in ns8382x_send()
A Drtl8139.c102 #define phys_to_bus(devno, a) dm_pci_phys_to_mem((devno), (a)) macro
105 #define phys_to_bus(devno, a) pci_phys_to_mem((pci_dev_t)(devno), (a)) macro
352 outl(phys_to_bus(priv->devno, (int)rx_ring), priv->ioaddr + RTL_REG_RXBUF); in rtl8139_reset()
394 outl(phys_to_bus(priv->devno, (unsigned long)tx_buffer), in rtl8139_send_common()
A Dnatsemi.c250 #define phys_to_bus(a) pci_phys_to_mem((pci_dev_t)dev->priv, a) macro
773 txd.bufptr = cpu_to_le32(phys_to_bus((u32) packet)); in natsemi_send()
777 OUTL(dev, phys_to_bus((u32) & txd), TxRingPtr); in natsemi_send()
A Drtl8169.c111 #define phys_to_bus(a) pci_phys_to_mem((pci_dev_t)(unsigned long)dev->priv, \ macro
/u-boot/drivers/usb/gadget/
A Ddwc2_udc_otg_xfer_dma.c36 writel(phys_to_bus((unsigned long)usb_ctrl_dma_addr), &reg->in_endp[EP0_CON].diepdma); in dwc2_udc_ep0_zlp()
57 writel(phys_to_bus((unsigned long)usb_ctrl_dma_addr), &reg->out_endp[EP0_CON].doepdma); in dwc2_udc_pre_setup()
83 writel(phys_to_bus((unsigned long)usb_ctrl_dma_addr), &reg->out_endp[EP0_CON].doepdma); in dwc2_ep0_complete_out()
121 writel(phys_to_bus((unsigned long)ep->dma_buf), &reg->out_endp[ep_num].doepdma); in setdma_rx()
169 writel(phys_to_bus((unsigned long)ep->dma_buf), &reg->in_endp[ep_num].diepdma); in setdma_tx()
939 writel(phys_to_bus(usb_ctrl_dma_addr), &reg->in_endp[EP0_CON].diepdma); in dwc2_udc_get_status()
/u-boot/drivers/usb/host/
A Ddwc2.c887 writel(phys_to_bus((unsigned long)aligned_buffer), &hc_regs->hcdma); in transfer_chunk()

Completed in 22 milliseconds