Searched refs:period2 (Results 1 – 1 of 1) sorted by relevance
70 uint32_t period2; /* channel 2 */ member165 W_RNG2(sc, sc->period2); in bcm_pwm_reconf()166 if (sc->ratio2 > sc->period2) in bcm_pwm_reconf()167 sc->ratio2 = sc->period2; in bcm_pwm_reconf()276 r = sc->freq / sc->period2; in bcm_pwm_pwm_freq2_proc()308 error = sysctl_handle_int(oidp, &sc->period2, sizeof(sc->period2), req); in bcm_pwm_period2_proc()326 if (r > sc->period2) // XXX >= ? in bcm_pwm_ratio2_proc()463 sc->period2 = 10000; /* 12.5 khz */ in bcm_pwm_attach()