Searched refs:loongson_gpio_chip (Results 1 – 1 of 1) sorted by relevance
32 struct loongson_gpio_chip { struct40 static inline struct loongson_gpio_chip *to_loongson_gpio_chip(struct gpio_chip *chip) in to_loongson_gpio_chip() argument42 return container_of(chip, struct loongson_gpio_chip, chip); in to_loongson_gpio_chip()45 static inline void loongson_commit_direction(struct loongson_gpio_chip *lgpio, unsigned int pin, in loongson_commit_direction()53 static void loongson_commit_level(struct loongson_gpio_chip *lgpio, unsigned int pin, int high) in loongson_commit_level()63 struct loongson_gpio_chip *lgpio = to_loongson_gpio_chip(chip); in loongson_gpio_direction_input()75 struct loongson_gpio_chip *lgpio = to_loongson_gpio_chip(chip); in loongson_gpio_direction_output()89 struct loongson_gpio_chip *lgpio = to_loongson_gpio_chip(chip); in loongson_gpio_get()100 struct loongson_gpio_chip *lgpio = to_loongson_gpio_chip(chip); in loongson_gpio_get_direction()112 struct loongson_gpio_chip *lgpio = to_loongson_gpio_chip(chip); in loongson_gpio_set()[all …]