Lines Matching refs:reset_gpio
33 static int reset_gpio; variable
36 extern void pxa27x_configure_ac97reset(int reset_gpio, bool to_gpio);
149 pxa27x_configure_ac97reset(reset_gpio, true); in pxa_ac97_warm_pxa27x()
152 pxa27x_configure_ac97reset(reset_gpio, false); in pxa_ac97_warm_pxa27x()
339 switch (pdata->reset_gpio) { in pxa2xx_ac97_hw_probe()
342 reset_gpio = pdata->reset_gpio; in pxa2xx_ac97_hw_probe()
345 reset_gpio = 113; in pxa2xx_ac97_hw_probe()
351 pdata->reset_gpio); in pxa2xx_ac97_hw_probe()
357 pdata->reset_gpio = of_get_named_gpio(dev->dev.of_node, in pxa2xx_ac97_hw_probe()
359 if (pdata->reset_gpio == -ENOENT) in pxa2xx_ac97_hw_probe()
360 pdata->reset_gpio = -1; in pxa2xx_ac97_hw_probe()
361 else if (pdata->reset_gpio < 0) in pxa2xx_ac97_hw_probe()
362 return pdata->reset_gpio; in pxa2xx_ac97_hw_probe()
363 reset_gpio = pdata->reset_gpio; in pxa2xx_ac97_hw_probe()
366 reset_gpio = 113; in pxa2xx_ac97_hw_probe()
376 ret = gpio_request_one(reset_gpio, GPIOF_OUT_INIT_HIGH, in pxa2xx_ac97_hw_probe()
383 pxa27x_configure_ac97reset(reset_gpio, false); in pxa2xx_ac97_hw_probe()
434 gpio_free(reset_gpio); in pxa2xx_ac97_hw_remove()