Searched refs:MAX_RX_BUF_LENGTH (Results 1 – 2 of 2) sorted by relevance
122 #define MAX_RX_BUF_LENGTH (48 * 0x20) macro123 #define MAX_FRAME_LENGTH (MAX_RX_BUF_LENGTH + 8)
265 iowrite16be(MAX_RX_BUF_LENGTH, &priv->ucc_pram->mrblr); in uhdlc_init()290 (RX_BD_RING_LEN + TX_BD_RING_LEN) * MAX_RX_BUF_LENGTH, in uhdlc_init()300 priv->tx_buffer = bd_buffer + RX_BD_RING_LEN * MAX_RX_BUF_LENGTH; in uhdlc_init()303 priv->dma_tx_addr = bd_dma_addr + RX_BD_RING_LEN * MAX_RX_BUF_LENGTH; in uhdlc_init()312 priv->rx_bd_base[i].buf = cpu_to_be32(priv->dma_rx_addr + i * MAX_RX_BUF_LENGTH); in uhdlc_init()322 priv->tx_bd_base[i].buf = cpu_to_be32(priv->dma_tx_addr + i * MAX_RX_BUF_LENGTH); in uhdlc_init()555 (priv->currx_bdnum * MAX_RX_BUF_LENGTH); in hdlc_rx_done()793 RX_BD_RING_LEN * MAX_RX_BUF_LENGTH, in uhdlc_memclean()801 TX_BD_RING_LEN * MAX_RX_BUF_LENGTH, in uhdlc_memclean()1005 priv->rx_bd_base[i].buf = cpu_to_be32(priv->dma_rx_addr + i * MAX_RX_BUF_LENGTH); in uhdlc_resume()[all …]