/linux/drivers/crypto/intel/keembay/ |
H A D | ocs-hcu.c | 436 * @dma_list: The OCS DMA list mapping the data to hash. 444 const struct ocs_hcu_dma_list *dma_list, in ocs_hcu_ll_dma_start() argument 450 if (!dma_list) in ocs_hcu_ll_dma_start() 471 writel(dma_list->dma_addr, hcu_dev->io_base + OCS_HCU_DMA_NEXT_SRC_DESCR); in ocs_hcu_ll_dma_start() 492 struct ocs_hcu_dma_list *dma_list; in ocs_hcu_dma_list_alloc() local 494 dma_list = kmalloc(sizeof(*dma_list), GFP_KERNEL); in ocs_hcu_dma_list_alloc() 495 if (!dma_list) in ocs_hcu_dma_list_alloc() 499 dma_list->head = dma_alloc_coherent(hcu_dev->dev, in ocs_hcu_dma_list_alloc() 500 sizeof(*dma_list in ocs_hcu_dma_list_alloc() 513 ocs_hcu_dma_list_free(struct ocs_hcu_dev * hcu_dev,struct ocs_hcu_dma_list * dma_list) ocs_hcu_dma_list_free() argument 527 ocs_hcu_dma_list_add_tail(struct ocs_hcu_dev * hcu_dev,struct ocs_hcu_dma_list * dma_list,dma_addr_t addr,u32 len) ocs_hcu_dma_list_add_tail() argument 609 ocs_hcu_hash_update(struct ocs_hcu_dev * hcu_dev,struct ocs_hcu_hash_ctx * ctx,const struct ocs_hcu_dma_list * dma_list) ocs_hcu_hash_update() argument 646 ocs_hcu_hash_finup(struct ocs_hcu_dev * hcu_dev,const struct ocs_hcu_hash_ctx * ctx,const struct ocs_hcu_dma_list * dma_list,u8 * dgst,size_t dgst_len) ocs_hcu_hash_finup() argument 779 ocs_hcu_hmac(struct ocs_hcu_dev * hcu_dev,enum ocs_hcu_algo algo,const u8 * key,size_t key_len,const struct ocs_hcu_dma_list * dma_list,u8 * dgst,size_t dgst_len) ocs_hcu_hmac() argument [all...] |
H A D | ocs-hcu.h | 77 struct ocs_hcu_dma_list *dma_list); 80 struct ocs_hcu_dma_list *dma_list, 87 const struct ocs_hcu_dma_list *dma_list); 91 const struct ocs_hcu_dma_list *dma_list, 103 const struct ocs_hcu_dma_list *dma_list,
|
H A D | ocs-aes.c | 179 * @next: Next dma_list to fetch. 424 dma_addr_t dma_list) in dma_to_ocs_aes_ll() argument 427 iowrite32(dma_list, in dma_to_ocs_aes_ll() 433 dma_addr_t dma_list) in dma_from_ocs_aes_ll() argument 436 iowrite32(dma_list, in dma_from_ocs_aes_ll() 1410 * @dll_desc: The OCS DMA dma_list to use to store information about the
|
/linux/drivers/infiniband/hw/mthca/ |
H A D | mthca_allocator.c | 196 u64 *dma_list = NULL; in mthca_buf_alloc() local 217 dma_list = kmalloc_array(npages, sizeof(*dma_list), in mthca_buf_alloc() 219 if (!dma_list) in mthca_buf_alloc() 223 dma_list[i] = t + i * (1 << shift); in mthca_buf_alloc() 229 dma_list = kmalloc_array(npages, sizeof(*dma_list), in mthca_buf_alloc() 231 if (!dma_list) in mthca_buf_alloc() 250 dma_list[i] = t; in mthca_buf_alloc() 258 dma_list, shif in mthca_buf_alloc() [all...] |
H A D | mthca_eq.c | 471 u64 *dma_list = NULL; in mthca_create_eq() local 490 dma_list = kmalloc_array(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/drivers/misc/genwqe/ |
H A D | card_utils.c | 229 static void genwqe_unmap_pages(struct genwqe_dev *cd, dma_addr_t *dma_list, in genwqe_unmap_pages() argument 235 for (i = 0; (i < num_pages) && (dma_list[i] != 0x0); i++) { in genwqe_unmap_pages() 236 dma_unmap_page(&pci_dev->dev, dma_list[i], PAGE_SIZE, in genwqe_unmap_pages() 238 dma_list[i] = 0x0; in genwqe_unmap_pages() 244 dma_addr_t *dma_list) in genwqe_map_pages() argument 253 dma_list[i] = 0x0; in genwqe_map_pages() 266 dma_list[i] = daddr; in genwqe_map_pages() 271 genwqe_unmap_pages(cd, dma_list, num_pages); in genwqe_map_pages() 375 dma_addr_t *dma_list) in genwqe_setup_sgl() argument 410 daddr = dma_list[ in genwqe_setup_sgl() [all...] |
H A D | card_dev.c | 965 &m->dma_list[page_offs]); in ddcb_cmd_fixups()
|
/linux/arch/powerpc/platforms/cell/spufs/ |
H A D | spu_utils.h | 38 struct dma_list_elem dma_list[15] __attribute__ ((aligned(8))); variable 92 dma_list[i].size = 16384; in build_dma_list() 93 dma_list[i].ea_low = ea_low; in build_dma_list()
|
H A D | spu_save.c | 50 unsigned int list = (unsigned int)&dma_list[0]; in save_upper_240kb() 51 unsigned int size = sizeof(dma_list); in save_upper_240kb()
|
H A D | spu_restore.c | 50 unsigned int list = (unsigned int)&dma_list[0]; in restore_upper_240kb() 51 unsigned int size = sizeof(dma_list); in restore_upper_240kb()
|
/linux/mm/ |
H A D | hmm.c | 661 map->dma_list = kvcalloc(nr_entries, sizeof(*map->dma_list), in hmm_dma_map_alloc() 663 if (!map->dma_list) in hmm_dma_map_alloc() 686 kvfree(map->dma_list); in hmm_dma_map_free() 711 dma_addr_t *dma_addrs = map->dma_list; in hmm_dma_map_pfn() 807 dma_addr_t *dma_addrs = map->dma_list; in hmm_dma_unmap_pfn()
|
/linux/include/linux/ |
H A D | hmm-dma.h | 16 * @dma_list: array of DMA addresses 22 dma_addr_t *dma_list; member
|
/linux/drivers/vfio/ |
H A D | vfio_iommu_type1.c | 67 struct rb_root dma_list; member 166 struct rb_node *node = iommu->dma_list.rb_node; in vfio_find_dma() 186 struct rb_node *node = iommu->dma_list.rb_node; in vfio_find_dma_first_node() 209 struct rb_node **link = &iommu->dma_list.rb_node, *parent = NULL; in vfio_link_dma() 223 rb_insert_color(&new->node, &iommu->dma_list); in vfio_link_dma() 228 rb_erase(&old->node, &iommu->dma_list); in vfio_unlink_dma() 275 for (n = rb_first(&iommu->dma_list); n; n = rb_next(n)) { in vfio_iommu_populate_bitmap_full() 286 for (n = rb_first(&iommu->dma_list); n; n = rb_next(n)) { in vfio_dma_bitmap_alloc_all() 311 for (n = rb_first(&iommu->dma_list); n; n = rb_next(n)) { in vfio_dma_bitmap_free_all() 1236 for (n = rb_first(&iommu->dma_list); in vfio_iova_dirty_bitmap() [all...] |
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | eq.c | 977 u64 *dma_list = NULL; in mlx4_create_eq() local 998 dma_list = kmalloc_array(npages, sizeof(*dma_list), GFP_KERNEL); in mlx4_create_eq() 999 if (!dma_list) in mlx4_create_eq() 1015 dma_list[i] = t; in mlx4_create_eq() 1033 err = mlx4_write_mtt(dev, &eq->mtt, 0, npages, dma_list); in mlx4_create_eq() 1053 kfree(dma_list); in mlx4_create_eq() 1082 kfree(dma_list); in mlx4_create_eq()
|
/linux/drivers/pci/endpoint/functions/ |
H A D | pci-epf-mhi.c | 155 struct list_head dma_list; member 461 list_splice_tail_init(&epf_mhi->dma_list, &head); in pci_epf_mhi_dma_worker() 479 list_add_tail(&transfer->node, &epf_mhi->dma_list); in pci_epf_mhi_dma_async_callback() 695 INIT_LIST_HEAD(&epf_mhi->dma_list); in pci_epf_mhi_dma_init()
|
/linux/sound/pci/ |
H A D | maestro3.c | 740 struct m3_list dma_list; member 1732 s->index_list[2] = &chip->dma_list; in snd_m3_substream_open() 2154 chip->dma_list.curlen = 0; in snd_m3_assp_init() 2155 chip->dma_list.mem_addr = KDATA_DMA_XFER0; in snd_m3_assp_init() 2156 chip->dma_list.max = MAX_VIRTUAL_DMA_CHANNELS; in snd_m3_assp_init()
|