Home
last modified time | relevance | path

Searched +defs:val +defs:max (Results 1 – 25 of 518) sorted by relevance

12345678910>>...21

/linux-6.14.4/sound/soc/
Dsoc-ops.c64 unsigned int val, item; in snd_soc_get_enum_double() local
96 unsigned int val; in snd_soc_put_enum_double() local
134 unsigned int val; in snd_soc_read_signed() local
181 int max; in snd_soc_info_volsw() local
224 int max; in snd_soc_info_volsw_sx() local
264 int max = mc->max; in snd_soc_get_volsw() local
269 int val; in snd_soc_get_volsw() local
324 int max = mc->max; in snd_soc_put_volsw() local
332 unsigned int val, val_mask; in snd_soc_put_volsw() local
406 int max = mc->max; in snd_soc_get_volsw_sx() local
[all …]
/linux-6.14.4/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-ram.c13 u8 val) in can_ram_clamp()
15 u8 max; in can_ram_clamp() local
24 const u8 coalesce, u8 val) in can_ram_rounddown_pow_of_two()
116 u8 max; in can_ram_get_layout() local
139 u8 max; in can_ram_get_layout() local
/linux-6.14.4/sound/soc/codecs/
Dtas2781-comlib.c118 unsigned short chn, unsigned int reg, unsigned int *val) in tasdevice_dev_read()
458 static int tasdevice_clamp(int val, int max, unsigned int invert) in tasdevice_clamp()
474 int max = mc->max; in tasdevice_amp_putvol() local
476 int val, i, ret; in tasdevice_amp_putvol() local
500 int max = mc->max; in tasdevice_amp_getvol() local
502 int val; in tasdevice_amp_getvol() local
527 int max = mc->max; in tasdevice_digital_putvol() local
530 int val, i; in tasdevice_digital_putvol() local
554 int max = mc->max; in tasdevice_digital_getvol() local
555 int ret, val; in tasdevice_digital_getvol() local
Daudio-iio-aux.c23 int max; member
51 int max = chan->max; in audio_iio_aux_get_volsw() local
55 int val; in audio_iio_aux_get_volsw() local
72 int max = chan->max; in audio_iio_aux_put_volsw() local
75 int val; in audio_iio_aux_put_volsw() local
/linux-6.14.4/lib/
Dtest_maple_tree.c228 unsigned long max, bool verbose) in check_rev_seq()
260 static noinline void __init check_seq(struct maple_tree *mt, unsigned long max, in check_seq()
351 void *val; in check_rev_find() local
389 unsigned long val = 0; in check_find() local
391 unsigned long max; in check_find() local
991 int i, val, val2; in check_ranges() local
1789 int i, max = 4000; in check_node_overwrite() local
1802 int i, brk = 105, max = 1040, brk_start = 100, count = 20000000; in bench_slot_store() local
1818 int i, overwrite = 76, max = 240, count = 20000000; in bench_node_store() local
1837 int i, max = 2500, count = 50000000; in bench_awalk() local
[all …]
/linux-6.14.4/sound/pci/hda/
Dtas2781_hda_spi.c123 unsigned int *val) in tasdevice_spi_dev_read()
230 int ret, val; in tasdevice_spi_dev_update_bits() local
317 int max = mc->max; in tasdevice_spi_amp_putvol() local
318 int val, ret; in tasdevice_spi_amp_putvol() local
339 int max = mc->max; in tasdevice_spi_amp_getvol() local
340 int ret, val; in tasdevice_spi_amp_getvol() local
363 int max = mc->max; in tasdevice_spi_digital_putvol() local
364 int val, ret; in tasdevice_spi_digital_putvol() local
381 int max = mc->max; in tasdevice_spi_digital_getvol() local
382 int ret, val; in tasdevice_spi_digital_getvol() local
[all …]
/linux-6.14.4/drivers/perf/hisilicon/
Dhisi_uncore_sllc_pmu.c51 static bool tgtid_is_valid(u32 max, u32 min) in tgtid_is_valid()
62 u32 val; in hisi_sllc_pmu_enable_tracetag() local
76 u32 val; in hisi_sllc_pmu_disable_tracetag() local
88 u32 max = hisi_get_tgtid_max(event); in hisi_sllc_pmu_config_tgtid() local
91 u32 val = (max << SLLC_TGTID_MAX_SHIFT) | (min << SLLC_TGTID_MIN_SHIFT); in hisi_sllc_pmu_config_tgtid() local
105 u32 max = hisi_get_tgtid_max(event); in hisi_sllc_pmu_clear_tgtid() local
108 u32 val; in hisi_sllc_pmu_clear_tgtid() local
124 u32 val, msk; in hisi_sllc_pmu_config_srcid() local
142 u32 val; in hisi_sllc_pmu_clear_srcid() local
183 struct hw_perf_event *hwc, u64 val) in hisi_sllc_pmu_write_counter()
[all …]
/linux-6.14.4/drivers/regulator/
Dda903x-regulator.c104 uint8_t val, mask; in da903x_set_voltage_sel() local
119 uint8_t val, mask; in da903x_get_voltage_sel() local
173 uint8_t val, mask; in da9030_set_ldo1_15_voltage_sel() local
236 uint8_t val, mask; in da9034_set_dvc_voltage_sel() local
309 #define DA903x_LDO(_pmic, _id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument
329 #define DA903x_DVC(_pmic, _id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument
351 #define DA9034_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument
354 #define DA9030_LDO(_id, min, max, step, vreg, shift, nbits, ereg, ebit) \ argument
357 #define DA9030_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument
361 #define DA9034_DVC(_id, min, max, step, vreg, nbits, ureg, ubit, ereg, ebit) \ argument
[all …]
Dmax8973-regulator.c159 struct max8973_chip *max = rdev_get_drvdata(rdev); in max8973_dcdc_get_voltage_sel() local
175 struct max8973_chip *max = rdev_get_drvdata(rdev); in max8973_dcdc_set_voltage_sel() local
211 struct max8973_chip *max = rdev_get_drvdata(rdev); in max8973_dcdc_set_mode() local
239 struct max8973_chip *max = rdev_get_drvdata(rdev); in max8973_dcdc_get_mode() local
256 struct max8973_chip *max = rdev_get_drvdata(rdev); in max8973_set_current_limit() local
257 unsigned int val; in max8973_set_current_limit() local
279 struct max8973_chip *max = rdev_get_drvdata(rdev); in max8973_get_current_limit() local
316 static int max8973_init_dcdc(struct max8973_chip *max, in max8973_init_dcdc()
438 unsigned int val; in max8973_thermal_read_temp() local
590 struct max8973_chip *max; in max8973_probe() local
Dbd71815-regulator.c199 int ret = 0, val; in buck12_set_hw_dvs_levels() local
297 int ret, regh, regl, val; in bd7181x_buck12_get_voltage_sel() local
329 int ret, val, reg, regh, regl; in bd7181x_buck12_set_voltage_sel() local
426 #define BD71815_BUCK_REG(_name, _id, vsel, ereg, min, max, step, _dvs) \ argument
448 #define BD71815_BUCK12_REG(_name, _id, vsel, ereg, min, max, step, \ argument
494 #define BD71815_LDO_REG(_name, _id, vsel, ereg, emsk, min, max, step, \ argument
Dmt6358-regulator.c36 #define MT6358_BUCK(match, vreg, supply, min, max, step, \ argument
90 #define MT6358_LDO1(match, vreg, supply, min, max, step, \ argument
137 #define MT6366_BUCK(match, vreg, min, max, step, \ argument
191 #define MT6366_LDO1(match, vreg, supply, min, max, step, \ argument
408 int val; in mt6358_regulator_set_mode() local
647 unsigned int val; in mt6358_sync_vcn33_setting() local
Dpv88060-regulator.c97 int val = 0; in pv88060_buck_set_mode() local
145 #define PV88060_BUCK(chip, regl_name, min, step, max, limits_array) \ argument
170 #define PV88060_LDO(chip, regl_name, min, step, max) \ argument
190 #define PV88060_SW(chip, regl_name, max) \ argument
/linux-6.14.4/drivers/base/regmap/
Dregcache.c29 unsigned int reg, val; in regcache_hw_init() local
289 unsigned int val) in regcache_reg_needs_sync()
308 unsigned int max) in regcache_default_sync()
313 unsigned int val; in regcache_default_sync() local
453 unsigned int max) in regcache_sync_region()
511 unsigned int max) in regcache_drop_region()
606 unsigned int val; in regcache_reg_cached() local
620 unsigned int val) in regcache_set_val()
720 int regcache_sync_val(struct regmap *map, unsigned int reg, unsigned int val) in regcache_sync_val()
749 unsigned int i, regtmp, val; in regcache_sync_block_single() local
[all …]
Dregcache-maple.c39 unsigned int val) in regcache_maple_write()
107 unsigned int max) in regcache_maple_drop()
190 unsigned int min, unsigned int max) in regcache_maple_sync_block()
238 unsigned int max) in regcache_maple_sync()
/linux-6.14.4/drivers/iio/dac/
Dad5421.c135 unsigned int reg, unsigned int val) in ad5421_write_unlocked()
145 unsigned int val) in ad5421_write()
282 unsigned int *min, unsigned int *max) in ad5421_get_current_min_max()
308 unsigned int min, max; in ad5421_get_offset() local
315 struct iio_chan_spec const *chan, int *val, int *val2, long m) in ad5421_read_raw()
318 unsigned int min, max; in ad5421_read_raw() local
357 struct iio_chan_spec const *chan, int val, int val2, long mask) in ad5421_write_raw()
442 enum iio_event_direction dir, enum iio_event_info info, int *val, in ad5421_read_event_value()
/linux-6.14.4/fs/ceph/
Ddebugfs.c130 #define CEPH_LAT_METRIC_SHOW(name, total, avg, min, max, sq) { \ argument
143 #define CEPH_SZ_METRIC_SHOW(name, total, avg, min, max, sum) { \ argument
178 s64 total, avg, min, max, sq; in metrics_latency_show() local
205 u64 sum, avg, min, max; in metrics_size_show() local
379 static int congestion_kb_set(void *data, u64 val) in congestion_kb_set()
387 static int congestion_kb_get(void *data, u64 *val) in congestion_kb_get()
/linux-6.14.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb.c22 __u16 *max, int max_frame) in ixgbe_ieee_credits()
40 int val = min(bw[i] * multiplier, MAX_CREDIT_REFILL); in ixgbe_ieee_credits() local
183 void ixgbe_dcb_unpack_max(struct ixgbe_dcb_config *cfg, u16 *max) in ixgbe_dcb_unpack_max()
258 u16 max[MAX_TRAFFIC_CLASS]; in ixgbe_dcb_hw_config() local
305 __u16 refill[IEEE_8021QAZ_MAX_TCS], max[IEEE_8021QAZ_MAX_TCS]; in ixgbe_dcb_hw_ets() local
337 u16 *refill, u16 *max, u8 *bwg_id, in ixgbe_dcb_hw_ets_config()
/linux-6.14.4/samples/bpf/
Dlathist_user.c18 long max; member
23 static void stars(char *str, long val, long max, int width) in stars()
/linux-6.14.4/tools/testing/selftests/nolibc/
Dnolibc-test.c199 #define EXPECT_NZ(cond, expr, val) \ argument
213 #define EXPECT_EQ(cond, expr, val) \ argument
217 int expect_eq(uint64_t expr, int llen, uint64_t val) in expect_eq()
227 #define EXPECT_NE(cond, expr, val) \ argument
231 int expect_ne(int expr, int llen, int val) in expect_ne()
241 #define EXPECT_GE(cond, expr, val) \ argument
245 int expect_ge(int expr, int llen, int val) in expect_ge()
255 #define EXPECT_GT(cond, expr, val) \ argument
259 int expect_gt(int expr, int llen, int val) in expect_gt()
269 #define EXPECT_LE(cond, expr, val) \ argument
[all …]
/linux-6.14.4/drivers/media/common/
Dcx2341x.c120 s32 *min, s32 *max, s32 *step, s32 *def, u32 *flags) in cx2341x_ctrl_fill()
538 s32 min, s32 max, s32 step, s32 def) in cx2341x_ctrl_query_fill()
1324 s32 val = ctrl->val; in cx2341x_try_ctrl() local
1372 s32 val = ctrl->val; in cx2341x_s_ctrl() local
1540 u32 id, s32 min, s32 max, s32 step, s32 def) in cx2341x_ctrl_new_custom()
1563 u32 id, s32 min, s32 max, s32 step, s32 def) in cx2341x_ctrl_new_std()
1569 u32 id, s32 max, s32 mask, s32 def) in cx2341x_ctrl_new_menu()
/linux-6.14.4/drivers/spi/
Dspi-img-spfi.c109 static inline void spfi_writel(struct img_spfi *spfi, u32 val, u32 reg) in spfi_writel()
116 u32 val; in spfi_start() local
151 unsigned int max) in spfi_pio_write32()
169 unsigned int max) in spfi_pio_write8()
187 unsigned int max) in spfi_pio_read32()
206 unsigned int max) in spfi_pio_read8()
411 u32 val; in img_spfi_prepare() local
444 u32 val, div; in img_spfi_config() local
/linux-6.14.4/drivers/crypto/
Dqcom-rng.c53 static int qcom_rng_read(struct qcom_rng *rng, u8 *data, unsigned int max) in qcom_rng_read()
56 u32 val; in qcom_rng_read() local
116 static int qcom_hwrng_read(struct hwrng *hwrng, void *data, size_t max, bool wait) in qcom_hwrng_read()
125 u32 val; in qcom_rng_enable() local
/linux-6.14.4/tools/perf/util/
Dspark.c11 int print_spark(char *bf, int size, unsigned long *val, int numval) in print_spark()
17 unsigned long min = ULONG_MAX, max = 0, f; in print_spark() local
/linux-6.14.4/drivers/gpu/drm/i915/display/
Dintel_fixed.h15 u32 val; member
20 static inline bool is_fixed16_zero(uint_fixed_16_16_t val) in is_fixed16_zero()
25 static inline uint_fixed_16_16_t u32_to_fixed16(u32 val) in u32_to_fixed16()
55 uint_fixed_16_16_t max = { .val = max(max1.val, max2.val) }; in max_fixed16() local
60 static inline uint_fixed_16_16_t clamp_u64_to_fixed16(u64 val) in clamp_u64_to_fixed16()
69 static inline u32 div_round_up_fixed16(uint_fixed_16_16_t val, in div_round_up_fixed16()
75 static inline u32 mul_round_up_u32_fixed16(u32 val, uint_fixed_16_16_t mul) in mul_round_up_u32_fixed16()
86 static inline uint_fixed_16_16_t mul_fixed16(uint_fixed_16_16_t val, in mul_fixed16()
97 static inline uint_fixed_16_16_t div_fixed16(u32 val, u32 d) in div_fixed16()
107 static inline u32 div_round_up_u32_fixed16(u32 val, uint_fixed_16_16_t d) in div_round_up_u32_fixed16()
[all …]
/linux-6.14.4/drivers/char/hw_random/
Dexynos-trng.c82 static int exynos_trng_do_read_reg(struct hwrng *rng, void *data, size_t max, in exynos_trng_do_read_reg()
86 int val; in exynos_trng_do_read_reg() local
100 static int exynos_trng_do_read_smc(struct hwrng *rng, void *data, size_t max, in exynos_trng_do_read_smc()
137 u32 val; in exynos_trng_init_reg() local

12345678910>>...21