Searched refs:DMA_BUFFER_SIZE (Results 1 – 9 of 9) sorted by relevance
/linux-3.4.99/drivers/net/ethernet/micrel/ |
D | ks8842.c | 140 #define DMA_BUFFER_SIZE 2048 macro 560 ctl->skb = netdev_alloc_skb(netdev, DMA_BUFFER_SIZE); in __ks8842_start_new_rx_dma() 564 ctl->skb->data, DMA_BUFFER_SIZE, DMA_FROM_DEVICE); in __ks8842_start_new_rx_dma() 571 sg_dma_len(sg) = DMA_BUFFER_SIZE; in __ks8842_start_new_rx_dma() 593 DMA_BUFFER_SIZE, DMA_FROM_DEVICE); in __ks8842_start_new_rx_dma() 619 dma_unmap_single(adapter->dev, addr, DMA_BUFFER_SIZE, DMA_FROM_DEVICE); in ks8842_rx_frame_dma_tasklet() 888 DMA_BUFFER_SIZE, DMA_FROM_DEVICE); in ks8842_stop_dma() 914 DMA_BUFFER_SIZE, DMA_TO_DEVICE); in ks8842_dealloc_dma_bufs() 949 tx_ctl->buf = kmalloc(DMA_BUFFER_SIZE, GFP_KERNEL); in ks8842_alloc_dma_bufs() 956 tx_ctl->buf, DMA_BUFFER_SIZE, DMA_TO_DEVICE); in ks8842_alloc_dma_bufs()
|
/linux-3.4.99/drivers/staging/comedi/drivers/ |
D | gsc_hpdi.c | 76 #define DMA_BUFFER_SIZE 0x10000 macro 550 if (transfer_size > DMA_BUFFER_SIZE) in setup_dma_descriptors() 551 transfer_size = DMA_BUFFER_SIZE; in setup_dma_descriptors() 580 if (transfer_size + buffer_offset > DMA_BUFFER_SIZE) { in setup_dma_descriptors() 694 pci_alloc_consistent(priv(dev)->hw_dev, DMA_BUFFER_SIZE, in hpdi_attach() 742 DMA_BUFFER_SIZE, in hpdi_detach()
|
D | cb_pcidas64.c | 107 #define DMA_BUFFER_SIZE 0x1000 macro 597 #define MAX_AI_DMA_RING_COUNT (0x80000 / DMA_BUFFER_SIZE) 598 #define MIN_AI_DMA_RING_COUNT (0x10000 / DMA_BUFFER_SIZE) 599 #define AO_DMA_RING_COUNT (0x10000 / DMA_BUFFER_SIZE) 1638 pci_alloc_consistent(priv(dev)->hw_dev, DMA_BUFFER_SIZE, in alloc_and_init_dma_members() 1648 DMA_BUFFER_SIZE, in alloc_and_init_dma_members() 1899 DMA_BUFFER_SIZE, in detach() 1909 DMA_BUFFER_SIZE, in detach() 2414 if (num_samples > DMA_BUFFER_SIZE / sizeof(uint16_t)) in dma_transfer_size() 2415 num_samples = DMA_BUFFER_SIZE / sizeof(uint16_t); in dma_transfer_size() [all …]
|
/linux-3.4.99/drivers/media/dvb/ddbridge/ |
D | ddbridge-regs.h | 147 #define DMA_BUFFER_SIZE(i) (DMA_BUFFER_BASE + (i) * 16 + 0x0c) macro
|
D | ddbridge-core.c | 366 DMA_BUFFER_SIZE(input->nr)); in ddb_input_start() 401 DMA_BUFFER_SIZE(output->nr + 8)); in ddb_output_start()
|
/linux-3.4.99/drivers/net/ethernet/i825xx/ |
D | 3c505.h | 257 #define DMA_BUFFER_SIZE 1600 macro
|
D | 3c505.c | 896 adapter->dma_buffer = (void *) dma_mem_alloc(DMA_BUFFER_SIZE); in elp_open() 1194 free_pages((unsigned long) adapter->dma_buffer, get_order(DMA_BUFFER_SIZE)); in elp_close()
|
/linux-3.4.99/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_main.c | 127 #define DMA_BUFFER_SIZE BUF_SIZE_2KiB macro 128 static int buf_sz = DMA_BUFFER_SIZE; 156 if (unlikely((buf_sz < DMA_BUFFER_SIZE) || (buf_sz > BUF_SIZE_16KiB))) in stmmac_verify_args() 157 buf_sz = DMA_BUFFER_SIZE; in stmmac_verify_args() 379 else if (mtu >= DMA_BUFFER_SIZE) in stmmac_set_bfsize() 382 ret = DMA_BUFFER_SIZE; in stmmac_set_bfsize()
|
/linux-3.4.99/drivers/scsi/qla4xxx/ |
D | ql4_def.h | 133 #define DMA_BUFFER_SIZE 512 macro
|