Searched refs:phys_to_bus (Results 1 – 10 of 10) sorted by relevance
/external/u-boot/drivers/net/ |
D | eepro100.c | 228 #define phys_to_bus(a) (a) macro 231 #define phys_to_bus(a) pci_phys_to_mem((pci_dev_t)dev->priv, a) macro 516 OUTL (dev, phys_to_bus ((u32) & rx_ring[rx_next]), SCBPointer); in eepro100_init() 526 cfg_cmd->link = cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_next])); in eepro100_init() 536 OUTL (dev, phys_to_bus ((u32) & tx_ring[tx_cur]), SCBPointer); in eepro100_init() 562 ias_cmd->link = cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_next])); in eepro100_init() 573 OUTL (dev, phys_to_bus ((u32) & tx_ring[tx_cur]), SCBPointer); in eepro100_init() 617 cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_next])); in eepro100_send() 619 cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_cur].tx_buf_addr0)); in eepro100_send() 621 cpu_to_le32 (phys_to_bus ((u_long) packet)); in eepro100_send() [all …]
|
D | dc2114x.c | 168 #define phys_to_bus(a) (a) macro 170 #define phys_to_bus(a) pci_phys_to_mem((pci_dev_t)dev->priv, a) macro 335 phys_to_bus((u32)net_rx_packets[i])); in dc21x4x_init() 338 phys_to_bus((u32)&rx_ring[(i + 1) % NUM_RX_DESC])); in dc21x4x_init() 350 tx_ring[i].next = cpu_to_le32(phys_to_bus((u32) &tx_ring[(i+1) % NUM_TX_DESC])); in dc21x4x_init() 364 OUTL(dev, phys_to_bus((u32) &rx_ring), DE4X5_RRBA); in dc21x4x_init() 365 OUTL(dev, phys_to_bus((u32) &tx_ring), DE4X5_TRBA); in dc21x4x_init() 394 tx_ring[tx_new].buf = cpu_to_le32(phys_to_bus((u32) packet)); in dc21x4x_send() 501 tx_ring[tx_new].buf = cpu_to_le32(phys_to_bus((u32) &setup_frame[0])); in send_setup_frame()
|
D | ns8382x.c | 271 #define phys_to_bus(a) pci_phys_to_mem((pci_dev_t)dev->priv, a) macro 626 OUTL(dev, phys_to_bus((u32)&txd), TxRingPtr); in ns8382x_init_txd() 661 OUTL(dev, phys_to_bus((u32) & rxd), RxRingPtr); in ns8382x_init_rxd() 749 txd.bufptr = cpu_to_le32(phys_to_bus((u32)packet)); in ns8382x_send() 754 OUTL(dev, phys_to_bus((u32) & txd), TxRingPtr); in ns8382x_send()
|
D | rtl8139.c | 102 #define phys_to_bus(a) pci_phys_to_mem((pci_dev_t)dev->priv, a) macro 390 outl(phys_to_bus((int)rx_ring), ioaddr + RxBuf); in rtl_reset() 430 outl(phys_to_bus((int)tx_buffer), ioaddr + TxAddr0 + cur_tx*4); in rtl_transmit()
|
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()
|
D | rtl8169.c | 111 #define phys_to_bus(a) pci_phys_to_mem((pci_dev_t)(unsigned long)dev->priv, \ macro
|
/external/u-boot/include/ |
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
|
/external/u-boot/arch/arm/mach-bcm283x/ |
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()
|
D | phys2bus.c | 9 unsigned long phys_to_bus(unsigned long phys) in phys_to_bus() function
|
/external/u-boot/drivers/usb/host/ |
D | dwc2.c | 871 writel(phys_to_bus((unsigned long)aligned_buffer), &hc_regs->hcdma); in transfer_chunk()
|