Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/hwmon/
Dadt7475.c28 #define MIN 1 macro
369 if (sattr->nr == MIN) in voltage_store()
374 if (sattr->nr == MIN) in voltage_store()
512 case MIN: in temp_store()
727 data->tach[MIN][sattr->index] = rpm2tach(val); in tach_store()
730 data->tach[MIN][sattr->index]); in tach_store()
805 case MIN: in pwm_store()
1086 static SENSOR_DEVICE_ATTR_2_RW(in0_min, voltage, MIN, 0);
1090 static SENSOR_DEVICE_ATTR_2_RW(in1_min, voltage, MIN, 1);
1094 static SENSOR_DEVICE_ATTR_2_RW(in2_min, voltage, MIN, 2);
[all …]
/linux-6.1.9/include/linux/
Dunicode.h14 #define UNICODE_AGE(MAJ, MIN, REV) \ argument
16 ((unsigned int)(MIN) << UNICODE_MIN_SHIFT) | \
/linux-6.1.9/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.1.9/tools/perf/util/
Dexpr.y40 %token ID NUMBER MIN MAX IF ELSE LITERAL D_RATIO SOURCE_COUNT EXPR_ERROR
41 %left MIN MAX IF
276 | MIN '(' expr ',' expr ')'
Dexpr.l107 min { return MIN; }
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_dio_link_encoder.c40 #ifndef MIN
41 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
148 link_settings->lane_count = MIN(LANE_COUNT_TWO, link_settings->lane_count); in dcn32_link_encoder_get_max_link_cap()
/linux-6.1.9/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.1.9/lib/zstd/common/
Dzstd_internal.h46 #undef MIN
48 #define MIN(a,b) ((a)<(b) ? (a) : (b)) macro
306 size_t const length = MIN(dstCapacity, srcSize); in ZSTD_limitCopy()
/linux-6.1.9/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.1.9/drivers/gpu/drm/amd/display/dc/dcn321/
Ddcn321_dio_link_encoder.c39 #ifndef MIN
40 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
/linux-6.1.9/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.1.9/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.1.9/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()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_dio_link_encoder.c66 #ifndef MIN
67 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
662 link_settings->lane_count = MIN(LANE_COUNT_TWO, link_settings->lane_count); in dcn31_link_encoder_get_max_link_cap()
684 link_settings->lane_count = MIN(LANE_COUNT_TWO, link_settings->lane_count); in dcn31_link_encoder_get_max_link_cap()
/linux-6.1.9/block/
Dmq-deadline.c948 #define STORE_FUNCTION(__FUNC, __PTR, MIN, MAX, __CONV) \ argument
957 if (__data < (MIN)) \
958 __data = (MIN); \
964 #define STORE_INT(__FUNC, __PTR, MIN, MAX) \ argument
965 STORE_FUNCTION(__FUNC, __PTR, MIN, MAX, )
966 #define STORE_JIFFIES(__FUNC, __PTR, MIN, MAX) \ argument
967 STORE_FUNCTION(__FUNC, __PTR, MIN, MAX, msecs_to_jiffies)
/linux-6.1.9/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()
399 size_t this_size = MIN(size, sizeof(filebuf)); in cpio_mkfile()
/linux-6.1.9/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.1.9/drivers/clk/at91/
Dpmc.h40 #define CLK_RANGE(MIN, MAX) {.min = MIN, .max = MAX,} argument
/linux-6.1.9/lib/zstd/compress/
Dzstd_ldm.c34 unsigned maxBitsInMask = MIN(params->minMatchLength, 64); in ZSTD_ldm_gear_init()
125 params->bucketSizeLog = MIN(params->bucketSizeLog, params->hashLog); in ZSTD_ldm_adjustParameters()
131 size_t const ldmBucketSizeLog = MIN(params.bucketSizeLog, params.hashLog); in ZSTD_ldm_getTableSize()
290 curr - MIN(512, curr - ms->nextToUpdate - 1024); in ZSTD_ldm_limitTableUpdate()
/linux-6.1.9/scripts/kconfig/lxdialog/
Dchecklist.c127 max_choice = MIN(list_height, item_count()); in dialog_checklist()
170 check_x = MIN(check_x, list_width); in dialog_checklist()
Dtextbox.c333 line += MIN(strlen(line), hscroll); /* Scroll horizontally */ in print_line()
336 waddnstr(win, line, MIN(strlen(line), width - 2)); in print_line()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dbpf_tcp_ca.c57 MIN(total_bytes - bytes, sizeof(batch)), 0); in server()
150 MIN(total_bytes - bytes, sizeof(batch)), 0); in do_test()
/linux-6.1.9/drivers/media/dvb-frontends/
Dstv0367_priv.h29 #define MIN(X, Y) ((X) <= (Y) ? (X) : (Y)) macro
/linux-6.1.9/drivers/staging/media/atomisp/pci/hive_isp_css_include/
Dmath_support.h37 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro

123