Searched refs:range (Results 301 - 325 of 890) sorted by relevance

<<11121314151617181920>>

/linux-master/tools/testing/selftests/bpf/
H A Dgenerate_udp_fragments.py46 chunks = [frag[i : i + 10] for i in range(0, len(frag), 10)]
/linux-master/include/linux/
H A Dlogic_pio.h23 resource_size_t size; /* range size populated */
117 void logic_pio_unregister_range(struct logic_pio_hwaddr *range);
/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_thermal.c312 * smu7_thermal_set_temperature_range - Set the requested temperature range for high and low alert signals
422 * Return: result from set temperature range routine
440 struct PP_TemperatureRange *range)
444 if (range == NULL)
448 ret = smu7_thermal_set_temperature_range(hwmgr, range->min, range->max);
439 smu7_start_thermal_controller(struct pp_hwmgr *hwmgr, struct PP_TemperatureRange *range) argument
/linux-master/include/net/tc_act/
H A Dtc_ct.h23 struct nf_nat_range2 range; member in struct:tcf_ct_params
/linux-master/drivers/bus/
H A Dimx-weim.c94 struct of_range range; local
116 for_each_of_range(&parser, &range) {
117 cs = range.bus_addr >> 32;
118 val = (range.size / SZ_32M) | 1;
/linux-master/tools/testing/selftests/mm/
H A Dvm_util.c317 uffdio_register.range.start = (unsigned long)addr;
318 uffdio_register.range.len = len;
338 struct uffdio_range range = { .start = (uintptr_t)addr, .len = len }; local
341 if (ioctl(uffd, UFFDIO_UNREGISTER, &range) == -1)
/linux-master/tools/arch/arm64/include/asm/
H A Dcputype.h213 * Represent a range of MIDR values for a given CPU model and a
214 * range of variant/revision values.
219 * @rv_max - Maximum value for the variant/revision for the range.
247 static inline bool is_midr_in_range(u32 midr, struct midr_range const *range) argument
249 return midr_is_cpu_model_range(midr, range->model,
250 range->rv_min, range->rv_max);
/linux-master/tools/testing/cxl/test/
H A Dcxl.c382 struct range range; member in struct:cxl_mock_res
395 gen_pool_free(cxl_mock_pool, res->range.start,
396 range_len(&res->range));
417 res->range = (struct range) {
445 chbs->base = res->range.start;
455 window->base_hpa = res->range.start;
716 cxld->hpa_range = (struct range){
790 cxld->hpa_range = (struct range) {
984 dpa_perf_setup(struct cxl_port *endpoint, struct range *range, struct cxl_dpa_perf *dpa_perf) argument
[all...]
/linux-master/arch/arm64/kvm/
H A Dmmu.c86 * Get the maximum number of page-tables pages needed to split a range
87 * of blocks into PAGE_SIZE PTEs. It assumes the range is already
90 static int kvm_mmu_split_nr_page_tables(u64 range) argument
95 n += DIV_ROUND_UP(range, PUD_SIZE);
96 n += DIV_ROUND_UP(range, PMD_SIZE);
308 * __unmap_stage2_range -- Clear stage2 page table entries to unmap a range
310 * @start: The intermediate physical base address of the range to unmap
314 * Clear a range of stage-2 mappings, lowering the various ref-counts. Must
565 * create_hyp_mappings - duplicate a kernel virtual address range in Hyp mode
566 * @from: The virtual kernel start address of the range
1761 kvm_unmap_gfn_range(struct kvm *kvm, struct kvm_gfn_range *range) argument
1773 kvm_age_gfn(struct kvm *kvm, struct kvm_gfn_range *range) argument
1785 kvm_test_age_gfn(struct kvm *kvm, struct kvm_gfn_range *range) argument
[all...]
/linux-master/arch/arm64/mm/
H A Dinit.c288 s64 range = linear_region_size - local
296 if (memstart_offset_seed > 0 && range >= (s64)ARM64_MEMSTART_ALIGN) {
297 range /= ARM64_MEMSTART_ALIGN;
299 ((range * memstart_offset_seed) >> 16);
400 * scratch using the virtual address range and page size.
461 * range, and so we need to ensure that the entire kernel image and all modules
462 * fall within a 2G window such that these are always within range.
466 * CALL26/JUMP26 relocations with a +/-128M range. Without PLTs, we must ensure
468 * such that these are always within range. With PLTs, we can expand this to a
486 * image, and is large enough to use the full 2G relocation range
[all...]
/linux-master/arch/arm64/include/asm/
H A Dcputype.h219 * Represent a range of MIDR values for a given CPU model and a
220 * range of variant/revision values.
225 * @rv_max - Maximum value for the variant/revision for the range.
253 static inline bool is_midr_in_range(u32 midr, struct midr_range const *range) argument
255 return midr_is_cpu_model_range(midr, range->model,
256 range->rv_min, range->rv_max);
/linux-master/drivers/comedi/drivers/
H A Ddyna_pci10xx.c70 unsigned int chan, range; local
72 /* get the channel number and range */
74 range = range_codes_pci1050_ai[CR_RANGE((insn->chanspec))];
81 outw_p(0x0000 + range + chan, dev->iobase + 2);
H A Ddas16.c38 * [4] - analog input range lowest voltage in microvolts (optional,
41 * [5] - analog input range highest voltage in microvolts (optional,
44 * [6] - analog output range lowest voltage in microvolts (optional)
45 * [7] - analog output range highest voltage in microvolts (optional)
535 unsigned int range)
551 outb((das16_gainlists[board->ai_pg])[range],
565 unsigned int range = CR_RANGE(cmd->chanlist[i]); local
573 if (range != range0) {
701 unsigned int range = CR_RANGE(cmd->chanlist[0]); local
714 /* set mux and range fo
532 das16_ai_set_mux_range(struct comedi_device *dev, unsigned int first_chan, unsigned int last_chan, unsigned int range) argument
826 unsigned int range = CR_RANGE(insn->chanspec); local
[all...]
H A Daio_aio12_8.c117 unsigned int range = CR_RANGE(insn->chanspec); local
125 * at the desired range of the requested channel.
128 AIO12_8_ADC_RANGE(range) | AIO12_8_ADC_CHAN(chan);
145 if (comedi_range_is_bipolar(s, range))
H A Damplc_pci230.c106 * input range. The input ranges used in the sequence must be all
148 * output range.
492 unsigned int ai_bipolar:1; /* Flag AI range is bipolar */
493 unsigned int ao_bipolar:1; /* Flag AO range is bipolar */
507 /* PCI230 analogue input range table */
520 /* PCI230 analogue gain bits for each input range. */
523 /* PCI230 analogue output range table */
543 * If a bipolar range was specified, mangle it
564 * If a bipolar range was specified, mangle it
726 unsigned int chan, range, are local
827 unsigned int range = CR_RANGE(insn->chanspec); local
857 unsigned int range = CR_RANGE(cmd->chanlist[i]); local
1303 unsigned int range; local
1417 unsigned int range = CR_RANGE(chanspec); local
2079 unsigned int i, chan, range, diff; local
[all...]
/linux-master/tools/testing/selftests/drivers/sdsi/
H A Dsdsi_test.py45 @pytest.mark.parametrize('socket', range(0, NUM_SOCKETS))
149 @pytest.mark.parametrize('socket', range(0, NUM_SOCKETS))
165 @pytest.mark.parametrize('socket', range(0, NUM_SOCKETS))
/linux-master/tools/power/cpupower/utils/idle_monitor/
H A Dmperf_monitor.c43 .range = RANGE_THREAD,
50 .range = RANGE_THREAD,
58 .range = RANGE_THREAD,
/linux-master/drivers/iio/potentiometer/
H A Dx9250.c101 static const int range[] = {0, 1, 255}; /* min, step, max */ local
105 *length = ARRAY_SIZE(range);
106 *vals = range;
/linux-master/drivers/clk/at91/
H A Dsama5d4.c131 struct clk_range range = CLK_RANGE(0, 0); local
272 &range, INT_MIN,
286 &range, INT_MIN, 0);
/linux-master/arch/arm/mm/
H A Dpmsa-v8.c8 #include <linux/range.h>
78 static struct range __initdata io[MPU_MAX_REGIONS];
79 static struct range __initdata mem[MPU_MAX_REGIONS];
251 /* IO: cover full 4G range */
/linux-master/include/net/
H A Dfib_rules.h137 static inline bool fib_rule_port_range_set(const struct fib_rule_port_range *range) argument
139 return range->start != 0 && range->end != 0;
/linux-master/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dpcd.c29 * dpcd range check to ensure that every dpcd request is compliant with specs
30 * range requirements.
104 const struct dpcd_address_range *range,
108 return start_address <= range->end && end_address >= range->start;
103 do_addresses_intersect_with_range( const struct dpcd_address_range *range, const uint32_t start_address, const uint32_t end_address) argument
/linux-master/drivers/of/
H A Dunittest.c1002 struct of_pci_range range; local
1023 for_each_of_pci_range(&parser, &range) {
1025 unittest(range.size == 0x10000000,
1027 np, range.size);
1028 unittest(range.cpu_addr == 0x20000000,
1030 range.cpu_addr, np);
1031 unittest(range.pci_addr == 0x80000000,
1033 range.pci_addr, np);
1035 unittest(range.size == 0x10000000,
1037 np, range
1054 struct of_range range; local
1125 struct of_range range; local
[all...]
/linux-master/arch/powerpc/kvm/
H A Dbook3s_64_mmu_hv.c857 bool kvm_unmap_gfn_range_hv(struct kvm *kvm, struct kvm_gfn_range *range) argument
862 for (gfn = range->start; gfn < range->end; gfn++)
863 kvm_unmap_radix(kvm, range->slot, gfn);
865 for (gfn = range->start; gfn < range->end; gfn++)
866 kvm_unmap_rmapp(kvm, range->slot, gfn);
954 bool kvm_age_gfn_hv(struct kvm *kvm, struct kvm_gfn_range *range) argument
960 for (gfn = range->start; gfn < range
1003 kvm_test_age_gfn_hv(struct kvm *kvm, struct kvm_gfn_range *range) argument
[all...]
/linux-master/drivers/net/ethernet/toshiba/
H A Dps3_gelic_wireless.c300 struct iw_range *range = (struct iw_range *)extra; local
306 memset(range, 0, sizeof(struct iw_range));
308 range->we_version_compiled = WIRELESS_EXT;
309 range->we_version_source = 22;
317 range->freq[chs].i = i + 1;
318 range->freq[chs].m = channel_freq[i];
319 range->freq[chs].e = 6;
322 range->num_frequency = chs;
323 range->old_num_frequency = chs;
324 range
[all...]

Completed in 277 milliseconds

<<11121314151617181920>>