Searched refs:phys_to_bus (Results 1 – 10 of 10) sorted by relevance
/openbmc/u-boot/drivers/net/ |
H A D | eepro100.c | 226 #define phys_to_bus(a) (a) macro 229 #define phys_to_bus(a) pci_phys_to_mem((pci_dev_t)dev->priv, a) macro 514 OUTL (dev, phys_to_bus ((u32) & rx_ring[rx_next]), SCBPointer); in eepro100_init() 524 cfg_cmd->link = cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_next])); in eepro100_init() 534 OUTL (dev, phys_to_bus ((u32) & tx_ring[tx_cur]), SCBPointer); in eepro100_init() 560 ias_cmd->link = cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_next])); in eepro100_init() 571 OUTL (dev, phys_to_bus ((u32) & tx_ring[tx_cur]), SCBPointer); in eepro100_init() 615 cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_next])); in eepro100_send() 617 cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_cur].tx_buf_addr0)); in eepro100_send() 619 cpu_to_le32 (phys_to_bus ((u_long) packet)); in eepro100_send() [all …]
|
H A D | dc2114x.c | 167 #define phys_to_bus(a) (a) macro 169 #define phys_to_bus(a) pci_phys_to_mem((pci_dev_t)dev->priv, a) macro 334 phys_to_bus((u32)net_rx_packets[i])); in dc21x4x_init() 337 phys_to_bus((u32)&rx_ring[(i + 1) % NUM_RX_DESC])); in dc21x4x_init() 349 tx_ring[i].next = cpu_to_le32(phys_to_bus((u32) &tx_ring[(i+1) % NUM_TX_DESC])); in dc21x4x_init() 363 OUTL(dev, phys_to_bus((u32) &rx_ring), DE4X5_RRBA); in dc21x4x_init() 364 OUTL(dev, phys_to_bus((u32) &tx_ring), DE4X5_TRBA); in dc21x4x_init() 393 tx_ring[tx_new].buf = cpu_to_le32(phys_to_bus((u32) packet)); in dc21x4x_send() 500 tx_ring[tx_new].buf = cpu_to_le32(phys_to_bus((u32) &setup_frame[0])); in send_setup_frame()
|
H A D | ns8382x.c | 270 #define phys_to_bus(a) pci_phys_to_mem((pci_dev_t)dev->priv, a) macro 625 OUTL(dev, phys_to_bus((u32)&txd), TxRingPtr); in ns8382x_init_txd() 660 OUTL(dev, phys_to_bus((u32) & rxd), RxRingPtr); in ns8382x_init_rxd() 748 txd.bufptr = cpu_to_le32(phys_to_bus((u32)packet)); in ns8382x_send() 753 OUTL(dev, phys_to_bus((u32) & txd), TxRingPtr); in ns8382x_send()
|
H A D | rtl8139.c | 98 #define phys_to_bus(a) pci_phys_to_mem((pci_dev_t)dev->priv, a) macro 382 outl(phys_to_bus((int)rx_ring), ioaddr + RxBuf); in rtl_reset() 422 outl(phys_to_bus((int)tx_buffer), ioaddr + TxAddr0 + cur_tx*4); in rtl_transmit()
|
H A D | natsemi.c | 249 #define phys_to_bus(a) pci_phys_to_mem((pci_dev_t)dev->priv, a) macro 772 txd.bufptr = cpu_to_le32(phys_to_bus((u32) packet)); in natsemi_send() 776 OUTL(dev, phys_to_bus((u32) & txd), TxRingPtr); in natsemi_send()
|
H A D | rtl8169.c | 107 #define phys_to_bus(a) pci_phys_to_mem((pci_dev_t)(unsigned long)dev->priv, \ macro
|
/openbmc/u-boot/include/ |
H 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
|
/openbmc/u-boot/arch/arm/mach-bcm283x/ |
H A D | mbox.c | 118 phys_to_bus((unsigned long)buffer), in bcm2835_mbox_call_prop() 127 if (rbuffer != phys_to_bus((unsigned long)buffer)) { in bcm2835_mbox_call_prop()
|
H A D | phys2bus.c | 9 unsigned long phys_to_bus(unsigned long phys) in phys_to_bus() function
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | dwc2.c | 874 writel(phys_to_bus((unsigned long)aligned_buffer), &hc_regs->hcdma); in transfer_chunk()
|