Lines Matching defs:offset

327 static const struct aspeed_gpio_bank *to_bank(unsigned int offset)  in to_bank()
341 struct aspeed_gpio *gpio, unsigned int offset) in find_bank_props()
354 static inline bool have_gpio(struct aspeed_gpio *gpio, unsigned int offset) in have_gpio()
364 static inline bool have_input(struct aspeed_gpio *gpio, unsigned int offset) in have_input()
374 static inline bool have_output(struct aspeed_gpio *gpio, unsigned int offset) in have_output()
381 static void aspeed_gpio_change_cmd_source(struct aspeed_gpio *gpio, unsigned int offset, int cmdsrc) in aspeed_gpio_change_cmd_source()
388 unsigned int offset) in aspeed_gpio_copro_request()
397 unsigned int offset) in aspeed_gpio_copro_release()
409 static int aspeed_gpio_get(struct gpio_chip *gc, unsigned int offset) in aspeed_gpio_get()
416 static void __aspeed_gpio_set(struct gpio_chip *gc, unsigned int offset, in __aspeed_gpio_set()
426 static void aspeed_gpio_set(struct gpio_chip *gc, unsigned int offset, in aspeed_gpio_set()
443 static int aspeed_gpio_dir_in(struct gpio_chip *gc, unsigned int offset) in aspeed_gpio_dir_in()
465 unsigned int offset, int val) in aspeed_gpio_dir_out()
487 static int aspeed_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in aspeed_gpio_get_direction()
510 int *offset) in irqd_to_aspeed_gpio_data()
531 int rc, offset; in aspeed_gpio_irq_ack() local
552 int rc, offset; in aspeed_gpio_irq_set_mask() local
595 int rc, offset; in aspeed_gpio_set_type() local
668 unsigned int offset; in aspeed_init_irq_valid_mask() local
686 unsigned int offset, bool enable) in aspeed_gpio_reset_tolerance()
704 static int aspeed_gpio_request(struct gpio_chip *chip, unsigned int offset) in aspeed_gpio_request()
712 static void aspeed_gpio_free(struct gpio_chip *chip, unsigned int offset) in aspeed_gpio_free()
742 unsigned int offset, unsigned int timer) in register_allocated_timer()
761 unsigned int offset) in unregister_allocated_timer()
780 unsigned int offset) in timer_allocation_registered()
786 static void configure_timer(struct aspeed_gpio *gpio, unsigned int offset, in configure_timer()
796 static int enable_debounce(struct gpio_chip *chip, unsigned int offset, in enable_debounce()
880 static int disable_debounce(struct gpio_chip *chip, unsigned int offset) in disable_debounce()
897 static int set_debounce(struct gpio_chip *chip, unsigned int offset, in set_debounce()
911 static int aspeed_gpio_set_config(struct gpio_chip *chip, unsigned int offset, in aspeed_gpio_set_config()
962 int rc = 0, bindex, offset = gpio_chip_hwgpio(desc); in aspeed_gpio_copro_grab_gpio() local
1011 int rc = 0, bindex, offset = gpio_chip_hwgpio(desc); in aspeed_gpio_copro_release_gpio() local
1046 int rc, offset; in aspeed_gpio_irq_print_chip() local
1065 static void aspeed_g4_reg_bit_set(struct aspeed_gpio *gpio, unsigned int offset, in aspeed_g4_reg_bit_set()
1087 static bool aspeed_g4_reg_bit_get(struct aspeed_gpio *gpio, unsigned int offset, in aspeed_g4_reg_bit_get()
1096 static int aspeed_g4_reg_bank_get(struct aspeed_gpio *gpio, unsigned int offset, in aspeed_g4_reg_bank_get()
1108 static void aspeed_g4_privilege_ctrl(struct aspeed_gpio *gpio, unsigned int offset, int cmdsrc) in aspeed_g4_privilege_ctrl()
1133 static bool aspeed_g4_copro_request(struct aspeed_gpio *gpio, unsigned int offset) in aspeed_g4_copro_request()
1154 static void aspeed_g4_copro_release(struct aspeed_gpio *gpio, unsigned int offset) in aspeed_g4_copro_release()
1180 static void aspeed_g7_reg_bit_set(struct aspeed_gpio *gpio, unsigned int offset, in aspeed_g7_reg_bit_set()
1193 static bool aspeed_g7_reg_bit_get(struct aspeed_gpio *gpio, unsigned int offset, in aspeed_g7_reg_bit_get()
1209 static int aspeed_g7_reg_bank_get(struct aspeed_gpio *gpio, unsigned int offset, in aspeed_g7_reg_bank_get()