/drivers/hwmon/ |
D | adt7475.c | 28 #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 …]
|
D | w83l786ng.c | 256 store_in_reg(MIN, min)
|
D | asb100.c | 266 set_in_reg(MIN, min)
|
/drivers/gpu/drm/nouveau/dispnv50/ |
D | wndwc37e.c | 127 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/ |
D | hdcp_ddc.c | 28 #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/ |
D | dcn31_dio_link_encoder.c | 66 #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/ |
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)
|
/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_link_encoder.c | 55 #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/ |
D | vega20_thermal.c | 134 *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()
|
D | smu7_thermal.c | 75 *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()
|
D | vega10_thermal.c | 84 *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/ |
D | pmc.h | 38 #define CLK_RANGE(MIN, MAX) {.min = MIN, .max = MAX,} argument
|
/drivers/media/dvb-frontends/ |
D | stv0367_priv.h | 29 #define MIN(X, Y) ((X) <= (Y) ? (X) : (Y)) macro
|
/drivers/staging/media/atomisp/pci/hive_isp_css_include/ |
D | math_support.h | 37 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
|
/drivers/staging/r8188eu/include/ |
D | rtw_security.h | 323 #ifndef MIN 324 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) macro
|
/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/ |
D | ia_css_xnr3.host.c | 130 return MAX(MIN(isp_strength, 0), -isp_scale); in compute_blending()
|
/drivers/scsi/isci/ |
D | init.c | 69 #define MIN 2 macro 71 #define DRV_VERSION __stringify(MAJ) "." __stringify(MIN) "." \
|
/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_resource.c | 312 #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/ |
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 -\
|
/drivers/net/fjes/ |
D | fjes_main.c | 18 #define MIN 2 macro 19 #define DRV_VERSION __stringify(MAJ) "." __stringify(MIN)
|
/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | sienna_cichlid_ppt.c | 1991 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()
|
D | smu_v11_0.c | 1209 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()
|
D | arcturus_ppt.c | 1252 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/ |
D | sony-laptop.c | 760 #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/ |
D | amdgpu.h | 1280 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y)) macro
|