Home
last modified time | relevance | path

Searched refs:bd_virt (Results 1 – 4 of 4) sorted by relevance

/drivers/serial/
Ducc_uart.c191 void *bd_virt; /* virtual address of the BD buffers */ member
213 if (likely((addr >= qe_port->bd_virt)) && in cpu2qe_addr()
214 (addr < (qe_port->bd_virt + qe_port->bd_size))) in cpu2qe_addr()
215 return qe_port->bd_dma_addr + (addr - qe_port->bd_virt); in cpu2qe_addr()
234 return qe_port->bd_virt + (addr - qe_port->bd_dma_addr); in qe2cpu_addr()
600 void *bd_virt; in qe_uart_initbd() local
606 bd_virt = qe_port->bd_virt; in qe_uart_initbd()
611 out_be32(&bdp->buf, cpu2qe_addr(bd_virt, qe_port)); in qe_uart_initbd()
613 bd_virt += qe_port->rx_fifosize; in qe_uart_initbd()
619 out_be32(&bdp->buf, cpu2qe_addr(bd_virt, qe_port)); in qe_uart_initbd()
[all …]
/drivers/net/ibm_newemac/
Dmal.c644 mal->bd_virt = in mal_probe()
647 if (mal->bd_virt == NULL) { in mal_probe()
654 memset(mal->bd_virt, 0, bd_size); in mal_probe()
723 dma_free_coherent(&ofdev->dev, bd_size, mal->bd_virt, mal->bd_dma); in mal_probe()
764 NUM_RX_BUFF * mal->num_rx_chans), mal->bd_virt, in mal_remove()
Dmal.h211 struct mal_descriptor *bd_virt; member
Dcore.c2789 dev->mal->bd_virt + mal_tx_bd_offset(dev->mal, dev->mal_tx_chan); in emac_probe()
2791 dev->mal->bd_virt + mal_rx_bd_offset(dev->mal, dev->mal_rx_chan); in emac_probe()