Lines Matching refs:pca953x_chip
198 struct pca953x_chip { struct
220 u8 (*recalc_addr)(struct pca953x_chip *chip, int reg, int off); argument
221 bool (*check_reg)(struct pca953x_chip *chip, unsigned int reg, argument
225 static int pca953x_bank_shift(struct pca953x_chip *chip) in pca953x_bank_shift()
275 static bool pca953x_check_register(struct pca953x_chip *chip, unsigned int reg, in pca953x_check_register()
307 static bool pcal6534_check_register(struct pca953x_chip *chip, unsigned int reg, in pcal6534_check_register()
348 struct pca953x_chip *chip = dev_get_drvdata(dev); in pca953x_readable_register()
371 struct pca953x_chip *chip = dev_get_drvdata(dev); in pca953x_writeable_register()
391 struct pca953x_chip *chip = dev_get_drvdata(dev); in pca953x_volatile_register()
437 static u8 pca953x_recalc_addr(struct pca953x_chip *chip, int reg, int off) in pca953x_recalc_addr()
451 static u8 pcal6534_recalc_addr(struct pca953x_chip *chip, int reg, int off) in pcal6534_recalc_addr()
482 static int pca953x_write_regs(struct pca953x_chip *chip, int reg, unsigned long *val) in pca953x_write_regs()
500 static int pca953x_read_regs(struct pca953x_chip *chip, int reg, unsigned long *val) in pca953x_read_regs()
520 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_gpio_direction_input()
534 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_gpio_direction_output()
555 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_gpio_get_value()
572 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_gpio_set_value()
583 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_gpio_get_direction()
604 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_gpio_get_multiple()
621 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_gpio_set_multiple()
637 static int pca953x_gpio_set_pull_up_down(struct pca953x_chip *chip, in pca953x_gpio_set_pull_up_down()
681 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_gpio_set_config()
694 static void pca953x_setup_gpio(struct pca953x_chip *chip, int gpios) in pca953x_setup_gpio()
722 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_irq_mask()
732 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_irq_unmask()
742 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_irq_set_wake()
755 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_irq_bus_lock()
763 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_irq_bus_sync_unlock()
797 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_irq_set_type()
815 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_irq_shutdown()
842 static bool pca953x_irq_pending(struct pca953x_chip *chip, unsigned long *pending) in pca953x_irq_pending()
899 struct pca953x_chip *chip = devid; in pca953x_irq_handler()
930 static int pca953x_irq_setup(struct pca953x_chip *chip, int irq_base) in pca953x_irq_setup()
991 static int pca953x_irq_setup(struct pca953x_chip *chip, in pca953x_irq_setup()
1003 static int device_pca95xx_init(struct pca953x_chip *chip, u32 invert) in device_pca95xx_init()
1032 static int device_pca957x_init(struct pca953x_chip *chip, u32 invert) in device_pca957x_init()
1058 struct pca953x_chip *chip; in pca953x_probe()
1196 struct pca953x_chip *chip = i2c_get_clientdata(client); in pca953x_remove()
1209 struct pca953x_chip *chip = dev_get_drvdata(dev); in pca953x_regcache_sync()
1258 struct pca953x_chip *chip = dev_get_drvdata(dev); in pca953x_suspend()
1274 struct pca953x_chip *chip = dev_get_drvdata(dev); in pca953x_resume()