Lines Matching refs:crystalcove_gpio

80 struct crystalcove_gpio {  struct
89 static inline struct crystalcove_gpio *to_cg(struct gpio_chip *gc) in to_cg() argument
91 return container_of(gc, struct crystalcove_gpio, chip); in to_cg()
116 static void crystalcove_update_irq_mask(struct crystalcove_gpio *cg, in crystalcove_update_irq_mask()
128 static void crystalcove_update_irq_ctrl(struct crystalcove_gpio *cg, int gpio) in crystalcove_update_irq_ctrl()
137 struct crystalcove_gpio *cg = to_cg(chip); in crystalcove_gpio_dir_in()
149 struct crystalcove_gpio *cg = to_cg(chip); in crystalcove_gpio_dir_out()
160 struct crystalcove_gpio *cg = to_cg(chip); in crystalcove_gpio_get()
177 struct crystalcove_gpio *cg = to_cg(chip); in crystalcove_gpio_set()
190 struct crystalcove_gpio *cg = to_cg(irq_data_get_irq_chip_data(data)); in crystalcove_irq_type()
216 struct crystalcove_gpio *cg = to_cg(irq_data_get_irq_chip_data(data)); in crystalcove_bus_lock()
223 struct crystalcove_gpio *cg = to_cg(irq_data_get_irq_chip_data(data)); in crystalcove_bus_sync_unlock()
237 struct crystalcove_gpio *cg = to_cg(irq_data_get_irq_chip_data(data)); in crystalcove_irq_unmask()
245 struct crystalcove_gpio *cg = to_cg(irq_data_get_irq_chip_data(data)); in crystalcove_irq_mask()
263 struct crystalcove_gpio *cg = data; in crystalcove_gpio_irq_handler()
291 struct crystalcove_gpio *cg = to_cg(chip); in crystalcove_gpio_dbg_show()
321 struct crystalcove_gpio *cg; in crystalcove_gpio_probe()
374 struct crystalcove_gpio *cg = platform_get_drvdata(pdev); in crystalcove_gpio_remove()