Home
last modified time | relevance | path

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

/drivers/net/wireless/ti/wl1251/
Dspi.c212 if (gpio_is_valid(wl->power_gpio)) in wl1251_spi_set_power()
213 gpio_set_value(wl->power_gpio, enable); in wl1251_spi_set_power()
264 wl->power_gpio = of_get_named_gpio(np, "ti,power-gpio", 0); in wl1251_spi_probe()
266 wl->power_gpio = pdata->power_gpio; in wl1251_spi_probe()
270 if (wl->power_gpio == -EPROBE_DEFER) { in wl1251_spi_probe()
275 if (gpio_is_valid(wl->power_gpio)) { in wl1251_spi_probe()
276 ret = devm_gpio_request_one(&spi->dev, wl->power_gpio, in wl1251_spi_probe()
Dwl1251.h265 int power_gpio; member
/drivers/nfc/fdp/
Di2c.c42 gpiod_set_value_cansleep(phy->power_gpio, FDP_POWER_OFF); in fdp_nci_i2c_reset()
44 gpiod_set_value_cansleep(phy->power_gpio, FDP_POWER_ON); in fdp_nci_i2c_reset()
323 phy->power_gpio = devm_gpiod_get(dev, "power", GPIOD_OUT_LOW); in fdp_nci_i2c_probe()
324 if (IS_ERR(phy->power_gpio)) { in fdp_nci_i2c_probe()
326 return PTR_ERR(phy->power_gpio); in fdp_nci_i2c_probe()
Dfdp.h16 struct gpio_desc *power_gpio; member
/drivers/media/platform/
Dvia-camera.c74 int power_gpio; member
185 cam->power_gpio = viafb_gpio_lookup("VGPIO3"); in via_sensor_power_setup()
187 if (!gpio_is_valid(cam->power_gpio) || !gpio_is_valid(cam->reset_gpio)) { in via_sensor_power_setup()
191 ret = gpio_request(cam->power_gpio, "viafb-camera"); in via_sensor_power_setup()
199 gpio_free(cam->power_gpio); in via_sensor_power_setup()
202 gpio_direction_output(cam->power_gpio, 0); in via_sensor_power_setup()
212 gpio_set_value(cam->power_gpio, 1); in via_sensor_power_up()
221 gpio_set_value(cam->power_gpio, 0); in via_sensor_power_down()
229 gpio_free(cam->power_gpio); in via_sensor_power_release()
/drivers/phy/motorola/
Dphy-mapphone-mdm6600.c366 struct gpio_desc *mode_gpio0, *mode_gpio1, *reset_gpio, *power_gpio; in phy_mdm6600_device_power_on() local
372 power_gpio = ddata->ctrl_gpios[PHY_MDM6600_POWER]; in phy_mdm6600_device_power_on()
391 gpiod_set_value_cansleep(power_gpio, 1); in phy_mdm6600_device_power_on()
393 gpiod_set_value_cansleep(power_gpio, 0); in phy_mdm6600_device_power_on()
/drivers/mmc/host/
Dsdhci-tegra.c153 struct gpio_desc *power_gpio; member
1659 tegra_host->power_gpio = devm_gpiod_get_optional(&pdev->dev, "power", in sdhci_tegra_probe()
1661 if (IS_ERR(tegra_host->power_gpio)) { in sdhci_tegra_probe()
1662 rc = PTR_ERR(tegra_host->power_gpio); in sdhci_tegra_probe()
/drivers/net/ethernet/smsc/
Dsmc91x.h236 struct gpio_desc *power_gpio; member
Dsmc91x.c2273 ret = try_toggle_control_gpio(&pdev->dev, &lp->power_gpio, in smc_drv_probe()