Home
last modified time | relevance | path

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

12

/drivers/hwmon/
Dadt7475.c28 #define MIN 1 macro
367 if (sattr->nr == MIN) in voltage_store()
372 if (sattr->nr == MIN) in voltage_store()
510 case MIN: in temp_store()
725 data->tach[MIN][sattr->index] = rpm2tach(val); in tach_store()
728 data->tach[MIN][sattr->index]); in tach_store()
803 case MIN: in pwm_store()
1084 static SENSOR_DEVICE_ATTR_2_RW(in0_min, voltage, MIN, 0);
1088 static SENSOR_DEVICE_ATTR_2_RW(in1_min, voltage, MIN, 1);
1092 static SENSOR_DEVICE_ATTR_2_RW(in2_min, voltage, MIN, 2);
[all …]
Dw83l786ng.c256 store_in_reg(MIN, min)
Dasb100.c266 set_in_reg(MIN, min)
/drivers/gpu/drm/nouveau/dispnv50/
Dwndwc37e.c127 NVVAL(NVC37E, SET_KEY_ALPHA, MIN, 0x0000) | in wndwc37e_blend_set()
131 NVVAL(NVC37E, SET_KEY_RED_CR, MIN, 0x0000) | in wndwc37e_blend_set()
135 NVVAL(NVC37E, SET_KEY_GREEN_Y, MIN, 0x0000) | in wndwc37e_blend_set()
139 NVVAL(NVC37E, SET_KEY_BLUE_CB, MIN, 0x0000) | in wndwc37e_blend_set()
/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()
/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_dio_link_encoder.c66 #ifndef MIN
67 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
464 link_settings->lane_count = MIN(LANE_COUNT_TWO, link_settings->lane_count); in dcn31_link_encoder_get_max_link_cap()
/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)
/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()
/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()
Dvega10_thermal.c84 *speed = MIN((uint32_t)tmp64, 255); in vega10_fan_ctrl_get_fan_speed_pwm()
258 speed = MIN(speed, 255); in vega10_fan_ctrl_set_fan_speed_pwm()
/drivers/clk/at91/
Dpmc.h38 #define CLK_RANGE(MIN, MAX) {.min = MIN, .max = MAX,} argument
/drivers/media/dvb-frontends/
Dstv0367_priv.h29 #define MIN(X, Y) ((X) <= (Y) ? (X) : (Y)) macro
/drivers/staging/media/atomisp/pci/hive_isp_css_include/
Dmath_support.h37 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
/drivers/staging/r8188eu/include/
Drtw_security.h323 #ifndef MIN
324 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) macro
/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/
Dia_css_xnr3.host.c130 return MAX(MIN(isp_strength, 0), -isp_scale); in compute_blending()
/drivers/scsi/isci/
Dinit.c69 #define MIN 2 macro
71 #define DRV_VERSION __stringify(MAJ) "." __stringify(MIN) "." \
/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_resource.c312 #ifndef MIN
313 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
1165 vlevel = MIN(MAX(vlevel_req, 3), vlevel_max); in dcn21_calculate_wm()
1170 vlevel = MIN(MAX(vlevel_req, 2), vlevel_max); in dcn21_calculate_wm()
1176 vlevel = MIN(vlevel_req, vlevel_max); in dcn21_calculate_wm()
/drivers/nfc/pn544/
Di2c.c129 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
134 #define PN544_FW_I2C_WRITE_DATA_MAX_LEN MIN((PN544_FW_I2C_MAX_PAYLOAD -\
/drivers/net/fjes/
Dfjes_main.c18 #define MIN 2 macro
19 #define DRV_VERSION __stringify(MAJ) "." __stringify(MIN)
/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsienna_cichlid_ppt.c1991 min_gen_speed = MIN(pcie_gen_cap, gen_speed_override); in sienna_cichlid_update_pcie_parameters()
1992 max_gen_speed = MIN(pcie_gen_cap, gen_speed_override); in sienna_cichlid_update_pcie_parameters()
1995 max_gen_speed = MIN(pcie_gen_cap, table_member1[1]); in sienna_cichlid_update_pcie_parameters()
2004 min_lane_width = MIN(pcie_width_cap, lane_width_override); in sienna_cichlid_update_pcie_parameters()
2005 max_lane_width = MIN(pcie_width_cap, lane_width_override); in sienna_cichlid_update_pcie_parameters()
2008 max_lane_width = MIN(pcie_width_cap, table_member2[1]); in sienna_cichlid_update_pcie_parameters()
Dsmu_v11_0.c1209 speed = MIN(speed, 255); in smu_v11_0_set_fan_speed_pwm()
1284 *speed = MIN((uint32_t)tmp64, 255); in smu_v11_0_get_fan_speed_pwm()
Darcturus_ppt.c1252 speed = MIN(speed, 255); in arcturus_set_fan_speed_pwm()
1316 *speed = MIN((uint32_t)tmp64, 255); in arcturus_get_fan_speed_pwm()
/drivers/platform/x86/
Dsony-laptop.c760 #define MIN(a, b) (a > b ? b : a) macro
774 len = MIN(buflen, object->buffer.length); in sony_nc_buffer_call()
779 len = MIN(buflen, sizeof(object->integer.value)); in sony_nc_buffer_call()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu.h1280 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro

12