Lines Matching defs:offset
42 * @offset: gpio whose value will be returned
46 static int msp71xx_exd_gpio_get(struct gpio_chip *chip, unsigned offset)
50 const unsigned bit = MSP71XX_READ_OFFSET(offset);
58 * @offset: gpio whose value will be assigned
65 unsigned offset, int value)
69 const unsigned bit = MSP71XX_DATA_OFFSET(offset);
77 * @offset: gpio whose value will be assigned
84 unsigned offset, int value)
89 msp71xx_exd_gpio_set(chip, offset, value);
90 __raw_writel(1 << MSP71XX_CFG_OUT_OFFSET(offset), msp71xx_chip->reg);
97 * @offset: gpio whose to which the value will be assigned
101 static int msp71xx_exd_direction_input(struct gpio_chip *chip, unsigned offset)
106 __raw_writel(1 << MSP71XX_CFG_IN_OFFSET(offset), msp71xx_chip->reg);