Searched refs:pwm_ir (Results 1 – 1 of 1) sorted by relevance
18 struct pwm_ir { struct32 struct pwm_ir *pwm_ir = dev->priv; in pwm_ir_set_duty_cycle() argument34 pwm_ir->duty_cycle = duty_cycle; in pwm_ir_set_duty_cycle()41 struct pwm_ir *pwm_ir = dev->priv; in pwm_ir_set_carrier() local46 pwm_ir->carrier = carrier; in pwm_ir_set_carrier()54 struct pwm_ir *pwm_ir = dev->priv; in pwm_ir_tx() local55 struct pwm_device *pwm = pwm_ir->pwm; in pwm_ir_tx()63 state.period = DIV_ROUND_CLOSEST(NSEC_PER_SEC, pwm_ir->carrier); in pwm_ir_tx()64 pwm_set_relative_duty_cycle(&state, pwm_ir->duty_cycle, 100); in pwm_ir_tx()86 struct pwm_ir *pwm_ir; in pwm_ir_probe() local[all …]