Lines Matching refs:pwm_rr
236 u8 pwm_rr[2]; member
722 for (ix = 0; ix < ARRAY_SIZE(data->pwm_rr); ix++) { in dme1737_update_device()
723 data->pwm_rr[ix] = dme1737_read(data, in dme1737_update_device()
1224 res = PWM_RR_FROM_REG(data->pwm_rr[ix > 0], ix); in show_pwm()
1235 if (PWM_OFF_FROM_REG(data->pwm_rr[0], ix)) in show_pwm()
1308 data->pwm_rr[ix > 0] = dme1737_read(data, in set_pwm()
1311 if (PWM_RR_EN_FROM_REG(data->pwm_rr[ix > 0], ix)) { in set_pwm()
1313 data->pwm_rr[ix > 0] = PWM_RR_EN_TO_REG(0, ix, in set_pwm()
1314 data->pwm_rr[ix > 0]); in set_pwm()
1317 data->pwm_rr[ix > 0]); in set_pwm()
1357 data->pwm_rr[ix > 0] = PWM_RR_EN_TO_REG(1, ix, in set_pwm()
1362 data->pwm_rr[ix > 0]); in set_pwm()
1372 data->pwm_rr[ix > 0] = dme1737_read(data, in set_pwm()
1376 data->pwm_rr[ix > 0] = PWM_RR_TO_REG(val, ix, in set_pwm()
1377 data->pwm_rr[ix > 0]); in set_pwm()
1384 data->pwm_rr[ix > 0] = PWM_RR_EN_TO_REG(val > 0, ix, in set_pwm()
1385 data->pwm_rr[ix > 0]); in set_pwm()
1388 data->pwm_rr[ix > 0]); in set_pwm()
1432 data->pwm_rr[0] = PWM_OFF_TO_REG(1, ix, in set_pwm()
1436 data->pwm_rr[0] = PWM_OFF_TO_REG(0, ix, in set_pwm()
1441 data->pwm_rr[0]); in set_pwm()