Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/net/
H A Deepro100.c229 #define phys_to_bus(a) (a) macro
232 #define phys_to_bus(a) pci_phys_to_mem((pci_dev_t)dev->priv, a) macro
517 OUTL (dev, phys_to_bus ((u32) & rx_ring[rx_next]), SCBPointer); in eepro100_init()
527 cfg_cmd->link = cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_next])); in eepro100_init()
537 OUTL (dev, phys_to_bus ((u32) & tx_ring[tx_cur]), SCBPointer); in eepro100_init()
563 ias_cmd->link = cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_next])); in eepro100_init()
574 OUTL (dev, phys_to_bus ((u32) & tx_ring[tx_cur]), SCBPointer); in eepro100_init()
618 cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_next])); in eepro100_send()
620 cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_cur].tx_buf_addr0)); in eepro100_send()
622 cpu_to_le32 (phys_to_bus ((u_long) packet)); in eepro100_send()
[all …]
H A Ddc2114x.c170 #define phys_to_bus(a) (a) macro
172 #define phys_to_bus(a) pci_phys_to_mem((pci_dev_t)dev->priv, a) macro
337 phys_to_bus((u32)net_rx_packets[i])); in dc21x4x_init()
340 phys_to_bus((u32)&rx_ring[(i + 1) % NUM_RX_DESC])); in dc21x4x_init()
352 tx_ring[i].next = cpu_to_le32(phys_to_bus((u32) &tx_ring[(i+1) % NUM_TX_DESC])); in dc21x4x_init()
366 OUTL(dev, phys_to_bus((u32) &rx_ring), DE4X5_RRBA); in dc21x4x_init()
367 OUTL(dev, phys_to_bus((u32) &tx_ring), DE4X5_TRBA); in dc21x4x_init()
396 tx_ring[tx_new].buf = cpu_to_le32(phys_to_bus((u32) packet)); in dc21x4x_send()
503 tx_ring[tx_new].buf = cpu_to_le32(phys_to_bus((u32) &setup_frame[0])); in send_setup_frame()
H A Dns8382x.c271 #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()
H A Drtl8139.c102 #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()
H 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()
H A Drtl8169.c112 #define phys_to_bus(a) pci_phys_to_mem((pci_dev_t)(unsigned long)dev->priv, \ macro
/OK3568_Linux_fs/u-boot/include/
H A Dphys2bus.h11 unsigned long phys_to_bus(unsigned long phys);
14 static inline unsigned long phys_to_bus(unsigned long phys) in phys_to_bus() function
/OK3568_Linux_fs/u-boot/arch/arm/mach-bcm283x/
H A Dmbox.c119 phys_to_bus((unsigned long)buffer), in bcm2835_mbox_call_prop()
128 if (rbuffer != phys_to_bus((unsigned long)buffer)) { in bcm2835_mbox_call_prop()
H A Dphys2bus.c10 unsigned long phys_to_bus(unsigned long phys) in phys_to_bus() function
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Ddwc2.c877 writel(phys_to_bus((unsigned long)aligned_buffer), &hc_regs->hcdma); in transfer_chunk()