Searched refs:pwm_max (Results 1 - 5 of 5) sorted by last modified time

/linux-master/drivers/ufs/host/
H A Dufs-exynos.c503 const unsigned long pwm_max = 9 * 1000 * 1000; local
511 if (_clk >= pwm_min && _clk <= pwm_max) {
/linux-master/drivers/hwmon/
H A Demc2305.c27 #define EMC2305_PWM_DUTY2STATE(duty, max_state, pwm_max) \
28 DIV_ROUND_CLOSEST((duty) * (max_state), (pwm_max))
29 #define EMC2305_PWM_STATE2DUTY(state, max_state, pwm_max) \
30 DIV_ROUND_CLOSEST((state) * (pwm_max), (max_state))
H A Dadt7470.c165 u8 pwm_max[ADT7470_PWM_COUNT]; member in struct:adt7470_data
410 data->pwm_max[i] = val;
865 return sprintf(buf, "%d\n", data->pwm_max[attr->index]);
883 data->pwm_max[attr->index] = temp;
1047 static SENSOR_DEVICE_ATTR_RW(pwm1_auto_point2_pwm, pwm_max, 0);
1048 static SENSOR_DEVICE_ATTR_RW(pwm2_auto_point2_pwm, pwm_max, 1);
1049 static SENSOR_DEVICE_ATTR_RW(pwm3_auto_point2_pwm, pwm_max, 2);
1050 static SENSOR_DEVICE_ATTR_RW(pwm4_auto_point2_pwm, pwm_max, 3);
H A Dadt7462.c216 u8 pwm_max; /* only one per chip */ member in struct:adt7462_data
766 data->pwm_max = i2c_smbus_read_byte_data(client, ADT7462_REG_PWM_MAX);
1117 return sprintf(buf, "%d\n", data->pwm_max);
1134 data->pwm_max = temp;
1555 static SENSOR_DEVICE_ATTR_RW(pwm1_auto_point2_pwm, pwm_max, 0);
1556 static SENSOR_DEVICE_ATTR_RW(pwm2_auto_point2_pwm, pwm_max, 1);
1557 static SENSOR_DEVICE_ATTR_RW(pwm3_auto_point2_pwm, pwm_max, 2);
1558 static SENSOR_DEVICE_ATTR_RW(pwm4_auto_point2_pwm, pwm_max, 3);
H A Dnct6775-core.c3295 if (nr == 19 && data->REG_PWM[3] == NULL) /* pwm_max */
3323 SENSOR_TEMPLATE_2(pwm_max, "pwm%d_max", 0644, show_pwm, store_pwm, 0, 3);

Completed in 171 milliseconds