Home
last modified time | relevance | path

Searched refs:duty_num (Results 1 – 1 of 1) sorted by relevance

/openbmc/openbmc-tools/pwmtachtool/src/
H A Dpwmtach.c64 char duty_num[5]; in SET_PWM_DUTYCYCLE_VALUE() local
85 snprintf(duty_num,5, "%d", dutycycle_value); in SET_PWM_DUTYCYCLE_VALUE()
87 if ( write(fd, duty_num, strlen (duty_num)) != (ssize_t )strlen(duty_num)){ in SET_PWM_DUTYCYCLE_VALUE()
117 char duty_num[5]; in GET_PWM_DUTYCYCLE() local
135 read(fd, duty_num, 5); in GET_PWM_DUTYCYCLE()
136 ppwmtach_arg->dutycycle = atoi(duty_num); in GET_PWM_DUTYCYCLE()