Lines Matching refs:aspeed_gpio
53 struct aspeed_gpio { struct
208 static inline void __iomem *bank_reg(struct aspeed_gpio *gpio, in bank_reg()
265 struct aspeed_gpio *gpio, unsigned int offset) in find_bank_props()
278 static inline bool have_gpio(struct aspeed_gpio *gpio, unsigned int offset) in have_gpio()
288 static inline bool have_input(struct aspeed_gpio *gpio, unsigned int offset) in have_input()
298 static inline bool have_output(struct aspeed_gpio *gpio, unsigned int offset) in have_output()
305 static void aspeed_gpio_change_cmd_source(struct aspeed_gpio *gpio, in aspeed_gpio_change_cmd_source()
337 static bool aspeed_gpio_copro_request(struct aspeed_gpio *gpio, in aspeed_gpio_copro_request()
361 static void aspeed_gpio_copro_release(struct aspeed_gpio *gpio, in aspeed_gpio_copro_release()
383 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in aspeed_gpio_get()
392 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in __aspeed_gpio_set()
412 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in aspeed_gpio_set()
428 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in aspeed_gpio_dir_in()
456 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in aspeed_gpio_dir_out()
484 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in aspeed_gpio_get_direction()
506 struct aspeed_gpio **gpio, in irqd_to_aspeed_gpio_data()
510 struct aspeed_gpio *internal; in irqd_to_aspeed_gpio_data()
530 struct aspeed_gpio *gpio; in aspeed_gpio_irq_ack()
556 struct aspeed_gpio *gpio; in aspeed_gpio_irq_set_mask()
602 struct aspeed_gpio *gpio; in aspeed_gpio_set_type()
664 struct aspeed_gpio *data = gpiochip_get_data(gc); in aspeed_gpio_irq_handler()
667 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in aspeed_gpio_irq_handler()
691 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in aspeed_init_irq_valid_mask()
715 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in aspeed_gpio_reset_tolerance()
755 static int usecs_to_cycles(struct aspeed_gpio *gpio, unsigned long usecs, in usecs_to_cycles()
779 static int register_allocated_timer(struct aspeed_gpio *gpio, in register_allocated_timer()
798 static int unregister_allocated_timer(struct aspeed_gpio *gpio, in unregister_allocated_timer()
817 static inline bool timer_allocation_registered(struct aspeed_gpio *gpio, in timer_allocation_registered()
824 static void configure_timer(struct aspeed_gpio *gpio, unsigned int offset, in configure_timer()
847 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in enable_debounce()
930 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in disable_debounce()
948 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in set_debounce()
1009 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in aspeed_gpio_copro_grab_gpio()
1055 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in aspeed_gpio_copro_release_gpio()
1142 struct aspeed_gpio *gpio; in aspeed_gpio_probe()