Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/tty/serial/
Ducc_uart.c198 void *bd_virt; /* virtual address of the BD buffers */ member
220 if (likely((addr >= qe_port->bd_virt)) && in cpu2qe_addr()
221 (addr < (qe_port->bd_virt + qe_port->bd_size))) in cpu2qe_addr()
222 return qe_port->bd_dma_addr + (addr - qe_port->bd_virt); in cpu2qe_addr()
241 return qe_port->bd_virt + (addr - qe_port->bd_dma_addr); in qe2cpu_addr()
594 void *bd_virt; in qe_uart_initbd() local
600 bd_virt = qe_port->bd_virt; in qe_uart_initbd()
605 iowrite32be(cpu2qe_addr(bd_virt, qe_port), &bdp->buf); in qe_uart_initbd()
607 bd_virt += qe_port->rx_fifosize; in qe_uart_initbd()
613 iowrite32be(cpu2qe_addr(bd_virt, qe_port), &bdp->buf); in qe_uart_initbd()
[all …]
/Linux-v6.1/drivers/net/ethernet/ibm/emac/
Dmal.c634 mal->bd_virt = dma_alloc_coherent(&ofdev->dev, bd_size, &mal->bd_dma, in mal_probe()
636 if (mal->bd_virt == NULL) { in mal_probe()
703 dma_free_coherent(&ofdev->dev, bd_size, mal->bd_virt, mal->bd_dma); in mal_probe()
738 NUM_RX_BUFF * mal->num_rx_chans), mal->bd_virt, in mal_remove()
Dmal.h202 struct mal_descriptor *bd_virt; member
Dcore.c3123 dev->mal->bd_virt + mal_tx_bd_offset(dev->mal, dev->mal_tx_chan); in emac_probe()
3125 dev->mal->bd_virt + mal_rx_bd_offset(dev->mal, dev->mal_rx_chan); in emac_probe()