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
434 struct max732x_chip *chip = irq_data_get_irq_chip_data(data); in max732x_irq_set_wake() local
450 static uint8_t max732x_irq_pending(struct max732x_chip *chip) in max732x_irq_pending()
483 struct max732x_chip *chip = devid; in max732x_irq_handler() local
503 static int max732x_irq_setup(struct max732x_chip *chip, in max732x_irq_setup()
548 static int max732x_irq_setup(struct max732x_chip *chip, in max732x_irq_setup()
562 static int max732x_setup_gpio(struct max732x_chip *chip, in max732x_setup_gpio()
630 struct max732x_chip *chip; in max732x_probe() local
726 struct max732x_chip *chip = i2c_get_clientdata(client); in max732x_remove() local