Home
last modified time | relevance | path

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

/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-bletchley/motor-ctrl/files/
H A Dmotor-init25 PWM_PATH="${PWM_CLASS_PATH}/pwm${PWM_NUM}"
26 if [ ! -d "$PWM_PATH" ];then
29 if [ -d "$PWM_PATH" ];then
31 if ! echo "$PWM_PERIOD" > "${PWM_PATH}/period"; then
36 if ! echo 1 > "${PWM_PATH}/enable"; then
41 if ! echo "$PWM_DUTY" > "${PWM_PATH}/duty_cycle"; then
46 echo "Error: ${PWM_PATH} not exist, export pwm${PWM_NUM} fail"