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()
411 static void aspeed_gpio_set(struct gpio_chip *gc, unsigned int offset, in aspeed_gpio_set()
428 static int aspeed_gpio_dir_in(struct gpio_chip *gc, unsigned int offset) in aspeed_gpio_dir_in()
456 unsigned int offset, int val) in aspeed_gpio_dir_out()
484 static int aspeed_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in aspeed_gpio_get_direction()
509 u32 *bit, int *offset) in irqd_to_aspeed_gpio_data()
534 int rc, offset; in aspeed_gpio_irq_ack() local
561 int rc, offset; in aspeed_gpio_irq_set_mask() local
614 int rc, offset; in aspeed_gpio_set_type() local
701 unsigned int offset; in aspeed_init_irq_valid_mask() local
719 unsigned int offset, bool enable) in aspeed_gpio_reset_tolerance()
748 static int aspeed_gpio_request(struct gpio_chip *chip, unsigned int offset) in aspeed_gpio_request()
756 static void aspeed_gpio_free(struct gpio_chip *chip, unsigned int offset) in aspeed_gpio_free()
786 unsigned int offset, unsigned int timer) in register_allocated_timer()
805 unsigned int offset) in unregister_allocated_timer()
824 unsigned int offset) in timer_allocation_registered()
830 static void configure_timer(struct aspeed_gpio *gpio, unsigned int offset, in configure_timer()
850 static int enable_debounce(struct gpio_chip *chip, unsigned int offset, in enable_debounce()
934 static int disable_debounce(struct gpio_chip *chip, unsigned int offset) in disable_debounce()
951 static int set_debounce(struct gpio_chip *chip, unsigned int offset, in set_debounce()
965 static int aspeed_gpio_set_config(struct gpio_chip *chip, unsigned int offset, in aspeed_gpio_set_config()
1016 int rc = 0, bindex, offset = gpio_chip_hwgpio(desc); in aspeed_gpio_copro_grab_gpio() local
1062 int rc = 0, bindex, offset = gpio_chip_hwgpio(desc); in aspeed_gpio_copro_release_gpio() local
1097 int rc, offset; in aspeed_gpio_irq_print_chip() local