Searched refs:ab8500_gpio (Results 1 – 1 of 1) sorted by relevance
77 struct ab8500_gpio { struct91 static inline struct ab8500_gpio *to_ab8500_gpio(struct gpio_chip *chip) in to_ab8500_gpio()93 return container_of(chip, struct ab8500_gpio, chip); in to_ab8500_gpio()99 struct ab8500_gpio *ab8500_gpio = to_ab8500_gpio(chip); in ab8500_gpio_set_bits() local104 ret = abx500_mask_and_set_register_interruptible(ab8500_gpio->dev, in ab8500_gpio_set_bits()107 dev_err(ab8500_gpio->dev, "%s write failed\n", __func__); in ab8500_gpio_set_bits()117 struct ab8500_gpio *ab8500_gpio = to_ab8500_gpio(chip); in ab8500_gpio_get() local122 ret = abx500_get_register_interruptible(ab8500_gpio->dev, AB8500_MISC, in ab8500_gpio_get()125 dev_err(ab8500_gpio->dev, "%s read failed\n", __func__); in ab8500_gpio_get()133 struct ab8500_gpio *ab8500_gpio = to_ab8500_gpio(chip); in ab8500_gpio_set() local[all …]