Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/net/
H A Deepro100.c226 #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 Ddc2114x.c167 #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 Dns8382x.c270 #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 Drtl8139.c98 #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 Dnatsemi.c249 #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 Drtl8169.c107 #define phys_to_bus(a) pci_phys_to_mem((pci_dev_t)(unsigned long)dev->priv, \ macro
/openbmc/u-boot/include/
H 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
/openbmc/u-boot/arch/arm/mach-bcm283x/
H A Dmbox.c118 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 Dphys2bus.c9 unsigned long phys_to_bus(unsigned long phys) in phys_to_bus() function
/openbmc/u-boot/drivers/usb/host/
H A Ddwc2.c874 writel(phys_to_bus((unsigned long)aligned_buffer), &hc_regs->hcdma); in transfer_chunk()