/external/syslinux/gpxe/src/drivers/net/ |
D | eepro100.c | 324 ifec_scb_cmd ( netdev, virt_to_bus ( &priv->stats ), CUStatsAddr ); in ifec_net_open() 354 cfg->link = virt_to_bus ( priv->tcbs ); in ifec_net_open() 356 ias->link = virt_to_bus ( cfg ); in ifec_net_open() 359 ifec_scb_cmd ( netdev, virt_to_bus ( ias ), CUStart ); in ifec_net_open() 376 ifec_scb_cmd ( netdev, virt_to_bus( priv->rfds[0] ), RUStart ); in ifec_net_open() 462 tcb->tbd_addr0 = virt_to_bus ( iobuf->data ); in ifec_net_transmit() 788 ifec_scb_cmd ( netdev, virt_to_bus ( priv->rfds[cur_rx] ), in ifec_reprime_ru() 945 rfd->link = virt_to_bus ( priv->rfds[cur_rx] ); in ifec_refill_rx_ring() 1087 tcb->tbda_addr = virt_to_bus ( &tcb->tbd_addr0 ); in ifec_tx_setup() 1088 tcb->link = virt_to_bus ( tcb + 1 ); in ifec_tx_setup() [all …]
|
D | davicom.c | 440 txd[i].buf1addr = (void *)virt_to_bus(&txb[0]); /* Used same TX buffer */ in davicom_init_chain() 441 txd[i].buf2addr = (void *)virt_to_bus(&txd[i+1]); /* Point to Next TX desc */ in davicom_init_chain() 460 rxd[i].buf1addr = (void *)virt_to_bus(&rxb[i * BUFLEN]); in davicom_init_chain() 461 rxd[i].buf2addr = (void *)virt_to_bus(&rxd[i+1]); /* Point to Next RX desc */ in davicom_init_chain() 469 txd[NTXD - 1].buf2addr = (void *)virt_to_bus(&txd[0]); in davicom_init_chain() 470 rxd[NRXD - 1].buf2addr = (void *)virt_to_bus(&rxd[0]); in davicom_init_chain() 500 outl(virt_to_bus(&rxd[0]), ioaddr + CSR3); in davicom_reset() 501 outl(virt_to_bus(&txd[0]), ioaddr + CSR4); /* Sten 10/9 */ in davicom_reset()
|
D | via-rhine.c | 728 tp->rx_ring[i].buf_addr_1 = virt_to_bus (tp->rx_buffs[i]); in rhine_init_ring() 729 tp->rx_ring[i].buf_addr_2 = virt_to_bus (&tp->rx_ring[i + 1]); in rhine_init_ring() 734 tp->rx_ring[i - 1].buf_addr_2 = virt_to_bus (&tp->rx_ring[0]); in rhine_init_ring() 745 tp->tx_ring[i].buf_addr_1 = virt_to_bus (tp->tx_buffs[i]); in rhine_init_ring() 746 tp->tx_ring[i].buf_addr_2 = virt_to_bus (&tp->tx_ring[i + 1]); in rhine_init_ring() 750 tp->tx_ring[i - 1].buf_addr_2 = virt_to_bus (&tp->tx_ring[0]); in rhine_init_ring() 1216 rx_ring_tmp1 = virt_to_bus ( rx_ring_tmp ); in rhine_reset() 1221 tx_ring_tmp1 = virt_to_bus ( tx_ring_tmp ); in rhine_reset() 1227 tx_bufs_tmp1 = virt_to_bus ( tx_bufs_tmp ); in rhine_reset() 1232 rx_bufs_tmp1 = virt_to_bus ( rx_bufs_tmp ); in rhine_reset() [all …]
|
D | natsemi.c | 357 np->tx[i].link = virt_to_bus ((i + 1 < TX_RING_SIZE) ? &np->tx[i + 1] : &np->tx[0]); in natsemi_open() 361 outl (virt_to_bus (&np->tx[0]),np->ioaddr + TxRingPtr); in natsemi_open() 373 np->rx[i].link = virt_to_bus ((i + 1 < NUM_RX_DESC) in natsemi_open() 376 np->rx[i].bufptr = virt_to_bus (np->iobuf[i]->data); in natsemi_open() 380 outl (virt_to_bus (&np->rx[0]), np->ioaddr + RxRingPtr); in natsemi_open() 477 np->tx[np->tx_cur].bufptr = virt_to_bus (iobuf->data); in natsemi_transmit() 481 virt_to_bus (&iobuf->data), iob_len (iobuf)); in natsemi_transmit()
|
D | 3c90x.c | 295 if(downlist_ptr == virt_to_bus(p->tx_ring + p->tx_tail)) in a3c90x_process_tx_packets() 360 tx_cur_desc->DataAddr = virt_to_bus(iob->data); in a3c90x_transmit() 371 tx_prev_desc->DnNextPtr = virt_to_bus(tx_cur_desc); in a3c90x_transmit() 376 outl(virt_to_bus(tx_cur_desc), in a3c90x_transmit() 409 p->rx_ring[index].DataAddr = virt_to_bus(p->rx_iobuf[index]->data); in a3c90x_prepare_rx_desc() 479 virt_to_bus(p->rx_ring + (i + 1)); in a3c90x_setup_rx_ring() 487 p->rx_ring[i - 1].UpNextPtr = virt_to_bus(p->rx_ring); in a3c90x_setup_rx_ring() 822 outl(virt_to_bus(inf_3c90x->rx_ring), in a3c90x_open()
|
D | sis900.c | 724 txd.bufptr = virt_to_bus(&txb[0]); in sis900_init_txd() 727 outl(virt_to_bus(&txd), ioaddr + txdp); in sis900_init_txd() 752 rxd[i].link = virt_to_bus((i+1 < NUM_RX_DESC) ? &rxd[i+1] : &rxd[0]); in sis900_init_rxd() 754 rxd[i].bufptr = virt_to_bus(&rxb[i*RX_BUF_SIZE]); in sis900_init_rxd() 762 outl(virt_to_bus(&rxd[0]), ioaddr + rxdp); in sis900_init_rxd() 1117 outl(virt_to_bus(&txd), ioaddr + txdp); in sis900_transmit() 1139 txd.bufptr = virt_to_bus(&txb[0]); in sis900_transmit() 1220 rxd[cur_rx].bufptr = virt_to_bus(&rxb[cur_rx*RX_BUF_SIZE]); in sis900_poll()
|
D | pcnet32.c | 66 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) 508 (virt_to_bus(&lp->init_block)) & 0xffff); in pcnet32_reset() 509 lp->a.write_csr(ioaddr, 2, (virt_to_bus(&lp->init_block)) >> 16); in pcnet32_reset() 885 lp->init_block.rx_ring = virt_to_bus(&pcnet32_bufs.rx_ring); in pcnet32_probe() 886 lp->init_block.tx_ring = virt_to_bus(&pcnet32_bufs.tx_ring); in pcnet32_probe() 891 a->write_csr(ioaddr, 1, (virt_to_bus(&lp->init_block)) & 0xffff); in pcnet32_probe() 892 a->write_csr(ioaddr, 2, (virt_to_bus(&lp->init_block)) >> 16); in pcnet32_probe()
|
D | myri10ge.c | 227 request->addr_low = htonl ( virt_to_bus ( iob->data ) ); in myri10ge_post_receive() 265 = htonl ( virt_to_bus ( &priv->dma->command_response ) ); in myri10ge_command() 732 data[0] = virt_to_bus ( &priv->dma->receive_completion ); in myri10ge_net_open() 825 data[0] = virt_to_bus ( &priv->dma->irq_data ); in myri10ge_net_open() 1000 kreq->addr_low = htonl ( virt_to_bus ( iobuf->data ) ); in myri10ge_net_transmit()
|
D | via-velocity.c | 59 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) 551 vptr->td_rings[entry].td_buf[0].pa_low = virt_to_bus(ptxb); in velocity_transmit() 560 td_ptr->td_buf[0].pa_low = virt_to_bus(ptxb); in velocity_transmit() 1159 virt_to_bus(vptr->rxb + (RX_DESC_DEF * idx)); in velocity_init_rings() 1236 TxPhyAddr = virt_to_bus(vptr->TxDescArrays); in velocity_open() 1242 printf("Aligned Address: %lX\n", virt_to_bus(vptr->td_rings)); in velocity_open() 1245 TxBufPhyAddr = virt_to_bus(vptr->tx_buffs); in velocity_open() 1252 RxPhyAddr = virt_to_bus(vptr->RxDescArrays); in velocity_open() 1259 RxBufPhyAddr = virt_to_bus(vptr->rx_buffs); in velocity_open()
|
D | amd8111e.c | 241 writel(virt_to_bus(lp->tx_ring), mmio + XMT_RING_BASE_ADDR0); in amd8111e_start() 242 writel(virt_to_bus(lp->rx_ring), mmio + RCV_RING_BASE_ADDR0); in amd8111e_start() 405 lp->rx_ring[i].buf_phy_addr = cpu_to_le32(virt_to_bus(lp->rx_buf[i])); in amd8111e_init_rx_ring() 550 lp->tx_ring[index].buf_phy_addr = cpu_to_le32(virt_to_bus(frame)); in amd8111e_transmit() 600 lp->rx_ring[index].buf_phy_addr = cpu_to_le32(virt_to_bus(lp->rx_buf[index])); in amd8111e_poll()
|
D | rtl8139.c | 336 outl ( virt_to_bus ( rtl->rx.ring ), rtl->ioaddr + RxBuf ); in rtl_open() 338 rtl, virt_to_bus ( rtl->rx.ring ) ); in rtl_open() 391 virt_to_bus ( iobuf->data ), iob_len ( iobuf ) ); in rtl_transmit() 393 outl ( virt_to_bus ( iobuf->data ), in rtl_transmit()
|
D | r8169.c | 985 RTL_W32 ( TxDescStartAddrLow, virt_to_bus ( tp->tx_base ) ); in rtl_set_rx_tx_desc_registers() 987 RTL_W32 ( RxDescAddrLow, virt_to_bus ( tp->rx_base ) ); in rtl_set_rx_tx_desc_registers() 1602 DBG ( "tp->tx_base = %#08lx\n", virt_to_bus ( tp->tx_base ) ); in rtl8169_setup_tx_resources() 1638 DBG ( "tx_curr_desc = %#08lx\n", virt_to_bus ( tx_curr_desc ) ); in rtl8169_process_tx_packets() 1671 rx_desc->addr_lo = virt_to_bus ( tp->rx_iobuf[index]->data ); in rtl8169_populate_rx_descriptor() 1730 DBG ( "tp->rx_base = %#08lx\n", virt_to_bus ( tp->rx_base ) ); in rtl8169_setup_rx_resources() 1777 DBG ( "rx_curr_desc = %#08lx\n", virt_to_bus ( rx_curr_desc ) ); in rtl8169_process_rx_packets() 1972 DBG ( "tx_curr_desc = %#08lx\n", virt_to_bus ( tx_curr_desc ) ); in rtl8169_transmit() 1973 DBG ( "iobuf->data = %#08lx\n", virt_to_bus ( iobuf->data ) ); in rtl8169_transmit() 1978 tx_curr_desc->addr_lo = virt_to_bus ( iobuf->data ); in rtl8169_transmit()
|
D | mtd80x.c | 38 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) 401 mtdx.tx_ring[0].buffer = virt_to_bus(&txb[0]); in init_ring() 422 outl(virt_to_bus(mtdx.rx_ring), mtdx.ioaddr + RXLBA); in mtd_reset() 423 outl(virt_to_bus(mtdx.tx_ring), mtdx.ioaddr + TXLBA); in mtd_reset() 543 outl(virt_to_bus(mtdx.tx_ring), mtdx.ioaddr + TXLBA); in mtd_transmit()
|
D | epic100.c | 17 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) 278 rx_ring[i].bufaddr = virt_to_bus(&rx_packet[i * PKT_BUF_SZ]); in epic100_init_ring() 292 tx_ring[i].bufaddr = virt_to_bus(&tx_packet[i * PKT_BUF_SZ]); in epic100_init_ring()
|
D | dmfe.c | 57 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) 530 txd[i].tdes2 = cpu_to_le32(virt_to_bus(&txb[i])); in dmfe_descriptor_init() 531 txd[i].tdes3 = cpu_to_le32(virt_to_bus(&txd[i + 1])); in dmfe_descriptor_init() 544 cpu_to_le32(virt_to_bus(&rxb[i * RX_ALLOC_SIZE])); in dmfe_descriptor_init() 545 rxd[i].rdes3 = cpu_to_le32(virt_to_bus(&rxd[i + 1])); in dmfe_descriptor_init() 549 rxd[i - 1].rdes3 = cpu_to_le32(virt_to_bus(&rxd[0])); in dmfe_descriptor_init()
|
D | w89c840.c | 90 #define virt_to_le32desc(addr) virt_to_bus(addr) 310 writel(virt_to_bus(w840private.rx_ring), ioaddr + RxRingPtr); in w89c840_reset() 311 writel(virt_to_bus(w840private.tx_ring), ioaddr + TxRingPtr); in w89c840_reset()
|
D | sis190.c | 211 mapping = virt_to_bus(iob->data); in sis190_alloc_rx_iob() 568 tp->tx_dma = cpu_to_le32(virt_to_bus(tp->TxDescRing)); in sis190_open() 577 tp->rx_dma = cpu_to_le32(virt_to_bus(tp->RxDescRing)); in sis190_open() 662 desc->addr = cpu_to_le32(virt_to_bus(iob->data)); in sis190_transmit()
|
D | tg3.c | 1785 rxd->addr_lo = virt_to_bus( in tg3_init_rings() 2003 virt_to_bus(tp->rx_std)); in tg3_setup_hw() 2030 virt_to_bus(tp->tx_ring), in tg3_setup_hw() 2050 virt_to_bus(tp->rx_rcb), in tg3_setup_hw() 2215 virt_to_bus(tp->hw_stats)); in tg3_setup_hw() 2217 virt_to_bus(tp->hw_status)); in tg3_setup_hw() 3202 txd->addr_lo = virt_to_bus(frame); in tg3_transmit()
|
D | mtnic.c | 83 *pa = (u32)virt_to_bus(*va); in mtnic_alloc_aligned() 158 virt_to_bus(ring->iobuf[index]->data)); in mtnic_alloc_iobuf() 558 addr = PAGE_SIZE + ((virt_to_bus(pages.buf) & 0xfffff000) + PAGE_SIZE); in mtnic_map_cmd() 1565 data->addr_l = cpu_to_be32((u32)virt_to_bus(iobuf->data)); in mtnic_transmit()
|
/external/syslinux/gpxe/src/drivers/net/phantom/ |
D | phantom.c | 596 physaddr = virt_to_bus ( buffer ); in phantom_issue_buf_cmd() 621 cpu_to_le64 ( virt_to_bus ( &buf->cardrsp ) ); in phantom_create_rx_ctx() 634 cpu_to_le64 ( virt_to_bus ( phantom->desc->rds ) ); in phantom_create_rx_ctx() 639 cpu_to_le64 ( virt_to_bus ( phantom->desc->sds ) ); in phantom_create_rx_ctx() 643 DBGC2_HDA ( phantom, virt_to_bus ( &buf->hostrq ), in phantom_create_rx_ctx() 654 DBGC_HDA ( phantom, virt_to_bus ( &buf->hostrq ), in phantom_create_rx_ctx() 657 DBGC_HDA ( phantom, virt_to_bus ( &buf->cardrsp ), in phantom_create_rx_ctx() 675 DBGC2_HDA ( phantom, virt_to_bus ( &buf->cardrsp ), in phantom_create_rx_ctx() 741 cpu_to_le64 ( virt_to_bus ( &buf->cardrsp ) ); in phantom_create_tx_ctx() 743 cpu_to_le64 ( virt_to_bus ( &phantom->desc->cmd_cons ) ); in phantom_create_tx_ctx() [all …]
|
/external/syslinux/gpxe/src/drivers/net/e1000/ |
D | e1000.c | 220 DBG ( "adapter->tx_base = %#08lx\n", virt_to_bus ( adapter->tx_base ) ); in e1000_setup_tx_resources() 249 E1000_WRITE_REG ( hw, TDBAL, virt_to_bus ( adapter->tx_base ) ); in e1000_configure_tx() 331 rx_curr_desc->buffer_addr = virt_to_bus ( iob->data ); in e1000_refill_rx_ring() 403 E1000_WRITE_REG ( hw, RDBAL, virt_to_bus ( adapter->rx_base ) ); in e1000_configure_rx() 653 DBG ( "tx_curr_desc = %#08lx\n", virt_to_bus ( tx_curr_desc ) ); in e1000_transmit() 654 DBG ( "tx_curr_desc + 16 = %#08lx\n", virt_to_bus ( tx_curr_desc ) + 16 ); in e1000_transmit() 655 DBG ( "iobuf->data = %#08lx\n", virt_to_bus ( iobuf->data ) ); in e1000_transmit() 660 virt_to_bus ( iobuf->data ); in e1000_transmit() 667 tx_curr, virt_to_bus ( iobuf->data ), iob_len ( iobuf ) ); in e1000_transmit()
|
/external/syslinux/gpxe/src/drivers/infiniband/ |
D | arbel.c | 167 MLX_FILL_1 ( &hcr, 1, in_param_l, virt_to_bus ( in_buffer ) ); in arbel_cmd() 175 virt_to_bus ( out_buffer ) ); in arbel_cmd() 606 virt_to_bus ( arbel_cq->cqe ) ); in arbel_create_cq() 719 ( virt_to_bus ( next_wqe ) >> 6 ) ); in arbel_create_send_wq() 758 ( virt_to_bus ( next_wqe ) >> 6 ) ); in arbel_create_recv_wq() 849 ( virt_to_bus ( arbel_qp->send.wqe ) >> 6 ) ); in arbel_create_qp() 855 ( virt_to_bus ( arbel_qp->recv.wqe ) >> 6 ) ); in arbel_create_qp() 1063 local_address_l, virt_to_bus ( iobuf->data ) ); in arbel_post_send() 1129 local_address_l, virt_to_bus ( iobuf->data ) ); in arbel_post_recv() 1201 wqe_idx = ( ( wqe_adr - virt_to_bus ( arbel_send_wq->wqe ) ) / in arbel_complete() [all …]
|
D | linda.c | 558 ( virt_to_bus ( linda->sendbufavail ) >> 6 ) ); in linda_init_send() 639 ( virt_to_bus ( linda_wq->header ) >> 2 ) ); in linda_create_recv_wq() 644 ( virt_to_bus ( &linda_wq->header_prod ) >> 2 ) ); in linda_create_recv_wq() 661 linda, qp->qpn, ctx, virt_to_bus ( linda_wq->header ), in linda_create_recv_wq() 662 ( virt_to_bus ( linda_wq->header ) + LINDA_RECV_HEADERS_SIZE ), in linda_create_recv_wq() 663 virt_to_bus ( &linda_wq->header_prod ) ); in linda_create_recv_wq() 1096 addr = virt_to_bus ( iobuf->data ); in linda_post_recv()
|
D | hermon.c | 190 MLX_FILL_1 ( &hcr, 1, in_param_l, virt_to_bus ( in_buffer ) ); in hermon_cmd() 198 virt_to_bus ( out_buffer ) ); in hermon_cmd() 1216 local_address_l, virt_to_bus ( iobuf->data ) ); in hermon_fill_ud_send_wqe() 1259 local_address_l, virt_to_bus ( headers.data ) ); in hermon_fill_mlx_send_wqe() 1264 local_address_l, virt_to_bus ( iobuf->data ) ); in hermon_fill_mlx_send_wqe() 1292 local_address_l, virt_to_bus ( iobuf->data ) ); in hermon_fill_rc_send_wqe() 1400 local_address_l, virt_to_bus ( iobuf->data ) ); in hermon_post_recv()
|
/external/syslinux/gpxe/src/drivers/net/rtl818x/ |
D | rtl818x.c | 107 entry->rx_buf = cpu_to_le32(virt_to_bus(iob->data)); in rtl818x_handle_rx() 208 entry->tx_buf = cpu_to_le32(virt_to_bus(iob->data)); in rtl818x_tx() 333 priv->rx_ring_dma = virt_to_bus(priv->rx_ring); in rtl818x_init_rx_ring() 349 entry->rx_buf = cpu_to_le32(virt_to_bus(iob->data)); in rtl818x_init_rx_ring() 378 priv->tx_ring_dma = virt_to_bus(priv->tx_ring); in rtl818x_init_tx_ring()
|