Home
last modified time | relevance | path

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

/drivers/net/wireless/ti/wl1251/
Dsdio.c186 if (gpio_is_valid(wl->power_gpio)) in wl1251_sdio_set_power()
187 gpio_set_value(wl->power_gpio, true); in wl1251_sdio_set_power()
208 if (gpio_is_valid(wl->power_gpio)) in wl1251_sdio_set_power()
209 gpio_set_value(wl->power_gpio, false); in wl1251_sdio_set_power()
261 wl->power_gpio = wl1251_board_data->power_gpio; in wl1251_sdio_probe()
266 if (gpio_is_valid(wl->power_gpio)) { in wl1251_sdio_probe()
267 ret = devm_gpio_request(&func->dev, wl->power_gpio, in wl1251_sdio_probe()
Dspi.c226 if (gpio_is_valid(wl->power_gpio)) in wl1251_spi_set_power()
227 gpio_set_value(wl->power_gpio, enable); in wl1251_spi_set_power()
278 wl->power_gpio = of_get_named_gpio(np, "ti,power-gpio", 0); in wl1251_spi_probe()
280 wl->power_gpio = pdata->power_gpio; in wl1251_spi_probe()
284 if (wl->power_gpio == -EPROBE_DEFER) { in wl1251_spi_probe()
289 if (gpio_is_valid(wl->power_gpio)) { in wl1251_spi_probe()
290 ret = devm_gpio_request_one(&spi->dev, wl->power_gpio, in wl1251_spi_probe()
Dwl1251.h279 int power_gpio; member
/drivers/nfc/fdp/
Di2c.c51 gpiod_set_value_cansleep(phy->power_gpio, FDP_POWER_OFF); in fdp_nci_i2c_reset()
53 gpiod_set_value_cansleep(phy->power_gpio, FDP_POWER_ON); in fdp_nci_i2c_reset()
336 phy->power_gpio = devm_gpiod_get(dev, FDP_DP_POWER_GPIO_NAME, in fdp_nci_i2c_probe()
339 if (IS_ERR(phy->power_gpio)) { in fdp_nci_i2c_probe()
341 return PTR_ERR(phy->power_gpio); in fdp_nci_i2c_probe()
Dfdp.h24 struct gpio_desc *power_gpio; member
/drivers/mmc/host/
Dsdhci-tegra.c51 struct gpio_desc *power_gpio; member
281 tegra_host->power_gpio = devm_gpiod_get_optional(&pdev->dev, "power", in sdhci_tegra_probe()
283 if (IS_ERR(tegra_host->power_gpio)) { in sdhci_tegra_probe()
284 rc = PTR_ERR(tegra_host->power_gpio); in sdhci_tegra_probe()
/drivers/media/platform/
Dvia-camera.c71 int power_gpio; member
182 cam->power_gpio = viafb_gpio_lookup("VGPIO3"); in via_sensor_power_setup()
184 if (cam->power_gpio < 0 || cam->reset_gpio < 0) { in via_sensor_power_setup()
188 ret = gpio_request(cam->power_gpio, "viafb-camera"); in via_sensor_power_setup()
196 gpio_free(cam->power_gpio); in via_sensor_power_setup()
199 gpio_direction_output(cam->power_gpio, 0); in via_sensor_power_setup()
209 gpio_set_value(cam->power_gpio, 1); in via_sensor_power_up()
218 gpio_set_value(cam->power_gpio, 0); in via_sensor_power_down()
226 gpio_free(cam->power_gpio); in via_sensor_power_release()
/drivers/net/ethernet/smsc/
Dsmc91x.h256 struct gpio_desc *power_gpio; member
Dsmc91x.c2289 ret = try_toggle_control_gpio(&pdev->dev, &lp->power_gpio, in smc_drv_probe()