Home
last modified time | relevance | path

Searched refs:dma_list (Results 1 – 9 of 9) sorted by relevance

/linux-3.4.99/drivers/infiniband/hw/mthca/
Dmthca_allocator.c200 u64 *dma_list = NULL; in mthca_buf_alloc() local
223 dma_list = kmalloc(npages * sizeof *dma_list, GFP_KERNEL); in mthca_buf_alloc()
224 if (!dma_list) in mthca_buf_alloc()
228 dma_list[i] = t + i * (1 << shift); in mthca_buf_alloc()
234 dma_list = kmalloc(npages * sizeof *dma_list, GFP_KERNEL); in mthca_buf_alloc()
235 if (!dma_list) in mthca_buf_alloc()
253 dma_list[i] = t; in mthca_buf_alloc()
261 dma_list, shift, npages, in mthca_buf_alloc()
269 kfree(dma_list); in mthca_buf_alloc()
277 kfree(dma_list); in mthca_buf_alloc()
Dmthca_eq.c471 u64 *dma_list = NULL; in mthca_create_eq() local
490 dma_list = kmalloc(npages * sizeof *dma_list, GFP_KERNEL); in mthca_create_eq()
491 if (!dma_list) in mthca_create_eq()
505 dma_list[i] = t; in mthca_create_eq()
519 dma_list, PAGE_SHIFT, npages, in mthca_create_eq()
551 kfree(dma_list); in mthca_create_eq()
582 kfree(dma_list); in mthca_create_eq()
/linux-3.4.99/arch/arm/plat-samsung/
Ds3c-dma-ops.c28 static LIST_HEAD(dma_list);
50 list_add_tail(&data->node, &dma_list); in s3c_dma_request()
66 list_for_each_entry(data, &dma_list, node) in s3c_dma_release()
82 list_for_each_entry(data, &dma_list, node) in s3c_dma_prepare()
/linux-3.4.99/arch/powerpc/platforms/cell/spufs/
Dspu_utils.h51 struct dma_list_elem dma_list[15] __attribute__ ((aligned(8))); variable
105 dma_list[i].size = 16384; in build_dma_list()
106 dma_list[i].ea_low = ea_low; in build_dma_list()
Dspu_save.c64 unsigned int list = (unsigned int)&dma_list[0]; in save_upper_240kb()
65 unsigned int size = sizeof(dma_list); in save_upper_240kb()
Dspu_restore.c64 unsigned int list = (unsigned int)&dma_list[0]; in restore_upper_240kb()
65 unsigned int size = sizeof(dma_list); in restore_upper_240kb()
/linux-3.4.99/drivers/net/ethernet/mellanox/mlx4/
Deq.c629 u64 *dma_list = NULL; in mlx4_create_eq() local
647 dma_list = kmalloc(npages * sizeof *dma_list, GFP_KERNEL); in mlx4_create_eq()
648 if (!dma_list) in mlx4_create_eq()
662 dma_list[i] = t; in mlx4_create_eq()
682 err = mlx4_write_mtt(dev, &eq->mtt, 0, npages, dma_list); in mlx4_create_eq()
703 kfree(dma_list); in mlx4_create_eq()
727 kfree(dma_list); in mlx4_create_eq()
/linux-3.4.99/drivers/staging/vme/
Dvme.c718 struct vme_dma_list *dma_list; in vme_new_dma_list() local
727 dma_list = kmalloc(sizeof(struct vme_dma_list), GFP_KERNEL); in vme_new_dma_list()
728 if (dma_list == NULL) { in vme_new_dma_list()
732 INIT_LIST_HEAD(&dma_list->entries); in vme_new_dma_list()
733 dma_list->parent = ctrlr; in vme_new_dma_list()
734 mutex_init(&dma_list->mtx); in vme_new_dma_list()
736 return dma_list; in vme_new_dma_list()
/linux-3.4.99/sound/pci/
Dmaestro3.c828 struct m3_list dma_list; member
1826 s->index_list[2] = &chip->dma_list; in snd_m3_substream_open()
2235 chip->dma_list.curlen = 0; in snd_m3_assp_init()
2236 chip->dma_list.mem_addr = KDATA_DMA_XFER0; in snd_m3_assp_init()
2237 chip->dma_list.max = MAX_VIRTUAL_DMA_CHANNELS; in snd_m3_assp_init()