Lines Matching defs:duty
70 fprintf(stderr, "\tpwm [-f dev] [-D | -E] [-p period] [-d duty[%%]]\n");
79 u_int period, duty;
89 period = duty = -1;
118 duty = strtoul(optarg, &percent, 10);
120 if (duty > 100) {
122 "Invalid duty percentage\n");
178 state.duty,
189 state.duty = (uint64_t)state.period * duty / 100;
191 state.duty = duty;