Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/tools/perf/util/
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; }
Dexpr.l105 min { return MIN; }
/kernel/linux/linux-5.10/drivers/hwmon/
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, 2);
[all …]
/kernel/linux/linux-5.10/fs/unicode/
Dutf8n.h19 #define UNICODE_AGE(MAJ, MIN, REV) \ argument
21 ((unsigned int)(MIN) << UNICODE_MIN_SHIFT) | \
/kernel/linux/linux-5.10/arch/um/drivers/
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-5.10/kernel/trace/
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-5.10/drivers/gpu/drm/nouveau/dispnv50/
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-5.10/drivers/gpu/drm/amd/display/modules/hdcp/
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/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)
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
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/clk/at91/
Dpmc.h38 #define CLK_RANGE(MIN, MAX) {.min = MIN, .max = MAX,} argument
/kernel/liteos_a/kernel/extended/perf/
Dlos_perf.c48 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
92 UINT32 eventNum = MIN(eventsCfg->eventsNr, PERF_MAX_EVENT); in OsPerfConfig()
418 *dstIdsNr = MIN(idsNr, PERF_MAX_FILTER_TSKS); in OsPerfSetFilterIds()
/kernel/liteos_m/arch/risc-v/nuclei/gcc/nmsis/Core/Include/
Driscv_bits.h60 #define __RV_CLAMP(a, lo, hi) MIN(MAX(a, lo), hi)
/kernel/linux/linux-5.10/scripts/kconfig/lxdialog/
Dtextbox.c333 line += MIN(strlen(line), hscroll); /* Scroll horizontally */ in print_line()
336 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()
Dmenubox.c190 max_choice = MIN(menu_height, item_count()); in dialog_menu()
321 choice = MIN(choice + 1, max_choice - 1); in dialog_menu()
Ddialog.h43 #define MIN(x,y) (x < y ? x : y) macro
/kernel/liteos_m/components/trace/
Dlos_trace.c62 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
103 …frame->core.taskLockCnt = MIN(OsPercpuGet()->taskLockCnt, 0xF); /* taskLockCnt is 4 bits, max valu… in OsTraceSetFrame()
/kernel/liteos_a/kernel/extended/trace/
Dlos_trace.c64 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
106 …frame->core.taskLockCnt = MIN(OsSchedLockCountGet(), 0xF); /* taskLockCnt is 4 bits, max value = 0… in OsTraceSetFrame()
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dstv0367_priv.h29 #define MIN(X, Y) ((X) <= (Y) ? (X) : (Y)) macro
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_include/
Dmath_support.h37 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
/kernel/liteos_a/fs/proc/src/
Dproc_file.c39 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
581 realLen = MIN((sb->count - pos), MIN(len, INT_MAX)); in ProcRead()
/kernel/uniproton/src/utility/lib/include/
Dprt_lib_external.h72 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
/kernel/linux/linux-5.10/block/
Dmq-deadline.c630 #define STORE_FUNCTION(__FUNC, __PTR, MIN, MAX, __CONV) \ argument
636 if (__data < (MIN)) \
637 __data = (MIN); \
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Drtw_security.h400 #ifndef MIN
401 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) macro

123