Home
last modified time | relevance | path

Searched refs:pwm_max (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/staging/greybus/
Dpwm.c19 u8 pwm_max; /* max pwm number */ member
37 pwmc->pwm_max = response.count; in gb_pwm_count_operation()
48 if (which > pwmc->pwm_max) in gb_pwm_activate_operation()
73 if (which > pwmc->pwm_max) in gb_pwm_deactivate_operation()
98 if (which > pwmc->pwm_max) in gb_pwm_config_operation()
125 if (which > pwmc->pwm_max) in gb_pwm_set_polarity_operation()
151 if (which > pwmc->pwm_max) in gb_pwm_enable_operation()
176 if (which > pwmc->pwm_max) in gb_pwm_disable_operation()
285 pwm->npwm = pwmc->pwm_max + 1; in gb_pwm_probe()
/Linux-v4.19/drivers/hwmon/
Dadt7470.c173 u8 pwm_max[ADT7470_PWM_COUNT]; member
390 data->pwm_max[i] = i2c_smbus_read_byte_data(client, in adt7470_update_device()
788 return sprintf(buf, "%d\n", data->pwm_max[attr->index]); in show_pwm_max()
807 data->pwm_max[attr->index] = temp; in set_pwm_max()
Dadt7462.c229 u8 pwm_max; /* only one per chip */ member
775 data->pwm_max = i2c_smbus_read_byte_data(client, ADT7462_REG_PWM_MAX); in adt7462_update_device()
1142 return sprintf(buf, "%d\n", data->pwm_max); in show_pwm_max()
1160 data->pwm_max = temp; in set_pwm_max()
Dnct6775.c3184 SENSOR_TEMPLATE_2(pwm_max, "pwm%d_max", S_IWUSR | S_IRUGO, show_pwm, store_pwm,