Lines Matching defs:gpio
210 static inline void __iomem *bank_reg(struct aspeed_gpio *gpio, in bank_reg()
267 struct aspeed_gpio *gpio, unsigned int offset) in find_bank_props()
280 static inline bool have_gpio(struct aspeed_gpio *gpio, unsigned int offset) in have_gpio()
290 static inline bool have_input(struct aspeed_gpio *gpio, unsigned int offset) in have_input()
300 static inline bool have_output(struct aspeed_gpio *gpio, unsigned int offset) in have_output()
307 static void aspeed_gpio_change_cmd_source(struct aspeed_gpio *gpio, in aspeed_gpio_change_cmd_source()
339 static bool aspeed_gpio_copro_request(struct aspeed_gpio *gpio, in aspeed_gpio_copro_request()
363 static void aspeed_gpio_copro_release(struct aspeed_gpio *gpio, in aspeed_gpio_copro_release()
385 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in aspeed_gpio_get() local
394 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in __aspeed_gpio_set() local
416 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in aspeed_gpio_set() local
432 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in aspeed_gpio_dir_in() local
460 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in aspeed_gpio_dir_out() local
488 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in aspeed_gpio_get_direction() local
509 struct aspeed_gpio **gpio, in irqd_to_aspeed_gpio_data()
533 struct aspeed_gpio *gpio; in aspeed_gpio_irq_ack() local
559 struct aspeed_gpio *gpio; in aspeed_gpio_irq_set_mask() local
613 struct aspeed_gpio *gpio; in aspeed_gpio_set_type() local
678 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in aspeed_gpio_irq_handler() local
699 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in aspeed_init_irq_valid_mask() local
723 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in aspeed_gpio_reset_tolerance() local
763 static int usecs_to_cycles(struct aspeed_gpio *gpio, unsigned long usecs, in usecs_to_cycles()
787 static int register_allocated_timer(struct aspeed_gpio *gpio, in register_allocated_timer()
806 static int unregister_allocated_timer(struct aspeed_gpio *gpio, in unregister_allocated_timer()
825 static inline bool timer_allocation_registered(struct aspeed_gpio *gpio, in timer_allocation_registered()
832 static void configure_timer(struct aspeed_gpio *gpio, unsigned int offset, in configure_timer()
855 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in enable_debounce() local
938 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in disable_debounce() local
956 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in set_debounce() local
1017 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in aspeed_gpio_copro_grab_gpio() local
1063 struct aspeed_gpio *gpio = gpiochip_get_data(chip); in aspeed_gpio_copro_release_gpio() local
1097 struct aspeed_gpio *gpio; in aspeed_gpio_irq_print_chip() local
1176 struct aspeed_gpio *gpio; in aspeed_gpio_probe() local