Lines Matching defs:chip
166 static int max732x_writeb(struct max732x_chip *chip, int group_a, uint8_t val) in max732x_writeb()
181 static int max732x_readb(struct max732x_chip *chip, int group_a, uint8_t *val) in max732x_readb()
197 static inline int is_group_a(struct max732x_chip *chip, unsigned off) in is_group_a()
204 struct max732x_chip *chip = to_max732x(gc); in max732x_gpio_get_value() local
218 struct max732x_chip *chip = to_max732x(gc); in max732x_gpio_set_mask() local
262 struct max732x_chip *chip = to_max732x(gc); in max732x_gpio_direction_input() local
284 struct max732x_chip *chip = to_max732x(gc); in max732x_gpio_direction_output() local
298 static int max732x_writew(struct max732x_chip *chip, uint16_t val) in max732x_writew()
313 static int max732x_readw(struct max732x_chip *chip, uint16_t *val) in max732x_readw()
327 static void max732x_irq_update_mask(struct max732x_chip *chip) in max732x_irq_update_mask()
359 struct max732x_chip *chip = to_max732x(gc); in max732x_irq_mask() local
367 struct max732x_chip *chip = to_max732x(gc); in max732x_irq_unmask() local
375 struct max732x_chip *chip = to_max732x(gc); in max732x_irq_bus_lock() local
384 struct max732x_chip *chip = to_max732x(gc); in max732x_irq_bus_sync_unlock() local
403 struct max732x_chip *chip = to_max732x(gc); in max732x_irq_set_type() local
441 static uint8_t max732x_irq_pending(struct max732x_chip *chip) in max732x_irq_pending()
474 struct max732x_chip *chip = devid; in max732x_irq_handler() local
494 static int max732x_irq_setup(struct max732x_chip *chip, in max732x_irq_setup()
541 static int max732x_irq_setup(struct max732x_chip *chip, in max732x_irq_setup()
555 static int max732x_setup_gpio(struct max732x_chip *chip, in max732x_setup_gpio()
622 struct max732x_chip *chip; in max732x_probe() local
713 struct max732x_chip *chip = i2c_get_clientdata(client); in max732x_remove() local