Lines Matching refs:max732x_chip
133 struct max732x_chip {
158 static int max732x_writeb(struct max732x_chip *chip, int group_a, uint8_t val)
173 static int max732x_readb(struct max732x_chip *chip, int group_a, uint8_t *val)
189 static inline int is_group_a(struct max732x_chip *chip, unsigned off)
196 struct max732x_chip *chip = gpiochip_get_data(gc);
210 struct max732x_chip *chip = gpiochip_get_data(gc);
254 struct max732x_chip *chip = gpiochip_get_data(gc);
276 struct max732x_chip *chip = gpiochip_get_data(gc);
290 static int max732x_writew(struct max732x_chip *chip, uint16_t val)
305 static int max732x_readw(struct max732x_chip *chip, uint16_t *val)
319 static void max732x_irq_update_mask(struct max732x_chip *chip)
351 struct max732x_chip *chip = gpiochip_get_data(gc);
359 struct max732x_chip *chip = gpiochip_get_data(gc);
367 struct max732x_chip *chip = gpiochip_get_data(gc);
376 struct max732x_chip *chip = gpiochip_get_data(gc);
395 struct max732x_chip *chip = gpiochip_get_data(gc);
426 struct max732x_chip *chip = irq_data_get_irq_chip_data(data);
442 static uint8_t max732x_irq_pending(struct max732x_chip *chip)
475 struct max732x_chip *chip = devid;
495 static int max732x_irq_setup(struct max732x_chip *chip,
539 static int max732x_irq_setup(struct max732x_chip *chip,
553 static int max732x_setup_gpio(struct max732x_chip *chip,
621 struct max732x_chip *chip;
720 struct max732x_chip *chip = i2c_get_clientdata(client);