Home
last modified time | relevance | path

Searched refs:adp5585_gpio (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/gpio/
Dgpio-adp5585.c26 struct adp5585_gpio_dev *adp5585_gpio = gpiochip_get_data(chip); in adp5585_gpio_get_direction() local
31 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() local
42 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() local
53 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() local
82 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 …]