Searched refs:bd_base (Results 1 – 13 of 13) sorted by relevance
/linux/drivers/net/ethernet/freescale/enetc/ |
A D | enetc_cbdr.c | 11 cbdr->bd_base = dma_alloc_coherent(dev, size, &cbdr->bd_dma_base, in enetc_setup_cbdr() 13 if (!cbdr->bd_base) in enetc_setup_cbdr() 18 dma_free_coherent(dev, size, cbdr->bd_base, in enetc_setup_cbdr() 55 dma_free_coherent(cbdr->dma_dev, size, cbdr->bd_base, in enetc_teardown_cbdr() 57 cbdr->bd_base = NULL; in enetc_teardown_cbdr() 96 if (unlikely(!ring->bd_base)) in enetc_send_cmd()
|
A D | enetc.h | 88 void *bd_base; /* points to Rx or Tx BD ring */ member 146 void *bd_base; /* points to Rx or Tx BD ring */ member 159 #define ENETC_TXBD(BDR, i) (&(((union enetc_tx_bd *)((BDR).bd_base))[i])) 169 return &(((union enetc_rx_bd *)rx_ring->bd_base)[hw_idx]); in enetc_rxbd() 186 new_rxbd = rx_ring->bd_base; in enetc_rxbd_next() 368 #define ENETC_CBD(R, i) (&(((struct enetc_cbd *)((R).bd_base))[i]))
|
A D | enetc.c | 1735 r->bd_base = dma_alloc_coherent(r->dev, r->bd_count * bd_size, in enetc_dma_alloc_bdr() 1737 if (!r->bd_base) in enetc_dma_alloc_bdr() 1742 dma_free_coherent(r->dev, r->bd_count * bd_size, r->bd_base, in enetc_dma_alloc_bdr() 1778 txr->bd_base, txr->bd_dma_base); in enetc_alloc_txbdr() 1779 txr->bd_base = NULL; in enetc_alloc_txbdr() 1800 dma_free_coherent(txr->dev, size, txr->bd_base, txr->bd_dma_base); in enetc_free_txbdr() 1801 txr->bd_base = NULL; in enetc_free_txbdr() 1867 dma_free_coherent(rxr->dev, size, rxr->bd_base, rxr->bd_dma_base); in enetc_free_rxbdr() 1868 rxr->bd_base = NULL; in enetc_free_rxbdr()
|
/linux/drivers/dma/bestcomm/ |
A D | ata.c | 36 u32 bd_base; /* (struct bcom_bd*) beginning of ring buffer */ member 85 var->bd_base = tsk->bd_pa; in bcom_ata_init() 142 var->bd_start = var->bd_base; in bcom_ata_reset_bd()
|
A D | fec.c | 36 u32 bd_base; /* (struct bcom_bd*) beginning of ring buffer */ member 57 u32 bd_base; /* (struct bcom_bd*) beginning of ring buffer */ member 130 var->bd_base = tsk->bd_pa; in bcom_fec_rx_reset() 232 var->bd_base = tsk->bd_pa; in bcom_fec_tx_reset()
|
A D | gen_bd.c | 37 u32 bd_base; /* (struct bcom_bd*) beginning of ring buffer */ member 55 u32 bd_base; /* (struct bcom_bd*) beginning of ring buffer */ member 133 var->bd_base = tsk->bd_pa; in bcom_gen_bd_rx_reset() 217 var->bd_base = tsk->bd_pa; in bcom_gen_bd_tx_reset()
|
/linux/drivers/mailbox/ |
A D | bcm-flexrm-mailbox.c | 277 void *bd_base; member 1053 ring->bd_base + ring->bd_write_offset, in flexrm_new_request() 1055 ring->bd_base, ring->bd_base + RING_BD_SIZE); in flexrm_new_request() 1244 if (!ring->bd_base) { in flexrm_startup() 1263 flexrm_write_desc(ring->bd_base + off, d); in flexrm_startup() 1363 ring->bd_base, ring->bd_dma_base); in flexrm_startup() 1364 ring->bd_base = NULL; in flexrm_startup() 1441 if (ring->bd_base) { in flexrm_shutdown() 1443 ring->bd_base, ring->bd_dma_base); in flexrm_shutdown() 1444 ring->bd_base = NULL; in flexrm_shutdown() [all …]
|
/linux/drivers/rapidio/devices/ |
A D | tsi721_dma.c | 89 bdma_chan->bd_base = bd_ptr; in tsi721_bdma_ch_init() 107 bdma_chan->bd_base = NULL; in tsi721_bdma_ch_init() 183 bdma_chan->bd_base = NULL; in tsi721_bdma_ch_init() 213 if (!bdma_chan->bd_base) in tsi721_bdma_ch_free() 236 bdma_chan->bd_base, bdma_chan->bd_phys); in tsi721_bdma_ch_free() 237 bdma_chan->bd_base = NULL; in tsi721_bdma_ch_free() 493 bd_ptr = &((struct tsi721_dma_desc *)bdma_chan->bd_base)[idx]; in tsi721_submit_sg() 729 if (bdma_chan->bd_base) in tsi721_alloc_chan_resources() 785 if (!bdma_chan->bd_base) in tsi721_free_chan_resources()
|
A D | tsi721.h | 692 void *bd_base; /* start of DMA descriptors */ member 716 void *bd_base; /* start of DMA descriptors */ member
|
A D | tsi721.c | 125 bd_ptr = priv->mdma.bd_base; in tsi721_maint_dma() 1445 priv->mdma.bd_base = bd_ptr; in tsi721_bdma_maint_init() 1462 priv->mdma.bd_base = NULL; in tsi721_bdma_maint_init() 1511 if (mdma->bd_base == NULL) in tsi721_bdma_maint_free() 1525 mdma->bd_base, mdma->bd_phys); in tsi721_bdma_maint_free() 1526 mdma->bd_base = NULL; in tsi721_bdma_maint_free()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_ll2.c | 987 DMA_REGPAIR_LE(p_ramrod->bd_base, p_rx->rxq_chain.p_phys_addr); in qed_sp_ll2_rx_queue_start()
|
A D | qed_l2.c | 878 DMA_REGPAIR_LE(p_ramrod->bd_base, bd_chain_phys_addr); in qed_eth_rxq_start_ramrod()
|
A D | qed_hsi.h | 286 struct regpair bd_base; member 4138 struct regpair bd_base; member
|
Completed in 125 milliseconds