Home
last modified time | relevance | path

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

123

/linux-6.12.1/drivers/hwmon/
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()
738 data->tach[MIN][sattr->index] = rpm2tach(val); in tach_store()
741 data->tach[MIN][sattr->index]); in tach_store()
816 case MIN: in pwm_store()
1097 static SENSOR_DEVICE_ATTR_2_RW(in0_min, voltage, MIN, 0);
1101 static SENSOR_DEVICE_ATTR_2_RW(in1_min, voltage, MIN, 1);
[all …]
/linux-6.12.1/arch/um/drivers/
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.12.1/tools/testing/selftests/power_supply/
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.12.1/include/linux/
Dunicode.h14 #define UNICODE_AGE(MAJ, MIN, REV) \ argument
16 ((unsigned int)(MIN) << UNICODE_MIN_SHIFT) | \
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dio/dcn401/
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.12.1/lib/zstd/common/
Dzstd_internal.h47 #undef MIN
49 #define MIN(a,b) ((a)<(b) ? (a) : (b)) macro
51 #define BOUNDED(min,val,max) (MAX(min,MIN(val,max)))
249 size_t const length = MIN(dstCapacity, srcSize); in ZSTD_limitCopy()
/linux-6.12.1/drivers/media/dvb-frontends/
Dstv0367_priv.h28 #ifndef MIN
30 #define MIN(X, Y) ((X) <= (Y) ? (X) : (Y)) macro
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dio/dcn32/
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.12.1/drivers/gpu/drm/amd/display/modules/hdcp/
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.12.1/drivers/gpu/drm/nouveau/dispnv50/
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.12.1/tools/perf/util/
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 ')'
Dexpr.l120 min { return MIN; }
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dio/dcn321/
Ddcn321_dio_link_encoder.c37 #ifndef MIN
38 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
/linux-6.12.1/tools/testing/selftests/net/mptcp/
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.12.1/block/
Dmq-deadline.c811 #define STORE_FUNCTION(__FUNC, __PTR, MIN, MAX, __CONV) \ argument
820 if (__data < (MIN)) \
821 __data = (MIN); \
827 #define STORE_INT(__FUNC, __PTR, MIN, MAX) \ argument
828 STORE_FUNCTION(__FUNC, __PTR, MIN, MAX, )
829 #define STORE_JIFFIES(__FUNC, __PTR, MIN, MAX) \ argument
830 STORE_FUNCTION(__FUNC, __PTR, MIN, MAX, msecs_to_jiffies)
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dio/dcn20/
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.12.1/drivers/net/wireless/ath/
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.12.1/drivers/gpu/drm/amd/display/dc/dio/dcn31/
Ddcn31_dio_link_encoder.c66 #ifndef MIN
67 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
658 link_settings->lane_count = MIN(LANE_COUNT_TWO, link_settings->lane_count); in dcn31_link_encoder_get_max_link_cap()
680 link_settings->lane_count = MIN(LANE_COUNT_TWO, link_settings->lane_count); in dcn31_link_encoder_get_max_link_cap()
/linux-6.12.1/usr/
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.12.1/tools/testing/selftests/mm/
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()
746 rand_size = MAX(MIN(threshold_mb * _1MB, in main()
/linux-6.12.1/scripts/kconfig/lxdialog/
Dtextbox.c89 line += MIN(strlen(line), hscroll); /* Scroll horizontally */ in print_line()
92 waddnstr(win, line, MIN(strlen(line), width - 2)); in print_line()
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.12.1/lib/zstd/compress/
Dzstd_ldm.c34 unsigned maxBitsInMask = MIN(params->minMatchLength, 64); in ZSTD_ldm_gear_init()
152 params->bucketSizeLog = MIN(params->bucketSizeLog, params->hashLog); in ZSTD_ldm_adjustParameters()
158 size_t const ldmBucketSizeLog = MIN(params.bucketSizeLog, params.hashLog); in ZSTD_ldm_getTableSize()
317 curr - MIN(512, curr - ms->nextToUpdate - 1024); in ZSTD_ldm_limitTableUpdate()
/linux-6.12.1/drivers/clk/at91/
Dpmc.h40 #define CLK_RANGE(MIN, MAX) {.min = MIN, .max = MAX,} argument
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dsnprintf.c96 memcpy(skel->rodata->fmt, fmt, MIN(strlen(fmt) + 1, 10)); in load_single_snprintf()

123