Lines Matching defs:pwm
312 #define FEAT_FIVE_PWM BIT(14) /* Chip supports 5 pwm chn */
313 #define FEAT_SIX_PWM BIT(15) /* Chip supports 6 pwm chn */
314 #define FEAT_PWM_FREQ2 BIT(16) /* Separate pwm freq 2 */
623 u8 has_pwm; /* Bitfield, pwm control enabled */
635 u8 skip_pwm; /* pwm channels to skip for this board */
837 * 0: start pwm value (base + 3)
838 * 1: pwm slope (base + 4, 1/8th pwm)
1549 /* No on/off mode, set maximum pwm value */
1689 if (nr >= 3) /* pwm channels 3..6 map to temp4..6 */
2517 int i = index / 4; /* pwm index */
2523 /* pwmX_auto_channels_temp is only writable if auto pwm is supported */
2527 /* pwm2_freq is writable if there are two pwm frequency selects */
2578 int i = index / 11; /* pwm index */
2581 if (index >= 33) { /* pwm 4..6 */
2590 if (a < 4) /* no auto point pwm */
3304 * disable pwm control to protect the user.
3316 u8 pwm[3];
3318 for (i = 0; i < ARRAY_SIZE(pwm); i++)
3319 pwm[i] = it87_read_value(data,
3323 * If any fan is in automatic pwm mode, the polarity
3328 if (!((pwm[0] | pwm[1] | pwm[2]) & 0x80)) {
3336 0x7f & ~pwm[i]);