Lines Matching defs:offset
11 #define GPIO_IN_REG(offset) (BD70528_REG_GPIO1_IN + (offset) * 2) argument
12 #define GPIO_OUT_REG(offset) (BD70528_REG_GPIO1_OUT + (offset) * 2) argument
20 unsigned int offset, unsigned int debounce) in bd70528_set_debounce()
46 static int bd70528_get_direction(struct gpio_chip *chip, unsigned int offset) in bd70528_get_direction()
63 static int bd70528_gpio_set_config(struct gpio_chip *chip, unsigned int offset, in bd70528_gpio_set_config()
91 static int bd70528_direction_input(struct gpio_chip *chip, unsigned int offset) in bd70528_direction_input()
101 static void bd70528_gpio_set(struct gpio_chip *chip, unsigned int offset, in bd70528_gpio_set()
114 static int bd70528_direction_output(struct gpio_chip *chip, unsigned int offset, in bd70528_direction_output()
125 #define GPIO_IN_STATE_MASK(offset) (BD70528_GPIO_IN_STATE_BASE << (offset)) argument
127 static int bd70528_gpio_get_o(struct bd70528_gpio *bdgpio, unsigned int offset) in bd70528_gpio_get_o()
141 static int bd70528_gpio_get_i(struct bd70528_gpio *bdgpio, unsigned int offset) in bd70528_gpio_get_i()
156 static int bd70528_gpio_get(struct gpio_chip *chip, unsigned int offset) in bd70528_gpio_get()