Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/drivers/hwmon/
A 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()
730 data->tach[MIN][sattr->index]); in tach_store()
805 case MIN: in pwm_store()
1373 data->voltage[MIN][i] = ret << 2; in adt7475_update_limits()
1385 data->voltage[MIN][5] = ret << 2; in adt7475_update_limits()
1398 data->temp[MIN][i] = ret << 2; in adt7475_update_limits()
1428 data->tach[MIN][i] = ret; in adt7475_update_limits()
[all …]
/linux-6.3-rc2/include/linux/
A Dunicode.h14 #define UNICODE_AGE(MAJ, MIN, REV) \ argument
16 ((unsigned int)(MIN) << UNICODE_MIN_SHIFT) | \
/linux-6.3-rc2/lib/zstd/common/
A 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.3-rc2/arch/um/drivers/
A 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.3-rc2/drivers/gpu/drm/amd/display/dc/dcn32/
A 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.3-rc2/tools/perf/util/
A 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 ')'
A Dexpr.l112 min { return MIN; }
/linux-6.3-rc2/kernel/trace/
A 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.3-rc2/drivers/gpu/drm/nouveau/dispnv50/
A 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.3-rc2/drivers/gpu/drm/amd/display/dc/dcn321/
A Ddcn321_dio_link_encoder.c38 #ifndef MIN
39 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
/linux-6.3-rc2/drivers/gpu/drm/amd/display/modules/hdcp/
A 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.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/
A 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.3-rc2/drivers/net/wireless/ath/
A 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.3-rc2/drivers/gpu/drm/amd/display/dc/dcn31/
A Ddcn31_dio_link_encoder.c65 #ifndef MIN
66 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
661 link_settings->lane_count = MIN(LANE_COUNT_TWO, link_settings->lane_count); in dcn31_link_encoder_get_max_link_cap()
683 link_settings->lane_count = MIN(LANE_COUNT_TWO, link_settings->lane_count); in dcn31_link_encoder_get_max_link_cap()
/linux-6.3-rc2/block/
A 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.3-rc2/usr/
A 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.3-rc2/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
A 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()
A 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.3-rc2/drivers/clk/at91/
A Dpmc.h40 #define CLK_RANGE(MIN, MAX) {.min = MIN, .max = MAX,} argument
/linux-6.3-rc2/scripts/kconfig/lxdialog/
A Dchecklist.c127 max_choice = MIN(list_height, item_count()); in dialog_checklist()
170 check_x = MIN(check_x, list_width); in dialog_checklist()
A 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.3-rc2/tools/testing/selftests/bpf/prog_tests/
A 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.3-rc2/lib/zstd/compress/
A 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.3-rc2/drivers/media/dvb-frontends/
A Dstv0367_priv.h29 #define MIN(X, Y) ((X) <= (Y) ? (X) : (Y)) macro
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/hive_isp_css_include/
A Dmath_support.h37 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro

Completed in 62 milliseconds

123