/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/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/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/lib/zstd/common/ |
H A D | zstd_internal.h | 47 #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/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/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/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | wndwc37e.c | 122 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/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 | 803 #define STORE_FUNCTION(__FUNC, __PTR, MIN, MAX, __CONV) \ argument 812 if (__data < (MIN)) \ 813 __data = (MIN); \ 819 #define STORE_INT(__FUNC, __PTR, MIN, MAX) \ argument 820 STORE_FUNCTION(__FUNC, __PTR, MIN, MAX, ) 821 #define STORE_JIFFIES(__FUNC, __PTR, MIN, MAX) \ argument 822 STORE_FUNCTION(__FUNC, __PTR, MIN, MAX, msecs_to_jiffies)
|
/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 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/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/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/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/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/usr/ |
H A D | gen_init_cpio.c | 25 #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/tools/testing/selftests/mm/ |
H A D | mremap_test.c | 25 #ifndef MIN 26 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro 397 threshold = MIN(threshold_mb * _1MB, c.region_size); in remap_region() 747 rand_size = MAX(MIN(threshold_mb * _1MB, in main()
|
/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/lib/zstd/compress/ |
H A D | zstd_ldm.c | 34 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()
|
H A D | zstd_lazy.c | 98 …size_t matchLength = MIN(commonLengthSmaller, commonLengthLarger); /* guaranteed minimum nb of c… in ZSTD_insertDUBT1() 190 …size_t matchLength = MIN(commonLengthSmaller, commonLengthLarger); /* guaranteed minimum nb of c… in ZSTD_DUBT_findBetterDictMatch() 314 …size_t matchLength = MIN(commonLengthSmaller, commonLengthLarger); /* guaranteed minimum nb of c… in ZSTD_DUBT_findBestMatch() 870 U32 const lim = idx + MIN(ZSTD_ROW_HASH_CACHE_SIZE, maxElemsToPrefetch); in ZSTD_row_fillHashCache() 971 const U32 mls = MIN(ms->cParams.minMatch, 6 /* mls caps out at 6 */); in ZSTD_row_update() 1145 …const U32 cappedSearchLog = MIN(cParams->searchLog, rowLog); /* nb of searches is capped at nb ent… in ZSTD_RowFindBestMatch() 1332 assert(MAX(4, MIN(6, ms->cParams.minMatch)) == mls); \ 1342 assert(MAX(4, MIN(6, ms->cParams.minMatch)) == mls); \ 1352 assert(MAX(4, MIN(6, ms->cParams.minMatch)) == mls); \ 1353 assert(MAX(4, MIN(6, ms->cParams.searchLog)) == rowLog); \ [all …]
|
/linux/drivers/clk/at91/ |
H A D | pmc.h | 40 #define CLK_RANGE(MIN, MAX) {.min = MIN, .max = MAX,} argument
|
/linux/lib/ |
H A D | decompress_unlzma.c | 40 #ifndef MIN 41 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro 617 wr.bufsize = MIN(header.dst_size, header.dict_size); in unlzma()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | snprintf.c | 96 memcpy(skel->rodata->fmt, fmt, MIN(strlen(fmt) + 1, 10)); in load_single_snprintf()
|