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()
505 struct aspeed_gpio **gpio, in irqd_to_aspeed_gpio_data()
509 struct aspeed_gpio *internal; in irqd_to_aspeed_gpio_data()
529 struct aspeed_gpio *gpio; in aspeed_gpio_irq_ack()
555 struct aspeed_gpio *gpio; in aspeed_gpio_irq_set_mask()
601 struct aspeed_gpio *gpio; in aspeed_gpio_set_type()
663 struct aspeed_gpio *data = gpiochip_get_data(gc); in aspeed_gpio_irq_handler()
666 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in aspeed_gpio_irq_handler()
687 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in aspeed_init_irq_valid_mask()
711 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in aspeed_gpio_reset_tolerance()
751 static int usecs_to_cycles(struct aspeed_gpio *gpio, unsigned long usecs, in usecs_to_cycles()
775 static int register_allocated_timer(struct aspeed_gpio *gpio, in register_allocated_timer()
794 static int unregister_allocated_timer(struct aspeed_gpio *gpio, in unregister_allocated_timer()
813 static inline bool timer_allocation_registered(struct aspeed_gpio *gpio, in timer_allocation_registered()
820 static void configure_timer(struct aspeed_gpio *gpio, unsigned int offset, in configure_timer()
843 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in enable_debounce()
926 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in disable_debounce()
944 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in set_debounce()
1005 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in aspeed_gpio_copro_grab_gpio()
1051 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in aspeed_gpio_copro_release_gpio()
1139 struct aspeed_gpio *gpio; in aspeed_gpio_probe()