Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpio/
Dgpio-bd70528.c20 static int bd70528_set_debounce(struct bd70528_gpio *bdgpio, in bd70528_set_debounce() argument
39 dev_err(bdgpio->dev, in bd70528_set_debounce()
43 return regmap_update_bits(bdgpio->regmap, GPIO_IN_REG(offset), in bd70528_set_debounce()
49 struct bd70528_gpio *bdgpio = gpiochip_get_data(chip); in bd70528_get_direction() local
53 ret = regmap_read(bdgpio->regmap, GPIO_OUT_REG(offset), &val); in bd70528_get_direction()
55 dev_err(bdgpio->dev, "Could not read gpio direction\n"); in bd70528_get_direction()
67 struct bd70528_gpio *bdgpio = gpiochip_get_data(chip); in bd70528_gpio_set_config() local
71 return regmap_update_bits(bdgpio->regmap, in bd70528_gpio_set_config()
77 return regmap_update_bits(bdgpio->regmap, in bd70528_gpio_set_config()
83 return bd70528_set_debounce(bdgpio, offset, in bd70528_gpio_set_config()
[all …]
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 …]
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()