Lines Matching refs:aspeed_gpio
57 struct aspeed_gpio { struct
211 static inline void __iomem *bank_reg(struct aspeed_gpio *gpio, in bank_reg()
268 struct aspeed_gpio *gpio, unsigned int offset) in find_bank_props()
281 static inline bool have_gpio(struct aspeed_gpio *gpio, unsigned int offset) in have_gpio()
291 static inline bool have_input(struct aspeed_gpio *gpio, unsigned int offset) in have_input()
301 static inline bool have_output(struct aspeed_gpio *gpio, unsigned int offset) in have_output()
308 static void aspeed_gpio_change_cmd_source(struct aspeed_gpio *gpio, in aspeed_gpio_change_cmd_source()
340 static bool aspeed_gpio_copro_request(struct aspeed_gpio *gpio, in aspeed_gpio_copro_request()
364 static void aspeed_gpio_copro_release(struct aspeed_gpio *gpio, in aspeed_gpio_copro_release()
386 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in aspeed_gpio_get()
395 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in __aspeed_gpio_set()
415 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in aspeed_gpio_set()
431 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in aspeed_gpio_dir_in()
459 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in aspeed_gpio_dir_out()
487 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in aspeed_gpio_get_direction()
509 struct aspeed_gpio **gpio, in irqd_to_aspeed_gpio_data()
513 struct aspeed_gpio *internal; in irqd_to_aspeed_gpio_data()
533 struct aspeed_gpio *gpio; in aspeed_gpio_irq_ack()
559 struct aspeed_gpio *gpio; in aspeed_gpio_irq_set_mask()
605 struct aspeed_gpio *gpio; in aspeed_gpio_set_type()
667 struct aspeed_gpio *data = gpiochip_get_data(gc); in aspeed_gpio_irq_handler()
696 static void set_irq_valid_mask(struct aspeed_gpio *gpio) in set_irq_valid_mask()
718 static int aspeed_gpio_setup_irqs(struct aspeed_gpio *gpio, in aspeed_gpio_setup_irqs()
747 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in aspeed_gpio_reset_tolerance()
787 static int usecs_to_cycles(struct aspeed_gpio *gpio, unsigned long usecs, in usecs_to_cycles()
811 static int register_allocated_timer(struct aspeed_gpio *gpio, in register_allocated_timer()
830 static int unregister_allocated_timer(struct aspeed_gpio *gpio, in unregister_allocated_timer()
849 static inline bool timer_allocation_registered(struct aspeed_gpio *gpio, in timer_allocation_registered()
856 static void configure_timer(struct aspeed_gpio *gpio, unsigned int offset, in configure_timer()
879 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in enable_debounce()
962 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in disable_debounce()
980 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in set_debounce()
1041 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in aspeed_gpio_copro_grab_gpio()
1087 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in aspeed_gpio_copro_release_gpio()
1158 struct aspeed_gpio *gpio; in aspeed_gpio_probe()