Home
last modified time | relevance | path

Searched refs:dma_desc (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/drivers/media/video/
Dvino.c89 } dma_desc; member
371 ch->start_desc_tbl = v->dma_desc.dma; in dma_setup()
372 ch->next_4_desc = v->dma_desc.dma; in dma_setup()
589 pci_dma_sync_single(NULL, v->dma_desc.cpu[PAGE_RATIO*i], in vino_waitfor()
620 v->dma_desc.cpu = pci_alloc_consistent(NULL, PAGE_RATIO * (count+4) * in alloc_buffer()
622 &v->dma_desc.dma); in alloc_buffer()
623 if (!v->dma_desc.cpu) { in alloc_buffer()
636 v->dma_desc.cpu[PAGE_RATIO * i + j ] = in alloc_buffer()
641 v->dma_desc.cpu[PAGE_RATIO * count] = VINO_DESC_STOP; in alloc_buffer()
645 pci_unmap_single(NULL, v->dma_desc.cpu[PAGE_RATIO * i], in alloc_buffer()
[all …]
/linux-2.4.37.9/drivers/net/
Db44.c54 #define B44_RX_RING_BYTES (sizeof(struct dma_desc) * \
58 #define B44_TX_RING_BYTES (sizeof(struct dma_desc) * \
568 cur /= sizeof(struct dma_desc); in b44_tx()
601 struct dma_desc *dp; in b44_alloc_rx_skb()
648 struct dma_desc *src_desc, *dest_desc; in b44_recycle_rx()
685 prod /= sizeof(struct dma_desc); in b44_rx()
763 bw32(B44_DMARX_PTR, cons * sizeof(struct dma_desc)); in b44_rx()
913 bw32(B44_DMATX_PTR, entry * sizeof(struct dma_desc)); in b44_start_xmit()
915 bw32(B44_DMATX_PTR, entry * sizeof(struct dma_desc)); in b44_start_xmit()
Db44.h421 struct dma_desc { struct
495 struct dma_desc *rx_ring, *tx_ring;