Searched refs:pwm_ir (Results 1 – 1 of 1) sorted by relevance
20 struct pwm_ir { struct41 struct pwm_ir *pwm_ir = dev->priv; in pwm_ir_set_duty_cycle() argument43 pwm_ir->duty_cycle = duty_cycle; in pwm_ir_set_duty_cycle()50 struct pwm_ir *pwm_ir = dev->priv; in pwm_ir_set_carrier() local55 pwm_ir->carrier = carrier; in pwm_ir_set_carrier()63 struct pwm_ir *pwm_ir = dev->priv; in pwm_ir_tx_sleep() local64 struct pwm_device *pwm = pwm_ir->pwm; in pwm_ir_tx_sleep()72 state.period = DIV_ROUND_CLOSEST(NSEC_PER_SEC, pwm_ir->carrier); in pwm_ir_tx_sleep()73 pwm_set_relative_duty_cycle(&state, pwm_ir->duty_cycle, 100); in pwm_ir_tx_sleep()96 struct pwm_ir *pwm_ir = dev->priv; in pwm_ir_tx_atomic() local[all …]