Lines Matching refs:pca953x_chip

223 struct pca953x_chip {  struct
247 static int pca953x_bank_shift(struct pca953x_chip *chip) in pca953x_bank_shift() argument
297 static bool pca953x_check_register(struct pca953x_chip *chip, unsigned int reg, in pca953x_check_register()
324 struct pca953x_chip *chip = dev_get_drvdata(dev); in pca953x_readable_register()
347 struct pca953x_chip *chip = dev_get_drvdata(dev); in pca953x_writeable_register()
367 struct pca953x_chip *chip = dev_get_drvdata(dev); in pca953x_volatile_register()
410 static u8 pca953x_recalc_addr(struct pca953x_chip *chip, int reg, int off) in pca953x_recalc_addr()
420 static int pca953x_write_regs(struct pca953x_chip *chip, int reg, unsigned long *val) in pca953x_write_regs()
438 static int pca953x_read_regs(struct pca953x_chip *chip, int reg, unsigned long *val) in pca953x_read_regs()
458 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_gpio_direction_input()
472 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_gpio_direction_output()
493 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_gpio_get_value()
517 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_gpio_set_value()
528 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_gpio_get_direction()
549 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_gpio_get_multiple()
566 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_gpio_set_multiple()
582 static int pca953x_gpio_set_pull_up_down(struct pca953x_chip *chip, in pca953x_gpio_set_pull_up_down()
624 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_gpio_set_config()
635 static void pca953x_setup_gpio(struct pca953x_chip *chip, int gpios) in pca953x_setup_gpio()
663 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_irq_mask()
672 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_irq_unmask()
681 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_irq_set_wake()
694 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_irq_bus_lock()
702 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_irq_bus_sync_unlock()
734 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_irq_set_type()
752 struct pca953x_chip *chip = gpiochip_get_data(gc); in pca953x_irq_shutdown()
759 static bool pca953x_irq_pending(struct pca953x_chip *chip, unsigned long *pending) in pca953x_irq_pending()
816 struct pca953x_chip *chip = devid; in pca953x_irq_handler()
847 static int pca953x_irq_setup(struct pca953x_chip *chip, int irq_base) in pca953x_irq_setup()
918 static int pca953x_irq_setup(struct pca953x_chip *chip, in pca953x_irq_setup()
930 static int device_pca95xx_init(struct pca953x_chip *chip, u32 invert) in device_pca95xx_init()
956 static int device_pca957x_init(struct pca953x_chip *chip, u32 invert) in device_pca957x_init()
983 struct pca953x_chip *chip; in pca953x_probe()
1125 struct pca953x_chip *chip = i2c_get_clientdata(client); in pca953x_remove()
1145 struct pca953x_chip *chip = dev_get_drvdata(dev); in pca953x_regcache_sync()
1191 struct pca953x_chip *chip = dev_get_drvdata(dev); in pca953x_suspend()
1205 struct pca953x_chip *chip = dev_get_drvdata(dev); in pca953x_resume()