| /Linux-v5.4/drivers/hwmon/ |
| D | adt7475.c | 27 #define MIN 1 macro 364 if (sattr->nr == MIN) in voltage_store() 369 if (sattr->nr == MIN) in voltage_store() 507 case MIN: in temp_store() 722 data->tach[MIN][sattr->index] = rpm2tach(val); in tach_store() 725 data->tach[MIN][sattr->index]); in tach_store() 800 case MIN: in pwm_store() 1081 static SENSOR_DEVICE_ATTR_2_RW(in0_min, voltage, MIN, 0); 1085 static SENSOR_DEVICE_ATTR_2_RW(in1_min, voltage, MIN, 1); 1089 static SENSOR_DEVICE_ATTR_2_RW(in2_min, voltage, MIN, 2); [all …]
|
| /Linux-v5.4/tools/perf/util/ |
| D | expr.y | 28 %token MIN MAX IF ELSE SMT_ON 29 %left MIN MAX IF 89 | MIN '(' expr ',' expr ')' { $$ = $3 < $5 ? $3 : $5; } 125 return MIN;
|
| /Linux-v5.4/fs/unicode/ |
| D | utf8n.h | 19 #define UNICODE_AGE(MAJ, MIN, REV) \ argument 21 ((unsigned int)(MIN) << UNICODE_MIN_SHIFT) | \
|
| /Linux-v5.4/arch/um/drivers/ |
| D | mconsole_user.c | 74 #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-v5.4/drivers/net/wireless/ath/ |
| 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-v5.4/drivers/clk/at91/ |
| D | pmc.h | 34 #define CLK_RANGE(MIN, MAX) {.min = MIN, .max = MAX,} argument
|
| /Linux-v5.4/scripts/kconfig/lxdialog/ |
| 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()
|
| D | textbox.c | 333 line += MIN(strlen(line), hscroll); /* Scroll horizontally */ in print_line() 336 waddnstr(win, line, MIN(strlen(line), width - 2)); in print_line()
|
| D | menubox.c | 190 max_choice = MIN(menu_height, item_count()); in dialog_menu() 321 choice = MIN(choice + 1, max_choice - 1); in dialog_menu()
|
| D | dialog.h | 43 #define MIN(x,y) (x < y ? x : y) macro
|
| D | util.c | 355 int tlen = MIN(width - 2, strlen(title)); in print_title()
|
| /Linux-v5.4/drivers/media/dvb-frontends/ |
| D | stv0367_priv.h | 29 #define MIN(X, Y) ((X) <= (Y) ? (X) : (Y)) macro
|
| /Linux-v5.4/block/ |
| D | mq-deadline.c | 620 #define STORE_FUNCTION(__FUNC, __PTR, MIN, MAX, __CONV) \ argument 626 if (__data < (MIN)) \ 627 __data = (MIN); \
|
| /Linux-v5.4/drivers/staging/rtl8723bs/include/ |
| D | rtw_security.h | 403 #ifndef MIN 404 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) macro
|
| /Linux-v5.4/tools/testing/selftests/breakpoints/ |
| D | breakpoint_test_arm64.c | 217 result = run_test(size, MIN(size, 8), wr, wp); in main()
|
| /Linux-v5.4/lib/zstd/ |
| D | compress.c | 92 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_ABSOLUTEMAX, (size_t)1 << cParams.windowLog); in ZSTD_CCtxWorkspaceBound() 98 U32 const hashLog3 = (cParams.searchLength > 3) ? 0 : MIN(ZSTD_HASHLOG3_MAX, cParams.windowLog); in ZSTD_CCtxWorkspaceBound() 252 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_ABSOLUTEMAX, (size_t)1 << params.cParams.windowLog); in ZSTD_resetCCtx_advanced() 258 …U32 const hashLog3 = (params.cParams.searchLength > 3) ? 0 : MIN(ZSTD_HASHLOG3_MAX, params.cParams… in ZSTD_resetCCtx_advanced() 770 int const extraBits = ofBits - MIN(ofBits, STREAM_ACCUMULATOR_MIN - 1); in ZSTD_compressSequences_internal() 805 int const extraBits = ofBits - MIN(ofBits, STREAM_ACCUMULATOR_MIN - 1); in ZSTD_compressSequences_internal() 942 const BYTE *const vEnd = MIN(ip + (mEnd - match), iEnd); in ZSTD_count_2segments() 1590 …size_t matchLength = MIN(commonLengthSmaller, commonLengthLarger); /* guaranteed minimum nb of com… in ZSTD_insertBt1() 1637 return MIN(192, (U32)(bestLength - 384)); /* speed optimization */ in ZSTD_insertBt1() 1672 …size_t matchLength = MIN(commonLengthSmaller, commonLengthLarger); /* guaranteed minimum nb of com… in ZSTD_insertBtAndFindBestMatch() [all …]
|
| D | zstd_internal.h | 39 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
|
| D | decompress.c | 1194 int const extraBits = ofBits - MIN(ofBits, STREAM_ACCUMULATOR_MIN); in ZSTD_decodeSequenceLong_generic() 1377 int const seqAdvance = MIN(nbSeq, ADVANCED_SEQS); in ZSTD_decompressSequencesLong() 2186 size_t const blockSize = MIN(maxWindowSize, ZSTD_BLOCKSIZE_ABSOLUTEMAX); in ZSTD_DStreamWorkspaceBound() 2232 size_t const blockSize = MIN(zds->maxWindowSize, ZSTD_BLOCKSIZE_ABSOLUTEMAX); in ZSTD_initDStream() 2293 size_t const length = MIN(dstCapacity, srcSize); in ZSTD_limitCopy() 2367 size_t const blockSize = MIN(zds->maxWindowSize, ZSTD_BLOCKSIZE_ABSOLUTEMAX); in ZSTD_decompressStream()
|
| /Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn21/ |
| D | dcn21_resource.c | 271 #ifndef MIN 272 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro 1043 vlevel = MIN(MAX(vlevel_req, 2), vlevel_max); in dcn21_calculate_wm() 1048 vlevel = MIN(MAX(vlevel_req, 1), vlevel_max); in dcn21_calculate_wm() 1054 vlevel = MIN(vlevel_req, vlevel_max); in dcn21_calculate_wm()
|
| /Linux-v5.4/drivers/scsi/isci/ |
| D | init.c | 69 #define MIN 2 macro 71 #define DRV_VERSION __stringify(MAJ) "." __stringify(MIN) "." \
|
| /Linux-v5.4/lib/ |
| D | decompress_unlzma.c | 40 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro 615 wr.bufsize = MIN(header.dst_size, header.dict_size); in unlzma()
|
| /Linux-v5.4/drivers/nfc/pn544/ |
| D | i2c.c | 129 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro 134 #define PN544_FW_I2C_WRITE_DATA_MAX_LEN MIN((PN544_FW_I2C_MAX_PAYLOAD -\
|
| /Linux-v5.4/tools/perf/tests/ |
| D | code-reading.c | 173 written_bytes = MIN(read_bytes, *len - off); in read_objdump_output()
|
| /Linux-v5.4/tools/testing/selftests/net/ |
| D | nettest.c | 40 #ifndef MIN 41 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
|
| /Linux-v5.4/drivers/net/fjes/ |
| D | fjes_main.c | 18 #define MIN 2 macro 19 #define DRV_VERSION __stringify(MAJ) "." __stringify(MIN)
|