Lines Matching refs:enetc_rxbd
316 priv->enetc_rxbd = memalign(ENETC_BD_ALIGN, in enetc_probe()
319 if (!priv->enetc_txbd || !priv->enetc_rxbd) { in enetc_probe()
322 free(priv->enetc_rxbd); in enetc_probe()
352 free(priv->enetc_rxbd); in enetc_remove()
488 u64 rx_bd_add = (u64)priv->enetc_rxbd; in enetc_setup_rx_bdr()
512 memset(priv->enetc_rxbd, 0, in enetc_setup_rx_bdr()
515 priv->enetc_rxbd[i].w.addr = enetc_rxb_address(dev, i); in enetc_setup_rx_bdr()
517 WARN_ON(priv->enetc_rxbd[i].w.addr & (ARCH_DMA_MINALIGN - 1)); in enetc_setup_rx_bdr()
637 status = le32_to_cpu(priv->enetc_rxbd[pi].r.lstatus); in enetc_recv()
646 len = le16_to_cpu(priv->enetc_rxbd[pi].r.buf_len); in enetc_recv()
653 memset(&priv->enetc_rxbd[pi], 0, sizeof(union enetc_rx_bd)); in enetc_recv()
654 priv->enetc_rxbd[pi].w.addr = enetc_rxb_address(dev, pi); in enetc_recv()