/u-boot/include/ |
A D | phys2bus.h | 10 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 D | phys2bus.c | 9 unsigned long phys_to_bus(unsigned long phys) in phys_to_bus() function
|
A D | mbox.c | 122 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 D | eepro100.c | 222 #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 D | dc2114x.c | 77 #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 D | ns8382x.c | 272 #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 D | rtl8139.c | 102 #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 D | natsemi.c | 250 #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 D | rtl8169.c | 111 #define phys_to_bus(a) pci_phys_to_mem((pci_dev_t)(unsigned long)dev->priv, \ macro
|
/u-boot/drivers/usb/gadget/ |
A D | dwc2_udc_otg_xfer_dma.c | 36 writel(phys_to_bus((unsigned long)usb_ctrl_dma_addr), ®->in_endp[EP0_CON].diepdma); in dwc2_udc_ep0_zlp() 57 writel(phys_to_bus((unsigned long)usb_ctrl_dma_addr), ®->out_endp[EP0_CON].doepdma); in dwc2_udc_pre_setup() 83 writel(phys_to_bus((unsigned long)usb_ctrl_dma_addr), ®->out_endp[EP0_CON].doepdma); in dwc2_ep0_complete_out() 121 writel(phys_to_bus((unsigned long)ep->dma_buf), ®->out_endp[ep_num].doepdma); in setdma_rx() 169 writel(phys_to_bus((unsigned long)ep->dma_buf), ®->in_endp[ep_num].diepdma); in setdma_tx() 939 writel(phys_to_bus(usb_ctrl_dma_addr), ®->in_endp[EP0_CON].diepdma); in dwc2_udc_get_status()
|
/u-boot/drivers/usb/host/ |
A D | dwc2.c | 887 writel(phys_to_bus((unsigned long)aligned_buffer), &hc_regs->hcdma); in transfer_chunk()
|