Lines Matching +defs:val +defs:offset
144 unsigned int offset = IPROC_GPIO_REG(gpio, reg); in iproc_set_bit() local
146 u32 val; in iproc_set_bit() local
159 unsigned int offset = IPROC_GPIO_REG(gpio, reg); in iproc_get_bit() local
176 unsigned long val = readl(chip->base + (i * GPIO_BANK_SIZE) + in iproc_gpio_irq_handler() local
202 unsigned int offset = IPROC_GPIO_REG(gpio, in iproc_gpio_irq_ack() local
205 u32 val = BIT(shift); in iproc_gpio_irq_ack() local
330 static int iproc_gpio_request(struct gpio_chip *gc, unsigned offset) in iproc_gpio_request()
341 static void iproc_gpio_free(struct gpio_chip *gc, unsigned offset) in iproc_gpio_free()
366 int val) in iproc_gpio_direction_output()
384 unsigned int offset = IPROC_GPIO_REG(gpio, IPROC_GPIO_OUT_EN_OFFSET); in iproc_gpio_get_direction() local
393 static void iproc_gpio_set(struct gpio_chip *gc, unsigned gpio, int val) in iproc_gpio_set()
408 unsigned int offset = IPROC_GPIO_REG(gpio, in iproc_gpio_get() local
578 unsigned int i, offset, shift; in iproc_gpio_set_strength() local
579 u32 val; in iproc_gpio_set_strength() local
615 unsigned int i, offset, shift; in iproc_gpio_get_strength() local
616 u32 val; in iproc_gpio_get_strength() local