Searched refs:region (Results 26 - 50 of 466) sorted by relevance

1234567891011>>

/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum2_acl_tcam.c18 struct mlxsw_sp_acl_tcam_region *region; member in struct:mlxsw_sp2_acl_tcam_region
155 struct mlxsw_sp2_acl_tcam_region *region = region_priv; local
158 region->region = _region;
161 &region->aregion,
169 struct mlxsw_sp2_acl_tcam_region *region = region_priv; local
171 mlxsw_sp_acl_atcam_region_fini(&region->aregion);
176 struct mlxsw_sp_acl_tcam_region *region)
178 return mlxsw_sp_acl_atcam_region_associate(mlxsw_sp, region->id);
183 struct mlxsw_sp2_acl_tcam_region *region local
175 mlxsw_sp2_acl_tcam_region_associate(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_region *region) argument
196 struct mlxsw_sp2_acl_tcam_region *region = region_priv; local
215 struct mlxsw_sp2_acl_tcam_region *region = region_priv; local
229 struct mlxsw_sp2_acl_tcam_region *region = region_priv; local
242 struct mlxsw_sp2_acl_tcam_region *region = region_priv; local
[all...]
/linux-master/drivers/fpga/tests/
H A Dfpga-region-test.c14 #include <linux/fpga/fpga-region.h>
32 struct fpga_region *region; member in struct:test_ctx
77 static int fake_region_get_bridges(struct fpga_region *region) argument
79 struct fpga_bridge *bridge = region->priv;
81 return fpga_bridge_get_to_list(bridge->dev.parent, region->info, &region->bridge_list);
92 struct fpga_region *region; local
94 region = fpga_region_class_find(NULL, ctx->region_dev, fake_region_match);
95 KUNIT_EXPECT_PTR_EQ(test, region, ctx->region);
[all...]
/linux-master/mm/
H A Dnommu.c94 * region. This test is intentionally done in reverse order,
391 * initialise the percpu counter for VM and region record slabs
403 * validate the region tree
404 * - the caller must hold the region lock
409 struct vm_region *region, *last; local
421 region = rb_entry(p, struct vm_region, vm_rb);
424 BUG_ON(region->vm_end <= region->vm_start);
425 BUG_ON(region->vm_top < region
440 add_nommu_region(struct vm_region *region) argument
471 delete_nommu_region(struct vm_region *region) argument
525 put_nommu_region(struct vm_region *region) argument
900 do_mmap_private(struct vm_area_struct *vma, struct vm_region *region, unsigned long len, unsigned long capabilities) argument
1009 struct vm_region *region; local
1296 struct vm_region *region; local
1374 struct vm_region *region; local
1721 struct vm_region *region; local
[all...]
/linux-master/drivers/mtd/nand/spi/
H A Dxtx.c42 struct mtd_oob_region *region)
47 region->offset = 48;
48 region->length = 16;
54 struct mtd_oob_region *region)
59 region->offset = 1;
60 region->length = 47;
95 struct mtd_oob_region *region)
100 region->offset = mtd->oobsize / 2;
101 region->length = mtd->oobsize / 2;
107 struct mtd_oob_region *region)
41 xt26g0xa_ooblayout_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *region) argument
53 xt26g0xa_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *region) argument
94 xt26xxxd_ooblayout_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *region) argument
106 xt26xxxd_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *region) argument
[all...]
H A Dalliancememory.c48 struct mtd_oob_region *region)
56 region->offset = mtd->oobsize - ecc_bytes;
57 region->length = ecc_bytes;
63 struct mtd_oob_region *region)
84 region->offset = 2;
85 region->length = mtd->oobsize - 2 - ecc_bytes;
47 am_ooblayout_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *region) argument
62 am_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *region) argument
H A Desmt.c66 struct mtd_oob_region *region)
73 region->offset = section * ESMT_OOB_SECTION_SIZE(nand) +
75 region->length = ESMT_OOB_ECC_SIZE(nand);
81 struct mtd_oob_region *region)
92 region->offset = section * ESMT_OOB_SECTION_SIZE(nand) + 2;
95 region->length = 2;
65 f50l1g41lb_ooblayout_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *region) argument
80 f50l1g41lb_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *region) argument
H A Dforesee.c29 struct mtd_oob_region *region)
35 struct mtd_oob_region *region)
41 region->offset = 2;
42 region->length = 62;
28 f35sqa002g_ooblayout_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *region) argument
34 f35sqa002g_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *region) argument
H A Dmicron.c61 struct mtd_oob_region *region)
66 region->offset = mtd->oobsize / 2;
67 region->length = mtd->oobsize / 2;
73 struct mtd_oob_region *region)
79 region->offset = 2;
80 region->length = (mtd->oobsize / 2) - 2;
91 struct mtd_oob_region *region)
99 region->offset = (section * 16) + 8;
100 region->length = 8;
106 struct mtd_oob_region *region)
60 micron_8_ooblayout_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *region) argument
72 micron_8_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *region) argument
90 micron_4_ooblayout_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *region) argument
105 micron_4_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *region) argument
[all...]
/linux-master/drivers/virt/acrn/
H A Dmm.c19 static int modify_region(struct acrn_vm *vm, struct vm_memory_region_op *region) argument
30 regions->regions_gpa = virt_to_phys(region);
35 "Failed to set memory region for VM[%u]!\n", vm->vmid);
42 * acrn_mm_region_add() - Set up the EPT mapping of a memory region.
46 * @size: Size of the region.
55 struct vm_memory_region_op *region; local
58 region = kzalloc(sizeof(*region), GFP_KERNEL);
59 if (!region)
62 region
87 struct vm_memory_region_op *region; local
[all...]
/linux-master/arch/x86/boot/compressed/
H A Dkaslr.c153 * memmap=nn@ss specifies usable region, should
391 * Avoid the region that is unsafe to overlap during
430 * overlap region with the lowest address.
492 static void store_slot_info(struct mem_vector *region, unsigned long image_size) argument
499 slot_area.addr = region->start;
500 slot_area.num = 1 + (region->size - image_size) / CONFIG_PHYSICAL_ALIGN;
507 * Skip as many 1GB huge pages as possible in the passed region
511 process_gb_huge_pages(struct mem_vector *region, unsigned long image_size) argument
518 store_slot_info(region, image_size);
522 /* Are there any 1GB pages in the region
584 struct mem_vector region, overlap; local
624 process_mem_region(struct mem_vector *region, unsigned long minimum, unsigned long image_size) argument
711 struct mem_vector region; local
776 struct mem_vector region; local
[all...]
/linux-master/drivers/acpi/
H A Dnvs.c3 * nvs.c - Routines for saving and restoring ACPI NVS memory region
40 struct nvs_region *region; local
42 region = kmalloc(sizeof(*region), GFP_KERNEL);
43 if (!region)
45 region->phys_start = start;
46 region->size = size;
47 list_add_tail(&region->node, &nvs_region_list);
56 struct nvs_region *region; local
58 list_for_each_entry(region,
[all...]
/linux-master/drivers/fpga/
H A Ddfl-fme-pr.c25 #include <linux/fpga/fpga-region.h>
52 struct fpga_region *region; local
58 region = fpga_region_class_find(NULL, &fme_region->region->dev,
60 if (!region)
63 return region;
72 struct fpga_region *region; local
89 /* get fme header region */
134 region = dfl_fme_region_find(fme, port_pr.port_id);
135 if (!region) {
[all...]
H A Ddfl-fme-pr.h24 * struct dfl_fme_region - FME fpga region data structure
26 * @region: platform device of the FPGA region.
28 * @port_id: indicate which port this region connected to.
31 struct platform_device *region; member in struct:dfl_fme_region
37 * struct dfl_fme_region_pdata - platform data for FME region platform device.
41 * @region_id: region id (same as port_id).
82 #define DFL_FPGA_FME_REGION "dfl-fme-region"
/linux-master/Documentation/gpu/rfc/
H A Di915_small_bar.h2 * struct __drm_i915_memory_region_info - Describes one region as known to the
10 /** @region: The class:instance pair encoding */
11 struct drm_i915_gem_memory_class_instance region; member in struct:__drm_i915_memory_region_info
20 * here, also note that no current region type will ever return -1 here.
21 * Although for future region types, this might be a possibility. The
164 * entire I915_MEMORY_CLASS_DEVICE region will be CPU accessible, and as
/linux-master/net/devlink/
H A DMakefile4 resource.o param.o region.o health.o trap.o rate.o linecard.o
/linux-master/include/linux/fpga/
H A Dfpga-region.h14 * @mgr: fpga region manager
15 * @compat_id: FPGA region id for compatibility check.
16 * @priv: fpga region private data
28 int (*get_bridges)(struct fpga_region *region);
34 * @mutex: enforces exclusive reference to region
35 * @bridge_list: list of FPGA bridges specified in region
38 * @compat_id: FPGA region id for compatibility check.
45 struct mutex mutex; /* for exclusive reference to region */
52 int (*get_bridges)(struct fpga_region *region);
61 int fpga_region_program_fpga(struct fpga_region *region);
[all...]
/linux-master/drivers/pci/
H A Dhost-bridge.c51 void pcibios_resource_to_bus(struct pci_bus *bus, struct pci_bus_region *region, argument
65 region->start = res->start - offset;
66 region->end = res->end - offset;
77 struct pci_bus_region *region)
92 if (region_contains(&bus_region, region)) {
98 res->start = region->start + offset;
99 res->end = region->end + offset;
76 pcibios_bus_to_resource(struct pci_bus *bus, struct resource *res, struct pci_bus_region *region) argument
/linux-master/fs/proc/
H A Dnommu.c29 * display a single region to a sequenced file
31 static int nommu_region_show(struct seq_file *m, struct vm_region *region) argument
38 flags = region->vm_flags;
39 file = region->vm_file;
42 struct inode *inode = file_inode(region->vm_file);
50 region->vm_start,
51 region->vm_end,
56 ((loff_t)region->vm_pgoff) << PAGE_SHIFT,
H A Dtask_nommu.c25 struct vm_region *region; local
32 region = vma->vm_region;
33 if (region) {
34 size = kobjsize(region);
35 size += region->vm_end - region->vm_start;
45 if (region)
46 slack = region->vm_end - vma->vm_end;
100 struct vm_region *region; local
106 region
[all...]
/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_lmem.c23 offset -= obj->mm.region->region.start;
25 return io_mapping_map_wc(&obj->mm.region->iomap, offset, size);
33 * Even if an object is allowed to migrate and change memory region,
44 struct intel_memory_region *mr = READ_ONCE(obj->mm.region);
68 struct intel_memory_region *mr = READ_ONCE(obj->mm.region);
/linux-master/tools/testing/selftests/kvm/include/x86_64/
H A Dsev.h75 struct userspace_mem_region *region)
78 .addr = region->region.userspace_addr,
79 .size = region->region.memory_size,
74 sev_register_encrypted_memory(struct kvm_vm *vm, struct userspace_mem_region *region) argument
/linux-master/drivers/net/wireless/ath/
H A Ddfs_pattern_detector.c26 * @region: regulatory DFS region
31 enum nl80211_dfs_regions region; member in struct:radar_types
66 .region = NL80211_DFS_ETSI,
98 .region = NL80211_DFS_FCC,
123 .region = NL80211_DFS_JP,
136 * @region: regulatory DFS region
141 get_dfs_domain_radar_types(enum nl80211_dfs_regions region) argument
145 if (dfs_domains[i]->region
315 dpd_set_domain(struct dfs_pattern_detector *dpd, enum nl80211_dfs_regions region) argument
349 dfs_pattern_detector_init(struct ath_common *common, enum nl80211_dfs_regions region) argument
[all...]
/linux-master/drivers/mtd/maps/
H A Dscb2_flash.c13 * The BIOS marks its own memory region as 'reserved' in the e820 map. We
18 * * a 1 MiB memory region
42 * offset 0xf0000 ty 0xfffff (64k): Boot Block region
106 struct mtd_erase_region_info *region = &mtd->eraseregions[i]; local
107 region->erasesize /= 2;
113 * the chip, so all our erase-region info is wrong. Start cutting from
117 struct mtd_erase_region_info *region = &mtd->eraseregions[i]; local
119 if (region->numblocks * region->erasesize > mtd->size) {
120 region
[all...]
/linux-master/drivers/mtd/spi-nor/
H A Dotp.c28 * 256). Thus one "security register" maps to one OTP region.
155 static int spi_nor_otp_lock_bit_cr(unsigned int region) argument
159 if (region >= ARRAY_SIZE(lock_bits))
162 return lock_bits[region];
166 * spi_nor_otp_lock_sr2() - lock the OTP region
168 * @region: OTP region
170 * Lock the OTP region by writing the status register-2. This method is used on
175 int spi_nor_otp_lock_sr2(struct spi_nor *nor, unsigned int region) argument
180 lock_bit = spi_nor_otp_lock_bit_cr(region);
207 spi_nor_otp_is_locked_sr2(struct spi_nor *nor, unsigned int region) argument
223 spi_nor_otp_region_start(const struct spi_nor *nor, unsigned int region) argument
236 spi_nor_otp_region_to_offset(struct spi_nor *nor, unsigned int region) argument
288 unsigned int region; local
315 unsigned int region; local
400 unsigned int region; local
453 unsigned int region; local
[all...]
/linux-master/drivers/acpi/acpica/
H A Dexfield.c59 * PARAMETERS: protocol_id - The type of the protocol indicated by region
137 (obj_desc->field.region_obj->region.space_id ==
139 || obj_desc->field.region_obj->region.space_id ==
141 || obj_desc->field.region_obj->region.space_id ==
143 || obj_desc->field.region_obj->region.space_id ==
145 || obj_desc->field.region_obj->region.space_id ==
194 (obj_desc->field.region_obj->region.space_id ==
202 (obj_desc->field.region_obj->region.space_id ==
295 (obj_desc->field.region_obj->region.space_id ==
303 (obj_desc->field.region_obj->region
[all...]

Completed in 243 milliseconds

1234567891011>>