Searched refs:power_gpio (Results 1 – 9 of 9) sorted by relevance
/drivers/net/wireless/ti/wl1251/ |
D | sdio.c | 186 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()
|
D | spi.c | 226 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()
|
D | wl1251.h | 279 int power_gpio; member
|
/drivers/nfc/fdp/ |
D | i2c.c | 51 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()
|
D | fdp.h | 24 struct gpio_desc *power_gpio; member
|
/drivers/mmc/host/ |
D | sdhci-tegra.c | 51 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/ |
D | via-camera.c | 71 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/ |
D | smc91x.h | 256 struct gpio_desc *power_gpio; member
|
D | smc91x.c | 2289 ret = try_toggle_control_gpio(&pdev->dev, &lp->power_gpio, in smc_drv_probe()
|