Home
last modified time | relevance | path

Searched refs:unmap (Results 1 – 25 of 43) sorted by relevance

12

/linux-4.19.296/crypto/async_tx/
Dasync_xor.c36 do_async_xor(struct dma_chan *chan, struct dmaengine_unmap_data *unmap, in do_async_xor() argument
45 int src_cnt = unmap->to_cnt; in do_async_xor()
47 dma_addr_t dma_dest = unmap->addr[unmap->to_cnt]; in do_async_xor()
48 dma_addr_t *src_list = unmap->addr; in do_async_xor()
76 if (src_list > unmap->addr) in do_async_xor()
79 xor_src_cnt, unmap->len, in do_async_xor()
90 xor_src_cnt, unmap->len, in do_async_xor()
95 dma_set_unmap(tx, unmap); in do_async_xor()
180 struct dmaengine_unmap_data *unmap = NULL; in async_xor() local
185 unmap = dmaengine_get_unmap_data(device->dev, src_cnt+1, GFP_NOWAIT); in async_xor()
[all …]
Dasync_memcpy.c53 struct dmaengine_unmap_data *unmap = NULL; in async_memcpy() local
56 unmap = dmaengine_get_unmap_data(device->dev, 2, GFP_NOWAIT); in async_memcpy()
58 if (unmap && is_dma_copy_aligned(device, src_offset, dest_offset, len)) { in async_memcpy()
66 unmap->to_cnt = 1; in async_memcpy()
67 unmap->addr[0] = dma_map_page(device->dev, src, src_offset, len, in async_memcpy()
69 unmap->from_cnt = 1; in async_memcpy()
70 unmap->addr[1] = dma_map_page(device->dev, dest, dest_offset, len, in async_memcpy()
72 unmap->len = len; in async_memcpy()
74 tx = device->device_prep_dma_memcpy(chan, unmap->addr[1], in async_memcpy()
75 unmap->addr[0], len, in async_memcpy()
[all …]
Dasync_pq.c53 struct dmaengine_unmap_data *unmap, in do_async_gen_syndrome() argument
92 dma_dest[0] = unmap->addr[disks - 2]; in do_async_gen_syndrome()
93 dma_dest[1] = unmap->addr[disks - 1]; in do_async_gen_syndrome()
95 &unmap->addr[src_off], in do_async_gen_syndrome()
97 &scfs[src_off], unmap->len, in do_async_gen_syndrome()
105 dma_set_unmap(tx, unmap); in do_async_gen_syndrome()
187 struct dmaengine_unmap_data *unmap = NULL; in async_gen_syndrome() local
192 unmap = dmaengine_get_unmap_data(device->dev, disks, GFP_NOWAIT); in async_gen_syndrome()
195 if (unmap && !(submit->flags & ASYNC_TX_PQ_XOR_DST) && in async_gen_syndrome()
211 unmap->len = len; in async_gen_syndrome()
[all …]
Dasync_raid6_recov.c38 struct dmaengine_unmap_data *unmap = NULL; in async_sum_product() local
44 unmap = dmaengine_get_unmap_data(dma->dev, 3, GFP_NOWAIT); in async_sum_product()
46 if (unmap) { in async_sum_product()
54 unmap->addr[0] = dma_map_page(dev, srcs[0], 0, len, DMA_TO_DEVICE); in async_sum_product()
55 unmap->addr[1] = dma_map_page(dev, srcs[1], 0, len, DMA_TO_DEVICE); in async_sum_product()
56 unmap->to_cnt = 2; in async_sum_product()
58 unmap->addr[2] = dma_map_page(dev, dest, 0, len, DMA_BIDIRECTIONAL); in async_sum_product()
59 unmap->bidi_cnt = 1; in async_sum_product()
61 pq[1] = unmap->addr[2]; in async_sum_product()
63 unmap->len = len; in async_sum_product()
[all …]
/linux-4.19.296/drivers/xen/xenbus/
Dxenbus_client.c79 int (*unmap)(struct xenbus_device *dev, void *vaddr); member
486 struct gnttab_unmap_grant_ref unmap[XENBUS_MAX_RING_GRANTS]; in __xenbus_map_ring() local
518 memset(&unmap[j], 0, sizeof(unmap[j])); in __xenbus_map_ring()
519 gnttab_set_unmap_op(&unmap[j], (phys_addr_t)addrs[i], in __xenbus_map_ring()
525 if (HYPERVISOR_grant_table_op(GNTTABOP_unmap_grant_ref, unmap, j)) in __xenbus_map_ring()
530 if (unmap[i].status != GNTST_okay) { in __xenbus_map_ring()
683 return ring_ops->unmap(dev, vaddr); in xenbus_unmap_ring_vfree()
749 struct gnttab_unmap_grant_ref unmap[XENBUS_MAX_RING_GRANTS]; in xenbus_unmap_ring_vfree_pv() local
775 memset(&unmap[i], 0, sizeof(unmap[i])); in xenbus_unmap_ring_vfree_pv()
777 unmap[i].host_addr = arbitrary_virt_to_machine( in xenbus_unmap_ring_vfree_pv()
[all …]
/linux-4.19.296/include/xen/
Dgrant_table.h179 gnttab_set_unmap_op(struct gnttab_unmap_grant_ref *unmap, phys_addr_t addr, in gnttab_set_unmap_op() argument
183 unmap->host_addr = addr; in gnttab_set_unmap_op()
185 unmap->host_addr = __pa(addr); in gnttab_set_unmap_op()
187 unmap->host_addr = addr; in gnttab_set_unmap_op()
189 unmap->handle = handle; in gnttab_set_unmap_op()
190 unmap->dev_bus_addr = 0; in gnttab_set_unmap_op()
/linux-4.19.296/drivers/ntb/
Dntb_transport.c1330 struct dmaengine_unmap_data *unmap; in ntb_async_rx_submit() local
1342 unmap = dmaengine_get_unmap_data(device->dev, 2, GFP_NOWAIT); in ntb_async_rx_submit()
1343 if (!unmap) in ntb_async_rx_submit()
1346 unmap->len = len; in ntb_async_rx_submit()
1347 unmap->addr[0] = dma_map_page(device->dev, virt_to_page(offset), in ntb_async_rx_submit()
1349 if (dma_mapping_error(device->dev, unmap->addr[0])) in ntb_async_rx_submit()
1352 unmap->to_cnt = 1; in ntb_async_rx_submit()
1354 unmap->addr[1] = dma_map_page(device->dev, virt_to_page(buf), in ntb_async_rx_submit()
1356 if (dma_mapping_error(device->dev, unmap->addr[1])) in ntb_async_rx_submit()
1359 unmap->from_cnt = 1; in ntb_async_rx_submit()
[all …]
/linux-4.19.296/drivers/gpio/
Dgpio-sodaville.c227 goto unmap; in sdv_gpio_probe()
233 goto unmap; in sdv_gpio_probe()
238 goto unmap; in sdv_gpio_probe()
244 unmap: in sdv_gpio_probe()
/linux-4.19.296/include/linux/
Ddmaengine.h518 struct dmaengine_unmap_data *unmap; member
528 struct dmaengine_unmap_data *unmap) in dma_set_unmap() argument
530 kref_get(&unmap->kref); in dma_set_unmap()
531 tx->unmap = unmap; in dma_set_unmap()
536 void dmaengine_unmap_put(struct dmaengine_unmap_data *unmap);
539 struct dmaengine_unmap_data *unmap) in dma_set_unmap() argument
547 static inline void dmaengine_unmap_put(struct dmaengine_unmap_data *unmap) in dmaengine_unmap_put() argument
554 if (tx->unmap) { in dma_descriptor_unmap()
555 dmaengine_unmap_put(tx->unmap); in dma_descriptor_unmap()
556 tx->unmap = NULL; in dma_descriptor_unmap()
Dset_memory.h21 static inline int set_mce_nospec(unsigned long pfn, bool unmap) in set_mce_nospec() argument
Dzpool.h102 void (*unmap)(void *pool, unsigned long handle); member
Ddma-buf.h209 void (*unmap)(struct dma_buf *, unsigned long, void *); member
/linux-4.19.296/drivers/xen/
Darm-device.c81 goto unmap; in xen_map_device_mmio()
105 goto unmap; in xen_map_device_mmio()
110 unmap: in xen_map_device_mmio()
/linux-4.19.296/drivers/ntb/test/
Dntb_perf.c783 struct dmaengine_unmap_data *unmap; in perf_copy_chunk() local
798 unmap = dmaengine_get_unmap_data(dma_dev, 2, GFP_NOWAIT); in perf_copy_chunk()
799 if (!unmap) in perf_copy_chunk()
802 unmap->len = len; in perf_copy_chunk()
803 unmap->addr[0] = dma_map_page(dma_dev, virt_to_page(src), in perf_copy_chunk()
805 if (dma_mapping_error(dma_dev, unmap->addr[0])) { in perf_copy_chunk()
809 unmap->to_cnt = 1; in perf_copy_chunk()
811 unmap->addr[1] = dma_map_page(dma_dev, virt_to_page(dst), in perf_copy_chunk()
813 if (dma_mapping_error(dma_dev, unmap->addr[1])) { in perf_copy_chunk()
817 unmap->from_cnt = 1; in perf_copy_chunk()
[all …]
/linux-4.19.296/drivers/clk/sunxi/
Dclk-sun4i-display.c134 goto unmap; in sun4i_a10_display_init()
139 goto unmap; in sun4i_a10_display_init()
224 unmap: in sun4i_a10_display_init()
/linux-4.19.296/drivers/i2c/busses/
Di2c-iop3xx.c460 goto unmap; in iop3xx_i2c_probe()
466 goto unmap; in iop3xx_i2c_probe()
493 unmap: in iop3xx_i2c_probe()
/linux-4.19.296/fs/ubifs/
Dgc.c543 idx_gc->unmap = 0; in ubifs_garbage_collect_leb()
867 idx_gc->unmap = 1; in ubifs_gc_start_commit()
896 idx_gc->unmap = 1; in ubifs_gc_start_commit()
919 if (idx_gc->unmap) { in ubifs_gc_end_commit()
/linux-4.19.296/drivers/s390/cio/
Dvfio_ccw_ops.c55 struct vfio_iommu_type1_dma_unmap *unmap = data; in vfio_ccw_mdev_notifier() local
57 if (!cp_iova_pinned(&private->cp, unmap->iova)) in vfio_ccw_mdev_notifier()
/linux-4.19.296/include/trace/events/
Diommu.h109 TRACE_EVENT(unmap,
/linux-4.19.296/drivers/irqchip/
Dirq-ftintc010.c162 .unmap = ft010_irqdomain_unmap,
Dirq-lpc32xx.c176 .unmap = lpc32xx_irq_domain_unmap,
Dqcom-irq-combiner.c149 .unmap = combiner_irq_unmap,
/linux-4.19.296/drivers/misc/mic/vop/
Dvop_main.c321 goto unmap; in vop_find_vq()
328 goto unmap; in vop_find_vq()
370 unmap: in vop_find_vq()
/linux-4.19.296/drivers/misc/mic/scif/
Dscif_nodeqp.c143 goto unmap; in scif_setup_qp_connect()
146 unmap: in scif_setup_qp_connect()
213 goto unmap; in scif_setup_qp_accept()
216 unmap: in scif_setup_qp_accept()
/linux-4.19.296/drivers/clk/ti/
Dfapll.c599 goto unmap; in ti_fapll_setup()
659 unmap: in ti_fapll_setup()

12