Searched refs:adp5585_gpio (Results 1 – 1 of 1) sorted by relevance
26 struct adp5585_gpio_dev *adp5585_gpio = gpiochip_get_data(chip); in adp5585_gpio_get_direction() local31 regmap_read(adp5585_gpio->regmap, ADP5585_GPIO_DIRECTION_A + bank, &val); in adp5585_gpio_get_direction()38 struct adp5585_gpio_dev *adp5585_gpio = gpiochip_get_data(chip); in adp5585_gpio_direction_input() local42 return regmap_clear_bits(adp5585_gpio->regmap, in adp5585_gpio_direction_input()48 struct adp5585_gpio_dev *adp5585_gpio = gpiochip_get_data(chip); in adp5585_gpio_direction_output() local53 ret = regmap_update_bits(adp5585_gpio->regmap, in adp5585_gpio_direction_output()59 return regmap_set_bits(adp5585_gpio->regmap, in adp5585_gpio_direction_output()65 struct adp5585_gpio_dev *adp5585_gpio = gpiochip_get_data(chip); in adp5585_gpio_get_value() local82 regmap_read(adp5585_gpio->regmap, ADP5585_GPIO_DIRECTION_A + bank, &val); in adp5585_gpio_get_value()84 regmap_read(adp5585_gpio->regmap, reg + bank, &val); in adp5585_gpio_get_value()[all …]