Lines Matching refs:tx_bd_base
184 priv->tx_bd_base = dma_alloc_coherent(priv->dev, in uhdlc_init()
188 if (!priv->tx_bd_base) { in uhdlc_init()
222 priv->curtx_bd = priv->tx_bd_base; in uhdlc_init()
223 priv->dirty_tx = priv->tx_bd_base; in uhdlc_init()
319 priv->tx_bd_base[i].status = cpu_to_be16(bd_status); in uhdlc_init()
320 priv->tx_bd_base[i].buf = cpu_to_be32(priv->dma_tx_addr + i * MAX_RX_BUF_LENGTH); in uhdlc_init()
339 priv->tx_bd_base, priv->dma_tx_bd); in uhdlc_init()
425 bd = priv->tx_bd_base; in ucc_hdlc_tx()
506 bd = priv->tx_bd_base; in hdlc_tx_done()
754 if (priv->tx_bd_base) { in uhdlc_memclean()
757 priv->tx_bd_base, priv->dma_tx_bd); in uhdlc_memclean()
759 priv->tx_bd_base = NULL; in uhdlc_memclean()
1006 priv->tx_bd_base[i].status = cpu_to_be16(bd_status); in uhdlc_resume()
1007 priv->tx_bd_base[i].buf = cpu_to_be32(priv->dma_tx_addr + i * MAX_RX_BUF_LENGTH); in uhdlc_resume()