Home
last modified time | relevance | path

Searched refs:loongson_gpio_chip (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/gpio/
Dgpio-loongson-64bit.c32 struct loongson_gpio_chip { struct
40 static inline struct loongson_gpio_chip *to_loongson_gpio_chip(struct gpio_chip *chip) in to_loongson_gpio_chip() argument
42 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 …]