Lines Matching refs:reset_gpio
32 static int reset_gpio; variable
34 extern void pxa27x_configure_ac97reset(int reset_gpio, bool to_gpio);
143 pxa27x_configure_ac97reset(reset_gpio, true); in pxa_ac97_warm_pxa27x()
146 pxa27x_configure_ac97reset(reset_gpio, false); in pxa_ac97_warm_pxa27x()
324 switch (pdata->reset_gpio) { in pxa2xx_ac97_hw_probe()
327 reset_gpio = pdata->reset_gpio; in pxa2xx_ac97_hw_probe()
330 reset_gpio = 113; in pxa2xx_ac97_hw_probe()
336 pdata->reset_gpio); in pxa2xx_ac97_hw_probe()
342 pdata->reset_gpio = of_get_named_gpio(dev->dev.of_node, in pxa2xx_ac97_hw_probe()
344 if (pdata->reset_gpio == -ENOENT) in pxa2xx_ac97_hw_probe()
345 pdata->reset_gpio = -1; in pxa2xx_ac97_hw_probe()
346 else if (pdata->reset_gpio < 0) in pxa2xx_ac97_hw_probe()
347 return pdata->reset_gpio; in pxa2xx_ac97_hw_probe()
348 reset_gpio = pdata->reset_gpio; in pxa2xx_ac97_hw_probe()
351 reset_gpio = 113; in pxa2xx_ac97_hw_probe()
361 ret = gpio_request_one(reset_gpio, GPIOF_OUT_INIT_HIGH, in pxa2xx_ac97_hw_probe()
368 pxa27x_configure_ac97reset(reset_gpio, false); in pxa2xx_ac97_hw_probe()
413 gpio_free(reset_gpio); in pxa2xx_ac97_hw_remove()