Home
last modified time | relevance | path

Searched refs:desc_dma (Results 1 – 14 of 14) sorted by relevance

/linux-3.4.99/drivers/crypto/caam/
Djr.c243 dma_addr_t desc_dma; in caam_jr_enqueue() local
246 desc_dma = dma_map_single(dev, desc, desc_size, DMA_TO_DEVICE); in caam_jr_enqueue()
247 if (dma_mapping_error(dev, desc_dma)) { in caam_jr_enqueue()
260 dma_unmap_single(dev, desc_dma, desc_size, DMA_TO_DEVICE); in caam_jr_enqueue()
269 head_entry->desc_addr_dma = desc_dma; in caam_jr_enqueue()
271 jrp->inpring[jrp->inp_ring_write_index] = desc_dma; in caam_jr_enqueue()
/linux-3.4.99/drivers/staging/media/solo6x10/
Dp2m.c91 dma_addr_t desc_dma = 0; in solo_p2m_dma_desc() local
107 desc_dma = pci_map_single(solo_dev->pdev, desc, in solo_p2m_dma_desc()
110 solo_reg_write(solo_dev, SOLO_P2M_DES_ADR(id), desc_dma); in solo_p2m_dma_desc()
124 pci_unmap_single(solo_dev->pdev, desc_dma, in solo_p2m_dma_desc()
/linux-3.4.99/sound/mips/
Dhal2.c75 dma_addr_t desc_dma; member
426 pbus->pbus->pbdma_dptr = hal2->dac.desc_dma; in hal2_start_dac()
436 pbus->pbus->pbdma_dptr = hal2->adc.desc_dma; in hal2_start_adc()
456 dma_addr_t desc_dma, buffer_dma; in hal2_alloc_dmabuf() local
465 &desc_dma, GFP_KERNEL); in hal2_alloc_dmabuf()
472 codec->desc_dma = desc_dma; in hal2_alloc_dmabuf()
478 desc_dma : desc_dma + (i + 1) * sizeof(struct hal2_desc); in hal2_alloc_dmabuf()
490 codec->desc, codec->desc_dma); in hal2_free_dmabuf()
/linux-3.4.99/drivers/net/ethernet/ti/
Ddavinci_cpdma.c615 dma_addr_t desc_dma; in __cpdma_chan_submit() local
618 desc_dma = desc_phys(pool, desc); in __cpdma_chan_submit()
626 chan_write(chan, hdp, desc_dma); in __cpdma_chan_submit()
631 desc_write(prev, hw_next, desc_dma); in __cpdma_chan_submit()
640 chan_write(chan, hdp, desc_dma); in __cpdma_chan_submit()
722 dma_addr_t desc_dma; in __cpdma_chan_process() local
733 desc_dma = desc_phys(pool, desc); in __cpdma_chan_process()
745 chan_write(chan, cp, desc_dma); in __cpdma_chan_process()
/linux-3.4.99/drivers/net/wireless/rt2x00/
Drt2x00pci.h98 dma_addr_t desc_dma; member
Drt2x00pci.c139 entry_priv->desc_dma = dma + i * queue->desc_size; in rt2x00pci_alloc_queue_dma()
154 entry_priv->desc, entry_priv->desc_dma); in rt2x00pci_free_queue_dma()
Drt2800pci.c370 rt2x00pci_register_write(rt2x00dev, TX_BASE_PTR0, entry_priv->desc_dma); in rt2800pci_init_queues()
377 rt2x00pci_register_write(rt2x00dev, TX_BASE_PTR1, entry_priv->desc_dma); in rt2800pci_init_queues()
384 rt2x00pci_register_write(rt2x00dev, TX_BASE_PTR2, entry_priv->desc_dma); in rt2800pci_init_queues()
391 rt2x00pci_register_write(rt2x00dev, TX_BASE_PTR3, entry_priv->desc_dma); in rt2800pci_init_queues()
398 rt2x00pci_register_write(rt2x00dev, RX_BASE_PTR, entry_priv->desc_dma); in rt2800pci_init_queues()
Drt2400pci.c784 entry_priv->desc_dma); in rt2400pci_init_queues()
790 entry_priv->desc_dma); in rt2400pci_init_queues()
796 entry_priv->desc_dma); in rt2400pci_init_queues()
802 entry_priv->desc_dma); in rt2400pci_init_queues()
813 entry_priv->desc_dma); in rt2400pci_init_queues()
Drt2500pci.c870 entry_priv->desc_dma); in rt2500pci_init_queues()
876 entry_priv->desc_dma); in rt2500pci_init_queues()
882 entry_priv->desc_dma); in rt2500pci_init_queues()
888 entry_priv->desc_dma); in rt2500pci_init_queues()
899 entry_priv->desc_dma); in rt2500pci_init_queues()
Drt61pci.c1446 entry_priv->desc_dma); in rt61pci_init_queues()
1452 entry_priv->desc_dma); in rt61pci_init_queues()
1458 entry_priv->desc_dma); in rt61pci_init_queues()
1464 entry_priv->desc_dma); in rt61pci_init_queues()
1477 entry_priv->desc_dma); in rt61pci_init_queues()
/linux-3.4.99/drivers/net/ethernet/sun/
Dsungem.c365 u64 desc_dma; in gem_rxmac_reset() local
433 desc_dma = (u64) gp->gblock_dvma; in gem_rxmac_reset()
434 desc_dma += (INIT_BLOCK_TX_RING_SIZE * sizeof(struct gem_txd)); in gem_rxmac_reset()
435 writel(desc_dma >> 32, gp->regs + RXDMA_DBHI); in gem_rxmac_reset()
436 writel(desc_dma & 0xffffffff, gp->regs + RXDMA_DBLOW); in gem_rxmac_reset()
1747 u64 desc_dma = (u64) gp->gblock_dvma; in gem_init_dma() local
1753 writel(desc_dma >> 32, gp->regs + TXDMA_DBHI); in gem_init_dma()
1754 writel(desc_dma & 0xffffffff, gp->regs + TXDMA_DBLOW); in gem_init_dma()
1755 desc_dma += (INIT_BLOCK_TX_RING_SIZE * sizeof(struct gem_txd)); in gem_init_dma()
1763 writel(desc_dma >> 32, gp->regs + RXDMA_DBHI); in gem_init_dma()
[all …]
Dcassini.c1207 u64 desc_dma = cp->block_dvma; in cas_init_rx_dma() local
1222 writel((desc_dma + val) >> 32, cp->regs + REG_RX_DB_HI); in cas_init_rx_dma()
1223 writel((desc_dma + val) & 0xffffffff, cp->regs + REG_RX_DB_LOW); in cas_init_rx_dma()
1232 writel((desc_dma + val) >> 32, cp->regs + REG_PLUS_RX_DB1_HI); in cas_init_rx_dma()
1233 writel((desc_dma + val) & 0xffffffff, cp->regs + in cas_init_rx_dma()
1242 writel((desc_dma + val) >> 32, cp->regs + REG_RX_CB_HI); in cas_init_rx_dma()
1243 writel((desc_dma + val) & 0xffffffff, cp->regs + REG_RX_CB_LOW); in cas_init_rx_dma()
1250 writel((desc_dma + val) >> 32, cp->regs + in cas_init_rx_dma()
1252 writel((desc_dma + val) & 0xffffffff, cp->regs + in cas_init_rx_dma()
2890 u64 desc_dma = cp->block_dvma; in cas_init_tx_dma() local
[all …]
/linux-3.4.99/drivers/net/ethernet/rdc/
Dr6040.c300 dma_addr_t desc_dma, int size) in r6040_init_ring_desc() argument
303 dma_addr_t mapping = desc_dma; in r6040_init_ring_desc()
312 desc->ndesc = cpu_to_le32(desc_dma); in r6040_init_ring_desc()
/linux-3.4.99/drivers/crypto/
Dhifn_795x.c433 dma_addr_t desc_dma; member
933 u32 dptr = dev->desc_dma; in hifn_init_dma()
1028 u32 dptr = dev->desc_dma; in hifn_init_registers()
2619 &dev->desc_dma); in hifn_probe()
2680 dev->desc_virt, dev->desc_dma); in hifn_probe()
2717 dev->desc_virt, dev->desc_dma); in hifn_remove()