| /linux/drivers/hwmon/ |
| H A D | adt7475.c | 29 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/lib/zstd/common/ |
| H A D | zstd_internal.h | 46 #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/arch/um/drivers/ |
| H A D | mconsole_user.c | 74 #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/tools/testing/selftests/power_supply/ |
| H A D | helpers.sh | 91 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/include/linux/ |
| H A D | unicode.h | 14 #define UNICODE_AGE(MAJ, MIN, REV) \ argument 16 ((unsigned int)(MIN) << UNICODE_MIN_SHIFT) | \
|
| /linux/drivers/gpu/drm/amd/display/dc/dio/dcn401/ |
| H A D | dcn401_dio_link_encoder.c | 39 #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/drivers/media/dvb-frontends/ |
| H A D | stv0367_priv.h | 28 #ifndef MIN 30 #define MIN(X, Y) ((X) <= (Y) ? (X) : (Y)) macro
|
| /linux/drivers/gpu/drm/amd/display/dc/dio/dcn32/ |
| H A D | dcn32_dio_link_encoder.c | 40 #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/drivers/gpu/drm/nouveau/dispnv50/ |
| H A D | wndwc37e.c | 123 NVVAL(NVC37E, SET_KEY_ALPHA, MIN, 0x0000) | in wndwc37e_blend_set() 127 NVVAL(NVC37E, SET_KEY_RED_CR, MIN, 0x0000) | in wndwc37e_blend_set() 131 NVVAL(NVC37E, SET_KEY_GREEN_Y, MIN, 0x0000) | in wndwc37e_blend_set() 135 NVVAL(NVC37E, SET_KEY_BLUE_CB, MIN, 0x0000) | in wndwc37e_blend_set()
|
| /linux/drivers/gpu/drm/amd/display/modules/hdcp/ |
| H A D | hdcp_ddc.c | 28 #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/tools/perf/util/ |
| H A D | expr.y | 44 %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 ')'
|
| /linux/block/ |
| H A D | mq-deadline.c | 766 #define STORE_FUNCTION(__FUNC, __PTR, MIN, MAX, __CONV) \ argument 775 if (__data < (MIN)) \ 776 __data = (MIN); \ 782 #define STORE_INT(__FUNC, __PTR, MIN, MAX) \ argument 783 STORE_FUNCTION(__FUNC, __PTR, MIN, MAX, ) 784 #define STORE_JIFFIES(__FUNC, __PTR, MIN, MAX) \ argument 785 STORE_FUNCTION(__FUNC, __PTR, MIN, MAX, msecs_to_jiffies)
|
| /linux/drivers/gpu/drm/amd/display/dc/dio/dcn321/ |
| H A D | dcn321_dio_link_encoder.c | 37 #ifndef MIN 38 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
|
| /linux/tools/testing/selftests/net/mptcp/ |
| H A D | mptcp_sockopt.c | 126 #ifndef MIN 127 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro 404 MIN(ti.d.size_kernel, sizeof(struct tcp_info))); in do_getsockopt_tcp_info() 459 MIN(addrs.d.size_kernel, sizeof(struct mptcp_subflow_addrs))); in do_getsockopt_subflow_addrs() 535 MIN(mfi.size_tcpinfo_kernel, sizeof(struct tcp_info))); in do_getsockopt_mptcp_full_info() 538 MIN(mfi.size_sfinfo_kernel, sizeof(struct mptcp_subflow_info))); in do_getsockopt_mptcp_full_info()
|
| /linux/drivers/gpu/drm/amd/display/dc/dio/dcn20/ |
| H A D | dcn20_link_encoder.c | 54 #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/drivers/net/wireless/ath/ |
| H A D | dfs_pri_detector.c | 28 #define GET_PRI_TO_USE(MIN, MAX, RUNTIME) \ argument 29 (MIN + PRI_TOLERANCE == MAX - PRI_TOLERANCE ? \ 30 MIN + PRI_TOLERANCE : RUNTIME)
|
| /linux/drivers/gpu/drm/amd/display/dc/dio/dcn31/ |
| H A D | dcn31_dio_link_encoder.c | 66 #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/scripts/kconfig/lxdialog/ |
| H A D | textbox.c | 89 line += MIN(strlen(line), hscroll); /* Scroll horizontally */ in print_line() 92 waddnstr(win, line, MIN(strlen(line), width - 2)); in print_line()
|
| H A D | checklist.c | 127 max_choice = MIN(list_height, item_count()); in dialog_checklist() 170 check_x = MIN(check_x, list_width); in dialog_checklist()
|
| /linux/mm/ |
| H A D | mseal.c | 69 unsigned long curr_end = MIN(vma->vm_end, end); in mseal_apply()
|
| /linux/lib/zstd/compress/ |
| H A D | zstd_ldm.c | 35 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/usr/ |
| H A D | gen_init_cpio.c | 26 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro 340 size_t i, this_size = MIN(size, sizeof(filebuf)); in cpio_mkfile_csum() 472 size_t this_size = MIN(size, sizeof(filebuf)); in cpio_mkfile()
|
| /linux/drivers/clk/at91/ |
| H A D | pmc.h | 40 #define CLK_RANGE(MIN, MAX) {.min = MIN, .max = MAX,} argument
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | arena_spin_lock.c | 62 nthreads = MIN(get_nprocs(), ARRAY_SIZE(thread_id)); in test_arena_spin_lock_size()
|
| H A D | snprintf.c | 96 memcpy(skel->rodata->fmt, fmt, MIN(strlen(fmt) + 1, 10)); in load_single_snprintf()
|