Home
last modified time | relevance | path

Searched refs:num_ranges (Results 1 – 25 of 53) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/mfd/
Dab8500-debugfs.c124 u8 num_ranges; member
157 .num_ranges = 0,
161 .num_ranges = 3,
178 .num_ranges = 4,
199 .num_ranges = 3,
216 .num_ranges = 5,
245 .num_ranges = 2,
258 .num_ranges = 9,
299 .num_ranges = 0,
303 .num_ranges = 1,
[all …]
Dwcd934x.c117 .num_ranges = ARRAY_SIZE(wcd934x_ranges),
Dda9062-core.c501 .num_ranges = ARRAY_SIZE(da9061_range_cfg),
606 .num_ranges = ARRAY_SIZE(da9062_range_cfg),
Dda9150-core.c169 .num_ranges = ARRAY_SIZE(da9150_range_cfg),
Dda9063-i2c.c342 .num_ranges = ARRAY_SIZE(da9063_range_cfg),
/kernel/linux/linux-5.10/arch/sparc/prom/
Dranges.c92 int num_ranges; in prom_apply_generic_ranges() local
99 num_ranges = (success / sizeof(struct linux_prom_ranges)); in prom_apply_generic_ranges()
109 prom_adjust_ranges(ranges, num_ranges, parent_ranges, num_parent_ranges); in prom_apply_generic_ranges()
112 prom_adjust_regs(regs, nregs, ranges, num_ranges); in prom_apply_generic_ranges()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_reg.c26 u8 num_ranges; member
65 for (idx = 0; idx < map->num_ranges; idx++) { in rvu_check_valid_reg()
/kernel/linux/linux-5.10/drivers/mmc/core/
Dhost.c394 int num_ranges, i; in mmc_of_parse_voltage() local
396 voltage_ranges = of_get_property(np, "voltage-ranges", &num_ranges); in mmc_of_parse_voltage()
401 num_ranges = num_ranges / sizeof(*voltage_ranges) / 2; in mmc_of_parse_voltage()
402 if (!num_ranges) { in mmc_of_parse_voltage()
407 for (i = 0; i < num_ranges; i++) { in mmc_of_parse_voltage()
/kernel/linux/linux-5.10/drivers/firmware/imx/
Dscu-pd.c86 u8 num_ranges; member
187 .num_ranges = ARRAY_SIZE(imx8qxp_scu_pd_ranges),
309 for (i = 0; i < pd_soc->num_ranges; i++) in imx_scu_init_pm_domains()
321 for (i = 0; i < pd_soc->num_ranges; i++) { in imx_scu_init_pm_domains()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Dintel_uncore.c28 unsigned int num_ranges, in intel_fw_table_check() argument
34 for (i = 0, prev = -1; i < num_ranges; i++, ranges++) { in intel_fw_table_check()
98 unsigned int num_ranges; in intel_uncore_mock_selftests() member
111 fw[i].num_ranges, in intel_uncore_mock_selftests()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/
Dsparsebit.c1902 int num_ranges; variable
1908 for (i = num_ranges; --i >= 0; ) in get_value()
1937 if (num_ranges == 1000) in operate()
1939 ranges[num_ranges++] = (struct range) in operate()
1950 if (num_ranges == 1000) in operate()
1952 ranges[num_ranges++] = (struct range) in operate()
1967 num_ranges = 0; in operate()
1968 ranges[num_ranges++] = (struct range) in operate()
1979 num_ranges = 0; in operate()
2027 if (num_ranges == 1000) in operate()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Ddebug.h225 int num_ranges);
248 int num_ranges) in ath10k_sta_update_rx_tid_stats_ampdu() argument
Ddebugfs_sta.c50 int num_ranges) in ath10k_sta_update_rx_tid_stats_ampdu() argument
68 for (i = 0; i < num_ranges; i++) in ath10k_sta_update_rx_tid_stats_ampdu()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dppatomctrl.c57 uint8_t num_ranges = 0; in atomctrl_retrieve_ac_timing() local
60 num_ranges < VBIOS_MAX_AC_TIMING_ENTRIES) { in atomctrl_retrieve_ac_timing()
64 table->mc_reg_table_entry[num_ranges].mclk_max = in atomctrl_retrieve_ac_timing()
71 table->mc_reg_table_entry[num_ranges].mc_data[i] = in atomctrl_retrieve_ac_timing()
76 table->mc_reg_table_entry[num_ranges].mc_data[i] = in atomctrl_retrieve_ac_timing()
77 table->mc_reg_table_entry[num_ranges].mc_data[i-1]; in atomctrl_retrieve_ac_timing()
80 num_ranges++; in atomctrl_retrieve_ac_timing()
89 table->num_entries = num_ranges; in atomctrl_retrieve_ac_timing()
/kernel/linux/linux-5.10/drivers/bus/fsl-mc/
Dfsl-mc-bus.c911 u8 *num_ranges) in get_mc_addr_translation_ranges() argument
929 *num_ranges = ret; in get_mc_addr_translation_ranges()
940 *ranges = devm_kcalloc(dev, *num_ranges, in get_mc_addr_translation_ranges()
947 for (i = 0; i < *num_ranges; ++i) { in get_mc_addr_translation_ranges()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atombios.c1572 u8 frev, crev, num_entries, t_mem_id, num_ranges = 0; in amdgpu_atombios_init_mc_reg_table() local
1616 (num_ranges < VBIOS_MAX_AC_TIMING_ENTRIES)) { in amdgpu_atombios_init_mc_reg_table()
1620 reg_table->mc_reg_table_entry[num_ranges].mclk_max = in amdgpu_atombios_init_mc_reg_table()
1625 reg_table->mc_reg_table_entry[num_ranges].mc_data[i] = in amdgpu_atombios_init_mc_reg_table()
1629 reg_table->mc_reg_table_entry[num_ranges].mc_data[i] = in amdgpu_atombios_init_mc_reg_table()
1630 reg_table->mc_reg_table_entry[num_ranges].mc_data[i - 1]; in amdgpu_atombios_init_mc_reg_table()
1633 num_ranges++; in amdgpu_atombios_init_mc_reg_table()
1640 reg_table->num_entries = num_ranges; in amdgpu_atombios_init_mc_reg_table()
/kernel/linux/linux-5.10/drivers/of/
Daddress.c966 int len, num_ranges = 0; in of_dma_get_range() local
994 num_ranges++; in of_dma_get_range()
996 r = kcalloc(num_ranges + 1, sizeof(*r), GFP_KERNEL); in of_dma_get_range()
/kernel/linux/linux-5.10/drivers/pci/hotplug/
Dibmphp_res.c81 u8 num_ranges = 0; in alloc_bus_range() local
93 num_ranges = newbus->noMemRanges; in alloc_bus_range()
96 num_ranges = newbus->noPFMemRanges; in alloc_bus_range()
99 num_ranges = newbus->noIORanges; in alloc_bus_range()
113 if (first_bus || (!num_ranges)) in alloc_bus_range()
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dcxd2820r_core.c584 .num_ranges = ARRAY_SIZE(regmap_range_cfg0), in cxd2820r_probe()
592 .num_ranges = ARRAY_SIZE(regmap_range_cfg1), in cxd2820r_probe()
/kernel/linux/linux-5.10/drivers/regulator/
Dda9211-regulator.c73 .num_ranges = ARRAY_SIZE(da9211_regmap_range),
/kernel/linux/linux-5.10/sound/soc/codecs/
Dpcm186x.c637 .num_ranges = 1,
Dtas2764.c563 .num_ranges = ARRAY_SIZE(tas2764_regmap_ranges),
Dtas2770.c621 .num_ranges = ARRAY_SIZE(tas2770_regmap_ranges),
/kernel/linux/linux-5.10/drivers/remoteproc/
Dremoteproc_core.c466 int num_ranges = 0; in copy_dma_range_map() local
472 num_ranges++; in copy_dma_range_map()
474 new_map = kmemdup(map, array_size(num_ranges + 1, sizeof(*map)), in copy_dma_range_map()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_atombios.c3990 u8 frev, crev, num_entries, t_mem_id, num_ranges = 0; in radeon_atom_init_mc_reg_table() local
4034 (num_ranges < VBIOS_MAX_AC_TIMING_ENTRIES)) { in radeon_atom_init_mc_reg_table()
4038 reg_table->mc_reg_table_entry[num_ranges].mclk_max = in radeon_atom_init_mc_reg_table()
4043 reg_table->mc_reg_table_entry[num_ranges].mc_data[i] = in radeon_atom_init_mc_reg_table()
4047 reg_table->mc_reg_table_entry[num_ranges].mc_data[i] = in radeon_atom_init_mc_reg_table()
4048 reg_table->mc_reg_table_entry[num_ranges].mc_data[i - 1]; in radeon_atom_init_mc_reg_table()
4051 num_ranges++; in radeon_atom_init_mc_reg_table()
4058 reg_table->num_entries = num_ranges; in radeon_atom_init_mc_reg_table()

123