Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-max77620.c134 struct max77620_gpio *mgpio = gpiochip_get_data(gc); in max77620_gpio_dir_input() local
137 ret = regmap_update_bits(mgpio->rmap, GPIO_REG_ADDR(offset), in max77620_gpio_dir_input()
141 dev_err(mgpio->dev, "CNFG_GPIOx dir update failed: %d\n", ret); in max77620_gpio_dir_input()
148 struct max77620_gpio *mgpio = gpiochip_get_data(gc); in max77620_gpio_get() local
152 ret = regmap_read(mgpio->rmap, GPIO_REG_ADDR(offset), &val); in max77620_gpio_get()
154 dev_err(mgpio->dev, "CNFG_GPIOx read failed: %d\n", ret); in max77620_gpio_get()
167 struct max77620_gpio *mgpio = gpiochip_get_data(gc); in max77620_gpio_dir_output() local
174 ret = regmap_update_bits(mgpio->rmap, GPIO_REG_ADDR(offset), in max77620_gpio_dir_output()
177 dev_err(mgpio->dev, "CNFG_GPIOx val update failed: %d\n", ret); in max77620_gpio_dir_output()
181 ret = regmap_update_bits(mgpio->rmap, GPIO_REG_ADDR(offset), in max77620_gpio_dir_output()
[all …]