/linux-master/drivers/comedi/drivers/ |
H A D | ni_daq_700.c | 29 * Analog: The input range is 0 to 4095 with a default of -10 to +10 volts. 139 unsigned int range = CR_RANGE(insn->chanspec); local 145 /* write channel mode/range */ 146 if (range >= 1) 147 range++; /* convert range to hardware value */ 148 outb(r3_bits | (range & 0x03), dev->iobase + CMD_R3); 189 * The analog input range is set to +-10 V 201 outb(0x00, iobase + CMD_R3); /* set +-10 range */
|
H A D | icp_multi.c | 44 #define ICP_MULTI_ADC_CSR_BI BIT(4) /* Bipolar input range */ 45 #define ICP_MULTI_ADC_CSR_RA BIT(5) /* Input range 0 = 5V, 1 = 10V */ 53 #define ICP_MULTI_DAC_CSR_BI BIT(4) /* Bipolar output range */ 54 #define ICP_MULTI_DAC_CSR_RA BIT(5) /* Output range 0 = 5V, 1 = 10V */ 75 /* analog input and output have the same range options */ 106 unsigned int range = CR_RANGE(insn->chanspec); local 112 /* Set mode and range data for specified channel */ 119 adc_csr |= range_codes_analog[range]; 159 unsigned int range = CR_RANGE(insn->chanspec); local 163 /* Select channel and range */ [all...] |
H A D | me_daq.c | 234 unsigned int range = CR_RANGE(insn->chanspec); local 245 if (chan > 7 || comedi_range_is_unipolar(s, range)) 260 val = ME_AI_FIFO_CHANLIST_CHAN(chan) | ME_AI_FIFO_CHANLIST_GAIN(range); 261 if (comedi_range_is_unipolar(s, range)) 301 unsigned int range = CR_RANGE(insn->chanspec); local 315 if (range == 0) 317 if (comedi_range_is_bipolar(s, range))
|
/linux-master/net/netfilter/ |
H A D | nf_nat_sip.c | 324 struct nf_nat_range2 range; local 330 range.flags = (NF_NAT_RANGE_MAP_IPS | NF_NAT_RANGE_PROTO_SPECIFIED); 331 range.min_proto = range.max_proto = exp->saved_proto; 332 range.min_addr = range.max_addr = exp->saved_addr; 333 nf_nat_setup_info(ct, &range, NF_NAT_MANIP_DST); 345 range.flags = (NF_NAT_RANGE_MAP_IPS | NF_NAT_RANGE_PROTO_SPECIFIED); 346 range.min_proto.all = range [all...] |
/linux-master/drivers/input/joystick/ |
H A D | adc-joystick.c | 18 s32 range[2]; member in struct:adc_joystick_axis 164 error = fwnode_property_read_u32_array(child, "abs-range", 165 axes[i].range, 2); 167 dev_err(dev, "abs-range invalid or missing\n"); 175 axes[i].range[0], axes[i].range[1],
|
/linux-master/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_dsc.h | 77 struct dc_dsc_bw_range *range);
|
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_mem.h | 42 u64 offset, u64 range);
|
H A D | nouveau_uvmm.h | 22 u64 range; member in struct:nouveau_uvma_region::__anon780
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_bo_list.h | 42 struct hmm_range *range; member in struct:amdgpu_bo_list_entry
|
/linux-master/scripts/gdb/linux/ |
H A D | stackdepot.py | 51 for i in range(0, nr_entries):
|
H A D | vmalloc.py | 33 for i in range(0, nr_vmap_nodes):
|
/linux-master/drivers/accel/ivpu/ |
H A D | ivpu_mmu_context.h | 41 int ivpu_mmu_context_insert_node(struct ivpu_mmu_context *ctx, const struct ivpu_addr_range *range,
|
/linux-master/drivers/pinctrl/mediatek/ |
H A D | pinctrl-paris.h | 29 #define MTK_RANGE(_a) { .range = (_a), .nranges = ARRAY_SIZE(_a), }
|
/linux-master/arch/mips/include/asm/mach-lantiq/falcon/ |
H A D | lantiq_soc.h | 60 extern void pinctrl_falcon_add_gpio_range(struct pinctrl_gpio_range *range);
|
/linux-master/drivers/accel/habanalabs/common/ |
H A D | security.h | 132 struct range *block_ranges;
|
/linux-master/arch/arm64/mm/ |
H A D | init.c | 287 s64 range = linear_region_size - local 295 if (memstart_offset_seed > 0 && range >= (s64)ARM64_MEMSTART_ALIGN) { 296 range /= ARM64_MEMSTART_ALIGN; 298 ((range * memstart_offset_seed) >> 16); 399 * scratch using the virtual address range and page size.
|
/linux-master/drivers/regulator/ |
H A D | da9121-regulator.c | 191 struct da9121_range *range = local 202 if (val < range->reg_min) { 207 if (val > range->reg_max) { 212 return range->val_min + (range->val_stp * (val - range->reg_min)); 222 struct da9121_range *range = local 229 if (range->val_min > max || range->val_max < min) { 236 level = range 262 struct da9121_range *range = local [all...] |
/linux-master/arch/powerpc/kexec/ |
H A D | ranges.c | 36 sizeof(struct range)); 54 (mem_rngs->max_nr_ranges * sizeof(struct range))); 64 * __add_mem_range - add a memory range to memory ranges list. 65 * @mem_ranges: Range list to add the memory range to. 66 * @base: Base address of the range to add. 67 * @size: Size of the memory range to add. 85 pr_debug("Added memory range [%#016llx - %#016llx] at index %d\n", 95 * Assumes a sorted range list. 101 struct range *ranges; 126 const struct range * [all...] |
/linux-master/include/linux/ |
H A D | crash_core.h | 14 struct range ranges[] __counted_by(max_nr_ranges);
|
/linux-master/arch/s390/pci/ |
H A D | pci_insn.c | 98 static inline u8 __rpcit(u64 fn, u64 addr, u64 range, u8 *status) argument 100 union register_pair addr_range = {.even = addr, .odd = range}; 114 int zpci_refresh_trans(u64 fn, u64 addr, u64 range) argument 120 cc = __rpcit(fn, addr, range, &status); 124 zpci_err_insn_addr(1, 'R', cc, status, addr, range); 131 zpci_err_insn_addr(0, 'R', cc, status, addr, range); 133 zpci_err_insn_addr(1, 'R', cc, status, addr, range);
|
/linux-master/drivers/iio/adc/ |
H A D | ad7266.c | 34 enum ad7266_range range; member in struct:ad7266_state 170 if (st->range == AD7266_RANGE_2VREF) 177 if (st->range == AD7266_RANGE_2VREF && 365 is_signed = (st->range == AD7266_RANGE_2VREF) | 426 st->range = pdata->range; 441 st->range = AD7266_RANGE_VREF;
|
/linux-master/tools/testing/selftests/hid/tests/ |
H A D | test_sony.py | 43 for x in range(-32000, 32000, 4000): 50 # Check against range due to small loss in precision due 54 for y in range(-32000, 32000, 4000): 63 for z in range(-32000, 32000, 4000): 76 for rx in range(-2000000, 2000000, 200000): 84 # 6-bit (64) difference, so allow a range of +/- 64. 87 for ry in range(-2000000, 2000000, 200000): 96 for rz in range(-2000000, 2000000, 200000): 112 for i in range(5, 105, 10):
|
/linux-master/drivers/gpio/ |
H A D | gpio-uniphier.c | 221 const __be32 *range; local 225 range = of_get_property(np, "socionext,interrupt-ranges", &len); 226 if (!range) 229 len /= sizeof(*range); 232 base = be32_to_cpu(*range++); 233 parent_base = be32_to_cpu(*range++); 234 size = be32_to_cpu(*range++);
|
/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | vega10_thermal.c | 352 * vega10_thermal_set_temperature_range - Set the requested temperature range for high and low alert signals 355 * @range: Temperature range to be programmed for 360 struct PP_TemperatureRange *range) 371 if (low < range->min / PP_TEMPERATURE_UNITS_PER_CENTIGRADES) 372 low = range->min / PP_TEMPERATURE_UNITS_PER_CENTIGRADES; 381 range->hotspot_crit_max / PP_TEMPERATURE_UNITS_PER_CENTIGRADES)) { 504 * Return: result from set temperature range routine 603 * Return: result from set temperature range routine 620 struct PP_TemperatureRange *range) 359 vega10_thermal_set_temperature_range(struct pp_hwmgr *hwmgr, struct PP_TemperatureRange *range) argument 619 vega10_start_thermal_controller(struct pp_hwmgr *hwmgr, struct PP_TemperatureRange *range) argument [all...] |
/linux-master/arch/powerpc/kvm/ |
H A D | book3s_64_mmu_hv.c | 857 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 1013 kvm_set_spte_gfn_hv(struct kvm *kvm, struct kvm_gfn_range *range) argument [all...] |