Searched refs:gpio_reset (Results 1 - 52 of 52) sorted by relevance

/linux-4.1.27/arch/arm/plat-samsung/
H A Dsetup-camif.c20 static void camif_get_gpios(int *gpio_start, int *gpio_reset) camif_get_gpios() argument
24 *gpio_reset = S3C2410_GPJ(12); camif_get_gpios()
28 *gpio_reset = S3C64XX_GPF(3); camif_get_gpios()
34 int gpio_start, gpio_reset; s3c_camif_gpio_get() local
37 camif_get_gpios(&gpio_start, &gpio_reset); s3c_camif_gpio_get()
42 if (gpio == gpio_reset) s3c_camif_gpio_get()
62 int i, gpio_start, gpio_reset; s3c_camif_gpio_put() local
64 camif_get_gpios(&gpio_start, &gpio_reset); s3c_camif_gpio_put()
68 if (gpio != gpio_reset) s3c_camif_gpio_put()
/linux-4.1.27/arch/arm/mach-pxa/
H A Dtosa-bt.c23 gpio_set_value(data->gpio_reset, 0); tosa_bt_on()
25 gpio_set_value(data->gpio_reset, 1); tosa_bt_on()
27 gpio_set_value(data->gpio_reset, 0); tosa_bt_on()
32 gpio_set_value(data->gpio_reset, 1); tosa_bt_off()
35 gpio_set_value(data->gpio_reset, 0); tosa_bt_off()
64 rc = gpio_request(data->gpio_reset, "Bluetooth reset"); tosa_bt_probe()
67 rc = gpio_direction_output(data->gpio_reset, 0); tosa_bt_probe()
100 gpio_free(data->gpio_reset); tosa_bt_probe()
121 gpio_free(data->gpio_reset); tosa_bt_remove()
H A Dtosa.c808 .gpio_reset = TOSA_GPIO_BT_RESET,
/linux-4.1.27/include/media/
H A Dov9650.h17 * @gpio_reset: number of a GPIO connected to OV965X RESET pin
19 * If any of @gpio_pwdn or @gpio_reset are unused then they should be
25 int gpio_reset; member in struct:ov9650_platform_data
H A Dm5mols.h21 * @gpio_reset: GPIO driving the reset pin of M-5MOLS
22 * @reset_polarity: active state for gpio_reset pin, 0 or 1
28 int gpio_reset; member in struct:m5mols_platform_data
H A Ds5k4ecgx.h28 * @gpio_reset: GPIO driving RESET pin
33 struct s5k4ecgx_gpio gpio_reset; member in struct:s5k4ecgx_platform_data
H A Ds5c73m3.h36 * @gpio_reset: GPIO driving RESET pin
46 struct s5c73m3_gpio gpio_reset; member in struct:s5c73m3_platform_data
H A Ds5k6aa.h33 * @gpio_reset: GPIO driving RESET pin
43 struct s5k6aa_gpio gpio_reset; member in struct:s5k6aa_platform_data
/linux-4.1.27/include/linux/platform_data/
H A Dusb3503.h21 int gpio_reset; member in struct:usb3503_platform_data
H A Dst21nfcb.h25 unsigned int gpio_reset; member in struct:st21nfcb_nfc_platform_data
/linux-4.1.27/arch/arm/mach-omap2/
H A Dgpmc-smsc911x.c67 if (gpio_is_valid(gpmc_cfg->gpio_reset)) { gpmc_smsc911x_init()
68 ret = gpio_request_one(gpmc_cfg->gpio_reset, gpmc_smsc911x_init()
72 gpmc_cfg->gpio_reset); gpmc_smsc911x_init()
76 gpio_set_value(gpmc_cfg->gpio_reset, 0); gpmc_smsc911x_init()
78 gpio_set_value(gpmc_cfg->gpio_reset, 1); gpmc_smsc911x_init()
88 gpio_free(gpmc_cfg->gpio_reset); gpmc_smsc911x_init()
H A Dgpmc-smsc911x.h20 int gpio_reset; member in struct:omap_smsc911x_platform_data
H A Dboard-omap3logic.c135 .gpio_reset = -EINVAL,
H A Dboard-overo.c129 .gpio_reset = OVERO_SMSC911X_NRESET, overo_ads7846_init()
137 .gpio_reset = -EINVAL,
H A Dboard-cm-t35.c72 .gpio_reset = -EINVAL,
80 .gpio_reset = -EINVAL,
H A Dboard-ldp.c172 .gpio_reset = -EINVAL,
H A Dboard-rx51-peripherals.c992 .gpio_reset = 60,
996 .gpio_reset = 60,
H A Dusb-host.c463 nop_pdata.gpio_reset = phy->reset_gpio; usbhs_init_phys()
H A Dboard-n8x0.c577 .gpio_reset = 118,
/linux-4.1.27/include/sound/
H A Duda1380.h16 int gpio_reset; member in struct:uda1380_platform_data
H A Dtlv320aic3x.h61 int gpio_reset; /* < 0 if not used */ member in struct:aic3x_pdata
H A Dwm0010.h18 int gpio_reset; member in struct:wm0010_pdata
/linux-4.1.27/arch/arm/mach-pxa/include/mach/
H A Dtosa_bt.h18 int gpio_reset; member in struct:tosa_bt_data
/linux-4.1.27/include/linux/usb/
H A Dusb_phy_generic.h14 int gpio_reset; member in struct:usb_phy_generic_platform_data
/linux-4.1.27/drivers/rtc/
H A Drtc-moxart.c61 int gpio_data, gpio_sclk, gpio_reset; member in struct:moxart_rtc
108 gpio_set_value(moxart_rtc->gpio_reset, 1); moxart_rtc_read_register()
115 gpio_set_value(moxart_rtc->gpio_reset, 0); moxart_rtc_read_register()
131 gpio_set_value(moxart_rtc->gpio_reset, 1); moxart_rtc_write_register()
136 gpio_set_value(moxart_rtc->gpio_reset, 0); moxart_rtc_write_register()
269 moxart_rtc->gpio_reset = of_get_named_gpio(pdev->dev.of_node, moxart_rtc_probe()
271 if (!gpio_is_valid(moxart_rtc->gpio_reset)) { moxart_rtc_probe()
273 moxart_rtc->gpio_reset); moxart_rtc_probe()
274 return moxart_rtc->gpio_reset; moxart_rtc_probe()
293 ret = devm_gpio_request_one(&pdev->dev, moxart_rtc->gpio_reset, moxart_rtc_probe()
/linux-4.1.27/drivers/nfc/st21nfcb/
H A Di2c.c53 unsigned int gpio_reset; member in struct:st21nfcb_i2c_phy
70 gpio_set_value(phy->gpio_reset, 0); st21nfcb_nci_i2c_enable()
72 gpio_set_value(phy->gpio_reset, 1); st21nfcb_nci_i2c_enable()
85 gpio_set_value(phy->gpio_reset, 0); st21nfcb_nci_i2c_disable()
87 gpio_set_value(phy->gpio_reset, 1); st21nfcb_nci_i2c_disable()
253 phy->gpio_reset = gpio; st21nfcb_nci_i2c_of_request_resources()
279 phy->gpio_reset = pdata->gpio_reset; st21nfcb_nci_i2c_request_resources()
283 phy->gpio_reset, GPIOF_OUT_INIT_HIGH, "clf_reset"); st21nfcb_nci_i2c_request_resources()
/linux-4.1.27/drivers/media/i2c/
H A Ds5k6a3.c53 * @gpio_reset: GPIO connected to the sensor's reset pin
62 int gpio_reset; member in struct:s5k6a3
217 gpio_set_value(sensor->gpio_reset, 1); __s5k6a3_power_on()
219 gpio_set_value(sensor->gpio_reset, 0); __s5k6a3_power_on()
221 gpio_set_value(sensor->gpio_reset, 1); __s5k6a3_power_on()
239 gpio_set_value(sensor->gpio_reset, 0); __s5k6a3_power_off()
292 sensor->gpio_reset = -EINVAL; s5k6a3_probe()
309 sensor->gpio_reset = gpio; s5k6a3_probe()
H A Ds5k4ecgx.c893 gpio = &pdata->gpio_reset; s5k4ecgx_config_gpios()
H A Dov9650.c1410 ov965x->gpios[GPIO_RST] = pdata->gpio_reset; ov965x_configure_gpios()
H A Ds5k6aa.c1526 gpio = &pdata->gpio_reset; s5k6aa_configure_gpios()
/linux-4.1.27/drivers/usb/misc/
H A Dusb3503.c64 int gpio_reset; member in struct:usb3503
74 if (gpio_is_valid(hub->gpio_reset)) usb3503_reset()
75 gpio_set_value_cansleep(hub->gpio_reset, state); usb3503_reset()
185 hub->gpio_reset = pdata->gpio_reset; usb3503_probe()
258 hub->gpio_reset = of_get_named_gpio(np, "reset-gpios", 0); usb3503_probe()
259 if (hub->gpio_reset == -EPROBE_DEFER) usb3503_probe()
292 if (gpio_is_valid(hub->gpio_reset)) { usb3503_probe()
293 err = devm_gpio_request_one(dev, hub->gpio_reset, usb3503_probe()
298 hub->gpio_reset, err); usb3503_probe()
/linux-4.1.27/drivers/mfd/
H A Dsi476x-i2c.c142 if (gpio_is_valid(core->gpio_reset)) si476x_core_start()
143 gpio_set_value_cansleep(core->gpio_reset, 1); si476x_core_start()
209 if (gpio_is_valid(core->gpio_reset)) si476x_core_start()
210 gpio_set_value_cansleep(core->gpio_reset, 0); si476x_core_start()
255 if (gpio_is_valid(core->gpio_reset)) si476x_core_stop()
256 gpio_set_value_cansleep(core->gpio_reset, 0); si476x_core_stop()
727 core->gpio_reset = -1; si476x_core_probe()
728 if (gpio_is_valid(pdata->gpio_reset)) { si476x_core_probe()
729 rval = gpio_request(pdata->gpio_reset, "si476x reset"); si476x_core_probe()
735 core->gpio_reset = pdata->gpio_reset; si476x_core_probe()
736 gpio_direction_output(core->gpio_reset, 0); si476x_core_probe()
837 if (gpio_is_valid(core->gpio_reset)) si476x_core_probe()
838 gpio_free(core->gpio_reset); si476x_core_probe()
857 if (gpio_is_valid(core->gpio_reset)) si476x_core_remove()
858 gpio_free(core->gpio_reset); si476x_core_remove()
/linux-4.1.27/drivers/staging/iio/adc/
H A Dad7606.h21 * @gpio_reset: gpio connected to the RESET pin, if not used set to -1
34 unsigned gpio_reset; member in struct:ad7606_platform_data
H A Dad7606_core.c29 if (gpio_is_valid(st->pdata->gpio_reset)) { ad7606_reset()
30 gpio_set_value(st->pdata->gpio_reset, 1); ad7606_reset()
32 gpio_set_value(st->pdata->gpio_reset, 0); ad7606_reset()
349 if (gpio_is_valid(st->pdata->gpio_reset)) { ad7606_request_gpios()
350 ret = gpio_request_one(st->pdata->gpio_reset, ad7606_request_gpios()
388 if (gpio_is_valid(st->pdata->gpio_reset)) ad7606_request_gpios()
389 gpio_free(st->pdata->gpio_reset); ad7606_request_gpios()
409 if (gpio_is_valid(st->pdata->gpio_reset)) ad7606_free_gpios()
410 gpio_free(st->pdata->gpio_reset); ad7606_free_gpios()
/linux-4.1.27/sound/soc/
H A Dsoc-ac97.c38 int gpio_reset; member in struct:snd_ac97_reset_cfg
150 gpio_direction_output(snd_ac97_rst_cfg.gpio_reset, 0); snd_soc_ac97_reset()
154 gpio_direction_output(snd_ac97_rst_cfg.gpio_reset, 1); snd_soc_ac97_reset()
230 cfg->gpio_reset = gpio; snd_soc_ac97_parse_pinctl()
/linux-4.1.27/sound/soc/codecs/
H A Duda1380.c152 if (gpio_is_valid(pdata->gpio_reset)) { uda1380_reset()
153 gpio_set_value(pdata->gpio_reset, 1); uda1380_reset()
155 gpio_set_value(pdata->gpio_reset, 0); uda1380_reset()
710 if (gpio_is_valid(pdata->gpio_reset)) { uda1380_probe()
711 ret = gpio_request_one(pdata->gpio_reset, GPIOF_OUT_INIT_LOW, uda1380_probe()
744 if (gpio_is_valid(pdata->gpio_reset)) uda1380_probe()
745 gpio_free(pdata->gpio_reset); uda1380_probe()
755 gpio_free(pdata->gpio_reset); uda1380_remove()
H A Dwm0010.c101 int gpio_reset; member in struct:wm0010_priv
181 gpio_set_value_cansleep(wm0010->gpio_reset, wm0010_halt()
621 gpio_set_value_cansleep(wm0010->gpio_reset, !wm0010->gpio_reset_value); wm0010_boot()
923 if (wm0010->pdata.gpio_reset) { wm0010_spi_probe()
924 wm0010->gpio_reset = wm0010->pdata.gpio_reset; wm0010_spi_probe()
936 ret = devm_gpio_request_one(wm0010->dev, wm0010->gpio_reset, wm0010_spi_probe()
994 gpio_set_value_cansleep(wm0010->gpio_reset, wm0010_spi_remove()
H A Dtlv320aic3x.c85 int gpio_reset; member in struct:aic3x_priv
1319 if (gpio_is_valid(aic3x->gpio_reset)) aic3x_regulator_event()
1320 gpio_set_value(aic3x->gpio_reset, 0); aic3x_regulator_event()
1340 if (gpio_is_valid(aic3x->gpio_reset)) { aic3x_set_power()
1342 gpio_set_value(aic3x->gpio_reset, 1); aic3x_set_power()
1539 if (gpio_is_valid(aic3x->gpio_reset) && aic3x_is_shared_reset()
1540 aic3x->gpio_reset == a->gpio_reset) aic3x_is_shared_reset()
1709 aic3x->gpio_reset = pdata->gpio_reset; aic3x_i2c_probe()
1720 aic3x->gpio_reset = ret; aic3x_i2c_probe()
1722 aic3x->gpio_reset = -1; aic3x_i2c_probe()
1750 aic3x->gpio_reset = -1; aic3x_i2c_probe()
1755 if (gpio_is_valid(aic3x->gpio_reset) && aic3x_i2c_probe()
1757 ret = gpio_request(aic3x->gpio_reset, "tlv320aic3x reset"); aic3x_i2c_probe()
1760 gpio_direction_output(aic3x->gpio_reset, 0); aic3x_i2c_probe()
1792 if (gpio_is_valid(aic3x->gpio_reset) && aic3x_i2c_probe()
1794 gpio_free(aic3x->gpio_reset); aic3x_i2c_probe()
1804 if (gpio_is_valid(aic3x->gpio_reset) && aic3x_i2c_remove()
1806 gpio_set_value(aic3x->gpio_reset, 0); aic3x_i2c_remove()
1807 gpio_free(aic3x->gpio_reset); aic3x_i2c_remove()
H A Dtlv320aic31xx.c944 if (gpio_is_valid(aic31xx->pdata.gpio_reset)) aic31xx_regulator_event()
945 gpio_set_value(aic31xx->pdata.gpio_reset, 0); aic31xx_regulator_event()
997 if (gpio_is_valid(aic31xx->pdata.gpio_reset)) { aic31xx_power_on()
998 gpio_set_value(aic31xx->pdata.gpio_reset, 1); aic31xx_power_on()
1188 aic31xx->pdata.gpio_reset = ret; aic31xx_pdata_from_of()
1208 if (aic31xx->pdata.gpio_reset) { aic31xx_device_init()
1210 aic31xx->pdata.gpio_reset, aic31xx_device_init()
H A Dtlv320aic31xx.h37 unsigned int gpio_reset; member in struct:aic31xx_pdata
/linux-4.1.27/drivers/usb/phy/
H A Dphy-generic.c232 if (gpio_is_valid(pdata->gpio_reset)) { usb_phy_gen_create_phy()
233 err = devm_gpio_request_one(dev, pdata->gpio_reset, usb_phy_gen_create_phy()
238 gpio_to_desc(pdata->gpio_reset); usb_phy_gen_create_phy()
/linux-4.1.27/drivers/media/radio/si4713/
H A Dsi4713.h241 struct gpio_desc *gpio_reset; member in struct:si4713_device
H A Dsi4713.c386 if (sdev->gpio_reset) { si4713_powerup()
388 gpiod_set_value(sdev->gpio_reset, 1); si4713_powerup()
410 gpiod_set_value(sdev->gpio_reset, 0); si4713_powerup()
449 if (sdev->gpio_reset) si4713_powerdown()
450 gpiod_set_value(sdev->gpio_reset, 0); si4713_powerdown()
1462 sdev->gpio_reset = devm_gpiod_get_optional(&client->dev, "reset", si4713_probe()
1464 if (IS_ERR(sdev->gpio_reset)) { si4713_probe()
1465 rval = PTR_ERR(sdev->gpio_reset); si4713_probe()
/linux-4.1.27/include/linux/mfd/
H A Dsi476x-platform.h258 int gpio_reset; /* < 0 if not used */ member in struct:si476x_platform_data
H A Dsi476x-core.h115 * @gpio_reset: GPIO pin connectet to the RSTB pin of the chip.
151 int gpio_reset; member in struct:si476x_core
/linux-4.1.27/drivers/media/i2c/m5mols/
H A Dm5mols_core.c761 gpio_set_value(pdata->gpio_reset, !pdata->reset_polarity); m5mols_sensor_power()
774 gpio_set_value(pdata->gpio_reset, pdata->reset_polarity); m5mols_sensor_power()
938 if (!gpio_is_valid(pdata->gpio_reset)) { m5mols_probe()
957 ret = devm_gpio_request_one(&client->dev, pdata->gpio_reset, gpio_flags, m5mols_probe()
/linux-4.1.27/drivers/usb/dwc3/
H A Ddwc3-exynos.c58 pdata.gpio_reset = -1; dwc3_exynos_register_phys()
/linux-4.1.27/arch/arm/mach-s3c64xx/
H A Dmach-crag6410-module.c39 .gpio_reset = S3C64XX_GPN(6),
/linux-4.1.27/sound/soc/pxa/
H A Dmagician.c439 .gpio_reset = EGPIO_MAGICIAN_CODEC_RESET,
/linux-4.1.27/arch/arm/mach-s3c24xx/
H A Dmach-h1940.c581 .gpio_reset = S3C2410_GPA(12),
H A Dmach-rx1950.c701 .gpio_reset = S3C2410_GPD(0),
/linux-4.1.27/drivers/media/i2c/s5c73m3/
H A Ds5c73m3-core.c1616 state->gpio[RST] = pdata->gpio_reset; s5c73m3_get_platform_data()

Completed in 1163 milliseconds