Searched refs:pwmcmp (Results 1 – 2 of 2) sorted by relevance
102 uint64_t pwmcmp = s->pwmcmp[i] & PWMCMP_MASK; in sifive_pwm_set_alarms() local109 if (pwmcmp > pwms) { in sifive_pwm_set_alarms()133 uint64_t pwmcmp = s->pwmcmp[i] & PWMCMP_MASK; in sifive_pwm_set_alarms() local135 if (pwms >= pwmcmp) { in sifive_pwm_set_alarms()256 return s->pwmcmp[0] & PWMCMP_MASK; in sifive_pwm_read()258 return s->pwmcmp[1] & PWMCMP_MASK; in sifive_pwm_read()260 return s->pwmcmp[2] & PWMCMP_MASK; in sifive_pwm_read()380 s->pwmcmp[0] = 0x00000000; in sifive_pwm_reset()381 s->pwmcmp[1] = 0x00000000; in sifive_pwm_reset()382 s->pwmcmp[2] = 0x00000000; in sifive_pwm_reset()[all …]
57 uint32_t pwmcmp[SIFIVE_PWM_CHANS]; member