/linux-master/arch/mips/cavium-octeon/ |
H A D | octeon-platform.c | 936 __be32 *ranges; local 1007 ranges = fdt_getprop_w(initial_boot_params, bootbus, "ranges", &len); 1008 if (!ranges || len < (5 * 8 * sizeof(__be32))) 1011 ranges[(cs * 5) + 2] = cpu_to_be32(region_base >> 32); 1012 ranges[(cs * 5) + 3] = cpu_to_be32(region_base & 0xffffffff); 1013 ranges[(cs * 5) + 4] = cpu_to_be32(region_size); 1016 ranges[(cs * 5) + 2] = cpu_to_be32(region1_base >> 32); 1017 ranges[(cs * 5) + 3] = cpu_to_be32(region1_base & 0xffffffff); 1018 ranges[(c 1036 __be32 *ranges; local [all...] |
/linux-master/drivers/of/ |
H A D | address.c | 255 * of_range_to_resource - Create a resource from a ranges entry 257 * @index: the 'ranges' index to convert to a resource 414 const __be32 *ranges; local 420 * Normally, an absence of a "ranges" property means we are 425 * /ht nodes with no "ranges" property and a lot of perfectly 427 * "ranges" as equivalent to an empty "ranges" property which means 435 * This quirk also applies for 'dma-ranges' which frequently exist in 436 * child nodes without 'dma-ranges' in the parent nodes. --RobH 438 ranges 879 const __be32 *ranges = NULL; local 958 const __be32 *ranges; local [all...] |
/linux-master/arch/powerpc/kexec/ |
H A D | file_load_64.c | 41 /* usable memory ranges to look up */ 43 const struct range *ranges; member in struct:umem_info 108 * @emem: Exclude memory ranges. 121 start = emem->ranges[i].start; 122 end = emem->ranges[i].end; 206 * @emem: Exclude memory ranges. 219 start = emem->ranges[i].start; 220 end = emem->ranges[i].end; 251 * @um_info: Usable memory buffer and ranges info. 278 * add_usable_mem - Add the usable memory ranges withi 381 int i, len, ranges, ret; local [all...] |
/linux-master/drivers/misc/cxl/ |
H A D | of.c | 285 const __be32 *ranges; local 289 ranges = of_get_property(np, "interrupt-ranges", &len); 290 if (ranges == NULL || len < (2 * sizeof(int))) 306 adapter->guest->irq_base_offset = be32_to_cpu(ranges[0]); 309 cur->offset = be32_to_cpu(ranges[i * 2]); 310 cur->range = be32_to_cpu(ranges[i * 2 + 1]);
|
/linux-master/mm/ |
H A D | memremap.c | 75 struct range *range = &pgmap->ranges[range_id]; 88 struct range *range = &pgmap->ranges[i]; 100 const struct range *range = &pgmap->ranges[range_id]; 113 struct range *range = &pgmap->ranges[range_id]; 174 struct range *range = &pgmap->ranges[range_id]; 179 "altmap not supported for multiple ranges\n")) 379 return __va(pgmap->ranges[0].start);
|
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn301/ |
H A D | dcn301_resource.c | 1326 struct pp_smu_wm_range_sets ranges = {0}; local 1329 ranges.num_reader_wm_sets = 0; 1332 ranges.reader_wm_sets[0].wm_inst = 0; 1333 ranges.reader_wm_sets[0].min_drain_clk_mhz = PP_SMU_WM_SET_RANGE_CLK_UNCONSTRAINED_MIN; 1334 ranges.reader_wm_sets[0].max_drain_clk_mhz = PP_SMU_WM_SET_RANGE_CLK_UNCONSTRAINED_MAX; 1335 ranges.reader_wm_sets[0].min_fill_clk_mhz = PP_SMU_WM_SET_RANGE_CLK_UNCONSTRAINED_MIN; 1336 ranges.reader_wm_sets[0].max_fill_clk_mhz = PP_SMU_WM_SET_RANGE_CLK_UNCONSTRAINED_MAX; 1338 ranges.num_reader_wm_sets = 1; 1341 ranges.reader_wm_sets[i].wm_inst = i; 1342 ranges [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
H A D | dcn_calcs.c | 1507 struct pp_smu_wm_range_sets ranges = {0}; local 1523 ranges.num_reader_wm_sets = WM_SET_COUNT; 1524 ranges.num_writer_wm_sets = WM_SET_COUNT; 1525 ranges.reader_wm_sets[0].wm_inst = WM_A; 1526 ranges.reader_wm_sets[0].min_drain_clk_mhz = min_dcfclk_khz / 1000; 1527 ranges.reader_wm_sets[0].max_drain_clk_mhz = overdrive / 1000; 1528 ranges.reader_wm_sets[0].min_fill_clk_mhz = min_fclk_khz / 1000; 1529 ranges.reader_wm_sets[0].max_fill_clk_mhz = overdrive / 1000; 1530 ranges.writer_wm_sets[0].wm_inst = WM_A; 1531 ranges [all...] |
/linux-master/drivers/accel/ivpu/ |
H A D | ivpu_fw.c | 244 ivpu_hw_init_range(&vdev->hw->ranges.global, start, size); 290 fw->mem_shave_nn = ivpu_bo_create(vdev, &vdev->gctx, &vdev->hw->ranges.shave, 520 boot_params->shared_region_base = vdev->hw->ranges.global.start; 521 boot_params->shared_region_size = vdev->hw->ranges.global.end - 522 vdev->hw->ranges.global.start; 530 boot_params->global_aliased_pio_base = vdev->hw->ranges.user.start; 531 boot_params->global_aliased_pio_size = ivpu_hw_range_size(&vdev->hw->ranges.user); 539 ADDR_TO_L2_CACHE_CFG(vdev->hw->ranges.shave.start);
|
H A D | ivpu_gem.c | 217 range = &vdev->hw->ranges.shave; 219 range = &vdev->hw->ranges.dma; 221 range = &vdev->hw->ranges.user; 338 return ivpu_bo_create(vdev, &vdev->gctx, &vdev->hw->ranges.global, size, flags);
|
/linux-master/arch/powerpc/boot/dts/ |
H A D | kuroboxHD.dts | 63 ranges = <0x80000000 0x80000000 0x70000000 /* pci mem space */ 122 ranges = <0x1000000 0x0 0x0 0xfe000000 0x0 0xc00000
|
H A D | kuroboxHG.dts | 63 ranges = <0x80000000 0x80000000 0x70000000 /* pci mem space */ 122 ranges = <0x1000000 0x0 0x0 0xfe000000 0x0 0xc00000
|
/linux-master/arch/xtensa/kernel/ |
H A D | setup.c | 186 const __be32 *ranges; local 195 ranges = of_get_flat_dt_prop(node, "ranges", &len); 196 if (!ranges) 201 xtensa_kio_paddr = of_read_ulong(ranges+1, 1);
|
/linux-master/tools/mm/ |
H A D | thpmaps | 57 # Given a list of arrays, find the ranges for which values are monotonically 132 # Read ranges of a given pid's pagemap into a numpy array. 143 # Read ranges of /proc/kpageflags into a numpy array. 229 def thp_parse(vma, kpageflags, ranges, indexes, vfns, pfns, anons, heads): 247 for rindex, rpfn in zip(ranges[0], ranges[2]): 312 def cont_parse(vma, order, ranges, anons, heads): 321 for rindex, rvfn, rpfn in zip(*ranges): 416 ranges = cont_ranges_all([vfns, pfns], [indexes, vfns, pfns]) 418 thpstats = thp_parse(vma, kpageflags, ranges, indexe [all...] |
/linux-master/drivers/bus/ |
H A D | tegra-gmi.c | 97 u32 property, ranges[4]; local 136 err = of_property_read_u32_array(child, "ranges", ranges, 4); 141 "failed to decode CS: invalid ranges length\n"); 147 * ranges or it does not exist at all. Attempt to decode the 157 property = ranges[1];
|
/linux-master/drivers/iommu/iommufd/ |
H A D | ioas.c | 64 struct iommu_iova_range __user *ranges; local 80 ranges = u64_to_user_ptr(cmd->allowed_iovas); 93 if (copy_to_user(&ranges[cmd->num_iovas], &elm, 113 struct iommu_iova_range __user *ranges, 122 if (copy_from_user(&range, ranges + i, sizeof(range))) 112 iommufd_ioas_load_iovas(struct rb_root_cached *itree, struct iommu_iova_range __user *ranges, u32 num) argument
|
/linux-master/drivers/dax/ |
H A D | device.c | 60 struct dev_dax_range *dax_range = &dev_dax->ranges[i]; 419 struct_size(pgmap, ranges, dev_dax->nr_range - 1), 428 struct range *range = &dev_dax->ranges[i].range; 429 pgmap->ranges[i] = *range; 434 struct range *range = &dev_dax->ranges[i].range;
|
/linux-master/tools/testing/selftests/kvm/x86_64/ |
H A D | userspace_msr_exit_test.c | 19 .ranges = { 47 .ranges = { 59 .ranges = { 102 .ranges = { 722 .ranges = { 746 nflags = sizeof(filter.ranges[0].flags) * BITS_PER_BYTE; 748 filter.ranges[0].flags = BIT_ULL(i);
|
/linux-master/net/tipc/ |
H A D | name_table.c | 75 * @ranges: rb tree containing all service ranges for this service 76 * @service_list: links to adjacent name ranges in hash chain 78 * @lock: spinlock controlling access to pertaining service ranges/publications 84 struct rb_root ranges; member in struct:tipc_service 111 for (sr = service_range_match_first((sc)->ranges.rb_node, \ 272 service->ranges = RB_ROOT; 304 n = &sc->ranges.rb_node; 326 rb_insert_augmented(&sr->tree_node, &sc->ranges, &sr_callbacks); 528 rb_erase_augmented(&sr->tree_node, &sc->ranges, [all...] |
/linux-master/net/ethtool/ |
H A D | stats.c | 315 const struct ethtool_rmon_hist_range *ranges) 320 if (!ranges) 324 if (!ranges[i].low && !ranges[i].high) 334 ranges[i].low) || 336 ranges[i].high) || 314 stats_put_rmon_hist(struct sk_buff *skb, u32 attr, const u64 *hist, const struct ethtool_rmon_hist_range *ranges) argument
|
/linux-master/fs/ubifs/ |
H A D | super.c | 582 * Initialize node length ranges which are mostly needed for node 585 c->ranges[UBIFS_PAD_NODE].len = UBIFS_PAD_NODE_SZ; 586 c->ranges[UBIFS_SB_NODE].len = UBIFS_SB_NODE_SZ; 587 c->ranges[UBIFS_MST_NODE].len = UBIFS_MST_NODE_SZ; 588 c->ranges[UBIFS_REF_NODE].len = UBIFS_REF_NODE_SZ; 589 c->ranges[UBIFS_TRUN_NODE].len = UBIFS_TRUN_NODE_SZ; 590 c->ranges[UBIFS_CS_NODE].len = UBIFS_CS_NODE_SZ; 591 c->ranges[UBIFS_AUTH_NODE].min_len = UBIFS_AUTH_NODE_SZ; 592 c->ranges[UBIFS_AUTH_NODE].max_len = UBIFS_AUTH_NODE_SZ + 594 c->ranges[UBIFS_SIG_NOD [all...] |
/linux-master/arch/powerpc/boot/ |
H A D | devtree.c | 211 static int find_range(u32 *reg, u32 *ranges, int nregaddr, argument 221 copy_val(range_addr, ranges + i, nregaddr); 222 copy_val(range_size, ranges + i + nregaddr + naddr, nsize); 233 * reg block is tracked; size is ignored except in ranges. 280 buflen = getprop(node, "ranges", prop_buf,
|
/linux-master/tools/arch/arm64/include/asm/ |
H A D | cputype.h | 254 is_midr_in_range_list(u32 midr, struct midr_range const *ranges) argument 256 while (ranges->model) 257 if (is_midr_in_range(midr, ranges++))
|
/linux-master/arch/arm64/include/asm/ |
H A D | cputype.h | 260 is_midr_in_range_list(u32 midr, struct midr_range const *ranges) argument 262 while (ranges->model) 263 if (is_midr_in_range(midr, ranges++))
|
/linux-master/tools/perf/util/ |
H A D | time-utils.c | 447 * start/end of multiple time ranges must be valid. 463 struct perf_time_interval **ranges, 509 *ranges = ptime_range; 521 struct perf_time_interval **ranges, 524 return perf_time__parse_for_ranges_reltime(time_str, session, ranges, 461 perf_time__parse_for_ranges_reltime(const char *time_str, struct perf_session *session, struct perf_time_interval **ranges, int *range_size, int *range_num, bool reltime) argument 519 perf_time__parse_for_ranges(const char *time_str, struct perf_session *session, struct perf_time_interval **ranges, int *range_size, int *range_num) argument
|
/linux-master/include/linux/pinctrl/ |
H A D | pinctrl.h | 195 struct pinctrl_gpio_range *ranges,
|