/linux-master/include/linux/ |
H A D | prime_numbers.h | 13 * @max: the upper limit 16 * the @max value. On each iteration, @prime is set to the current prime number. 17 * @max should be less than ULONG_MAX to ensure termination. To begin with 21 #define for_each_prime_number(prime, max) \ 22 for_each_prime_number_from((prime), 2, (max)) 28 * @max: the upper limit 31 * @max value. On each iteration, @prime is set to the current prime number. 32 * @max should be less than ULONG_MAX, and @from less than @max, to ensure 35 #define for_each_prime_number_from(prime, from, max) \ [all...] |
H A D | delay.h | 63 void usleep_range_state(unsigned long min, unsigned long max, 66 static inline void usleep_range(unsigned long min, unsigned long max) argument 68 usleep_range_state(min, max, TASK_UNINTERRUPTIBLE); 71 static inline void usleep_idle_range(unsigned long min, unsigned long max) argument 73 usleep_range_state(min, max, TASK_IDLE);
|
/linux-master/drivers/regulator/ |
H A D | max8973-regulator.c | 159 struct max8973_chip *max = rdev_get_drvdata(rdev); local 163 ret = regmap_read(max->regmap, max->curr_vout_reg, &data); 165 dev_err(max->dev, "register %d read failed, err = %d\n", 166 max->curr_vout_reg, ret); 175 struct max8973_chip *max = rdev_get_drvdata(rdev); local 178 int vout_reg = max->curr_vout_reg; 179 int gpio_val = max->curr_gpio_val; 185 if (max->dvs_gpiod) 186 found = find_voltage_set_register(max, vse 211 struct max8973_chip *max = rdev_get_drvdata(rdev); local 239 struct max8973_chip *max = rdev_get_drvdata(rdev); local 256 struct max8973_chip *max = rdev_get_drvdata(rdev); local 279 struct max8973_chip *max = rdev_get_drvdata(rdev); local 316 max8973_init_dcdc(struct max8973_chip *max, struct max8973_regulator_platform_data *pdata) argument 593 struct max8973_chip *max; local [all...] |
/linux-master/drivers/net/ipa/data/ |
H A D | ipa_data-v3.1.c | 190 .min = 3, .max = 255, 193 .min = 3, .max = 255, 196 .min = 1, .max = 255, 199 .min = 1, .max = 255, 202 .min = 2, .max = 255, 207 .min = 0, .max = 255, 210 .min = 0, .max = 255, 213 .min = 0, .max = 255, 216 .min = 0, .max = 255, 219 .min = 0, .max [all...] |
H A D | ipa_data-v5.0.c | 53 .max_reads = 0, /* no limit (hardware max) */ 58 .max_reads = 0, /* no limit (hardware max) */ 188 .min = 3, .max = 9, 191 .min = 4, .max = 10, 194 .min = 1, .max = 63, 197 .min = 0, .max = 63, 202 .min = 9, .max = 9, 205 .min = 12, .max = 12, 208 .min = 10, .max = 10, 213 .min = 9, .max [all...] |
H A D | ipa_data-v5.5.c | 188 .min = 3, .max = 9, 191 .min = 4, .max = 10, 194 .min = 1, .max = 63, 197 .min = 0, .max = 63, 202 .min = 9, .max = 9, 205 .min = 12, .max = 12, 208 .min = 10, .max = 10, 213 .min = 9, .max = 9, 216 .min = 24, .max = 24, 219 .min = 20, .max [all...] |
H A D | ipa_data-v3.5.1.c | 182 .min = 1, .max = 63, 185 .min = 1, .max = 63, 188 .min = 1, .max = 63, 193 .min = 10, .max = 10, 196 .min = 10, .max = 10, 199 .min = 8, .max = 8, 204 .min = 12, .max = 12, 207 .min = 14, .max = 14, 210 .min = 8, .max = 8, 215 .min = 0, .max [all...] |
H A D | ipa_data-v4.9.c | 46 .max_reads = 0, /* no limit (hardware max) */ 176 .min = 1, .max = 12, 179 .min = 1, .max = 1, 182 .min = 1, .max = 12, 187 .min = 20, .max = 20, 190 .min = 2, .max = 2, 193 .min = 3, .max = 3, 198 .min = 38, .max = 38, 201 .min = 4, .max = 4, 204 .min = 8, .max [all...] |
/linux-master/drivers/macintosh/ |
H A D | windfarm_max6690_sensor.c | 36 struct wf_6690_sensor *max = wf_to_6690(sr); local 39 if (max->i2c == NULL) 43 data = i2c_smbus_read_byte_data(max->i2c, MAX6690_EXTERNAL_TEMP); 52 struct wf_6690_sensor *max = wf_to_6690(sr); local 54 kfree(max); 66 struct wf_6690_sensor *max; local 88 max = kzalloc(sizeof(struct wf_6690_sensor), GFP_KERNEL); 89 if (max == NULL) { 95 max->i2c = client; 96 max 108 struct wf_6690_sensor *max = i2c_get_clientdata(client); local [all...] |
/linux-master/include/uapi/linux/netfilter/ |
H A D | xt_length.h | 8 __u16 min, max; member in struct:xt_length_info
|
/linux-master/lib/ |
H A D | strnlen_user.c | 12 * 'count' is the user-supplied count, while 'max' is the 21 * the return value against "> max". 23 static __always_inline long do_strnlen_user(const char __user *src, unsigned long count, unsigned long max) argument 35 max += align; 49 if (unlikely(max <= sizeof(unsigned long))) 51 max -= sizeof(unsigned long); 57 * Uhhuh. We hit 'max'. But was that the user-specified maximum 102 unsigned long max = max_addr - src_addr; local 106 * Truncate 'max' to the user-specified limit, so that 109 if (max > coun [all...] |
H A D | strncpy_from_user.c | 25 * hit it), 'max' is the address space maximum (and we return 29 unsigned long count, unsigned long max) 37 while (max >= sizeof(unsigned long)) { 65 max -= sizeof(unsigned long); 69 while (max) { 77 max--; 81 * Uhhuh. We hit 'max'. But was that the user-specified maximum 126 unsigned long max = max_addr - src_addr; local 130 * Truncate 'max' to the user-specified limit, so that 133 if (max > coun 28 do_strncpy_from_user(char *dst, const char __user *src, unsigned long count, unsigned long max) argument [all...] |
/linux-master/drivers/iio/pressure/ |
H A D | abp060mg.c | 35 int max; member in struct:abp_config 40 [ABP006KG] = { .min = 0, .max = 6000 }, 41 [ABP010KG] = { .min = 0, .max = 10000 }, 42 [ABP016KG] = { .min = 0, .max = 16000 }, 43 [ABP025KG] = { .min = 0, .max = 25000 }, 44 [ABP040KG] = { .min = 0, .max = 40000 }, 45 [ABP060KG] = { .min = 0, .max = 60000 }, 46 [ABP100KG] = { .min = 0, .max = 100000 }, 47 [ABP160KG] = { .min = 0, .max = 160000 }, 48 [ABP250KG] = { .min = 0, .max [all...] |
/linux-master/drivers/media/platform/st/sti/bdisp/ |
H A D | bdisp-filter.h | 14 * @max: max scale factor for this filter (6.10 fixed point) 19 const u16 max; member in struct:bdisp_filter_h_spec 26 * @max: max scale factor for this filter (6.10 fixed point) 31 const u16 max; member in struct:bdisp_filter_v_spec
|
/linux-master/drivers/clk/at91/ |
H A D | sama5d2.c | 13 .output = { .min = 124000000, .max = 166000000 }, 22 { .min = 600000000, .max = 1200000000 }, 26 .input = { .min = 12000000, .max = 24000000 }, 65 { .n = "macb0_clk", .id = 5, .r = { .min = 0, .max = 83000000 }, }, 66 { .n = "tdes_clk", .id = 11, .r = { .min = 0, .max = 83000000 }, }, 69 { .n = "pioA_clk", .id = 18, .r = { .min = 0, .max = 83000000 }, }, 70 { .n = "flx0_clk", .id = 19, .r = { .min = 0, .max = 83000000 }, }, 71 { .n = "flx1_clk", .id = 20, .r = { .min = 0, .max = 83000000 }, }, 72 { .n = "flx2_clk", .id = 21, .r = { .min = 0, .max = 83000000 }, }, 73 { .n = "flx3_clk", .id = 22, .r = { .min = 0, .max [all...] |
H A D | sama5d3.c | 13 .output = { .min = 0, .max = 166000000 }, 22 { .min = 400000000, .max = 1000000000 }, 26 .input = { .min = 8000000, .max = 50000000 }, 73 { .n = "usart0_clk", .id = 12, .r = { .min = 0, .max = 83000000 }, }, 74 { .n = "usart1_clk", .id = 13, .r = { .min = 0, .max = 83000000 }, }, 75 { .n = "usart2_clk", .id = 14, .r = { .min = 0, .max = 83000000 }, }, 76 { .n = "usart3_clk", .id = 15, .r = { .min = 0, .max = 83000000 }, }, 77 { .n = "uart0_clk", .id = 16, .r = { .min = 0, .max = 83000000 }, }, 78 { .n = "uart1_clk", .id = 17, .r = { .min = 0, .max = 83000000 }, }, 79 { .n = "twi0_clk", .id = 18, .r = { .min = 0, .max [all...] |
/linux-master/mm/damon/ |
H A D | sysfs-common.c | 20 unsigned long max) 29 range->max = max; 65 return sysfs_emit(buf, "%lu\n", range->max); 73 unsigned long max; local 76 err = kstrtoul(buf, 0, &max); 80 range->max = max; 93 __ATTR_RW_MODE(max, 0600); 18 damon_sysfs_ul_range_alloc( unsigned long min, unsigned long max) argument
|
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | sh_css_frac.h | 34 min_t(int, max_t(int, (((v) >> sSHIFT) >> max(sFRACTION_BITS_FITTING(a) - (b), 0)), \ 37 min((unsigned int)max((unsigned)(((v) >> uSHIFT) \ 38 >> max((int)(uFRACTION_BITS_FITTING(a) - (b)), 0)), \
|
/linux-master/scripts/ |
H A D | syscallnr.sh | 66 max=0 68 max=$nr 71 echo "#define __NR_${prefix}syscalls $(($max + 1))"
|
/linux-master/include/trace/events/ |
H A D | maple_tree.h | 22 __field(unsigned long, max) 31 __entry->max = mas->max; 41 (unsigned long) __entry->max, 55 __field(unsigned long, max) 64 __entry->max = mas->max; 74 (unsigned long) __entry->max, 90 __field(unsigned long, max) 101 __entry->max [all...] |
/linux-master/tools/perf/util/ |
H A D | spark.c | 17 unsigned long min = ULONG_MAX, max = 0, f; local 22 if (val[i] > max) 23 max = val[i]; 25 f = ((max - min) << SPARK_SHIFT) / (NUM_SPARKS - 1);
|
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_clock.h | 11 u32 min, u32 max);
|
/linux-master/drivers/firmware/efi/libstub/ |
H A D | alignedmem.c | 14 * @max: the address that the last allocated memory page shall not 21 * not exceed the address given by @max. 26 unsigned long max, unsigned long align, 33 max = min(max, EFI_ALLOC_LIMIT); 38 alloc_addr = ALIGN_DOWN(max + 1, align) - 1; 25 efi_allocate_pages_aligned(unsigned long size, unsigned long *addr, unsigned long max, unsigned long align, int memory_type) argument
|
/linux-master/drivers/clk/starfive/ |
H A D | clk-starfive-jh71x0.h | 20 /* fractional divider min/max */ 28 u32 max; member in struct:jh71x0_clk_data 36 .max = JH71X0_CLK_ENABLE, \ 44 .max = _max, \ 52 .max = JH71X0_CLK_ENABLE | (_max), \ 60 .max = JH71X0_CLK_FRAC_MAX, \ 68 .max = ((_nparents) - 1) << JH71X0_CLK_MUX_SHIFT, \ 76 .max = JH71X0_CLK_ENABLE | \ 85 .max = (((_nparents) - 1) << JH71X0_CLK_MUX_SHIFT) | (_max), \ 93 .max [all...] |
/linux-master/Documentation/scheduler/ |
H A D | sched-pelt.c | 57 long max = 1024; variable 65 max = ((max*y_inv)>>SHIFT) + 1024; 68 * max = max*y + 1024; 71 if (last == max) 74 last = max; 78 printf("#define LOAD_AVG_MAX %ld\n", max);
|