Searched refs:bd_dma_addr (Results 1 – 3 of 3) sorted by relevance
199 dma_addr_t bd_dma_addr; /* bus address of the BD buffers */ member222 return qe_port->bd_dma_addr + (addr - qe_port->bd_virt); in cpu2qe_addr()239 if (likely((addr >= qe_port->bd_dma_addr) && in qe2cpu_addr()240 (addr < (qe_port->bd_dma_addr + qe_port->bd_size)))) in qe2cpu_addr()241 return qe_port->bd_virt + (addr - qe_port->bd_dma_addr); in qe2cpu_addr()977 dma_addr_t bd_dma_addr = 0; in qe_uart_request_port() local999 bd_virt = dma_alloc_coherent(port->dev, rx_size + tx_size, &bd_dma_addr, in qe_uart_request_port()1007 qe_port->bd_dma_addr = bd_dma_addr; in qe_uart_request_port()1042 qe_port->bd_dma_addr); in qe_uart_release_port()
86 dma_addr_t bd_dma_addr; in uhdlc_init() local289 &bd_dma_addr, GFP_KERNEL); in uhdlc_init()300 priv->dma_rx_addr = bd_dma_addr; in uhdlc_init()301 priv->dma_tx_addr = bd_dma_addr + RX_BD_RING_LEN * MAX_RX_BUF_LENGTH; in uhdlc_init()
215 static int bd_add_to_bdi(struct bdc_ep *ep, dma_addr_t bd_dma_addr) in bd_add_to_bdi() argument226 __func__, (unsigned long long)bd_dma_addr); in bd_add_to_bdi()241 if (bd_dma_addr >= dma_first_bd && bd_dma_addr <= dma_last_bd) { in bd_add_to_bdi()251 bdi = (bd_dma_addr - dma_first_bd) / sizeof(struct bdc_bd); in bd_add_to_bdi()