/linux/drivers/gpu/host1x/ |
H A D | job.c | 116 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 …]
|
/linux/include/linux/ |
H A D | iommu.h | 368 * @gather: Range information for a pending IOTLB flush 372 struct iommu_iotlb_gather *gather; member 847 static inline void iommu_iotlb_gather_init(struct iommu_iotlb_gather *gather) in iommu_iotlb_gather_init() argument 849 *gather = (struct iommu_iotlb_gather) { in iommu_iotlb_gather_init() 851 .freelist = IOMMU_PAGES_LIST_INIT(gather->freelist), in iommu_iotlb_gather_init() 946 * @gather: TLB gather data 955 bool iommu_iotlb_gather_is_disjoint(struct iommu_iotlb_gather *gather, in iommu_iotlb_gather_is_disjoint() argument 960 return gather->end != 0 && in iommu_iotlb_gather_is_disjoint() 961 (end + 1 < gather->start || start > gather->end + 1); in iommu_iotlb_gather_is_disjoint() 966 * iommu_iotlb_gather_add_range - Gather for address-based TLB invalidation [all …]
|
/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | liquidio_common.h | 149 /*--------------------------- 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 D | octeon_nic.h | 95 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()
|
/linux/drivers/gpu/drm/tegra/ |
H A D | submit.c | 70 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 …]
|
/linux/drivers/gpu/drm/tests/ |
H A D | drm_gem_shmem_test.c | 58 * Test creating a shmem GEM object from a scatter/gather table exported 61 * attribute pointing to the scatter/gather table that has been imported. 74 /* Create a mock scatter/gather table */ in drm_gem_shmem_test_obj_create_private() 113 /* The scatter/gather table will be freed by drm_gem_shmem_free */ in drm_gem_shmem_test_obj_create_private() 192 * Test exporting a scatter/gather table of pinned pages suitable for 194 * scatter/gather table large enough to accommodate the backing memory 234 * Test pinning pages and exporting a scatter/gather table suitable for 236 * backing pages are pinned and a scatter/gather table large enough to 253 /* The scatter/gather table will be freed by drm_gem_shmem_free */ in drm_gem_shmem_test_get_sg_table() 328 /* The scatter/gather table will be freed by drm_gem_shmem_free */ in drm_gem_shmem_test_purge()
|
/linux/Documentation/admin-guide/hw-vuln/ |
H A D | gather_data_sampling.rst | 3 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
|
/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_common.c | 50 * 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
|
/linux/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/ |
H A D | pipeline.json | 141 …"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…
|
/linux/drivers/scsi/ |
H A D | st_options.h | 43 /* 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
|
/linux/drivers/scsi/megaraid/ |
H A D | megaraid_mbox.h | 94 #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
|
/linux/include/scsi/ |
H A D | sg.h | 34 { /* 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
|
/linux/block/ |
H A D | blk-stat.h | 136 * blk_stat_activate_nsecs() - Gather block statistics during a time window in 139 * @nsecs: Number of nanoseconds to gather statistics for. 155 * blk_stat_activate_msecs() - Gather block statistics during a time window in 158 * @msecs: Number of milliseconds to gather statistics for.
|
/linux/drivers/parisc/ |
H A D | iommu-helpers.h | 5 * 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
|
/linux/include/linux/mtd/ |
H A D | ubi.h | 20 * 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
|
/linux/Documentation/scsi/ |
H A D | st.rst | 264 scatter/gather segments permitted by the HBA 298 Scatter/gather buffers (buffers that consist of chunks non-contiguous 301 supporting scatter/gather), buffer allocation is using the following 305 those not supporting scatter/gather. The size of this buffer will be 312 2. The scatter/gather segments to fill the specified buffer size are 318 number of scatter/gather segments allowed for the SCSI adapter is not 319 exceeded if it is smaller than the maximum number of scatter/gather 346 max_sg_segs=xxx the maximum number of scatter/gather 362 with 'st.'. For instance, to set the maximum number of scatter/gather 364 number of scatter/gather segments). [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
H A D | sdk.h | 63 * struct mlx5_fpga_dma_entry - A scatter-gather DMA entry 76 * May contain up to 2 scatter-gather data entries 81 /** @sg: Scatter-gather entries pointing to the data in memory */ 111 * buf is guaranteed to only contain a single scatter-gather entry.
|
/linux/drivers/scsi/fnic/ |
H A D | fcpio.h | 195 u32 sgl_cnt; /* scatter-gather list count */ 197 u64 sgl_addr; /* scatter-gather list addr */ 243 u32 sgl_cnt; /* scatter-gather list count */ 245 u64 sgl_addr; /* scatter-gather list addr */ 304 u32 sgl_cnt; /* scatter-gather list count */ 306 u64 sgl_addr; /* scatter-gather list address */ 324 u32 sgl_cnt; /* scatter-gather list count */ 326 u64 sgl_addr; /* scatter-gather list address */
|
/linux/net/9p/ |
H A D | trans_virtio.c | 55 * @sg: scatter gather list which is used to pack a request (protected?) 157 * pack_sg_list - pack a scatter gather list from a linear buffer 158 * @sg: scatter/gather list to pack into 161 * @data: data to pack into scatter/gather list 162 * @count: amount of data to pack into the scatter/gather list 165 * arbitrary data into an existing scatter gather list, segmenting the 208 * @sg: scatter/gather list to pack into 212 * @nr_pages: number of pages to pack into the scatter/gather list 214 * @count: amount of data to pack into the scatter/gather list
|
/linux/include/xen/interface/io/ |
H A D | vscsiif.h | 60 * Specifies the maximum number of scatter/gather elements in grant pages 206 * Preset scatter/gather elements for a following request. Deprecated. 212 * Maximum scatter/gather segments per request. 215 * structures on one page (4096 bytes) and the number of scatter/gather 218 * If "feature-sg-grant" is set, more scatter/gather elements can be specified 258 uint8_t nr_segments; /* Number of pieces of scatter-gather */
|
/linux/drivers/misc/bcm-vk/ |
H A D | bcm_vk_sg.h | 45 * Scatter-gather DMA buffer API. 48 * scatter-gather list from userspace address and map the memory
|
/linux/fs/netfs/ |
H A D | Kconfig | 11 bool "Gather statistical information on local caching" 45 bool "Gather statistical information on local caching"
|
/linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | sge.c | 159 struct ulptx_sgl *sgl; /* scatter/gather list in TX Queue */ 522 * Tell the Scatter Gather Engine that there are new free list entries 787 * Scatter/Gather List that can hold the given number of entries. 792 * A Direct Scatter Gather List uses 32-bit lengths and 64-bit PCI DMA in sgl_len() 865 * Otherwise, we're going to have to construct a Scatter gather list in calc_tx_flits() 885 * write_sgl - populate a Scatter/Gather List for a packet 893 * Generates a Scatter/Gather List for the buffers that make up a packet. 993 * Gather Buffer; otherwise we use the simple doorbell. in ring_tx_db() 1031 * Requests take the Write Combine Gather Buffer path (user in ring_tx_db() 1369 * data or a Scatter/Gather List. in t4vf_eth_xmit() [all …]
|
/linux/drivers/misc/genwqe/ |
H A D | card_ddcb.h | 139 * Genwqe Scatter Gather list 163 * struct sglist - Scatter gather list 169 * Depending on the command the GenWQE card can use a scatter gather
|
/linux/drivers/firmware/efi/ |
H A D | capsule.c | 112 * Every scatter gather list (block descriptor) page must end with a 119 * How many scatter gather list (block descriptor) pages do we need 130 * @sg_pages: array of scatter gather (block descriptor) pages 188 * Build a scatter gather list with EFI capsule block descriptors to
|