Lines Matching refs:lp3943
23 struct lp3943 *lp3943; member
37 struct lp3943 *lp3943 = lp3943_pwm->lp3943; in lp3943_pwm_request_map() local
48 if (test_and_set_bit(offset, &lp3943->pin_used)) in lp3943_pwm_request_map()
70 struct lp3943 *lp3943 = lp3943_pwm->lp3943; in lp3943_pwm_free_map() local
75 clear_bit(offset, &lp3943->pin_used); in lp3943_pwm_free_map()
91 struct lp3943 *lp3943 = lp3943_pwm->lp3943; in lp3943_pwm_config() local
121 err = lp3943_write_byte(lp3943, reg_prescale, val); in lp3943_pwm_config()
128 return lp3943_write_byte(lp3943, reg_duty, val); in lp3943_pwm_config()
135 struct lp3943 *lp3943 = lp3943_pwm->lp3943; in lp3943_pwm_set_mode() local
136 const struct lp3943_reg_cfg *mux = lp3943->mux_cfg; in lp3943_pwm_set_mode()
141 err = lp3943_update_bits(lp3943, mux[index].reg, in lp3943_pwm_set_mode()
270 struct lp3943 *lp3943 = dev_get_drvdata(pdev->dev.parent); in lp3943_pwm_probe() local
280 lp3943_pwm->pdata = lp3943->pdata; in lp3943_pwm_probe()
291 lp3943_pwm->lp3943 = lp3943; in lp3943_pwm_probe()