Lines Matching refs:lpc32xx_gpio_chip
162 struct lpc32xx_gpio_chip { struct
168 static inline u32 gpreg_read(struct lpc32xx_gpio_chip *group, unsigned long offset) in gpreg_read() argument
173 static inline void gpreg_write(struct lpc32xx_gpio_chip *group, u32 val, unsigned long offset) in gpreg_write()
178 static void __set_gpio_dir_p012(struct lpc32xx_gpio_chip *group, in __set_gpio_dir_p012()
189 static void __set_gpio_dir_p3(struct lpc32xx_gpio_chip *group, in __set_gpio_dir_p3()
200 static void __set_gpio_level_p012(struct lpc32xx_gpio_chip *group, in __set_gpio_level_p012()
211 static void __set_gpio_level_p3(struct lpc32xx_gpio_chip *group, in __set_gpio_level_p3()
222 static void __set_gpo_level_p3(struct lpc32xx_gpio_chip *group, in __set_gpo_level_p3()
231 static int __get_gpio_state_p012(struct lpc32xx_gpio_chip *group, in __get_gpio_state_p012()
238 static int __get_gpio_state_p3(struct lpc32xx_gpio_chip *group, in __get_gpio_state_p3()
250 static int __get_gpi_state_p3(struct lpc32xx_gpio_chip *group, in __get_gpi_state_p3()
256 static int __get_gpo_state_p3(struct lpc32xx_gpio_chip *group, in __get_gpo_state_p3()
268 struct lpc32xx_gpio_chip *group = gpiochip_get_data(chip); in lpc32xx_gpio_dir_input_p012()
278 struct lpc32xx_gpio_chip *group = gpiochip_get_data(chip); in lpc32xx_gpio_dir_input_p3()
293 struct lpc32xx_gpio_chip *group = gpiochip_get_data(chip); in lpc32xx_gpio_get_value_p012()
300 struct lpc32xx_gpio_chip *group = gpiochip_get_data(chip); in lpc32xx_gpio_get_value_p3()
307 struct lpc32xx_gpio_chip *group = gpiochip_get_data(chip); in lpc32xx_gpi_get_value()
315 struct lpc32xx_gpio_chip *group = gpiochip_get_data(chip); in lpc32xx_gpio_dir_output_p012()
326 struct lpc32xx_gpio_chip *group = gpiochip_get_data(chip); in lpc32xx_gpio_dir_output_p3()
337 struct lpc32xx_gpio_chip *group = gpiochip_get_data(chip); in lpc32xx_gpio_dir_out_always()
346 struct lpc32xx_gpio_chip *group = gpiochip_get_data(chip); in lpc32xx_gpio_set_value_p012()
354 struct lpc32xx_gpio_chip *group = gpiochip_get_data(chip); in lpc32xx_gpio_set_value_p3()
362 struct lpc32xx_gpio_chip *group = gpiochip_get_data(chip); in lpc32xx_gpo_set_value()
369 struct lpc32xx_gpio_chip *group = gpiochip_get_data(chip); in lpc32xx_gpo_get_value()
397 static struct lpc32xx_gpio_chip lpc32xx_gpiochip[] = {