Home
last modified time | relevance | path

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

/linux/drivers/gpio/
H A Dgpio-bd71828.c23 struct bd71828_gpio *bdgpio = gpiochip_get_data(chip); in bd71828_gpio_set() local
33 ret = regmap_update_bits(bdgpio->regmap, GPIO_OUT_REG(offset), in bd71828_gpio_set()
36 dev_err(bdgpio->dev, "Could not set gpio to %d\n", value); in bd71828_gpio_set()
43 struct bd71828_gpio *bdgpio = gpiochip_get_data(chip); in bd71828_gpio_get() local
46 ret = regmap_read(bdgpio->regmap, BD71828_REG_IO_STAT, in bd71828_gpio_get()
49 ret = regmap_read(bdgpio->regmap, GPIO_OUT_REG(offset), in bd71828_gpio_get()
60 struct bd71828_gpio *bdgpio = gpiochip_get_data(chip); in bd71828_gpio_set_config() local
67 return regmap_update_bits(bdgpio->regmap, in bd71828_gpio_set_config()
72 return regmap_update_bits(bdgpio->regmap, in bd71828_gpio_set_config()
101 struct bd71828_gpio *bdgpio; in bd71828_probe() local
[all …]
H A Dgpio-bd71815.c60 struct bd71815_gpio *bdgpio = gpiochip_get_data(chip); in bd71815_gpio_set_config() local
64 return regmap_update_bits(bdgpio->regmap, in bd71815_gpio_set_config()
69 return regmap_update_bits(bdgpio->regmap, in bd71815_gpio_set_config()