Home
last modified time | relevance | path

Searched refs:MIN (Results 1 – 25 of 75) sorted by relevance

123

/linux-6.15/drivers/hwmon/
H A Dadt7475.c29 MIN = 1, enumerator
375 if (sattr->nr == MIN) in voltage_store()
380 if (sattr->nr == MIN) in voltage_store()
385 if (sattr->nr == MIN) in voltage_store()
523 case MIN: in temp_store()
816 case MIN: in pwm_store()
1397 data->voltage[MIN][i] = ret << 2; in adt7475_update_limits()
1409 data->voltage[MIN][5] = ret << 2; in adt7475_update_limits()
1434 data->temp[MIN][i] = ret << 2; in adt7475_update_limits()
1464 data->tach[MIN][i] = ret; in adt7475_update_limits()
[all …]
/linux-6.15/lib/zstd/common/
H A Dzstd_internal.h46 #undef MIN
48 #define MIN(a,b) ((a)<(b) ? (a) : (b)) macro
50 #define BOUNDED(min,val,max) (MAX(min,MIN(val,max)))
244 size_t const length = MIN(dstCapacity, srcSize); in ZSTD_limitCopy()
/linux-6.15/tools/testing/selftests/power_supply/
H A Dhelpers.sh91 MIN=$2
100 if [ "$DATA" -lt "$MIN" ] || [ "$DATA" -gt "$MAX" ]; then
101 ktap_print_msg "'$DATA' is out of range (min=$MIN, max=$MAX)"
/linux-6.15/arch/um/drivers/
H A Dmconsole_user.c74 #ifndef MIN
75 #define MIN(a,b) ((a)<(b) ? (a):(b)) macro
95 len = MIN(sizeof(req->request.data) - 1, in mconsole_get_request()
145 len = MIN(total, MCONSOLE_MAX_DATA - 1); in mconsole_reply_len()
/linux-6.15/include/linux/
H A Dunicode.h14 #define UNICODE_AGE(MAJ, MIN, REV) \ argument
16 ((unsigned int)(MIN) << UNICODE_MIN_SHIFT) | \
/linux-6.15/drivers/gpu/drm/amd/display/dc/dio/dcn401/
H A Ddcn401_dio_link_encoder.c39 #ifndef MIN
40 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
64 #ifndef MIN
65 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
/linux-6.15/drivers/media/dvb-frontends/
H A Dstv0367_priv.h28 #ifndef MIN
30 #define MIN(X, Y) ((X) <= (Y) ? (X) : (Y)) macro
/linux-6.15/drivers/gpu/drm/amd/display/dc/dio/dcn32/
H A Ddcn32_dio_link_encoder.c40 #ifndef MIN
41 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
193 link_settings->lane_count = MIN(LANE_COUNT_TWO, link_settings->lane_count); in dcn32_link_encoder_get_max_link_cap()
/linux-6.15/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp_ddc.c28 #ifndef MIN
29 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
171 cur_size = MIN(buf_len, HDCP_MAX_AUX_TRANSACTION_SIZE); in read()
210 cur_size = MIN(buf_len, read_size); in read_repeatedly()
242 cur_size = MIN(buf_len, HDCP_MAX_AUX_TRANSACTION_SIZE); in write()
523 rx_id_list_size = MIN((21 + 5 * device_count), in mod_hdcp_read_rx_id_list()
/linux-6.15/drivers/gpu/drm/nouveau/dispnv50/
H A Dwndwc37e.c122 NVVAL(NVC37E, SET_KEY_ALPHA, MIN, 0x0000) | in wndwc37e_blend_set()
126 NVVAL(NVC37E, SET_KEY_RED_CR, MIN, 0x0000) | in wndwc37e_blend_set()
130 NVVAL(NVC37E, SET_KEY_GREEN_Y, MIN, 0x0000) | in wndwc37e_blend_set()
134 NVVAL(NVC37E, SET_KEY_BLUE_CB, MIN, 0x0000) | in wndwc37e_blend_set()
/linux-6.15/tools/perf/util/
H A Dexpr.y44 %token ID NUMBER MIN MAX IF ELSE LITERAL D_RATIO SOURCE_COUNT HAS_EVENT STRCMP_CPUID_STR EXPR_ERROR
45 %left MIN MAX IF
356 | MIN '(' expr ',' expr ')'
H A Dexpr.l120 min { return MIN; }
/linux-6.15/drivers/gpu/drm/amd/display/dc/dio/dcn321/
H A Ddcn321_dio_link_encoder.c37 #ifndef MIN
38 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
/linux-6.15/block/
H A Dmq-deadline.c803 #define STORE_FUNCTION(__FUNC, __PTR, MIN, MAX, __CONV) \ argument
812 if (__data < (MIN)) \
813 __data = (MIN); \
819 #define STORE_INT(__FUNC, __PTR, MIN, MAX) \ argument
820 STORE_FUNCTION(__FUNC, __PTR, MIN, MAX, )
821 #define STORE_JIFFIES(__FUNC, __PTR, MIN, MAX) \ argument
822 STORE_FUNCTION(__FUNC, __PTR, MIN, MAX, msecs_to_jiffies)
/linux-6.15/tools/testing/selftests/net/mptcp/
H A Dmptcp_sockopt.c126 #ifndef MIN
127 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
395 MIN(ti.d.size_kernel, sizeof(struct tcp_info))); in do_getsockopt_tcp_info()
450 MIN(addrs.d.size_kernel, sizeof(struct mptcp_subflow_addrs))); in do_getsockopt_subflow_addrs()
526 MIN(mfi.size_tcpinfo_kernel, sizeof(struct tcp_info))); in do_getsockopt_mptcp_full_info()
529 MIN(mfi.size_sfinfo_kernel, sizeof(struct mptcp_subflow_info))); in do_getsockopt_mptcp_full_info()
/linux-6.15/drivers/gpu/drm/amd/display/dc/dio/dcn20/
H A Ddcn20_link_encoder.c54 #ifndef MIN
55 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
280 link_settings->lane_count = MIN(LANE_COUNT_TWO, link_settings->lane_count); in dcn20_link_encoder_get_max_link_cap()
/linux-6.15/drivers/net/wireless/ath/
H A Ddfs_pri_detector.c28 #define GET_PRI_TO_USE(MIN, MAX, RUNTIME) \ argument
29 (MIN + PRI_TOLERANCE == MAX - PRI_TOLERANCE ? \
30 MIN + PRI_TOLERANCE : RUNTIME)
/linux-6.15/drivers/gpu/drm/amd/display/dc/dio/dcn31/
H A Ddcn31_dio_link_encoder.c66 #ifndef MIN
67 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
659 link_settings->lane_count = MIN(LANE_COUNT_TWO, link_settings->lane_count); in dcn31_link_encoder_get_max_link_cap()
681 link_settings->lane_count = MIN(LANE_COUNT_TWO, link_settings->lane_count); in dcn31_link_encoder_get_max_link_cap()
/linux-6.15/usr/
H A Dgen_init_cpio.c25 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
305 size_t i, this_size = MIN(size, sizeof(filebuf)); in cpio_mkfile_csum()
412 size_t this_size = MIN(size, sizeof(filebuf)); in cpio_mkfile()
/linux-6.15/scripts/kconfig/lxdialog/
H A Dtextbox.c89 line += MIN(strlen(line), hscroll); /* Scroll horizontally */ in print_line()
92 waddnstr(win, line, MIN(strlen(line), width - 2)); in print_line()
H A Dchecklist.c127 max_choice = MIN(list_height, item_count()); in dialog_checklist()
170 check_x = MIN(check_x, list_width); in dialog_checklist()
/linux-6.15/tools/testing/selftests/mm/
H A Dmremap_test.c25 #ifndef MIN
26 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
397 threshold = MIN(threshold_mb * _1MB, c.region_size); in remap_region()
747 rand_size = MAX(MIN(threshold_mb * _1MB, in main()
/linux-6.15/drivers/clk/at91/
H A Dpmc.h40 #define CLK_RANGE(MIN, MAX) {.min = MIN, .max = MAX,} argument
/linux-6.15/lib/zstd/compress/
H A Dzstd_ldm.c35 unsigned maxBitsInMask = MIN(params->minMatchLength, 64); in ZSTD_ldm_gear_init()
167 params->bucketSizeLog = MIN(params->bucketSizeLog, params->hashLog); in ZSTD_ldm_adjustParameters()
173 size_t const ldmBucketSizeLog = MIN(params.bucketSizeLog, params.hashLog); in ZSTD_ldm_getTableSize()
337 curr - MIN(512, curr - ms->nextToUpdate - 1024); in ZSTD_ldm_limitTableUpdate()
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dsnprintf.c96 memcpy(skel->rodata->fmt, fmt, MIN(strlen(fmt) + 1, 10)); in load_single_snprintf()

123