Searched refs:DMA_BUFFER_SIZE (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/drivers/staging/comedi/drivers/ |
D | gsc_hpdi.c | 113 #define DMA_BUFFER_SIZE 0x10000 macro 422 if (len > DMA_BUFFER_SIZE) in gsc_hpdi_setup_dma_descriptors() 423 len = DMA_BUFFER_SIZE; in gsc_hpdi_setup_dma_descriptors() 440 if (len + offset > DMA_BUFFER_SIZE) { in gsc_hpdi_setup_dma_descriptors() 492 DMA_BUFFER_SIZE, in gsc_hpdi_free_dma() 623 dma_alloc_coherent(&pcidev->dev, DMA_BUFFER_SIZE, in gsc_hpdi_auto_attach()
|
D | cb_pcidas64.c | 88 #define DMA_BUFFER_SIZE 0x1000 macro 665 #define MAX_AI_DMA_RING_COUNT (0x80000 / DMA_BUFFER_SIZE) 666 #define MIN_AI_DMA_RING_COUNT (0x10000 / DMA_BUFFER_SIZE) 667 #define AO_DMA_RING_COUNT (0x10000 / DMA_BUFFER_SIZE) 1482 dma_alloc_coherent(&pcidev->dev, DMA_BUFFER_SIZE, in alloc_and_init_dma_members() 1492 DMA_BUFFER_SIZE, in alloc_and_init_dma_members() 1570 DMA_BUFFER_SIZE, in cb_pcidas64_free_dma() 1577 DMA_BUFFER_SIZE, in cb_pcidas64_free_dma() 2264 if (num_samples > DMA_BUFFER_SIZE / sizeof(u16)) in dma_transfer_size() 2265 num_samples = DMA_BUFFER_SIZE / sizeof(u16); in dma_transfer_size() [all …]
|
/Linux-v5.10/drivers/net/ethernet/micrel/ |
D | ks8842.c | 128 #define DMA_BUFFER_SIZE 2048 macro 547 ctl->skb = netdev_alloc_skb(netdev, DMA_BUFFER_SIZE); in __ks8842_start_new_rx_dma() 551 ctl->skb->data, DMA_BUFFER_SIZE, DMA_FROM_DEVICE); in __ks8842_start_new_rx_dma() 558 sg_dma_len(sg) = DMA_BUFFER_SIZE; in __ks8842_start_new_rx_dma() 581 DMA_BUFFER_SIZE, DMA_FROM_DEVICE); in __ks8842_start_new_rx_dma() 605 dma_unmap_single(adapter->dev, addr, DMA_BUFFER_SIZE, DMA_FROM_DEVICE); in ks8842_rx_frame_dma_tasklet() 874 DMA_BUFFER_SIZE, DMA_FROM_DEVICE); in ks8842_stop_dma() 900 DMA_BUFFER_SIZE, DMA_TO_DEVICE); in ks8842_dealloc_dma_bufs() 935 tx_ctl->buf = kmalloc(DMA_BUFFER_SIZE, GFP_KERNEL); in ks8842_alloc_dma_bufs() 942 tx_ctl->buf, DMA_BUFFER_SIZE, DMA_TO_DEVICE); in ks8842_alloc_dma_bufs()
|
/Linux-v5.10/drivers/iio/adc/ |
D | ti_am335x_adc.c | 36 #define DMA_BUFFER_SIZE SZ_2K macro 267 dma->period_size = rounddown(DMA_BUFFER_SIZE / 2, in tiadc_start_dma() 554 dma->buf = dma_alloc_coherent(dma->chan->device->dev, DMA_BUFFER_SIZE, in tiadc_request_dma() 667 dma_free_coherent(dma->chan->device->dev, DMA_BUFFER_SIZE, in tiadc_remove()
|
/Linux-v5.10/drivers/media/pci/ddbridge/ |
D | ddbridge-regs.h | 99 #define DMA_BUFFER_SIZE(_dma) ((_dma)->regs + 0x0c) macro
|
D | ddbridge-core.c | 480 DMA_BUFFER_SIZE(output->dma)); in ddb_output_start() 533 DMA_BUFFER_SIZE(input->dma)); in ddb_input_start()
|
/Linux-v5.10/drivers/scsi/qla4xxx/ |
D | ql4_def.h | 143 #define DMA_BUFFER_SIZE 512 macro
|
/Linux-v5.10/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_main.c | 50 #define DMA_BUFFER_SIZE BUF_SIZE_2KiB macro 1078 priv->dma_buf_sz = SXGBE_ALIGN(DMA_BUFFER_SIZE); in sxgbe_open()
|