Searched refs:ranges (Results 51 - 75 of 261) sorted by relevance

1234567891011

/linux-master/include/linux/
H A Dexecmem.h17 * enum execmem_type - types of executable memory ranges
24 * and let architectures define parameters for ranges suitable for
78 * @ranges: array of parameter sets defining architecture specific
79 * parameters for executable memory allocations. The ranges that are not
84 struct execmem_range ranges[EXECMEM_TYPE_MAX]; member in struct:execmem_info
H A Dcrash_core.h14 struct range ranges[] __counted_by(max_nr_ranges);
/linux-master/arch/powerpc/boot/dts/fsl/
H A Delo3-dma-0.dtsi41 ranges = <0x0 0x100100 0x500>;
H A Delo3-dma-1.dtsi41 ranges = <0x0 0x101100 0x500>;
H A Delo3-dma-2.dtsi41 ranges = <0x0 0x102100 0x500>;
H A Dmpc8568si-post.dtsi91 ranges;
130 ranges;
142 ranges;
192 ranges = <0 0xe0000 0x1000>;
262 ranges = <0x0 0x10000 0x10000>;
H A Dp1023si-post.dtsi37 alloc-ranges = <0 0 0x10 0>;
42 alloc-ranges = <0 0 0x10 0>;
47 alloc-ranges = <0 0 0x10 0>;
218 ranges = <0 0x30000 0x10000>;
255 ranges = <0x0 0x6100 0xe00>;
/linux-master/drivers/of/
H A Dfdt_address.c114 const __be32 *ranges; local
119 ranges = fdt_getprop(blob, parent, rprop, &rlen);
120 if (!ranges)
125 pr_debug("empty ranges, 1:1 translation\n");
129 pr_debug("walking ranges...\n");
131 /* Now walk through the ranges */
134 for (; rlen >= rone; rlen -= rone, ranges += rone) {
135 offset = bus->map(addr, ranges, na, ns, pna);
143 memcpy(addr, ranges + na, 4 * pna);
228 addr, na, ns, pna, "ranges"))
[all...]
/linux-master/arch/powerpc/kernel/
H A Dpci_of_scan.c36 * @bridge: Set this flag if the address is from a bridge 'ranges' property
255 const __be32 *busrange, *ranges; local
271 ranges = of_get_property(node, "ranges", &len);
272 if (ranges == NULL) {
273 printk(KERN_DEBUG "Can't get ranges for PCI-PCI bridge %pOF\n",
295 /* parse ranges property */
304 for (; len >= 32; len -= 32, ranges += 8) {
305 flags = pci_parse_of_flags(of_read_number(ranges, 1), 1);
306 size = of_read_number(&ranges[
[all...]
/linux-master/drivers/edac/
H A Damd64_edac.h135 #define dram_rw(pvt, i) ((u8)(pvt->ranges[i].base.lo & 0x3))
136 #define dram_intlv_sel(pvt, i) ((u8)((pvt->ranges[i].lim.lo >> 8) & 0x7))
137 #define dram_dst_node(pvt, i) ((u8)(pvt->ranges[i].lim.lo & 0x7))
356 struct dram_range ranges[DRAM_RANGES]; member in struct:amd64_pvt
416 u64 addr = ((u64)pvt->ranges[i].base.lo & 0xffff0000) << 8;
421 return (((u64)pvt->ranges[i].base.hi & 0x000000ff) << 40) | addr;
426 u64 lim = (((u64)pvt->ranges[i].lim.lo & 0xffff0000) << 8) | 0x00ffffff;
431 return (((u64)pvt->ranges[i].lim.hi & 0x000000ff) << 40) | lim;
508 return (u8) (pvt->ranges[i].base.lo >> 8) & 0x7;
/linux-master/arch/arm64/kernel/
H A Dmachine_kexec_file.c55 cmem = kmalloc(struct_size(cmem, ranges, nr_ranges), GFP_KERNEL);
62 cmem->ranges[cmem->nr_ranges].start = start;
63 cmem->ranges[cmem->nr_ranges].end = end - 1;
/linux-master/arch/powerpc/kexec/
H A Dcore_64.c116 struct kexec_segment ranges[KEXEC_SEGMENT_MAX]; local
118 /* save the ranges on the stack to efficiently flush the icache */
119 memcpy(ranges, image->segment, sizeof(ranges));
134 flush_icache_range((unsigned long)__va(ranges[i].mem),
135 (unsigned long)__va(ranges[i].mem + ranges[i].memsz));
/linux-master/drivers/dax/
H A Dbus.c170 * /dev/daxN.M device composed by one or more potentially discontiguous ranges.
198 size += range_len(&dev_dax->ranges[i].range);
437 * ranges on probe() from previous reconfigurations of region devices.
447 struct range *range = &dev_dax->ranges[i].range;
457 kfree(dev_dax->ranges);
458 dev_dax->ranges = NULL;
703 dev_dax->ranges[mapping->range_id].mapping = NULL;
723 return &dev_dax->ranges[mapping->range_id];
822 dev_dax->ranges[range_id].mapping = mapping;
848 struct dev_dax_range *ranges; local
[all...]
H A Ddax-private.h60 * @nr_range: size of @ranges
61 * @ranges: resource-span + pgoff tuples for the instance
79 } *ranges; member in struct:dev_dax
/linux-master/drivers/power/supply/
H A Dbd99954-charger.c168 .ranges = regmap_range_cfg,
813 int ranges; member in struct:battery_init
820 int ranges; member in struct:dt_init
837 .ranges = 2,
842 .ranges = 2,
847 .ranges = 2,
852 .ranges = 2,
857 .ranges = 2,
862 .ranges = 2,
867 .ranges
916 int ranges = battery_inits[i].ranges; local
[all...]
/linux-master/tools/testing/selftests/iommu/
H A Diommufd.c682 struct iommu_iova_range ranges[1] = {}; local
687 .allowed_iovas = (uintptr_t)ranges,
732 ranges[0].start = PAGE_SIZE;
733 ranges[0].last = PAGE_SIZE * 600;
739 ranges[0].start = MOCK_APERTURE_START + PAGE_SIZE;
740 ranges[0].last = MOCK_APERTURE_START + PAGE_SIZE * 600 - 1;
742 ranges[0].start = PAGE_SIZE * 200;
743 ranges[0].last = PAGE_SIZE * 600 - 1;
751 EXPECT_EQ(true, iovas[i] >= ranges[0].start);
752 EXPECT_EQ(true, iovas[i] <= ranges[
769 struct iommu_iova_range ranges[1] = {}; local
834 struct iommu_iova_range *ranges = buffer; local
[all...]
H A Diommufd_fail_nth.c232 struct iommu_iova_range ranges[10]; local
248 .num_iovas = ARRAY_SIZE(ranges),
250 .allowed_iovas = (uintptr_t)ranges,
261 .allowed_iovas = (uintptr_t)ranges,
264 ranges[0].start = 16*1024;
265 ranges[0].last = BUFFER_SIZE + 16 * 1024 * 600 - 1;
283 .length = sizeof(ranges),
/linux-master/arch/sparc/kernel/
H A Dpci.c383 * a proper 'ranges' property.
422 const u32 *busrange, *ranges; local
444 ranges = of_get_property(node, "ranges", &len);
446 if (ranges == NULL) {
464 pci_info(dev, " Bridge ranges[%p] simba[%d]\n",
465 ranges, simba);
467 /* parse ranges property, or cook one up by hand for Simba */
478 } else if (ranges == NULL) {
483 for (; len >= 32; len -= 32, ranges
[all...]
H A Dof_device_32.c27 * PCI bridge lacks a ranges property. We
32 if (!of_property_present(np, "ranges"))
194 const u32 *ranges; local
198 ranges = of_get_property(parent, "ranges", &rlen);
199 if (ranges == NULL || rlen == 0) {
212 /* Now walk through the ranges */
215 for (; rlen >= rone; rlen -= rone, ranges += rone) {
216 if (!bus->map(addr, ranges, na, ns, pna))
225 /* If we have a ranges propert
[all...]
/linux-master/arch/sparc/include/asm/
H A Diommu_64.h34 u64 dvma_size; /* ranges[3].size or OS slected 32G size */
35 u64 dvma_base; /* ranges[3].base */
47 struct atu_ranges *ranges; member in struct:atu
/linux-master/arch/powerpc/sysdev/xics/
H A Dics-native.c186 u32 ranges[2]; local
202 count = of_property_count_u32_elems(np, "interrupt-ranges");
204 pr_err("Failed to read interrupt-ranges of %pOFP\n", np);
209 pr_warn("ICS %pOFP has %d ranges, only one supported\n",
212 rc = of_property_read_u32_array(np, "interrupt-ranges",
213 ranges, 2);
215 pr_err("Failed to read interrupt-ranges of %pOFP\n", np);
218 ics->ibase = ranges[0];
219 ics->icount = ranges[1];
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddcn20_fpu.h67 struct pp_smu_wm_range_sets *ranges,
/linux-master/tools/testing/selftests/gpio/
H A Dgpio-mockup.sh288 local ranges=
292 [ "${1:-}" ] || fail "missing ranges"
293 ranges=$1 ; shift
294 try_insert_module "gpio_mockup_ranges=$ranges"
295 log "GPIO $module test with ranges: <$ranges>:"
/linux-master/fs/ubifs/
H A Dtnc_misc.c366 if (c->ranges[type].max_len == 0) {
367 if (zbr->len != c->ranges[type].len) {
370 ubifs_err(c, "have to be %d", c->ranges[type].len);
374 } else if (zbr->len < c->ranges[type].min_len ||
375 zbr->len > c->ranges[type].max_len) {
379 c->ranges[type].min_len,
380 c->ranges[type].max_len);
/linux-master/arch/arm64/kvm/hyp/nvhe/
H A Dffa.c292 static u32 __ffa_host_share_ranges(struct ffa_mem_region_addr_range *ranges, argument
298 struct ffa_mem_region_addr_range *range = &ranges[i];
312 static u32 __ffa_host_unshare_ranges(struct ffa_mem_region_addr_range *ranges, argument
318 struct ffa_mem_region_addr_range *range = &ranges[i];
332 static int ffa_host_share_ranges(struct ffa_mem_region_addr_range *ranges, argument
335 u32 nshared = __ffa_host_share_ranges(ranges, nranges);
339 WARN_ON(__ffa_host_unshare_ranges(ranges, nshared) != nshared);
346 static int ffa_host_unshare_ranges(struct ffa_mem_region_addr_range *ranges, argument
349 u32 nunshared = __ffa_host_unshare_ranges(ranges, nranges);
353 WARN_ON(__ffa_host_share_ranges(ranges, nunshare
[all...]

Completed in 286 milliseconds

1234567891011