Lines Matching refs:bd
125 struct bcom_fec_bd *bd; in mpc52xx_fec_free_rx_buffers() local
128 skb = bcom_retrieve_buffer(s, NULL, (struct bcom_bd **)&bd); in mpc52xx_fec_free_rx_buffers()
129 dma_unmap_single(dev->dev.parent, bd->skb_pa, skb->len, in mpc52xx_fec_free_rx_buffers()
139 struct bcom_fec_bd *bd; in mpc52xx_fec_rx_submit() local
141 bd = (struct bcom_fec_bd *) bcom_prepare_next_buffer(priv->rx_dmatsk); in mpc52xx_fec_rx_submit()
142 bd->status = FEC_RX_BUFFER_SIZE; in mpc52xx_fec_rx_submit()
143 bd->skb_pa = dma_map_single(dev->dev.parent, rskb->data, in mpc52xx_fec_rx_submit()
312 struct bcom_fec_bd *bd; in mpc52xx_fec_start_xmit() local
323 bd = (struct bcom_fec_bd *) in mpc52xx_fec_start_xmit()
326 bd->status = skb->len | BCOM_FEC_TX_BD_TFD | BCOM_FEC_TX_BD_TC; in mpc52xx_fec_start_xmit()
327 bd->skb_pa = dma_map_single(dev->dev.parent, skb->data, skb->len, in mpc52xx_fec_start_xmit()
366 struct bcom_fec_bd *bd; in mpc52xx_fec_tx_interrupt() local
368 (struct bcom_bd **)&bd); in mpc52xx_fec_tx_interrupt()
369 dma_unmap_single(dev->dev.parent, bd->skb_pa, skb->len, in mpc52xx_fec_tx_interrupt()
387 struct bcom_fec_bd *bd; in mpc52xx_fec_rx_interrupt() local
396 (struct bcom_bd **)&bd); in mpc52xx_fec_rx_interrupt()
397 physaddr = bd->skb_pa; in mpc52xx_fec_rx_interrupt()