Lines Matching refs:CONTROL
30 #define CONTROL 3 macro
680 data->pwm[CONTROL][sattr->index] = in set_pwm()
687 if (((data->pwm[CONTROL][sattr->index] >> 5) & 7) != 7) { in set_pwm()
761 data->pwm[CONTROL][index] &= ~0xE0; in hw_set_pwm()
762 data->pwm[CONTROL][index] |= (val & 7) << 5; in hw_set_pwm()
765 data->pwm[CONTROL][index]); in hw_set_pwm()
1453 data->pwm[CONTROL][index] = adt7475_read(PWM_CONFIG_REG(index)); in adt7475_read_pwm()
1459 v = (data->pwm[CONTROL][index] >> 5) & 7; in adt7475_read_pwm()
1472 data->pwm[CONTROL][index] &= ~0xE0; in adt7475_read_pwm()
1473 data->pwm[CONTROL][index] |= (7 << 5); in adt7475_read_pwm()
1479 data->pwm[CONTROL][index]); in adt7475_read_pwm()