Lines Matching refs:reset_gpio
33 static int reset_gpio; variable
147 pxa27x_configure_ac97reset(reset_gpio, true); in pxa_ac97_warm_pxa27x()
150 pxa27x_configure_ac97reset(reset_gpio, false); in pxa_ac97_warm_pxa27x()
337 switch (pdata->reset_gpio) { in pxa2xx_ac97_hw_probe()
340 reset_gpio = pdata->reset_gpio; in pxa2xx_ac97_hw_probe()
343 reset_gpio = 113; in pxa2xx_ac97_hw_probe()
349 pdata->reset_gpio); in pxa2xx_ac97_hw_probe()
355 pdata->reset_gpio = of_get_named_gpio(dev->dev.of_node, in pxa2xx_ac97_hw_probe()
357 if (pdata->reset_gpio == -ENOENT) in pxa2xx_ac97_hw_probe()
358 pdata->reset_gpio = -1; in pxa2xx_ac97_hw_probe()
359 else if (pdata->reset_gpio < 0) in pxa2xx_ac97_hw_probe()
360 return pdata->reset_gpio; in pxa2xx_ac97_hw_probe()
361 reset_gpio = pdata->reset_gpio; in pxa2xx_ac97_hw_probe()
364 reset_gpio = 113; in pxa2xx_ac97_hw_probe()
374 ret = gpio_request_one(reset_gpio, GPIOF_OUT_INIT_HIGH, in pxa2xx_ac97_hw_probe()
381 pxa27x_configure_ac97reset(reset_gpio, false); in pxa2xx_ac97_hw_probe()
432 gpio_free(reset_gpio); in pxa2xx_ac97_hw_remove()