Lines Matching refs:pwm_freq
378 u8 pwm_freq[3]; /* Register value */ member
523 data->pwm_freq[0] = tmp & 0x07; in w83627hf_update_device()
524 data->pwm_freq[1] = (tmp >> 4) & 0x07; in w83627hf_update_device()
527 data->pwm_freq[i - 1] = in w83627hf_update_device()
1523 pwm_freq_from_reg_627hf(data->pwm_freq[nr])); in pwm_freq_show()
1526 pwm_freq_from_reg(data->pwm_freq[nr])); in pwm_freq_show()
1546 data->pwm_freq[nr] = pwm_freq_to_reg_627hf(val); in pwm_freq_store()
1548 (data->pwm_freq[nr] << (nr*4)) | in pwm_freq_store()
1552 data->pwm_freq[nr] = pwm_freq_to_reg(val); in pwm_freq_store()
1554 data->pwm_freq[nr]); in pwm_freq_store()
1561 static SENSOR_DEVICE_ATTR_RW(pwm1_freq, pwm_freq, 0);
1562 static SENSOR_DEVICE_ATTR_RW(pwm2_freq, pwm_freq, 1);
1563 static SENSOR_DEVICE_ATTR_RW(pwm3_freq, pwm_freq, 2);