/linux-6.12.1/drivers/net/ethernet/freescale/enetc/ |
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() 56 dma_free_coherent(cbdr->dma_dev, size, cbdr->bd_base, in enetc_teardown_cbdr() 58 cbdr->bd_base = NULL; in enetc_teardown_cbdr() 98 if (unlikely(!ring->bd_base)) in enetc_send_cmd()
|
D | enetc.h | 96 void *bd_base; /* points to Rx or Tx BD ring */ member 109 void *bd_base; /* points to Rx or Tx BD ring */ member 168 void *bd_base; /* points to Rx or Tx BD ring */ member 181 #define ENETC_TXBD(BDR, i) (&(((union enetc_tx_bd *)((BDR).bd_base))[i])) 190 return &(((union enetc_rx_bd *)rx_ring->bd_base)[hw_idx]); in enetc_rxbd() 205 new_rxbd = rx_ring->bd_base; in enetc_rxbd_next() 402 #define ENETC_CBD(R, i) (&(((struct enetc_cbd *)((R).bd_base))[i]))
|
D | enetc.c | 1767 res->bd_base = dma_alloc_coherent(res->dev, bd_base_size, in enetc_dma_alloc_bdr() 1769 if (!res->bd_base) in enetc_dma_alloc_bdr() 1774 dma_free_coherent(res->dev, bd_base_size, res->bd_base, in enetc_dma_alloc_bdr() 1786 dma_free_coherent(res->dev, bd_base_size, res->bd_base, in enetc_dma_free_bdr() 1950 tx_ring->bd_base = res ? res->bd_base : NULL; in enetc_assign_tx_resource() 1960 rx_ring->bd_base = res ? res->bd_base : NULL; in enetc_assign_rx_resource()
|
/linux-6.12.1/drivers/dma/bestcomm/ |
D | ata.c | 32 u32 bd_base; /* (struct bcom_bd*) beginning of ring buffer */ member 81 var->bd_base = tsk->bd_pa; in bcom_ata_init() 138 var->bd_start = var->bd_base; in bcom_ata_reset_bd()
|
D | fec.c | 32 u32 bd_base; /* (struct bcom_bd*) beginning of ring buffer */ member 53 u32 bd_base; /* (struct bcom_bd*) beginning of ring buffer */ member 126 var->bd_base = tsk->bd_pa; in bcom_fec_rx_reset() 228 var->bd_base = tsk->bd_pa; in bcom_fec_tx_reset()
|
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-6.12.1/drivers/mailbox/ |
D | bcm-flexrm-mailbox.c | 267 void *bd_base; member 1027 if (!flexrm_is_next_table_desc(ring->bd_base + write_offset)) in flexrm_new_request() 1043 ring->bd_base + ring->bd_write_offset, in flexrm_new_request() 1045 ring->bd_base, ring->bd_base + RING_BD_SIZE); in flexrm_new_request() 1053 ring->bd_write_offset = (unsigned long)(next - ring->bd_base); in flexrm_new_request() 1232 ring->bd_base = dma_pool_alloc(ring->mbox->bd_pool, in flexrm_startup() 1234 if (!ring->bd_base) { in flexrm_startup() 1253 flexrm_write_desc(ring->bd_base + off, d); in flexrm_startup() 1353 ring->bd_base, ring->bd_dma_base); in flexrm_startup() 1354 ring->bd_base = NULL; in flexrm_startup() [all …]
|
/linux-6.12.1/drivers/rapidio/devices/ |
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() 495 bd_ptr = &((struct tsi721_dma_desc *)bdma_chan->bd_base)[idx]; in tsi721_submit_sg() 731 if (bdma_chan->bd_base) in tsi721_alloc_chan_resources() 787 if (!bdma_chan->bd_base) in tsi721_free_chan_resources()
|
D | tsi721.h | 692 void *bd_base; /* start of DMA descriptors */ member 716 void *bd_base; /* start of DMA descriptors */ member
|
D | tsi721.c | 127 bd_ptr = priv->mdma.bd_base; in tsi721_maint_dma() 1470 priv->mdma.bd_base = bd_ptr; in tsi721_bdma_maint_init() 1487 priv->mdma.bd_base = NULL; in tsi721_bdma_maint_init() 1536 if (mdma->bd_base == NULL) in tsi721_bdma_maint_free() 1550 mdma->bd_base, mdma->bd_phys); in tsi721_bdma_maint_free() 1551 mdma->bd_base = NULL; in tsi721_bdma_maint_free()
|
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/ |
D | qed_ll2.c | 989 DMA_REGPAIR_LE(p_ramrod->bd_base, p_rx->rxq_chain.p_phys_addr); in qed_sp_ll2_rx_queue_start()
|
D | qed_l2.c | 878 DMA_REGPAIR_LE(p_ramrod->bd_base, bd_chain_phys_addr); in qed_eth_rxq_start_ramrod()
|
D | qed_hsi.h | 286 struct regpair bd_base; member 4157 struct regpair bd_base; member
|