Lines Matching refs:pca953x_chip
91 struct pca953x_chip { struct
112 static inline struct pca953x_chip *to_pca(struct gpio_chip *gc) in to_pca() argument
114 return container_of(gc, struct pca953x_chip, gpio_chip); in to_pca()
117 static int pca953x_read_single(struct pca953x_chip *chip, int reg, u32 *val, in pca953x_read_single()
136 static int pca953x_write_single(struct pca953x_chip *chip, int reg, u32 val, in pca953x_write_single()
154 static int pca953x_write_regs(struct pca953x_chip *chip, int reg, u8 *val) in pca953x_write_regs()
191 static int pca953x_read_regs(struct pca953x_chip *chip, int reg, u8 *val) in pca953x_read_regs()
219 struct pca953x_chip *chip = to_pca(gc); in pca953x_gpio_direction_input()
248 struct pca953x_chip *chip = to_pca(gc); in pca953x_gpio_direction_output()
298 struct pca953x_chip *chip = to_pca(gc); in pca953x_gpio_get_value()
326 struct pca953x_chip *chip = to_pca(gc); in pca953x_gpio_set_value()
355 static void pca953x_setup_gpio(struct pca953x_chip *chip, int gpios) in pca953x_setup_gpio()
379 struct pca953x_chip *chip = to_pca(gc); in pca953x_irq_mask()
387 struct pca953x_chip *chip = to_pca(gc); in pca953x_irq_unmask()
395 struct pca953x_chip *chip = to_pca(gc); in pca953x_irq_bus_lock()
403 struct pca953x_chip *chip = to_pca(gc); in pca953x_irq_bus_sync_unlock()
426 struct pca953x_chip *chip = to_pca(gc); in pca953x_irq_set_type()
458 static bool pca953x_irq_pending(struct pca953x_chip *chip, u8 *pending) in pca953x_irq_pending()
509 struct pca953x_chip *chip = devid; in pca953x_irq_handler()
531 static int pca953x_irq_setup(struct pca953x_chip *chip, in pca953x_irq_setup()
594 static int pca953x_irq_setup(struct pca953x_chip *chip, in pca953x_irq_setup()
606 static int device_pca953x_init(struct pca953x_chip *chip, u32 invert) in device_pca953x_init()
631 static int device_pca957x_init(struct pca953x_chip *chip, u32 invert) in device_pca957x_init()
667 struct pca953x_chip *chip; in pca953x_probe()
673 sizeof(struct pca953x_chip), GFP_KERNEL); in pca953x_probe()
740 struct pca953x_chip *chip = i2c_get_clientdata(client); in pca953x_remove()