Lines Matching defs:aspeed_gpio
55 struct aspeed_gpio {
210 static inline void __iomem *bank_reg(struct aspeed_gpio *gpio,
267 struct aspeed_gpio *gpio, unsigned int offset)
280 static inline bool have_gpio(struct aspeed_gpio *gpio, unsigned int offset)
290 static inline bool have_input(struct aspeed_gpio *gpio, unsigned int offset)
300 static inline bool have_output(struct aspeed_gpio *gpio, unsigned int offset)
307 static void aspeed_gpio_change_cmd_source(struct aspeed_gpio *gpio,
339 static bool aspeed_gpio_copro_request(struct aspeed_gpio *gpio,
363 static void aspeed_gpio_copro_release(struct aspeed_gpio *gpio,
385 struct aspeed_gpio *gpio = gpiochip_get_data(gc);
394 struct aspeed_gpio *gpio = gpiochip_get_data(gc);
414 struct aspeed_gpio *gpio = gpiochip_get_data(gc);
430 struct aspeed_gpio *gpio = gpiochip_get_data(gc);
458 struct aspeed_gpio *gpio = gpiochip_get_data(gc);
486 struct aspeed_gpio *gpio = gpiochip_get_data(gc);
507 struct aspeed_gpio **gpio,
511 struct aspeed_gpio *internal;
531 struct aspeed_gpio *gpio;
557 struct aspeed_gpio *gpio;
611 struct aspeed_gpio *gpio;
673 struct aspeed_gpio *data = gpiochip_get_data(gc);
676 struct aspeed_gpio *gpio = gpiochip_get_data(gc);
697 struct aspeed_gpio *gpio = gpiochip_get_data(gc);
721 struct aspeed_gpio *gpio = gpiochip_get_data(chip);
761 static int usecs_to_cycles(struct aspeed_gpio *gpio, unsigned long usecs,
785 static int register_allocated_timer(struct aspeed_gpio *gpio,
804 static int unregister_allocated_timer(struct aspeed_gpio *gpio,
823 static inline bool timer_allocation_registered(struct aspeed_gpio *gpio,
830 static void configure_timer(struct aspeed_gpio *gpio, unsigned int offset,
853 struct aspeed_gpio *gpio = gpiochip_get_data(chip);
936 struct aspeed_gpio *gpio = gpiochip_get_data(chip);
954 struct aspeed_gpio *gpio = gpiochip_get_data(chip);
1015 struct aspeed_gpio *gpio = gpiochip_get_data(chip);
1061 struct aspeed_gpio *gpio = gpiochip_get_data(chip);
1095 struct aspeed_gpio *gpio;
1174 struct aspeed_gpio *gpio;