/linux-4.4.14/arch/arm/mach-s3c24xx/ |
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()
|
H A D | mach-h1940.c | 584 .gpio_reset = S3C2410_GPA(12),
|
H A D | mach-rx1950.c | 704 .gpio_reset = S3C2410_GPD(0),
|
/linux-4.4.14/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.4.14/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.4.14/include/linux/platform_data/ |
H A D | usb3503.h | 21 int gpio_reset; member in struct:usb3503_platform_data
|
H A D | st-nci.h | 25 unsigned int gpio_reset; member in struct:st_nci_nfc_platform_data
|
/linux-4.4.14/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-ldp.c | 172 .gpio_reset = -EINVAL,
|
H A D | board-rx51-peripherals.c | 992 .gpio_reset = 60, 996 .gpio_reset = 60,
|
H A D | board-n8x0.c | 577 .gpio_reset = 118,
|
H A D | usb-host.c | 463 nop_pdata.gpio_reset = phy->reset_gpio; usbhs_init_phys()
|
/linux-4.4.14/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.4.14/arch/arm/mach-pxa/include/mach/ |
H A D | tosa_bt.h | 18 int gpio_reset; member in struct:tosa_bt_data
|
/linux-4.4.14/drivers/phy/ |
H A D | phy-tusb1210.c | 26 struct gpio_desc *gpio_reset; member in struct:tusb1210 35 gpiod_set_value_cansleep(tusb->gpio_reset, 1); tusb1210_power_on() 50 gpiod_set_value_cansleep(tusb->gpio_reset, 0); tusb1210_power_off() 71 tusb->gpio_reset = devm_gpiod_get_optional(&ulpi->dev, "reset", tusb1210_probe() 73 if (IS_ERR(tusb->gpio_reset)) tusb1210_probe() 74 return PTR_ERR(tusb->gpio_reset); tusb1210_probe() 76 gpiod_set_value_cansleep(tusb->gpio_reset, 1); tusb1210_probe()
|
/linux-4.4.14/include/linux/usb/ |
H A D | usb_phy_generic.h | 14 int gpio_reset; member in struct:usb_phy_generic_platform_data
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/nfc/st-nci/ |
H A D | i2c.c | 55 unsigned int gpio_reset; member in struct:st_nci_i2c_phy 65 gpio_set_value(phy->gpio_reset, 0); st_nci_i2c_enable() 67 gpio_set_value(phy->gpio_reset, 1); st_nci_i2c_enable() 240 phy->gpio_reset = gpio; st_nci_i2c_of_request_resources() 271 phy->gpio_reset = pdata->gpio_reset; st_nci_i2c_request_resources() 275 phy->gpio_reset, GPIOF_OUT_INIT_HIGH, "clf_reset"); st_nci_i2c_request_resources()
|
H A D | spi.c | 56 unsigned int gpio_reset; member in struct:st_nci_spi_phy 66 gpio_set_value(phy->gpio_reset, 0); st_nci_spi_enable() 68 gpio_set_value(phy->gpio_reset, 1); st_nci_spi_enable() 255 phy->gpio_reset = gpio; st_nci_spi_of_request_resources() 286 phy->gpio_reset = pdata->gpio_reset; st_nci_spi_request_resources() 290 phy->gpio_reset, GPIOF_OUT_INIT_HIGH, "clf_reset"); st_nci_spi_request_resources()
|
/linux-4.4.14/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() 838 if (gpio_is_valid(core->gpio_reset)) si476x_core_probe() 839 gpio_free(core->gpio_reset); si476x_core_probe() 858 if (gpio_is_valid(core->gpio_reset)) si476x_core_remove() 859 gpio_free(core->gpio_reset); si476x_core_remove()
|
/linux-4.4.14/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() 352 if (gpio_is_valid(st->pdata->gpio_reset)) { ad7606_request_gpios() 353 ret = gpio_request_one(st->pdata->gpio_reset, ad7606_request_gpios() 391 if (gpio_is_valid(st->pdata->gpio_reset)) ad7606_request_gpios() 392 gpio_free(st->pdata->gpio_reset); ad7606_request_gpios() 412 if (gpio_is_valid(st->pdata->gpio_reset)) ad7606_free_gpios() 413 gpio_free(st->pdata->gpio_reset); ad7606_free_gpios()
|
/linux-4.4.14/sound/soc/ |
H A D | soc-ac97.c | 38 int gpio_reset; member in struct:snd_ac97_reset_cfg 170 gpio_direction_output(snd_ac97_rst_cfg.gpio_reset, 0); snd_soc_ac97_reset() 174 gpio_direction_output(snd_ac97_rst_cfg.gpio_reset, 1); snd_soc_ac97_reset() 250 cfg->gpio_reset = gpio; snd_soc_ac97_parse_pinctl()
|
/linux-4.4.14/drivers/input/touchscreen/ |
H A D | pixcir_i2c_ts.c | 40 struct gpio_desc *gpio_reset; member in struct:pixcir_i2c_ts_data 196 if (!IS_ERR_OR_NULL(tsdata->gpio_reset)) { pixcir_reset() 197 gpiod_set_value_cansleep(tsdata->gpio_reset, 1); pixcir_reset() 199 gpiod_set_value_cansleep(tsdata->gpio_reset, 0); pixcir_reset() 529 tsdata->gpio_reset = devm_gpiod_get_optional(dev, "reset", pixcir_i2c_ts_probe() 531 if (IS_ERR(tsdata->gpio_reset)) { pixcir_i2c_ts_probe() 532 error = PTR_ERR(tsdata->gpio_reset); pixcir_i2c_ts_probe()
|
/linux-4.4.14/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() 704 if (gpio_is_valid(pdata->gpio_reset)) { uda1380_probe() 705 ret = gpio_request_one(pdata->gpio_reset, GPIOF_OUT_INIT_LOW, uda1380_probe() 738 if (gpio_is_valid(pdata->gpio_reset)) uda1380_probe() 739 gpio_free(pdata->gpio_reset); uda1380_probe() 749 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() 620 gpio_set_value_cansleep(wm0010->gpio_reset, !wm0010->gpio_reset_value); wm0010_boot() 916 if (wm0010->pdata.gpio_reset) { wm0010_spi_probe() 917 wm0010->gpio_reset = wm0010->pdata.gpio_reset; wm0010_spi_probe() 929 ret = devm_gpio_request_one(wm0010->dev, wm0010->gpio_reset, wm0010_spi_probe() 987 gpio_set_value_cansleep(wm0010->gpio_reset, wm0010_spi_remove()
|
H A D | tlv320aic3x.c | 86 int gpio_reset; member in struct:aic3x_priv 1342 if (gpio_is_valid(aic3x->gpio_reset)) aic3x_regulator_event() 1343 gpio_set_value(aic3x->gpio_reset, 0); aic3x_regulator_event() 1363 if (gpio_is_valid(aic3x->gpio_reset)) { aic3x_set_power() 1365 gpio_set_value(aic3x->gpio_reset, 1); aic3x_set_power() 1564 if (gpio_is_valid(aic3x->gpio_reset) && aic3x_is_shared_reset() 1565 aic3x->gpio_reset == a->gpio_reset) aic3x_is_shared_reset() 1734 aic3x->gpio_reset = pdata->gpio_reset; aic3x_i2c_probe() 1745 aic3x->gpio_reset = ret; aic3x_i2c_probe() 1747 aic3x->gpio_reset = -1; aic3x_i2c_probe() 1775 aic3x->gpio_reset = -1; aic3x_i2c_probe() 1780 if (gpio_is_valid(aic3x->gpio_reset) && aic3x_i2c_probe() 1782 ret = gpio_request(aic3x->gpio_reset, "tlv320aic3x reset"); aic3x_i2c_probe() 1785 gpio_direction_output(aic3x->gpio_reset, 0); aic3x_i2c_probe() 1817 if (gpio_is_valid(aic3x->gpio_reset) && aic3x_i2c_probe() 1819 gpio_free(aic3x->gpio_reset); aic3x_i2c_probe() 1829 if (gpio_is_valid(aic3x->gpio_reset) && aic3x_i2c_remove() 1831 gpio_set_value(aic3x->gpio_reset, 0); aic3x_i2c_remove() 1832 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() 1187 aic31xx->pdata.gpio_reset = ret; aic31xx_pdata_from_of() 1207 if (aic31xx->pdata.gpio_reset) { aic31xx_device_init() 1209 aic31xx->pdata.gpio_reset, aic31xx_device_init()
|
H A D | tlv320aic31xx.h | 37 unsigned int gpio_reset; member in struct:aic31xx_pdata
|
/linux-4.4.14/drivers/usb/phy/ |
H A D | phy-generic.c | 234 if (gpio_is_valid(pdata->gpio_reset)) { usb_phy_gen_create_phy() 235 err = devm_gpio_request_one(dev, pdata->gpio_reset, usb_phy_gen_create_phy() 240 gpio_to_desc(pdata->gpio_reset); usb_phy_gen_create_phy()
|
/linux-4.4.14/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.4.14/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.4.14/drivers/usb/dwc3/ |
H A D | dwc3-exynos.c | 58 pdata.gpio_reset = -1; dwc3_exynos_register_phys()
|
/linux-4.4.14/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.4.14/arch/arm/mach-s3c64xx/ |
H A D | mach-crag6410-module.c | 39 .gpio_reset = S3C64XX_GPN(6),
|
/linux-4.4.14/sound/soc/pxa/ |
H A D | magician.c | 439 .gpio_reset = EGPIO_MAGICIAN_CODEC_RESET,
|
/linux-4.4.14/drivers/media/i2c/s5c73m3/ |
H A D | s5c73m3-core.c | 1616 state->gpio[RST] = pdata->gpio_reset; s5c73m3_get_platform_data()
|