/openbmc/qemu/hw/net/fsl_etsec/ |
H A D | rings.c | 324 hwaddr ring_base = 0; in etsec_walk_tx_ring() local 334 ring_base = (hwaddr)(etsec->regs[TBASEH].value & 0xF) << 32; in etsec_walk_tx_ring() 335 ring_base += etsec->regs[TBASE0 + ring_nbr].value & ~0x7; in etsec_walk_tx_ring() 344 (bd_addr - ring_base) / sizeof(eTSEC_rxtx_bd)); in etsec_walk_tx_ring() 361 bd_addr = ring_base; in etsec_walk_tx_ring() 528 hwaddr ring_base = 0; in etsec_walk_rx_ring() local 549 ring_base = (hwaddr)(etsec->regs[RBASEH].value & 0xF) << 32; in etsec_walk_rx_ring() 550 ring_base += etsec->regs[RBASE0 + ring_nbr].value & ~0x7; in etsec_walk_rx_ring() 559 (bd_addr - ring_base) / sizeof(eTSEC_rxtx_bd)); in etsec_walk_rx_ring() 622 bd_addr = ring_base; in etsec_walk_rx_ring()
|
/openbmc/linux/sound/mips/ |
H A D | snd-n64.c | 51 void *ring_base; member 90 memcpy(priv->ring_base + priv->chan.nextpos, in n64audio_push() 306 priv->ring_base = dma_alloc_coherent(card->dev, 32 * 1024, &priv->ring_base_dma, in n64audio_probe() 308 if (!priv->ring_base) { in n64audio_probe() 357 dma_free_coherent(card->dev, 32 * 1024, priv->ring_base, priv->ring_base_dma); in n64audio_probe()
|
H A D | sgio2audio.c | 90 void *ring_base; member 358 src_base = (unsigned long) chip->ring_base | (ch << CHANNEL_RING_SHIFT); in snd_sgio2audio_dma_pull_frag() 406 dst_base = (unsigned long)chip->ring_base | (ch << CHANNEL_RING_SHIFT); in snd_sgio2audio_dma_push_frag() 769 chip->ring_base, chip->ring_base_dma); in snd_sgio2audio_free() 806 chip->ring_base = dma_alloc_coherent(card->dev, in snd_sgio2audio_create() 809 if (chip->ring_base == NULL) { in snd_sgio2audio_create()
|
/openbmc/linux/drivers/net/ethernet/freescale/fs_enet/ |
H A D | mac-fcc.c | 148 fep->ring_base = (void __iomem __force *)dma_alloc_coherent(fep->dev, in allocate_bd() 152 if (fep->ring_base == NULL) in allocate_bd() 163 if (fep->ring_base) in free_bd() 166 (void __force *)fep->ring_base, fep->ring_mem_addr); in free_bd() 530 fep->ring_base); in tx_restart() 549 (uint)(((void __iomem *)recheck_bd - fep->ring_base) + in tx_restart()
|
H A D | mac-fec.c | 133 fep->ring_base = (void __force __iomem *)dma_alloc_coherent(fep->dev, in allocate_bd() 137 if (fep->ring_base == NULL) in allocate_bd() 148 if(fep->ring_base) in free_bd() 151 (void __force *)fep->ring_base, in free_bd()
|
H A D | mac-scc.c | 141 fep->ring_base = (void __iomem __force*) in allocate_bd() 151 if (fep->ring_base) in free_bd()
|
/openbmc/linux/drivers/scsi/fnic/ |
H A D | vnic_wq.c | 150 writeq(paddr, &wq->ctrl->ring_base); in vnic_wq_init_start() 172 writeq(paddr, &wq->ctrl->ring_base); in vnic_wq_init()
|
H A D | vnic_cq.c | 49 writeq(paddr, &cq->ctrl->ring_base); in vnic_cq_init()
|
H A D | vnic_wq_copy.c | 91 writeq(paddr, &wq->ctrl->ring_base); in vnic_wq_copy_init()
|
H A D | vnic_cq.h | 24 u64 ring_base; /* 0x00 */ member
|
H A D | vnic_wq.h | 34 u64 ring_base; /* 0x00 */ member
|
H A D | vnic_rq.c | 107 writeq(paddr, &rq->ctrl->ring_base); in vnic_rq_init()
|
H A D | vnic_rq.h | 37 u64 ring_base; /* 0x00 */ member
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | dma.c | 9 mt7915_init_tx_queues(struct mt7915_phy *phy, int idx, int n_desc, int ring_base) in mt7915_init_tx_queues() argument 15 ring_base += MT_TXQ_ID(0) * MT_RING_SIZE; in mt7915_init_tx_queues() 17 ring_base = MT_WED_TX_RING_BASE; in mt7915_init_tx_queues() 22 return mt76_connac_init_tx_queues(phy->mt76, idx, n_desc, ring_base, in mt7915_init_tx_queues()
|
/openbmc/linux/drivers/scsi/snic/ |
H A D | vnic_cq.c | 42 writeq(paddr, &cq->ctrl->ring_base); in svnic_cq_init()
|
H A D | vnic_cq.h | 12 u64 ring_base; /* 0x00 */ member
|
H A D | vnic_wq.h | 13 u64 ring_base; /* 0x00 */ member
|
/openbmc/linux/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_cq.c | 47 writeq(paddr, &cq->ctrl->ring_base); in vnic_cq_init()
|
H A D | vnic_cq.h | 15 u64 ring_base; /* 0x00 */ member
|
H A D | vnic_rq.h | 18 u64 ring_base; /* 0x00 */ member
|
H A D | vnic_wq.h | 17 u64 ring_base; /* 0x00 */ member
|
H A D | vnic_wq.c | 130 writeq(paddr, &wq->ctrl->ring_base); in enic_wq_init_start()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_transport.c | 166 u64 ring_base; in adf_init_ring() local 193 ring_base = csr_ops->build_csr_ring_base_addr(ring->dma_addr, in adf_init_ring() 198 ring_base); in adf_init_ring()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76.h | 234 u32 ring_base); 1107 int ring_base, u32 flags); 1111 int n_desc, int ring_base, u32 flags) in mt76_init_tx_queue() argument 1115 q = mt76_init_queue(phy->dev, qid, idx, n_desc, ring_base, flags); in mt76_init_tx_queue() 1125 int n_desc, int ring_base) in mt76_init_mcu_queue() argument 1129 q = mt76_init_queue(dev, qid, idx, n_desc, ring_base, 0); in mt76_init_mcu_queue()
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | bgmac.c | 616 static const u16 ring_base[] = { BGMAC_DMA_BASE0, BGMAC_DMA_BASE1, in bgmac_dma_alloc() local 621 BUILD_BUG_ON(BGMAC_MAX_TX_RINGS > ARRAY_SIZE(ring_base)); in bgmac_dma_alloc() 622 BUILD_BUG_ON(BGMAC_MAX_RX_RINGS > ARRAY_SIZE(ring_base)); in bgmac_dma_alloc() 633 ring->mmio_base = ring_base[i]; in bgmac_dma_alloc() 658 ring->mmio_base = ring_base[i]; in bgmac_dma_alloc()
|