Searched refs:PWM_EN_FROM_REG (Results 1 – 2 of 2) sorted by relevance
419 static inline int PWM_EN_FROM_REG(int reg) in PWM_EN_FROM_REG() function1208 if (PWM_EN_FROM_REG(data->pwm_config[ix]) == 0) in show_pwm()1220 res = PWM_EN_FROM_REG(data->pwm_config[ix]); in show_pwm()1228 if (PWM_EN_FROM_REG(data->pwm_config[ix]) == 2) in show_pwm()1298 if (val == PWM_EN_FROM_REG(data->pwm_config[ix])) { in set_pwm()1303 if (PWM_EN_FROM_REG(data->pwm_config[ix]) == 2) { in set_pwm()1383 if (PWM_EN_FROM_REG(data->pwm_config[ix]) == 2) { in set_pwm()1403 if (PWM_EN_FROM_REG(data->pwm_config[ix]) == 2) { in set_pwm()2216 (PWM_EN_FROM_REG(data->pwm_config[ix]) == 1)) { in dme1737_create_files()2350 (PWM_EN_FROM_REG(data->pwm_config[ix]) == -1)) { in dme1737_init_device()
113 #define PWM_EN_FROM_REG(reg) ((~(reg)) & 0x01) macro256 return sprintf(buf, "%d\n", PWM_EN_FROM_REG(data->pwm[attr->index])); in pwm_en_show()