Searched refs:crystalcove_gpio (Results 1 – 1 of 1) sorted by relevance
80 struct crystalcove_gpio { struct89 static inline struct crystalcove_gpio *to_cg(struct gpio_chip *gc) in to_cg() argument91 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()[all …]