/linux-4.1.27/arch/arm/plat-samsung/ |
H A D | setup-camif.c | 20 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 D | tosa-bt.c | 23 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 D | tosa.c | 808 .gpio_reset = TOSA_GPIO_BT_RESET,
|
/linux-4.1.27/include/media/ |
H A D | ov9650.h | 17 * @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 D | m5mols.h | 21 * @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 D | s5k4ecgx.h | 28 * @gpio_reset: GPIO driving RESET pin 33 struct s5k4ecgx_gpio gpio_reset; member in struct:s5k4ecgx_platform_data
|
H A D | s5c73m3.h | 36 * @gpio_reset: GPIO driving RESET pin 46 struct s5c73m3_gpio gpio_reset; member in struct:s5c73m3_platform_data
|
H A D | s5k6aa.h | 33 * @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 D | usb3503.h | 21 int gpio_reset; member in struct:usb3503_platform_data
|
H A D | st21nfcb.h | 25 unsigned int gpio_reset; member in struct:st21nfcb_nfc_platform_data
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | gpmc-smsc911x.c | 67 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 D | gpmc-smsc911x.h | 20 int gpio_reset; member in struct:omap_smsc911x_platform_data
|
H A D | board-omap3logic.c | 135 .gpio_reset = -EINVAL,
|
H A D | board-overo.c | 129 .gpio_reset = OVERO_SMSC911X_NRESET, overo_ads7846_init() 137 .gpio_reset = -EINVAL,
|
H A D | board-cm-t35.c | 72 .gpio_reset = -EINVAL, 80 .gpio_reset = -EINVAL,
|
H A D | board-ldp.c | 172 .gpio_reset = -EINVAL,
|
H A D | board-rx51-peripherals.c | 992 .gpio_reset = 60, 996 .gpio_reset = 60,
|
H A D | usb-host.c | 463 nop_pdata.gpio_reset = phy->reset_gpio; usbhs_init_phys()
|
H A D | board-n8x0.c | 577 .gpio_reset = 118,
|
/linux-4.1.27/include/sound/ |
H A D | uda1380.h | 16 int gpio_reset; member in struct:uda1380_platform_data
|
H A D | tlv320aic3x.h | 61 int gpio_reset; /* < 0 if not used */ member in struct:aic3x_pdata
|
H A D | wm0010.h | 18 int gpio_reset; member in struct:wm0010_pdata
|
/linux-4.1.27/arch/arm/mach-pxa/include/mach/ |
H A D | tosa_bt.h | 18 int gpio_reset; member in struct:tosa_bt_data
|
/linux-4.1.27/include/linux/usb/ |
H A D | usb_phy_generic.h | 14 int gpio_reset; member in struct:usb_phy_generic_platform_data
|
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-moxart.c | 61 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 D | i2c.c | 53 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 D | s5k6a3.c | 53 * @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 D | s5k4ecgx.c | 893 gpio = &pdata->gpio_reset; s5k4ecgx_config_gpios()
|
H A D | ov9650.c | 1410 ov965x->gpios[GPIO_RST] = pdata->gpio_reset; ov965x_configure_gpios()
|
H A D | s5k6aa.c | 1526 gpio = &pdata->gpio_reset; s5k6aa_configure_gpios()
|
/linux-4.1.27/drivers/usb/misc/ |
H A D | usb3503.c | 64 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 D | si476x-i2c.c | 142 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 D | ad7606.h | 21 * @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 D | ad7606_core.c | 29 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 D | soc-ac97.c | 38 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 D | uda1380.c | 152 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 D | wm0010.c | 101 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 D | tlv320aic3x.c | 85 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 D | tlv320aic31xx.c | 944 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 D | tlv320aic31xx.h | 37 unsigned int gpio_reset; member in struct:aic31xx_pdata
|
/linux-4.1.27/drivers/usb/phy/ |
H A D | phy-generic.c | 232 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 D | si4713.h | 241 struct gpio_desc *gpio_reset; member in struct:si4713_device
|
H A D | si4713.c | 386 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 D | si476x-platform.h | 258 int gpio_reset; /* < 0 if not used */ member in struct:si476x_platform_data
|
H A D | si476x-core.h | 115 * @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 D | m5mols_core.c | 761 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 D | dwc3-exynos.c | 58 pdata.gpio_reset = -1; dwc3_exynos_register_phys()
|
/linux-4.1.27/arch/arm/mach-s3c64xx/ |
H A D | mach-crag6410-module.c | 39 .gpio_reset = S3C64XX_GPN(6),
|
/linux-4.1.27/sound/soc/pxa/ |
H A D | magician.c | 439 .gpio_reset = EGPIO_MAGICIAN_CODEC_RESET,
|
/linux-4.1.27/arch/arm/mach-s3c24xx/ |
H A D | mach-h1940.c | 581 .gpio_reset = S3C2410_GPA(12),
|
H A D | mach-rx1950.c | 701 .gpio_reset = S3C2410_GPD(0),
|
/linux-4.1.27/drivers/media/i2c/s5c73m3/ |
H A D | s5c73m3-core.c | 1616 state->gpio[RST] = pdata->gpio_reset; s5c73m3_get_platform_data()
|