Home
last modified time | relevance | path

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

1234

/linux-6.6.21/drivers/hwmon/
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, 2);
[all …]
/linux-6.6.21/include/linux/
Dunicode.h14 #define UNICODE_AGE(MAJ, MIN, REV) \ argument
16 ((unsigned int)(MIN) << UNICODE_MIN_SHIFT) | \
/linux-6.6.21/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.6.21/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()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn32/
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()
/linux-6.6.21/kernel/trace/
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()
/linux-6.6.21/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.6.21/tools/perf/util/
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 ')'
Dexpr.l112 min { return MIN; }
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn321/
Ddcn321_dio_link_encoder.c38 #ifndef MIN
39 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
/linux-6.6.21/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.6.21/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()
/linux-6.6.21/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.6.21/drivers/gpu/drm/amd/display/dc/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.6.21/drivers/gpu/drm/amd/display/dc/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.6.21/block/
Dmq-deadline.c989 #define STORE_FUNCTION(__FUNC, __PTR, MIN, MAX, __CONV) \ argument
998 if (__data < (MIN)) \
999 __data = (MIN); \
1005 #define STORE_INT(__FUNC, __PTR, MIN, MAX) \ argument
1006 STORE_FUNCTION(__FUNC, __PTR, MIN, MAX, )
1007 #define STORE_JIFFIES(__FUNC, __PTR, MIN, MAX) \ argument
1008 STORE_FUNCTION(__FUNC, __PTR, MIN, MAX, msecs_to_jiffies)
/linux-6.6.21/usr/
Dgen_init_cpio.c25 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
304 size_t i, this_size = MIN(size, sizeof(filebuf)); in cpio_mkfile_csum()
405 size_t this_size = MIN(size, sizeof(filebuf)); in cpio_mkfile()
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega20_thermal.c134 *speed = MIN((uint32_t)tmp64, 255); in vega20_fan_ctrl_get_fan_speed_pwm()
147 speed = MIN(speed, 255); in vega20_fan_ctrl_set_fan_speed_pwm()
Dsmu7_thermal.c75 *speed = MIN((uint32_t)tmp64, 255); in smu7_fan_ctrl_get_fan_speed_pwm()
213 speed = MIN(speed, 255); in smu7_fan_ctrl_set_fan_speed_pwm()
/linux-6.6.21/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.6.21/drivers/clk/at91/
Dpmc.h40 #define CLK_RANGE(MIN, MAX) {.min = MIN, .max = MAX,} argument
/linux-6.6.21/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.6.21/drivers/media/dvb-frontends/
Dstv0367_priv.h29 #define MIN(X, Y) ((X) <= (Y) ? (X) : (Y)) macro
/linux-6.6.21/drivers/staging/media/atomisp/pci/hive_isp_css_include/
Dmath_support.h37 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro

1234