Home
last modified time | relevance | path

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

/openbmc/openbmc-tools/pwmtachtool/src/
H A Dpwmtach.c33 static char DevNodeFileName[50]; variable
74 retval = access(DevNodeFileName,F_OK); in SET_PWM_DUTYCYCLE_VALUE()
80 fd = sigwrap_open(DevNodeFileName, O_WRONLY); in SET_PWM_DUTYCYCLE_VALUE()
126 retval = access(DevNodeFileName,F_OK); in GET_PWM_DUTYCYCLE()
128 {printf("%s,error 2,%s not exist\n",__FUNCTION__,DevNodeFileName); in GET_PWM_DUTYCYCLE()
131 fd = sigwrap_open(DevNodeFileName, O_RDONLY); in GET_PWM_DUTYCYCLE()
154 retval = access(DevNodeFileName,F_OK); in GET_TACH_SPEED()
160 fd = sigwrap_open(DevNodeFileName, O_RDONLY); in GET_TACH_SPEED()
188 retval = access(DevNodeFileName,F_OK); in GET_PWM_NUMBER()
194 fd = sigwrap_open(DevNodeFileName, O_RDONLY); in GET_PWM_NUMBER()
[all …]