Lines Matching refs:pwm1_freq
157 u8 pwm1_freq; member
247 data->pwm1_freq = i2c_smbus_read_byte_data(client, in lm63_update_device()
249 if (data->pwm1_freq == 0) in lm63_update_device()
250 data->pwm1_freq = 1; in lm63_update_device()
372 pwm = data->pwm1[nr] >= 2 * data->pwm1_freq ? in show_pwm1()
373 255 : (data->pwm1[nr] * 255 + data->pwm1_freq) / in show_pwm1()
374 (2 * data->pwm1_freq); in show_pwm1()
402 (val * data->pwm1_freq * 2 + 127) / 255; in set_pwm1()
1036 data->pwm1_freq = i2c_smbus_read_byte_data(client, LM63_REG_PWM_FREQ); in lm63_init_client()
1037 if (data->pwm1_freq == 0) in lm63_init_client()
1038 data->pwm1_freq = 1; in lm63_init_client()
1071 && !(data->config_fan & 0x08) && data->pwm1_freq == 8) in lm63_init_client()
1084 ((data->config_fan & 0x08) ? 700 : 180000) / data->pwm1_freq); in lm63_init_client()