Lines Matching defs:offset

251 static const struct aspeed_gpio_bank *to_bank(unsigned int offset)  in to_bank()
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()
338 unsigned int offset) in aspeed_gpio_copro_request()
362 unsigned int offset) in aspeed_gpio_copro_release()
381 static int aspeed_gpio_get(struct gpio_chip *gc, unsigned int offset) in aspeed_gpio_get()
389 static void __aspeed_gpio_set(struct gpio_chip *gc, unsigned int offset, in __aspeed_gpio_set()
409 static void aspeed_gpio_set(struct gpio_chip *gc, unsigned int offset, in aspeed_gpio_set()
426 static int aspeed_gpio_dir_in(struct gpio_chip *gc, unsigned int offset) in aspeed_gpio_dir_in()
454 unsigned int offset, int val) in aspeed_gpio_dir_out()
482 static int aspeed_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in aspeed_gpio_get_direction()
507 u32 *bit, int *offset) in irqd_to_aspeed_gpio_data()
532 int rc, offset; in aspeed_gpio_irq_ack() local
559 int rc, offset; in aspeed_gpio_irq_set_mask() local
604 int rc, offset; in aspeed_gpio_set_type() local
691 unsigned int offset; in aspeed_init_irq_valid_mask() local
709 unsigned int offset, bool enable) in aspeed_gpio_reset_tolerance()
738 static int aspeed_gpio_request(struct gpio_chip *chip, unsigned int offset) in aspeed_gpio_request()
746 static void aspeed_gpio_free(struct gpio_chip *chip, unsigned int offset) in aspeed_gpio_free()
776 unsigned int offset, unsigned int timer) in register_allocated_timer()
795 unsigned int offset) in unregister_allocated_timer()
814 unsigned int offset) in timer_allocation_registered()
820 static void configure_timer(struct aspeed_gpio *gpio, unsigned int offset, in configure_timer()
840 static int enable_debounce(struct gpio_chip *chip, unsigned int offset, in enable_debounce()
924 static int disable_debounce(struct gpio_chip *chip, unsigned int offset) in disable_debounce()
941 static int set_debounce(struct gpio_chip *chip, unsigned int offset, in set_debounce()
955 static int aspeed_gpio_set_config(struct gpio_chip *chip, unsigned int offset, in aspeed_gpio_set_config()
1006 int rc = 0, bindex, offset = gpio_chip_hwgpio(desc); in aspeed_gpio_copro_grab_gpio() local
1052 int rc = 0, bindex, offset = gpio_chip_hwgpio(desc); in aspeed_gpio_copro_release_gpio() local