Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpio/
Dgpio-bd70528.c12 #define GPIO_OUT_REG(offset) (BD70528_REG_GPIO1_OUT + (offset) * 2) macro
52 ret = regmap_read(bdgpio->chip.regmap, GPIO_OUT_REG(offset), &val); in bd70528_get_direction()
71 GPIO_OUT_REG(offset), in bd70528_gpio_set_config()
77 GPIO_OUT_REG(offset), in bd70528_gpio_set_config()
96 return regmap_update_bits(bdgpio->chip.regmap, GPIO_OUT_REG(offset), in bd70528_direction_input()
108 ret = regmap_update_bits(bdgpio->chip.regmap, GPIO_OUT_REG(offset), in bd70528_gpio_set()
120 return regmap_update_bits(bdgpio->chip.regmap, GPIO_OUT_REG(offset), in bd70528_direction_output()
132 ret = regmap_read(bdgpio->chip.regmap, GPIO_OUT_REG(offset), &val); in bd70528_gpio_get_o()
Dgpio-bd71828.c10 #define GPIO_OUT_REG(off) (BD71828_REG_GPIO_CTRL1 + (off)) macro
32 ret = regmap_update_bits(bdgpio->chip.regmap, GPIO_OUT_REG(offset), in bd71828_gpio_set()
48 ret = regmap_read(bdgpio->chip.regmap, GPIO_OUT_REG(offset), in bd71828_gpio_get()
67 GPIO_OUT_REG(offset), in bd71828_gpio_set_config()
72 GPIO_OUT_REG(offset), in bd71828_gpio_set_config()