Lines Matching refs:da903x_chip
50 struct da903x_chip;
53 int (*init_chip)(struct da903x_chip *);
54 int (*unmask_events)(struct da903x_chip *, unsigned int events);
55 int (*mask_events)(struct da903x_chip *, unsigned int events);
56 int (*read_events)(struct da903x_chip *, unsigned int *events);
57 int (*read_status)(struct da903x_chip *, unsigned int *status);
60 struct da903x_chip { struct
132 struct da903x_chip *chip = dev_get_drvdata(dev); in da903x_register_notifier()
142 struct da903x_chip *chip = dev_get_drvdata(dev); in da903x_unregister_notifier()
175 struct da903x_chip *chip = dev_get_drvdata(dev); in da903x_set_bits()
197 struct da903x_chip *chip = dev_get_drvdata(dev); in da903x_clr_bits()
219 struct da903x_chip *chip = dev_get_drvdata(dev); in da903x_update()
241 struct da903x_chip *chip = dev_get_drvdata(dev); in da903x_query_status()
249 static int da9030_init_chip(struct da903x_chip *chip) in da9030_init_chip()
266 static int da9030_unmask_events(struct da903x_chip *chip, unsigned int events) in da9030_unmask_events()
279 static int da9030_mask_events(struct da903x_chip *chip, unsigned int events) in da9030_mask_events()
292 static int da9030_read_events(struct da903x_chip *chip, unsigned int *events) in da9030_read_events()
305 static int da9030_read_status(struct da903x_chip *chip, unsigned int *status) in da9030_read_status()
310 static int da9034_init_chip(struct da903x_chip *chip) in da9034_init_chip()
343 static int da9034_unmask_events(struct da903x_chip *chip, unsigned int events) in da9034_unmask_events()
357 static int da9034_mask_events(struct da903x_chip *chip, unsigned int events) in da9034_mask_events()
371 static int da9034_read_events(struct da903x_chip *chip, unsigned int *events) in da9034_read_events()
384 static int da9034_read_status(struct da903x_chip *chip, unsigned int *status) in da9034_read_status()
399 struct da903x_chip *chip = in da903x_irq_work()
400 container_of(work, struct da903x_chip, irq_work); in da903x_irq_work()
419 struct da903x_chip *chip = data; in da903x_irq_handler()
457 static int da903x_remove_subdevs(struct da903x_chip *chip) in da903x_remove_subdevs()
462 static int da903x_add_subdevs(struct da903x_chip *chip, in da903x_add_subdevs()
498 struct da903x_chip *chip; in da903x_probe()
502 chip = devm_kzalloc(&client->dev, sizeof(struct da903x_chip), in da903x_probe()
544 struct da903x_chip *chip = i2c_get_clientdata(client); in da903x_remove()