Lines Matching refs:lm8323_chip
130 struct lm8323_chip *chip;
133 struct lm8323_chip { struct
150 #define client_to_lm8323(c) container_of(c, struct lm8323_chip, client) argument
151 #define dev_to_lm8323(d) container_of(d, struct lm8323_chip, client->dev)
162 static int lm8323_write(struct lm8323_chip *lm, int len, ...) in lm8323_write()
199 static int lm8323_read(struct lm8323_chip *lm, u8 cmd, u8 *buf, int len) in lm8323_read()
227 static void lm8323_set_active_time(struct lm8323_chip *lm, int time) in lm8323_set_active_time()
246 static void process_keys(struct lm8323_chip *lm) in process_keys()
297 static void lm8323_process_error(struct lm8323_chip *lm) in lm8323_process_error()
315 static void lm8323_reset(struct lm8323_chip *lm) in lm8323_reset()
321 static int lm8323_configure(struct lm8323_chip *lm) in lm8323_configure()
366 struct lm8323_chip *lm = _lm; in lm8323_irq()
405 static int lm8323_read_id(struct lm8323_chip *lm, u8 *buf) in lm8323_read_id()
501 struct lm8323_chip *lm = pwm->chip; in lm8323_pwm_set_brightness()
555 static int init_pwm(struct lm8323_chip *lm, int id, struct device *dev, in init_pwm()
594 struct lm8323_chip *lm = dev_get_drvdata(dev); in lm8323_show_disable()
603 struct lm8323_chip *lm = dev_get_drvdata(dev); in lm8323_set_disable()
629 struct lm8323_chip *lm; in lm8323_probe()
755 struct lm8323_chip *lm = i2c_get_clientdata(client); in lm8323_suspend()
775 struct lm8323_chip *lm = i2c_get_clientdata(client); in lm8323_resume()