Home
last modified time | relevance | path

Searched full:gather (Results 1 – 25 of 938) sorted by relevance

12345678910>>...38

/openbmc/linux/include/linux/
H A Diommu.h456 static inline void iommu_iotlb_gather_init(struct iommu_iotlb_gather *gather) in iommu_iotlb_gather_init() argument
458 *gather = (struct iommu_iotlb_gather) { in iommu_iotlb_gather_init()
460 .freelist = LIST_HEAD_INIT(gather->freelist), in iommu_iotlb_gather_init()
562 * @gather: TLB gather data
571 bool iommu_iotlb_gather_is_disjoint(struct iommu_iotlb_gather *gather, in iommu_iotlb_gather_is_disjoint() argument
576 return gather->end != 0 && in iommu_iotlb_gather_is_disjoint()
577 (end + 1 < gather->start || start > gather->end + 1); in iommu_iotlb_gather_is_disjoint()
582 * iommu_iotlb_gather_add_range - Gather for address-based TLB invalidation
583 * @gather: TLB gather data
591 static inline void iommu_iotlb_gather_add_range(struct iommu_iotlb_gather *gather, in iommu_iotlb_gather_add_range() argument
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_tx.h20 /* Hardware format for Scatter/Gather list
40 /* Each Scatter/Gather entry sent to hardwar hold four pointers.
42 * is for main skb which also goes as a gather buffer to Octeon hardware.
55 u8 gather; member
137 /* Gather entries sent through this queue. */
186 /* Base pointer to Scatter/Gather lists for all ring descriptors. */
189 /* DMA mapped addr of Scatter Gather Lists */
233 /* No. of entries in gather list */
236 /* Gather indicator 1=gather*/
237 u64 gather:1; member
/openbmc/linux/drivers/gpu/host1x/
H A Djob.c116 struct host1x_job_gather *gather = &job->cmds[job->num_cmds].gather; in host1x_job_add_gather() local
118 gather->words = words; in host1x_job_add_gather()
119 gather->bo = bo; in host1x_job_add_gather()
120 gather->offset = offset; in host1x_job_add_gather()
191 * host1x clients are generally not able to do scatter-gather themselves, so fail in pin_job()
223 g = &job->cmds[i].gather; in pin_job()
285 /* pin & patch the relocs for one gather */ in do_relocs()
544 g = &job->cmds[i].gather; in copy_gathers()
568 void *gather; in copy_gathers() local
572 g = &job->cmds[i].gather; in copy_gathers()
[all …]
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/
H A Dliquidio_common.h149 /*--------------------------- SCATTER GATHER ENTRY -----------------------*/
151 /* The Scatter-Gather List Entry. The scatter or gather component used with
168 /* \brief Add size to gather list
169 * @param sg_entry scatter/gather entry
184 /*------------------------- End Scatter/Gather ---------------------------*/
356 /** Gather indicator 1=gather*/
357 u64 gather:1; member
359 /** Data length OR no. of entries in gather list */
387 /** Data length OR no. of entries in gather list */
390 /** Gather indicator 1=gather*/
[all …]
H A Docteon_nic.h95 u32 gather:1; member
150 if (!setup->s.gather) { in octnet_prepare_pci_cmd_o2()
153 ih2->gather = 1; in octnet_prepare_pci_cmd_o2()
195 if (!setup->s.gather) { in octnet_prepare_pci_cmd_o3()
198 ih3->gather = 1; in octnet_prepare_pci_cmd_o3()
/openbmc/u-boot/include/
H A Dboard.h8 * This uclass encapsulates hardware methods to gather information about a
52 * @dev: The board instance to gather the data.
63 * @dev: The board instance to gather the data.
74 * @dev: The board instance to gather the data.
98 * @dev: The board instance to gather the data.
109 * @dev: The board instance to gather the data.
120 * @dev: The board instance to gather the data.
/openbmc/linux/drivers/crypto/cavium/zip/
H A Dzip_device.h55 * pointer to the input gather list buffer when scatter_gather == 1
57 union zip_zptr_s *gather; member
71 /* for gather data */
77 /* Number of gather list pointers for gather data */
94 * @sginfo: Scatter-gather info structure
/openbmc/linux/drivers/gpu/drm/tegra/
H A Dsubmit.c70 struct gather_bo *gather = container_of(bo, struct gather_bo, base); in gather_bo_pin() local
89 err = dma_get_sgtable(gather->dev, map->sgt, gather->gather_data, gather->gather_data_dma, in gather_bo_pin()
90 gather->gather_data_words * 4); in gather_bo_pin()
99 map->size = gather->gather_data_words * 4; in gather_bo_pin()
209 SUBMIT_ERR(context, "failed to allocate memory for gather data"); in submit_copy_gather_data()
215 SUBMIT_ERR(context, "failed to copy gather data from userspace"); in submit_copy_gather_data()
244 "relocation has too large gather offset (%u vs gather length %zu)", in submit_write_reloc()
363 /* Check for maximum gather size */ in submit_job_add_gather()
375 SUBMIT_ERR(context, "GATHER_UPTR command overflows gather data"); in submit_job_add_gather()
473 SUBMIT_ERR(context, "job must have at least one gather"); in submit_create_job()
[all …]
/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_common.c50 * hinic_set_sge - set dma area in scatter gather entry
51 * @sge: scatter gather entry
63 * hinic_sge_to_dma - get dma address from scatter gather entry
64 * @sge: scatter gather entry
/openbmc/linux/Documentation/admin-guide/hw-vuln/
H A Dgather_data_sampling.rst3 GDS - Gather Data Sampling
6 Gather Data Sampling is a hardware vulnerability which allows unprivileged
11 When a gather instruction performs loads from memory, different data elements
12 are merged into the destination vector register. However, when a gather
19 The attacker uses gather instructions to infer the stale vector register data.
21 registers. The victim does not need to use gather instructions to be
/openbmc/linux/drivers/iommu/
H A Ds390-iommu.c222 struct iommu_iotlb_gather *gather) in s390_iommu_iotlb_sync() argument
225 size_t size = gather->end - gather->start + 1; in s390_iommu_iotlb_sync()
228 /* If gather was never added to there is nothing to flush */ in s390_iommu_iotlb_sync()
229 if (!gather->end) in s390_iommu_iotlb_sync()
234 zpci_refresh_trans((u64)zdev->fh << 32, gather->start, in s390_iommu_iotlb_sync()
383 struct iommu_iotlb_gather *gather) in s390_iommu_unmap_pages() argument
397 iommu_iotlb_gather_add_range(gather, iova, size); in s390_iommu_unmap_pages()
H A Dtegra-gart.c210 size_t bytes, struct iommu_iotlb_gather *gather) in gart_iommu_unmap() argument
262 struct iommu_iotlb_gather *gather) in gart_iommu_sync() argument
264 size_t length = gather->end - gather->start + 1; in gart_iommu_sync()
266 gart_iommu_sync_map(domain, gather->start, length); in gart_iommu_sync()
/openbmc/linux/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/
H A Dpipeline.json141 …"PublicDescription": "This event counts the number of times where 2 elements of the gather instruc…
144 …"BriefDescription": "This event counts the number of times where 2 elements of the gather instruct…
147 …"PublicDescription": "This event counts the number of times where 2 elements of the gather instruc…
150 …"BriefDescription": "This event counts the number of times where 2 elements of the gather instruct…
153 …"PublicDescription": "This event counts the number of times where 2 elements of the gather instruc…
156 …"BriefDescription": "This event counts the number of times where 2 elements of the gather instruct…
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_gem_dma_helper.c31 * for devices that do not support scatter-gather DMA (either directly or
411 * drm_gem_dma_get_sg_table - provide a scatter/gather table of pinned
415 * This function exports a scatter/gather table by calling the standard
419 * A pointer to the scatter/gather table of pinned pages or NULL on failure.
446 * driver's scatter/gather table of pinned pages
449 * @sgt: scatter/gather table of pinned pages
451 * This function imports a scatter/gather table exported via DMA-BUF by
453 * (i.e. the scatter/gather table must contain a single entry). Drivers that
555 * scatter/gather table and get the virtual address of the buffer
558 * @sgt: Scatter/gather table of pinned pages
[all …]
H A Ddrm_gem_shmem_helper.c651 * drm_gem_shmem_get_sg_table - Provide a scatter/gather table of pinned
655 * This function exports a scatter/gather table suitable for PRIME usage by
658 * Drivers who need to acquire an scatter/gather table for objects need to call
662 * A pointer to the scatter/gather table of pinned pages or error pointer on failure.
713 * scatter/gather table for a shmem GEM object.
716 * This function returns a scatter/gather table suitable for driver usage. If
725 * A pointer to the scatter/gather table of pinned pages or errno on failure.
744 * another driver's scatter/gather table of pinned pages
747 * @sgt: Scatter/gather table of pinned pages
749 * This function imports a scatter/gather table exported via DMA-BUF by
/openbmc/linux/drivers/scsi/
H A Dst_options.h43 /* Maximum number of scatter/gather segments */
46 /* The number of scatter/gather segments to allocate at first try (must be
50 /* The size of the first scatter/gather segments (determines the maximum block
51 size for SCSI adapters not supporting scatter/gather). The default is set
/openbmc/qemu/tests/tcg/hexagon/
H A Dscatter_gather.c19 * This example tests the HVX scatter/gather instructions
406 /* gather the elements from the scatter16 buffer using HVX */
426 /* masked gather the elements from the scatter16 buffer using HVX */
447 /* gather the elements from the scatter32 buffer using HVX */
480 /* masked gather the elements from the scatter32 buffer using HVX */
520 /* gather the elements from the scatter16_32 buffer using HVX */
538 /* masked gather the elements from the scatter16_32 buffer using HVX */
752 /* gather the elements from the scatter buffer using C */
768 /* masked gather the elements from the scatter buffer using C */
787 /* gather the elements from the scatter32 buffer using C */
[all …]
/openbmc/linux/drivers/scsi/megaraid/
H A Dmegaraid_mbox.h94 #define MBOX_MAX_SG_SIZE 32 // maximum scatter-gather list size
117 * @sgl64 : 64-bit scatter-gather list
118 * @sgl32 : 32-bit scatter-gather list
119 * @sgl_dma_h : dma handle for the scatter-gather list
158 * @sg_pool : pool of scatter-gather lists for this driver
/openbmc/qemu/hw/net/
H A Dnet_rx_pkt.h58 * @iov: received data scatter-gather list
201 * attach scatter-gather data to rx packet
204 * @iov: received data scatter-gather list
216 * attach scatter-gather data to rx packet
219 * @iov: received data scatter-gather list
/openbmc/linux/include/scsi/
H A Dsg.h34 { /* call. It defines one scatter-gather element. */
46 unsigned short iovec_count; /* [i] 0 implies no scatter gather */
49 or scatter gather list */
75 unsigned short iovec_count; /* [i] 0 implies no scatter gather */
78 or scatter gather list */
220 /* Yields max scatter gather tablesize allowed by current host adapter */
221 #define SG_GET_SG_TABLESIZE 0x227F /* 0 implies can't do scatter gather */
251 /* Largest size (in bytes) a single scatter-gather list element can have.
254 If scatter-gather is not supported by adapter then this value is the
/openbmc/linux/block/
H A Dblk-stat.h137 * blk_stat_activate_nsecs() - Gather block statistics during a time window in
140 * @nsecs: Number of nanoseconds to gather statistics for.
156 * blk_stat_activate_msecs() - Gather block statistics during a time window in
159 * @msecs: Number of milliseconds to gather statistics for.
/openbmc/linux/drivers/parisc/
H A Diommu-helpers.h5 * iommu_fill_pdir - Insert coalesced scatter/gather chunks into the I/O Pdir.
7 * @startsg: The scatter/gather list of coalesced chunks.
8 * @nents: The number of entries in the scatter/gather list.
11 * This function inserts the coalesced scatter/gather list chunks into the
/openbmc/linux/include/media/
H A Dvideobuf-dma-sg.h5 * The functions expect the hardware being able to scatter gather
75 * Scatter-gather DMA buffer API.
78 * scatter-gather list from a kernel, userspace of physical address and map the
/openbmc/u-boot/drivers/virtio/
H A Dvirtio_blk.h102 * This comes first in the read scatter-gather list.
104 * this is the first element of the read scatter-gather list.
124 /* And this is the final byte of the write scatter-gather list */
/openbmc/linux/include/linux/mtd/
H A Dubi.h20 * Maximum number of scatter gather list entries,
117 * struct ubi_sgl - UBI scatter gather list data structure.
120 * @sg: the scatter gather list itself
133 * ubi_sgl_init - initialize an UBI scatter gather list data structure.
134 * @usgl: the UBI scatter gather struct itself

12345678910>>...38