/linux-master/kernel/time/ |
H A D | test_udelay.c | 29 int min = 0, max = 0, fail_count = 0; local 47 if (i == 0 || time_passed > max) 48 max = time_passed; 57 seq_printf(s, "%d usecs x %d: exp=%d allowed=%d min=%d avg=%lld max=%d", 59 (usecs * 1000) - allowed_error_ns, min, avg, max);
|
/linux-master/drivers/hid/ |
H A D | hid-evision.c | 19 unsigned long **bit, int *max) 17 evision_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
|
/linux-master/drivers/regulator/ |
H A D | da903x-regulator.c | 309 #define DA903x_LDO(_pmic, _id, min, max, step, vreg, shift, nbits, ereg, ebit) \ 316 .n_voltages = (step) ? ((max - min) / step + 1) : 1, \ 321 .max_uV = (max) * 1000, \ 329 #define DA903x_DVC(_pmic, _id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ 336 .n_voltages = (step) ? ((max - min) / step + 1) : 1, \ 341 .max_uV = (max) * 1000, \ 351 #define DA9034_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ 352 DA903x_LDO(DA9034, _id, min, max, step, vreg, shift, nbits, ereg, ebit) 354 #define DA9030_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ 355 DA903x_LDO(DA9030, _id, min, max, ste [all...] |
/linux-master/include/drm/ |
H A D | drm_of.h | 56 const unsigned int min, const unsigned int max); 60 const unsigned int max); 119 const unsigned int min, const unsigned int max) 128 const unsigned int max) 118 drm_of_get_data_lanes_count(const struct device_node *endpoint, const unsigned int min, const unsigned int max) argument 125 drm_of_get_data_lanes_count_ep(const struct device_node *port, int port_reg, int reg, const unsigned int min, const unsigned int max) argument
|
/linux-master/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | sch_red_root.sh | 22 limit 1000000 min $BACKLOG max $((BACKLOG + 1)) \
|
/linux-master/drivers/clk/at91/ |
H A D | at91sam9rl.c | 13 .output = { .min = 0, .max = 94000000 }, 20 { .min = 80000000, .max = 200000000 }, 21 { .min = 190000000, .max = 240000000 }, 25 .input = { .min = 1000000, .max = 32000000 },
|
/linux-master/tools/perf/util/ |
H A D | print-events.h | 38 unsigned int max);
|
/linux-master/net/dsa/ |
H A D | dsa.h | 34 unsigned int dsa_bridge_num_get(const struct net_device *bridge_dev, int max);
|
/linux-master/include/linux/ |
H A D | hw_random.h | 31 * @read: New API. drivers can fill up to max bytes of data 33 * and max is a multiple of 4 and >= 32 bytes. 45 int (*read)(struct hwrng *rng, void *data, size_t max, bool wait);
|
H A D | maple_tree.h | 322 unsigned long max, gfp_t gfp); 328 unsigned long max, gfp_t gfp); 409 * The state also contains the implied min/max of the state->node, the depth of 410 * this search, and the offset. The implied min/max are either from the parent 432 unsigned long max; /* The maximum index of this node - implied pivot max */ member in struct:ma_state 445 unsigned long r_max; /* range max */ 477 .max = ULONG_MAX, \ 501 void *mas_find(struct ma_state *mas, unsigned long max); 502 void *mas_find_range(struct ma_state *mas, unsigned long max); [all...] |
/linux-master/drivers/soc/fsl/qe/ |
H A D | qe_common.c | 40 /* max address size we deal with */ 49 resource_size_t max = 0; local 81 if (r.end > max) 82 max = r.end; 91 muram_vbase = ioremap(muram_pbase, max - muram_pbase + 1);
|
/linux-master/drivers/media/rc/ |
H A D | ir-sharp-decoder.c | 186 * @max: maximum size of @events 190 * encoding. In this case all @max events will have been written. 193 struct ir_raw_event *events, unsigned int max) 201 ret = ir_raw_gen_pd(&e, max, &ir_sharp_timings, SHARP_NBITS, 206 max -= ret; 210 ret = ir_raw_gen_pd(&e, max, &ir_sharp_timings, SHARP_NBITS, 192 ir_sharp_encode(enum rc_proto protocol, u32 scancode, struct ir_raw_event *events, unsigned int max) argument
|
/linux-master/drivers/char/hw_random/ |
H A D | timeriomem-rng.c | 45 size_t max, bool wait) 72 period_us + max(1, period_us / 100)); 77 max -= sizeof(u32); 78 } while (wait && max > sizeof(u32)); 44 timeriomem_rng_read(struct hwrng *hwrng, void *data, size_t max, bool wait) argument
|
/linux-master/fs/xfs/ |
H A D | xfs_sysctl.h | 18 int max; member in struct:xfs_sysctl_val
|
/linux-master/drivers/platform/x86/intel/uncore-frequency/ |
H A D | uncore-frequency-common.h | 69 int uncore_freq_common_init(int (*read_control_freq)(struct uncore_data *data, unsigned int *min, unsigned int *max),
|
/linux-master/fs/btrfs/ |
H A D | async-thread.h | 45 void btrfs_workqueue_set_max(struct btrfs_workqueue *wq, int max);
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_vblank.h | 18 int min, max, vblank_start; member in struct:intel_vblank_evade_ctx
|
/linux-master/drivers/power/supply/ |
H A D | rx51_battery.c | 96 int max = ARRAY_SIZE(rx51_temp_table2) - 1; local 115 while (max - min > 1) { 116 int mid = (max + min) / 2; 120 max = mid;
|
/linux-master/drivers/pwm/ |
H A D | pwm-imx1.c | 68 u32 max, p; local 87 max = readl(imx->mmio_base + MX1_PWMP); 88 p = mul_u64_u64_div_u64(max, duty_ns, period_ns); 90 writel(max - p, imx->mmio_base + MX1_PWMS);
|
/linux-master/drivers/gpu/drm/amd/pm/swsmu/inc/ |
H A D | smu_v14_0.h | 64 uint32_t max; /* MHz */ member in struct:smu_14_0_dpm_table 173 uint32_t *min, uint32_t *max); 176 uint32_t min, uint32_t max); 181 uint32_t max);
|
/linux-master/drivers/scsi/ibmvscsi_tgt/ |
H A D | libsrp.c | 24 static int srp_iu_pool_alloc(struct srp_queue *q, size_t max, argument 30 q->pool = kcalloc(max, sizeof(struct iu_entry *), GFP_KERNEL); 33 q->items = kcalloc(max, sizeof(struct iu_entry), GFP_KERNEL); 38 kfifo_init(&q->queue, (void *)q->pool, max * sizeof(void *)); 40 for (i = 0, iue = q->items; i < max; i++) { 59 size_t max, size_t size) 64 ring = kcalloc(max, sizeof(struct srp_buf *), GFP_KERNEL); 68 for (i = 0; i < max; i++) { 80 for (i = 0; i < max && ring[i]; i++) { 93 size_t max, size_ 58 srp_ring_alloc(struct device *dev, size_t max, size_t size) argument 92 srp_ring_free(struct device *dev, struct srp_buf **ring, size_t max, size_t size) argument [all...] |
/linux-master/sound/pci/ice1712/ |
H A D | wm8766.c | 38 .max = 0xff, 49 .max = 0xff, 60 .max = 0xff, 190 uinfo->value.integer.max = wm->ctl[n].max; 201 return snd_ctl_enum_info(uinfo, 1, wm->ctl[n].max, 225 val1 = wm->ctl[n].max - (val1 - wm->ctl[n].min); 227 val2 = wm->ctl[n].max - (val2 - wm->ctl[n].min); 247 regval1 = wm->ctl[n].max - (regval1 - wm->ctl[n].min); 248 regval2 = wm->ctl[n].max [all...] |
/linux-master/drivers/infiniband/hw/mlx4/ |
H A D | srq.c | 100 srq->msrq.max = roundup_pow_of_two(init_attr->attr.max_wr + 1); 103 desc_size = max(32UL, 109 buf_size = srq->msrq.max * desc_size; 149 srq->tail = srq->msrq.max - 1; 152 for (i = 0; i < srq->msrq.max; ++i) { 155 cpu_to_be16((i + 1) & (srq->msrq.max - 1)); 172 srq->wrid = kvmalloc_array(srq->msrq.max, 199 init_attr->attr.max_wr = srq->msrq.max - 1; 236 if (attr->srq_limit >= srq->msrq.max) 262 srq_attr->max_wr = srq->msrq.max [all...] |
/linux-master/drivers/iio/dac/ |
H A D | ad5421.c | 282 unsigned int *min, unsigned int *max) 289 *max = 20000; 293 *max = 21000; 297 *max = 24000; 301 *max = 1; 308 unsigned int min, max; local 310 ad5421_get_current_min_max(st, &min, &max); 311 return (min * (1 << 16)) / (max - min); 318 unsigned int min, max; local 332 ad5421_get_current_min_max(st, &min, &max); 281 ad5421_get_current_min_max(struct ad5421_state *st, unsigned int *min, unsigned int *max) argument [all...] |
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | selftest_slpc.c | 60 pr_err("Unable to update max freq"); 73 static int slpc_restore_freq(struct intel_guc_slpc *slpc, u32 min, u32 max) argument 77 err = slpc_set_max_freq(slpc, max); 79 pr_err("Unable to restore max freq"); 118 /* Go from max to min in 5 steps */ 154 /* Go from min to max in 5 steps */ 189 } min, max; local 206 max.freq = slpc->rp0_freq; 207 err = measure_power_at_freq(gt, &max.freq, &max [all...] |