Searched refs:pwm_freq (Results 1 - 6 of 6) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/hwmon/ |
H A D | lm85.c | 317 u8 pwm_freq[3]; /* Register encoding */ member in struct:lm85_data 571 data->pwm_freq[nr])); 583 data->pwm_freq[nr] = FREQ_TO_REG(data->freq_map, val); 586 | data->pwm_freq[nr]); 910 | (data->pwm_freq[nr] & 0x07)); 953 | (data->pwm_freq[nr] & 0x07)); 1519 data->pwm_freq[i] = val & 0x07;
|
H A D | w83627hf.c | 375 u8 pwm_freq[3]; /* Register value */ member in struct:w83627hf_data 1004 pwm_freq_from_reg_627hf(data->pwm_freq[nr])); 1007 pwm_freq_from_reg(data->pwm_freq[nr])); 1024 data->pwm_freq[nr] = pwm_freq_to_reg_627hf(val); 1026 (data->pwm_freq[nr] << (nr*4)) | 1030 data->pwm_freq[nr] = pwm_freq_to_reg(val); 1032 data->pwm_freq[nr]); 1726 data->pwm_freq[0] = tmp & 0x07; 1727 data->pwm_freq[1] = (tmp >> 4) & 0x07; 1730 data->pwm_freq[ [all...] |
H A D | dme1737.c | 232 u8 pwm_freq[6]; member in struct:dme1737_data 677 data->pwm_freq[ix] = dme1737_read(data, 950 /* pwm_freq holds the temp range bits in the upper nibble */ 952 TEMP_RANGE_FROM_REG(data->pwm_freq[ix]); 999 * nibble of the pwm_freq register) */ 1000 data->pwm_freq[ix] = TEMP_RANGE_TO_REG(val - 1005 data->pwm_freq[ix]); 1161 res = PWM_FREQ_FROM_REG(data->pwm_freq[ix]); 1226 data->pwm_freq[ix] = PWM_FREQ_TO_REG(val, dme1737_read(data, 1229 data->pwm_freq[i [all...] |
H A D | f71805f.c | 187 u8 pwm_freq[3]; member in struct:f71805f_data 356 data->pwm_freq[nr] = f71805f_read8(data, 646 return sprintf(buf, "%lu\n", pwm_freq_from_reg(data->pwm_freq[nr])); 734 data->pwm_freq[nr] = pwm_freq_to_reg(val); 735 f71805f_write8(data, F71805F_REG_PWM_FREQ(nr), data->pwm_freq[nr]); 1247 /* We don't include pwm_freq files in the arrays above, because they must be 1371 /* If control mode is PWM, create pwm_freq file */
|
H A D | asc7621.c | 983 PWRITE(pwm1_freq, 0, PRI_LOW, 0x5f, 0, 0x0f, 0, pwm_freq), 984 PWRITE(pwm2_freq, 1, PRI_LOW, 0x60, 0, 0x0f, 0, pwm_freq), 985 PWRITE(pwm3_freq, 2, PRI_LOW, 0x61, 0, 0x0f, 0, pwm_freq),
|
H A D | it87.c | 244 static const unsigned int pwm_freq[8] = { variable 653 return sprintf(buf, "%u\n", pwm_freq[index]); 837 if (val > (pwm_freq[i] + pwm_freq[i+1]) / 2)
|
Completed in 108 milliseconds