Home
last modified time | relevance | path

Searched refs:MIN (Results 1 - 25 of 124) sorted by relevance

12345

/kernel/linux/linux-5.10/tools/perf/util/
H A Dexpr.y39 %token MIN MAX IF ELSE SMT_ON D_RATIO
40 %left MIN MAX IF
75 MIN | MAX | IF | ELSE | SMT_ON | NUMBER | '|' | '^' | '&' | '-' | '+' | '*' | '/' | '%' | '(' | ')' | ','
121 | MIN '(' expr ',' expr ')' { $$ = $3 < $5 ? $3 : $5; }
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dadt7475.c28 #define MIN 1 macro
367 if (sattr->nr == MIN) in voltage_store()
372 if (sattr->nr == MIN) in voltage_store()
510 case MIN: in temp_store()
725 data->tach[MIN][sattr->index] = rpm2tach(val); in tach_store()
728 data->tach[MIN][sattr->index]); in tach_store()
803 case MIN: in pwm_store()
1084 static SENSOR_DEVICE_ATTR_2_RW(in0_min, voltage, MIN, 0);
1088 static SENSOR_DEVICE_ATTR_2_RW(in1_min, voltage, MIN, 1);
1092 static SENSOR_DEVICE_ATTR_2_RW(in2_min, voltage, MIN,
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dadt7475.c27 #define MIN 1 macro
368 if (sattr->nr == MIN) in voltage_store()
373 if (sattr->nr == MIN) in voltage_store()
511 case MIN: in temp_store()
726 data->tach[MIN][sattr->index] = rpm2tach(val); in tach_store()
729 data->tach[MIN][sattr->index]); in tach_store()
804 case MIN: in pwm_store()
1085 static SENSOR_DEVICE_ATTR_2_RW(in0_min, voltage, MIN, 0);
1089 static SENSOR_DEVICE_ATTR_2_RW(in1_min, voltage, MIN, 1);
1093 static SENSOR_DEVICE_ATTR_2_RW(in2_min, voltage, MIN,
[all...]
/kernel/linux/linux-5.10/fs/unicode/
H A Dutf8n.h19 #define UNICODE_AGE(MAJ, MIN, REV) \
21 ((unsigned int)(MIN) << UNICODE_MIN_SHIFT) | \
/kernel/linux/linux-6.6/include/linux/
H A Dunicode.h14 #define UNICODE_AGE(MAJ, MIN, REV) \
16 ((unsigned int)(MIN) << UNICODE_MIN_SHIFT) | \
/kernel/linux/linux-6.6/lib/zstd/common/
H A Dzstd_internal.h47 #undef MIN macro
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()
/kernel/linux/linux-5.10/arch/um/drivers/
H A Dmconsole_user.c74 #define MIN(a,b) ((a)<(b) ? (a):(b)) macro
93 len = MIN(sizeof(req->request.data) - 1, in mconsole_get_request()
143 len = MIN(total, MCONSOLE_MAX_DATA - 1); in mconsole_reply_len()
/kernel/linux/linux-6.6/arch/um/drivers/
H A Dmconsole_user.c74 #define MIN(a,b) ((a)<(b) ? (a):(b)) macro
93 len = MIN(sizeof(req->request.data) - 1, in mconsole_get_request()
143 len = MIN(total, MCONSOLE_MAX_DATA - 1); in mconsole_reply_len()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/
H A Ddcn32_dio_link_encoder.c39 #ifndef MIN
40 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
147 link_settings->lane_count = MIN(LANE_COUNT_TWO, link_settings->lane_count); in dcn32_link_encoder_get_max_link_cap()
/kernel/linux/linux-5.10/kernel/trace/
H A Dpreemptirq_delay_test.c34 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
115 int s = MIN(burst_size, NR_TEST_FUNCS); in preemptirq_delay_run()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn321/
H A Ddcn321_dio_link_encoder.c38 #ifndef MIN
39 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
/kernel/linux/linux-6.6/kernel/trace/
H A Dpreemptirq_delay_test.c37 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
121 int s = MIN(burst_size, NR_TEST_FUNCS); in preemptirq_delay_run()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dexpr.y42 %token ID NUMBER MIN MAX IF ELSE LITERAL D_RATIO SOURCE_COUNT HAS_EVENT STRCMP_CPUID_STR EXPR_ERROR
43 %left MIN MAX IF
354 | MIN '(' expr ',' expr ')'
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp_ddc.c28 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
161 cur_size = MIN(buf_len, HDCP_MAX_AUX_TRANSACTION_SIZE); in read()
196 cur_size = MIN(buf_len, read_size); in read_repeatedly()
220 cur_size = MIN(buf_len, HDCP_MAX_AUX_TRANSACTION_SIZE); in write()
497 rx_id_list_size = MIN((21 + 5 * device_count), in mod_hdcp_read_rx_id_list()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp_ddc.c28 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
161 cur_size = MIN(buf_len, HDCP_MAX_AUX_TRANSACTION_SIZE); in read()
196 cur_size = MIN(buf_len, read_size); in read_repeatedly()
220 cur_size = MIN(buf_len, HDCP_MAX_AUX_TRANSACTION_SIZE); in write()
497 rx_id_list_size = MIN((21 + 5 * device_count), in mod_hdcp_read_rx_id_list()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
H A Dwndwc37e.c127 NVVAL(NVC37E, SET_KEY_ALPHA, MIN, 0x0000) | in wndwc37e_blend_set()
131 NVVAL(NVC37E, SET_KEY_RED_CR, MIN, 0x0000) | in wndwc37e_blend_set()
135 NVVAL(NVC37E, SET_KEY_GREEN_Y, MIN, 0x0000) | in wndwc37e_blend_set()
139 NVVAL(NVC37E, SET_KEY_BLUE_CB, MIN, 0x0000) | in wndwc37e_blend_set()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn31/
H A 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()
/kernel/linux/linux-6.6/block/
H A Dmq-deadline.c989 #define STORE_FUNCTION(__FUNC, __PTR, MIN, MAX, __CONV) \
998 if (__data < (MIN)) \
999 __data = (MIN); \
1005 #define STORE_INT(__FUNC, __PTR, MIN, MAX) \
1006 STORE_FUNCTION(__FUNC, __PTR, MIN, MAX, )
1007 #define STORE_JIFFIES(__FUNC, __PTR, MIN, MAX) \
1008 STORE_FUNCTION(__FUNC, __PTR, MIN, MAX, msecs_to_jiffies)
/kernel/liteos_m/arch/risc-v/nuclei/gcc/nmsis/Core/Include/
H A Driscv_bits.h60 #define __RV_CLAMP(a, lo, hi) MIN(MAX(a, lo), hi)
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_link_encoder.c55 #ifndef MIN
56 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
281 link_settings->lane_count = MIN(LANE_COUNT_TWO, link_settings->lane_count); in dcn20_link_encoder_get_max_link_cap()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/
H A Ddfs_pri_detector.c28 #define GET_PRI_TO_USE(MIN, MAX, RUNTIME) \
29 (MIN + PRI_TOLERANCE == MAX - PRI_TOLERANCE ? \
30 MIN + PRI_TOLERANCE : RUNTIME)
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/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()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/
H A Ddfs_pri_detector.c28 #define GET_PRI_TO_USE(MIN, MAX, RUNTIME) \
29 (MIN + PRI_TOLERANCE == MAX - PRI_TOLERANCE ? \
30 MIN + PRI_TOLERANCE : RUNTIME)

Completed in 17 milliseconds

12345