Lines Matching defs:offset
253 static const struct aspeed_gpio_bank *to_bank(unsigned int offset) in to_bank()
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()
340 unsigned int offset) in aspeed_gpio_copro_request()
364 unsigned int offset) in aspeed_gpio_copro_release()
383 static int aspeed_gpio_get(struct gpio_chip *gc, unsigned int offset) in aspeed_gpio_get()
391 static void __aspeed_gpio_set(struct gpio_chip *gc, unsigned int offset, in __aspeed_gpio_set()
413 static void aspeed_gpio_set(struct gpio_chip *gc, unsigned int offset, in aspeed_gpio_set()
430 static int aspeed_gpio_dir_in(struct gpio_chip *gc, unsigned int offset) in aspeed_gpio_dir_in()
458 unsigned int offset, int val) in aspeed_gpio_dir_out()
486 static int aspeed_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in aspeed_gpio_get_direction()
511 u32 *bit, int *offset) in irqd_to_aspeed_gpio_data()
536 int rc, offset; in aspeed_gpio_irq_ack() local
563 int rc, offset; in aspeed_gpio_irq_set_mask() local
616 int rc, offset; in aspeed_gpio_set_type() local
703 unsigned int offset; in aspeed_init_irq_valid_mask() local
721 unsigned int offset, bool enable) in aspeed_gpio_reset_tolerance()
750 static int aspeed_gpio_request(struct gpio_chip *chip, unsigned int offset) in aspeed_gpio_request()
758 static void aspeed_gpio_free(struct gpio_chip *chip, unsigned int offset) in aspeed_gpio_free()
788 unsigned int offset, unsigned int timer) in register_allocated_timer()
807 unsigned int offset) in unregister_allocated_timer()
826 unsigned int offset) in timer_allocation_registered()
832 static void configure_timer(struct aspeed_gpio *gpio, unsigned int offset, in configure_timer()
852 static int enable_debounce(struct gpio_chip *chip, unsigned int offset, in enable_debounce()
936 static int disable_debounce(struct gpio_chip *chip, unsigned int offset) in disable_debounce()
953 static int set_debounce(struct gpio_chip *chip, unsigned int offset, in set_debounce()
967 static int aspeed_gpio_set_config(struct gpio_chip *chip, unsigned int offset, in aspeed_gpio_set_config()
1018 int rc = 0, bindex, offset = gpio_chip_hwgpio(desc); in aspeed_gpio_copro_grab_gpio() local
1064 int rc = 0, bindex, offset = gpio_chip_hwgpio(desc); in aspeed_gpio_copro_release_gpio() local
1099 int rc, offset; in aspeed_gpio_irq_print_chip() local