Home
last modified time | relevance | path

Searched refs:virt_to_bus (Results 1 – 12 of 12) sorted by relevance

/external/grub/netboot/
Deepro100.c103 #undef virt_to_bus
104 #define virt_to_bus(x) ((unsigned long)x) macro
401 txfd.link = virt_to_bus (&txfd); in eepro100_transmit()
405 txfd.tx_buf_addr0 = virt_to_bus (&hdr); in eepro100_transmit()
408 txfd.tx_buf_addr1 = virt_to_bus (p); in eepro100_transmit()
416 outl(virt_to_bus(&txfd), ioaddr + SCBPointer); in eepro100_transmit()
451 outl(virt_to_bus(&(ACCESS(rxfd)status)), ioaddr + SCBPointer); in eepro100_poll()
529 outl(virt_to_bus(&lstats), ioaddr + SCBPointer); in eepro100_probe()
545 ACCESS(rxfd)link = virt_to_bus(&(ACCESS(rxfd)status)); in eepro100_probe()
550 outl(virt_to_bus(&(ACCESS(rxfd)status)), ioaddr + SCBPointer); in eepro100_probe()
[all …]
Depic100.c11 #undef virt_to_bus
12 #define virt_to_bus(x) ((unsigned long)x) macro
240 outl(virt_to_bus(&rx_ring), prcdar); in epic100_open()
241 outl(virt_to_bus(&tx_ring), ptcdar); in epic100_open()
263 rx_ring[i].bufaddr = virt_to_bus(p + (PKT_BUF_SZ * i)); in epic100_init_ring()
265 rx_ring[i].next = virt_to_bus(&(rx_ring[i + 1]) ); in epic100_init_ring()
268 rx_ring[i-1].next = virt_to_bus(&rx_ring[0]); in epic100_init_ring()
278 tx_ring[i].bufaddr = virt_to_bus(p + (PKT_BUF_SZ * i)); in epic100_init_ring()
280 tx_ring[i].next = virt_to_bus(&(tx_ring[i + 1]) ); in epic100_init_ring()
282 tx_ring[i-1].next = virt_to_bus(&tx_ring[0]); in epic100_init_ring()
Dvia-rhine.c669 #define virt_to_bus(x) ((unsigned long)x) macro
689 tp->rx_ring[i].buf_addr_1 = virt_to_bus (tp->rx_buffs[i]); in rhine_init_ring()
690 tp->rx_ring[i].buf_addr_2 = virt_to_bus (&tp->rx_ring[i + 1]); in rhine_init_ring()
695 tp->rx_ring[i - 1].buf_addr_2 = virt_to_bus (&tp->rx_ring[0]); in rhine_init_ring()
706 tp->tx_ring[i].buf_addr_1 = virt_to_bus (tp->tx_buffs[i]); in rhine_init_ring()
707 tp->tx_ring[i].buf_addr_2 = virt_to_bus (&tp->tx_ring[i + 1]); in rhine_init_ring()
711 tp->tx_ring[i - 1].buf_addr_2 = virt_to_bus (&tp->tx_ring[0]); in rhine_init_ring()
1027 rx_ring_tmp1 = (int) virt_to_bus ((char *) rx_ring_tmp); in rhine_reset()
1032 tx_ring_tmp1 = (int) virt_to_bus ((char *) tx_ring_tmp); in rhine_reset()
1038 tx_bufs_tmp1 = (int) virt_to_bus ((char *) tx_bufs_tmp); in rhine_reset()
[all …]
Dlance.c133 #undef virt_to_bus
134 #define virt_to_bus(x) ((unsigned long)x) macro
267 lp->rx_ring[i].u.base = virt_to_bus(lp->rbuf[i]) & 0xffffff; in lance_reset()
273 l = (Address)virt_to_bus(&lp->init_block); in lance_reset()
357 lp->tx_ring.u.base = virt_to_bus(lp->tbuf) & 0xffffff; in lance_transmit()
439 lp->init_block.rx_ring = (virt_to_bus(&lp->rx_ring) & 0xffffff) | RX_RING_LEN_BITS; in lance_probe1()
440 lp->init_block.tx_ring = virt_to_bus(&lp->tx_ring) & 0xffffff; in lance_probe1()
441 l = virt_to_bus(&lp->init_block); in lance_probe1()
D3c90x.c50 #undef virt_to_bus
51 #define virt_to_bus(x) ((unsigned long)x) macro
516 INF_3C90X.TransmitDPD.HdrAddr = virt_to_bus(&hdr); in a3c90x_transmit()
518 INF_3C90X.TransmitDPD.DataAddr = virt_to_bus(p); in a3c90x_transmit()
522 outl(virt_to_bus(&(INF_3C90X.TransmitDPD)), in a3c90x_transmit()
620 INF_3C90X.ReceiveUPD.DataAddr = virt_to_bus(nic->packet); in a3c90x_poll()
624 outl(virt_to_bus(&(INF_3C90X.ReceiveUPD)), in a3c90x_poll()
Dfa311.c39 #undef virt_to_bus
40 #define virt_to_bus(x) ((unsigned long)x) macro
43 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr))
169 writel(virt_to_bus(dev->rx_ring), dev->ioaddr + RxRingPtr); in fa311_probe()
170 writel(virt_to_bus(dev->tx_ring), dev->ioaddr + TxRingPtr); in fa311_probe()
Dtlan.c2485 tail_list->buffer[0].address = virt_to_bus( skb->data );
2495 tail_list->buffer[1].address = virt_to_bus( TLanPadBuffer );
2508 outl( virt_to_bus( tail_list ), dev->base_addr + TLAN_CH_PARM );
2513 ( priv->txList + ( TLAN_NUM_TX_LISTS - 1 ) )->forward = virt_to_bus( tail_list );
2515 ( priv->txList + ( priv->txTail - 1 ) )->forward = virt_to_bus( tail_list );
2814 outl( virt_to_bus( head_list ), dev->base_addr + TLAN_CH_PARM );
2952 head_list->buffer[0].address = virt_to_bus( t );
2962 tail_list->forward = virt_to_bus( head_list );
2976 outl( virt_to_bus( head_list ), dev->base_addr + TLAN_CH_PARM );
3057 outl( virt_to_bus( head_list ), dev->base_addr + TLAN_CH_PARM );
[all …]
Dw89c840.c93 #define virt_to_bus(x) ((unsigned long)x) macro
96 #define virt_to_le32desc(addr) virt_to_bus(addr)
327 writel(virt_to_bus(w840private.rx_ring), ioaddr + RxRingPtr); in w89c840_reset()
328 writel(virt_to_bus(w840private.tx_ring), ioaddr + TxRingPtr); in w89c840_reset()
Dnatsemi.c88 #define virt_to_bus(x) ((unsigned long)x) macro
89 #define virt_to_le32desc(addr) virt_to_bus(addr)
Dtulip.c133 #define virt_to_bus(x) ((unsigned long)x) macro
134 #define virt_to_le32desc(addr) virt_to_bus(addr)
/external/kernel-headers/original/asm-arm/
Dmemory.h191 static inline __deprecated unsigned long virt_to_bus(void *x) in virt_to_bus() function
/external/kernel-headers/original/asm-x86/
Dio_32.h155 #define virt_to_bus virt_to_phys macro