/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn20/ |
H A D | dcn20_resource.c | 2583 struct pp_smu_wm_range_sets ranges = {0}; local 2586 ranges.num_reader_wm_sets = 0; 2589 ranges.reader_wm_sets[0].wm_inst = i; 2590 ranges.reader_wm_sets[0].min_drain_clk_mhz = PP_SMU_WM_SET_RANGE_CLK_UNCONSTRAINED_MIN; 2591 ranges.reader_wm_sets[0].max_drain_clk_mhz = PP_SMU_WM_SET_RANGE_CLK_UNCONSTRAINED_MAX; 2592 ranges.reader_wm_sets[0].min_fill_clk_mhz = PP_SMU_WM_SET_RANGE_CLK_UNCONSTRAINED_MIN; 2593 ranges.reader_wm_sets[0].max_fill_clk_mhz = PP_SMU_WM_SET_RANGE_CLK_UNCONSTRAINED_MAX; 2595 ranges.num_reader_wm_sets = 1; 2598 ranges.reader_wm_sets[i].wm_inst = i; 2599 ranges [all...] |
/linux-master/arch/powerpc/boot/dts/fsl/ |
H A D | mpc8548si-post.dtsi | 98 ranges;
|
H A D | p1021si-post.dtsi | 235 ranges = <0x0 0x10000 0x6000>;
|
/linux-master/drivers/net/wireless/ath/ath10k/ |
H A D | debug.h | 225 struct htt_rx_indication_mpdu_range *ranges, 248 struct htt_rx_indication_mpdu_range *ranges, 246 ath10k_sta_update_rx_tid_stats_ampdu(struct ath10k *ar, u16 peer_id, u8 tid, struct htt_rx_indication_mpdu_range *ranges, int num_ranges) argument
|
/linux-master/arch/powerpc/mm/ |
H A D | numa.c | 854 unsigned int ranges, is_kexec_kdump = 0; local 871 ranges = 1; 874 ranges = read_usm_ranges(usm); 875 if (!ranges) /* there are no (base, size) duple */ 892 } while (--ranges); 972 int ranges; local 983 /* ranges in cell */ 984 ranges = (len >> 2) / (n_mem_addr_cells + n_mem_size_cells); 1009 if (--ranges)
|
/linux-master/arch/sparc/kernel/ |
H A D | of_device_64.c | 56 * PCI bridge lacks a ranges property. We 61 if (!of_property_present(np, "ranges")) 77 /* Treat PCI busses lacking ranges property just like 81 if (!of_property_present(np, "ranges")) 248 const u32 *ranges; local 251 ranges = of_get_property(parent, "ranges", &rlen); 252 if (ranges == NULL || rlen == 0) { 265 /* Now walk through the ranges */ 268 for (; rlen >= rone; rlen -= rone, ranges [all...] |
H A D | pci_sun4v.c | 805 const u64 *ranges; local 811 ranges = of_get_property(pbm->op->dev.of_node, "iommu-address-ranges", 813 if (!ranges) { 814 pr_err(PFX "No iommu-address-ranges\n"); 825 /* There are 4 iommu-address-ranges supported. Each range is pair of 826 * {base, size}. The ranges[0] and ranges[1] are 32bit address space 827 * while ranges[2] and ranges[ [all...] |
/linux-master/drivers/vfio/pci/pds/ |
H A D | dirty.c | 244 struct rb_root_cached *ranges, u32 nnodes, 284 vfio_combine_iova_ranges(ranges, nnodes, max_regions); 293 node = interval_tree_iter_first(ranges, 0, ULONG_MAX); 616 struct rb_root_cached *ranges, u32 nnodes, 626 err = pds_vfio_dirty_enable(pds_vfio, ranges, nnodes, page_size); 243 pds_vfio_dirty_enable(struct pds_vfio_pci_device *pds_vfio, struct rb_root_cached *ranges, u32 nnodes, u64 *page_size) argument 615 pds_vfio_dma_logging_start(struct vfio_device *vdev, struct rb_root_cached *ranges, u32 nnodes, u64 *page_size) argument
|
/linux-master/sound/soc/codecs/ |
H A D | pcm512x.c | 552 struct snd_interval ranges[2]; local 568 memset(ranges, 0, sizeof(ranges)); 569 ranges[0].min = 8000; 570 ranges[0].max = pcm512x_sck_max(pcm512x) / frame_size / 2; 571 ranges[1].min = DIV_ROUND_UP(16000000, frame_size); 572 ranges[1].max = 384000; 579 ARRAY_SIZE(ranges), ranges, 0); 1557 .ranges [all...] |
/linux-master/drivers/pinctrl/renesas/ |
H A D | core.c | 116 const struct sh_pfc_pin_range *range = &pfc->ranges[i]; 370 * that correspond to their respective ranges. 410 pfc->ranges = devm_kzalloc(pfc->dev, sizeof(*pfc->ranges), 412 if (pfc->ranges == NULL) 415 pfc->ranges->start = 0; 416 pfc->ranges->end = pfc->info->nr_pins - 1; 422 /* Count, allocate and fill the ranges. The PFC SoC data pins array must 432 pfc->ranges = devm_kcalloc(pfc->dev, nr_ranges, sizeof(*pfc->ranges), [all...] |
/linux-master/arch/powerpc/platforms/cell/ |
H A D | iommu.c | 787 * in the "dma-ranges" property. 801 const u32 *ranges = NULL; local 816 ranges = of_get_property(np, "dma-ranges", &len); 818 /* Ignore empty ranges, they imply no translation required */ 819 if (ranges && len > 0) 823 if (!ranges) { 824 dev_dbg(dev, "iommu: no dma-ranges found\n"); 833 /* dma-ranges format: 839 cpu_addr = of_translate_dma_address(np, ranges [all...] |
/linux-master/mm/damon/ |
H A D | sysfs.c | 1114 struct damon_addr_range *ranges = kmalloc_array(sysfs_regions->nr, local 1115 sizeof(*ranges), GFP_KERNEL | __GFP_NOWARN); 1118 if (!ranges) 1127 ranges[i].start = sys_region->ar.start; 1128 ranges[i].end = sys_region->ar.end; 1131 if (ranges[i - 1].end > ranges[i].start) 1134 err = damon_set_regions(t, ranges, sysfs_regions->nr); 1136 kfree(ranges);
|
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | sparsebit.c | 1584 * options, and sometimes ranges are specified as command-line arguments. 1899 struct range ranges[1000]; variable in typeref:struct:range 1907 if (ranges[i].first <= idx && idx <= ranges[i].last) 1908 return ranges[i].set; 1937 ranges[num_ranges++] = (struct range) 1950 ranges[num_ranges++] = (struct range) 1966 ranges[num_ranges++] = (struct range) 2027 ranges[num_ranges++] = (struct range) 2038 ranges[num_range [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn301/ |
H A D | dcn301_fpu.c | 389 struct pp_smu_wm_range_sets *ranges, 394 ranges->reader_wm_sets[i].min_fill_clk_mhz = (i > 0) ? (loaded_bb->clock_limits[i - 1].dram_speed_mts / 16) + 1 : 0; 395 ranges->reader_wm_sets[i].max_fill_clk_mhz = loaded_bb->clock_limits[i].dram_speed_mts / 16; 388 dcn301_fpu_set_wm_ranges(int i, struct pp_smu_wm_range_sets *ranges, struct _vcs_dpi_soc_bounding_box_st *loaded_bb) argument
|
/linux-master/arch/riscv/kernel/ |
H A D | elf_kexec.c | 133 cmem->ranges[cmem->nr_ranges].start = res->start; 134 cmem->ranges[cmem->nr_ranges].end = res->end; 149 cmem = kmalloc(struct_size(cmem, ranges, nr_ranges), GFP_KERNEL);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | reg_bounds.c | 445 * invalid ranges, in such cases it's easier to detect them 555 /* What would be the new estimates for register x and y ranges assuming truthful 558 * We assume "interesting" cases where ranges overlap. Cases where it's 682 /* now see if we can derive anything new from updated reg_state's ranges */ 772 /* if 64-bit ranges are indecisive, use 32-bit subranges to 821 /* Generate test BPF program based on provided test ranges, operation, and 1168 /* Validate ranges match, and print details if they don't */ 1368 * register ranges (including their expected num_t domain), and conditional 1435 /* Given setup ranges and number types, go over all supported operations, 1603 /* Generate valid ranges fro 1741 const struct range *ranges; local 1780 const struct range *ranges; local 1818 const struct range *ranges; local [all...] |
/linux-master/block/ |
H A D | Makefile | 12 disk-events.o blk-ia-ranges.o early-lookup.o
|
/linux-master/scripts/ |
H A D | kallsyms.c | 106 struct addr_range *ranges, int entries) 112 ar = &ranges[i]; 192 const struct addr_range *ranges, int entries) 198 ar = &ranges[i]; 105 check_symbol_range(const char *sym, unsigned long long addr, struct addr_range *ranges, int entries) argument 191 symbol_in_range(const struct sym_entry *s, const struct addr_range *ranges, int entries) argument
|
/linux-master/drivers/gpu/drm/tidss/ |
H A D | tidss_dispc.h | 29 u32 ranges; member in struct:tidss_plane_feat::tidss_plane_color_feat
|
/linux-master/drivers/accel/ivpu/ |
H A D | ivpu_mmu_context.c | 461 start = vdev->hw->ranges.global.start; 462 end = vdev->hw->ranges.shave.end; 464 start = vdev->hw->ranges.user.start; 465 end = vdev->hw->ranges.dma.end;
|
/linux-master/drivers/media/tuners/ |
H A D | tuner-simple.c | 267 if (*frequency > t_params->ranges[i].limit) 273 *frequency, t_params->ranges[i - 1].limit); 274 *frequency = t_params->ranges[--i].limit; 276 *config = t_params->ranges[i].config; 277 *cb = t_params->ranges[i].cb; 701 buffer[2] = (t_params->ranges[0].config & ~TUNER_RATIO_MASK) |
|
/linux-master/drivers/iio/dac/ |
H A D | ad3552r.c | 781 const s32 (*ranges)[2]; 785 ranges = ad3542r_ch_ranges; 788 ranges = ad3552r_ch_ranges; 792 if (vals[0] == ranges[i][0] * 1000 && 793 vals[1] == ranges[i][1] * 1000)
|
/linux-master/drivers/leds/rgb/ |
H A D | leds-mt6370-rgb.c | 151 const struct linear_range *ranges; member in struct:mt6370_priv 383 linear_range_get_selector_within(priv->ranges + sel_range, curr->delta_t, &sel); 797 linear_range_get_selector_within(priv->ranges + sel_range, max_uA, &max_level); 893 priv->ranges = mt6372_led_ranges; 898 priv->ranges = common_led_ranges;
|
/linux-master/drivers/bus/fsl-mc/ |
H A D | fsl-mc-bus.c | 39 * @translation_ranges: array of bus to system address translation ranges 1000 **ranges, 1011 * Missing or empty ranges property ("ranges;") for the 1015 *ranges = NULL; 1019 *ranges = devm_kcalloc(dev, *num_ranges, 1022 if (!(*ranges)) 1025 r = *ranges; 998 get_mc_addr_translation_ranges(struct device *dev, struct fsl_mc_addr_translation_range **ranges, u8 *num_ranges) argument
|
/linux-master/drivers/cxl/core/ |
H A D | pci.c | 285 /* require dvsec ranges to be covered by a locked platform window */ 329 int hdm_count, rc, i, ranges = 0; local 419 ranges++; 422 info->ranges = ranges; 466 for (i = 0, allowed = 0; info->mem_enabled && i < info->ranges; i++) { 481 dev_err(dev, "Range register decodes outside platform defined CXL ranges.\n"); 489 * DVSEC Range 1,2 to HDM Decoder Range 0,1. So, non-zero info->ranges
|