Searched refs:virt_to_bus (Results 1 - 19 of 19) sorted by relevance
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | eepro100.c | 413 txfd.link = virt_to_bus (&txfd); 415 txfd.tx_desc_addr = virt_to_bus(&txfd.tx_buf_addr0); 417 txfd.tx_buf_addr0 = virt_to_bus (&hdr); 420 txfd.tx_buf_addr1 = virt_to_bus (p); 428 outl(virt_to_bus(&txfd), ioaddr + SCBPointer); 516 outl(virt_to_bus(&(ACCESS(rxfd)status)), ioaddr + SCBPointer); 631 outl(virt_to_bus(&lstats), ioaddr + SCBPointer); 639 ACCESS(rxfd)link = virt_to_bus(&(ACCESS(rxfd)status)); 640 ACCESS(rxfd)rx_buf_addr = virt_to_bus(&nic->packet); 644 outl(virt_to_bus( [all...] |
H A D | natsemi.c | 86 #define virt_to_le32desc(addr) virt_to_bus(addr) 509 txd.bufptr = virt_to_bus(&txb[0]); 512 outl(virt_to_bus(&txd), ioaddr + TxRingPtr); 536 rxd[i].link = virt_to_bus((i+1 < NUM_RX_DESC) ? &rxd[i+1] : &rxd[0]); 538 rxd[i].bufptr = virt_to_bus(&rxb[i*RX_BUF_SIZE]); 545 outl(virt_to_bus(&rxd[0]), ioaddr + RxRingPtr); 616 outl(virt_to_bus(&txd), ioaddr + TxRingPtr); 638 txd.bufptr = virt_to_bus(&txb[0]); 708 rxd[cur_rx].bufptr = virt_to_bus(&rxb[cur_rx*RX_BUF_SIZE]);
|
H A D | davicom.c | 441 txd[i].buf1addr = (void *)virt_to_bus(&txb[0]); /* Used same TX buffer */ 442 txd[i].buf2addr = (void *)virt_to_bus(&txd[i+1]); /* Point to Next TX desc */ 461 rxd[i].buf1addr = (void *)virt_to_bus(&rxb[i * BUFLEN]); 462 rxd[i].buf2addr = (void *)virt_to_bus(&rxd[i+1]); /* Point to Next RX desc */ 470 txd[NTXD - 1].buf2addr = (void *)virt_to_bus(&txd[0]); 471 rxd[NRXD - 1].buf2addr = (void *)virt_to_bus(&rxd[0]); 502 outl(virt_to_bus(&rxd[0]), ioaddr + CSR3); 503 outl(virt_to_bus(&txd[0]), ioaddr + CSR4); /* Sten 10/9 */
|
H A D | via-rhine.c | 686 tp->rx_ring[i].buf_addr_1 = virt_to_bus (tp->rx_buffs[i]); 687 tp->rx_ring[i].buf_addr_2 = virt_to_bus (&tp->rx_ring[i + 1]); 692 tp->rx_ring[i - 1].buf_addr_2 = virt_to_bus (&tp->rx_ring[0]); 703 tp->tx_ring[i].buf_addr_1 = virt_to_bus (tp->tx_buffs[i]); 704 tp->tx_ring[i].buf_addr_2 = virt_to_bus (&tp->tx_ring[i + 1]); 708 tp->tx_ring[i - 1].buf_addr_2 = virt_to_bus (&tp->tx_ring[0]); 1118 rx_ring_tmp1 = (int) virt_to_bus ((char *) rx_ring_tmp); 1123 tx_ring_tmp1 = (int) virt_to_bus ((char *) tx_ring_tmp); 1129 tx_bufs_tmp1 = (int) virt_to_bus ((char *) tx_bufs_tmp); 1134 rx_bufs_tmp1 = (int) virt_to_bus ((cha [all...] |
H A D | r8169.c | 73 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) 478 virt_to_bus(tpc->RxBufferRing[cur_rx]); 524 tpc->TxDescArray[entry].buf_addr = virt_to_bus(ptxb); 634 virt_to_bus(tpc->RxBufferRing[i]); 651 TxPhyAddr = virt_to_bus(tpc->TxDescArrays); 658 RxPhyAddr = virt_to_bus(tpc->RxDescArrays);
|
H A D | sis900.c | 700 txd.bufptr = virt_to_bus(&txb[0]); 703 outl(virt_to_bus(&txd), ioaddr + txdp); 727 rxd[i].link = virt_to_bus((i+1 < NUM_RX_DESC) ? &rxd[i+1] : &rxd[0]); 729 rxd[i].bufptr = virt_to_bus(&rxb[i*RX_BUF_SIZE]); 736 outl(virt_to_bus(&rxd[0]), ioaddr + rxdp); 1085 outl(virt_to_bus(&txd), ioaddr + txdp); 1107 txd.bufptr = virt_to_bus(&txb[0]); 1180 rxd[cur_rx].bufptr = virt_to_bus(&rxb[cur_rx*RX_BUF_SIZE]);
|
H A D | 3c90x.c | 514 INF_3C90X.TransmitDPD.HdrAddr = virt_to_bus(&hdr); 516 INF_3C90X.TransmitDPD.DataAddr = virt_to_bus(p); 520 outl(virt_to_bus(&(INF_3C90X.TransmitDPD)), 620 INF_3C90X.ReceiveUPD.DataAddr = virt_to_bus(nic->packet); 624 outl(virt_to_bus(&(INF_3C90X.ReceiveUPD)),
|
H A D | pcnet32.c | 73 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) 519 (virt_to_bus(&lp->init_block)) & 0xffff); 520 lp->a.write_csr(ioaddr, 2, (virt_to_bus(&lp->init_block)) >> 16); 884 lp->init_block.rx_ring = virt_to_bus(&rx_ring); 885 lp->init_block.tx_ring = virt_to_bus(&tx_ring); 891 a->write_csr(ioaddr, 1, (virt_to_bus(&lp->init_block)) & 0xffff); 892 a->write_csr(ioaddr, 2, (virt_to_bus(&lp->init_block)) >> 16);
|
H A D | epic100.c | 14 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) 271 rx_ring[i].bufaddr = virt_to_bus(&rx_packet[i * PKT_BUF_SZ]); 285 tx_ring[i].bufaddr = virt_to_bus(&tx_packet[i * PKT_BUF_SZ]);
|
H A D | w89c840.c | 95 #define virt_to_le32desc(addr) virt_to_bus(addr) 313 writel(virt_to_bus(w840private.rx_ring), ioaddr + RxRingPtr); 314 writel(virt_to_bus(w840private.tx_ring), ioaddr + TxRingPtr);
|
H A D | rtl8139.c | 21 Put in virt_to_bus calls to allow Etherboot relocation. 345 outl((unsigned long)virt_to_bus(rx_ring), nic->ioaddr + RxBuf); 391 outl((unsigned long)virt_to_bus(tx_buffer), nic->ioaddr + TxAddr0 + cur_tx*4);
|
H A D | io.h | 15 /* virt_to_bus converts an addresss inside of etherboot [_start, _end] 18 #define virt_to_bus virt_to_phys macro 21 /* bus_to_virt reverses virt_to_bus, the address must be output 22 * from virt_to_bus to be valid. This function does not work on
|
H A D | tlan.c | 66 #define virt_to_bus(x) ((unsigned long) x) macro 71 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) 285 list->buffer[0].address = virt_to_bus(txb + 511 outl(virt_to_bus(&rx_ring), BASE + TLAN_CH_PARM);
|
H A D | tg3.c | 1725 rxd->addr_lo = virt_to_bus( 1933 virt_to_bus(tp->rx_std)); 1958 virt_to_bus(tp->tx_ring), 1977 virt_to_bus(tp->rx_rcb), 2137 virt_to_bus(tp->hw_stats)); 2139 virt_to_bus(tp->hw_status)); 3101 txd->addr_lo = virt_to_bus(&frame[frame_idx]);
|
H A D | sundance.c | 65 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) 372 tx_ring[0].addr = virt_to_bus(&txb[0]); 373 tx_ring[0].next_desc = 0; /* virt_to_bus(&tx_ring[1]); */ 377 tx_ring[1].addr = 0; /*virt_to_bus(&txb[0]); */
|
H A D | e1000.c | 3361 rd->buffer_addr = virt_to_bus(&packet); 3376 E1000_WRITE_REG (&hw, TDBAL, virt_to_bus(tx_base)); 3415 E1000_WRITE_REG (&hw, RDBAL, virt_to_bus(rx_base)); 3486 txhd->buffer_addr = virt_to_bus (&hdr); 3490 txp->buffer_addr = virt_to_bus(p);
|
H A D | forcedeth.c | 71 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr))
|
H A D | ns83820.c | 66 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr))
|
H A D | tulip.c | 132 #define virt_to_le32desc(addr) virt_to_bus(addr)
|
Completed in 128 milliseconds