Lines Matching refs:max732x_chip
86 struct max732x_chip {
112 static int max732x_writeb(struct max732x_chip *chip, int group_a, uint8_t val)
127 static int max732x_readb(struct max732x_chip *chip, int group_a, uint8_t *val)
143 static inline int is_group_a(struct max732x_chip *chip, unsigned off)
150 struct max732x_chip *chip;
154 chip = container_of(gc, struct max732x_chip, gpio_chip);
165 struct max732x_chip *chip;
169 chip = container_of(gc, struct max732x_chip, gpio_chip);
191 struct max732x_chip *chip;
194 chip = container_of(gc, struct max732x_chip, gpio_chip);
215 struct max732x_chip *chip;
218 chip = container_of(gc, struct max732x_chip, gpio_chip);
231 static int max732x_writew(struct max732x_chip *chip, uint16_t val)
246 static int max732x_readw(struct max732x_chip *chip, uint16_t *val)
260 static void max732x_irq_update_mask(struct max732x_chip *chip)
291 struct max732x_chip *chip;
293 chip = container_of(gc, struct max732x_chip, gpio_chip);
299 struct max732x_chip *chip = get_irq_chip_data(irq);
306 struct max732x_chip *chip = get_irq_chip_data(irq);
313 struct max732x_chip *chip = get_irq_chip_data(irq);
321 struct max732x_chip *chip = get_irq_chip_data(irq);
329 struct max732x_chip *chip = get_irq_chip_data(irq);
367 static uint8_t max732x_irq_pending(struct max732x_chip *chip)
400 struct max732x_chip *chip = devid;
419 static int max732x_irq_setup(struct max732x_chip *chip,
472 static void max732x_irq_teardown(struct max732x_chip *chip)
478 static int max732x_irq_setup(struct max732x_chip *chip,
491 static void max732x_irq_teardown(struct max732x_chip *chip)
496 static int __devinit max732x_setup_gpio(struct max732x_chip *chip,
548 struct max732x_chip *chip;
559 chip = kzalloc(sizeof(struct max732x_chip), GFP_KERNEL);
624 struct max732x_chip *chip = i2c_get_clientdata(client);