Lines Matching refs:ret
96 int ret; in tegra186_gpio_direction_output() local
98 ret = tegra186_gpio_set_val(dev, offset, value != 0); in tegra186_gpio_direction_output()
99 if (ret) in tegra186_gpio_direction_output()
100 return ret; in tegra186_gpio_direction_output()
144 int gpio, port, ret; in tegra186_gpio_xlate() local
148 ret = device_get_child(dev, port, &desc->dev); in tegra186_gpio_xlate()
149 if (ret) in tegra186_gpio_xlate()
150 return ret; in tegra186_gpio_xlate()
176 int port, ret; in tegra186_gpio_bind() local
196 ret = device_bind(parent, parent->driver, plat->name, plat, in tegra186_gpio_bind()
198 if (ret) in tegra186_gpio_bind()
199 return ret; in tegra186_gpio_bind()