/Linux-v4.19/arch/arm/mach-s3c24xx/ |
D | setup-camif.c | 16 static void camif_get_gpios(int *gpio_start, int *gpio_reset) in camif_get_gpios() argument 20 *gpio_reset = S3C2410_GPJ(12); in camif_get_gpios() 24 *gpio_reset = S3C64XX_GPF(3); in camif_get_gpios() 30 int gpio_start, gpio_reset; in s3c_camif_gpio_get() local 33 camif_get_gpios(&gpio_start, &gpio_reset); in s3c_camif_gpio_get() 38 if (gpio == gpio_reset) in s3c_camif_gpio_get() 58 int i, gpio_start, gpio_reset; in s3c_camif_gpio_put() local 60 camif_get_gpios(&gpio_start, &gpio_reset); in s3c_camif_gpio_put() 64 if (gpio != gpio_reset) in s3c_camif_gpio_put()
|
/Linux-v4.19/arch/arm/mach-pxa/ |
D | tosa-bt.c | 23 gpio_set_value(data->gpio_reset, 0); in tosa_bt_on() 25 gpio_set_value(data->gpio_reset, 1); in tosa_bt_on() 27 gpio_set_value(data->gpio_reset, 0); in tosa_bt_on() 32 gpio_set_value(data->gpio_reset, 1); in tosa_bt_off() 35 gpio_set_value(data->gpio_reset, 0); in tosa_bt_off() 64 rc = gpio_request(data->gpio_reset, "Bluetooth reset"); in tosa_bt_probe() 67 rc = gpio_direction_output(data->gpio_reset, 0); in tosa_bt_probe() 100 gpio_free(data->gpio_reset); in tosa_bt_probe() 121 gpio_free(data->gpio_reset); in tosa_bt_remove()
|
D | tosa_bt.h | 18 int gpio_reset; member
|
/Linux-v4.19/drivers/phy/ti/ |
D | phy-tusb1210.c | 26 struct gpio_desc *gpio_reset; member 35 gpiod_set_value_cansleep(tusb->gpio_reset, 1); in tusb1210_power_on() 50 gpiod_set_value_cansleep(tusb->gpio_reset, 0); in tusb1210_power_off() 105 tusb->gpio_reset = devm_gpiod_get_optional(&ulpi->dev, "reset", in tusb1210_probe() 107 if (IS_ERR(tusb->gpio_reset)) in tusb1210_probe() 108 return PTR_ERR(tusb->gpio_reset); in tusb1210_probe() 110 gpiod_set_value_cansleep(tusb->gpio_reset, 1); in tusb1210_probe()
|
/Linux-v4.19/drivers/rtc/ |
D | rtc-moxart.c | 61 int gpio_data, gpio_sclk, gpio_reset; member 108 gpio_set_value(moxart_rtc->gpio_reset, 1); in moxart_rtc_read_register() 115 gpio_set_value(moxart_rtc->gpio_reset, 0); in moxart_rtc_read_register() 131 gpio_set_value(moxart_rtc->gpio_reset, 1); in moxart_rtc_write_register() 136 gpio_set_value(moxart_rtc->gpio_reset, 0); in moxart_rtc_write_register() 269 moxart_rtc->gpio_reset = of_get_named_gpio(pdev->dev.of_node, in moxart_rtc_probe() 271 if (!gpio_is_valid(moxart_rtc->gpio_reset)) { in moxart_rtc_probe() 273 moxart_rtc->gpio_reset); in moxart_rtc_probe() 274 return moxart_rtc->gpio_reset; in moxart_rtc_probe() 293 ret = devm_gpio_request_one(&pdev->dev, moxart_rtc->gpio_reset, in moxart_rtc_probe()
|
/Linux-v4.19/drivers/usb/misc/ |
D | usb3503.c | 51 int gpio_reset; member 61 if (gpio_is_valid(hub->gpio_reset)) in usb3503_reset() 62 gpio_set_value_cansleep(hub->gpio_reset, state); in usb3503_reset() 172 hub->gpio_reset = pdata->gpio_reset; in usb3503_probe() 245 hub->gpio_reset = of_get_named_gpio(np, "reset-gpios", 0); in usb3503_probe() 246 if (hub->gpio_reset == -EPROBE_DEFER) in usb3503_probe() 279 if (gpio_is_valid(hub->gpio_reset)) { in usb3503_probe() 280 err = devm_gpio_request_one(dev, hub->gpio_reset, in usb3503_probe() 287 hub->gpio_reset, err); in usb3503_probe()
|
D | usb4604.c | 25 struct gpio_desc *gpio_reset; member 30 gpiod_set_value_cansleep(hub->gpio_reset, state); in usb4604_reset() 92 hub->gpio_reset = gpio; in usb4604_probe()
|
D | usb251xb.c | 119 struct gpio_desc *gpio_reset; member 227 if (!hub->gpio_reset) in usb251xb_reset() 230 gpiod_set_value_cansleep(hub->gpio_reset, state); in usb251xb_reset() 355 hub->gpio_reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in usb251xb_get_ofdata() 356 if (PTR_ERR(hub->gpio_reset) == -EPROBE_DEFER) { in usb251xb_get_ofdata() 358 } else if (IS_ERR(hub->gpio_reset)) { in usb251xb_get_ofdata() 359 err = PTR_ERR(hub->gpio_reset); in usb251xb_get_ofdata()
|
/Linux-v4.19/drivers/mfd/ |
D | si476x-i2c.c | 142 if (gpio_is_valid(core->gpio_reset)) in si476x_core_start() 143 gpio_set_value_cansleep(core->gpio_reset, 1); in si476x_core_start() 209 if (gpio_is_valid(core->gpio_reset)) in si476x_core_start() 210 gpio_set_value_cansleep(core->gpio_reset, 0); in si476x_core_start() 255 if (gpio_is_valid(core->gpio_reset)) in si476x_core_stop() 256 gpio_set_value_cansleep(core->gpio_reset, 0); in si476x_core_stop() 725 core->gpio_reset = -1; in si476x_core_probe() 726 if (gpio_is_valid(pdata->gpio_reset)) { in si476x_core_probe() 727 rval = gpio_request(pdata->gpio_reset, "si476x reset"); in si476x_core_probe() 733 core->gpio_reset = pdata->gpio_reset; in si476x_core_probe() [all …]
|
/Linux-v4.19/sound/soc/codecs/ |
D | tlv320aic3x.c | 86 int gpio_reset; member 1357 if (gpio_is_valid(aic3x->gpio_reset)) in aic3x_regulator_event() 1358 gpio_set_value(aic3x->gpio_reset, 0); in aic3x_regulator_event() 1378 if (gpio_is_valid(aic3x->gpio_reset)) { in aic3x_set_power() 1380 gpio_set_value(aic3x->gpio_reset, 1); in aic3x_set_power() 1589 if (gpio_is_valid(aic3x->gpio_reset) && in aic3x_is_shared_reset() 1590 aic3x->gpio_reset == a->gpio_reset) in aic3x_is_shared_reset() 1796 aic3x->gpio_reset = pdata->gpio_reset; in aic3x_i2c_probe() 1807 aic3x->gpio_reset = ret; in aic3x_i2c_probe() 1812 aic3x->gpio_reset = ret; in aic3x_i2c_probe() [all …]
|
D | wm0010.c | 100 int gpio_reset; member 180 gpio_set_value_cansleep(wm0010->gpio_reset, in wm0010_halt() 619 gpio_set_value_cansleep(wm0010->gpio_reset, !wm0010->gpio_reset_value); in wm0010_boot() 913 if (wm0010->pdata.gpio_reset) { in wm0010_spi_probe() 914 wm0010->gpio_reset = wm0010->pdata.gpio_reset; in wm0010_spi_probe() 926 ret = devm_gpio_request_one(wm0010->dev, wm0010->gpio_reset, in wm0010_spi_probe() 982 gpio_set_value_cansleep(wm0010->gpio_reset, in wm0010_spi_remove()
|
D | tlv320aic31xx.c | 161 struct gpio_desc *gpio_reset; member 1131 if (aic31xx->gpio_reset) in aic31xx_regulator_event() 1132 gpiod_set_value(aic31xx->gpio_reset, 1); in aic31xx_regulator_event() 1145 if (aic31xx->gpio_reset) { in aic31xx_reset() 1146 gpiod_set_value(aic31xx->gpio_reset, 1); in aic31xx_reset() 1148 gpiod_set_value(aic31xx->gpio_reset, 0); in aic31xx_reset() 1441 aic31xx->gpio_reset = devm_gpiod_get_optional(aic31xx->dev, "reset", in aic31xx_i2c_probe() 1443 if (IS_ERR(aic31xx->gpio_reset)) { in aic31xx_i2c_probe() 1445 return PTR_ERR(aic31xx->gpio_reset); in aic31xx_i2c_probe()
|
D | uda1380.c | 159 if (gpio_is_valid(pdata->gpio_reset)) { in uda1380_reset() 160 gpio_set_value(pdata->gpio_reset, 1); in uda1380_reset() 162 gpio_set_value(pdata->gpio_reset, 0); in uda1380_reset() 760 if (gpio_is_valid(pdata->gpio_reset)) { in uda1380_i2c_probe() 761 ret = devm_gpio_request_one(&i2c->dev, pdata->gpio_reset, in uda1380_i2c_probe()
|
/Linux-v4.19/drivers/media/i2c/ |
D | s5k6a3.c | 65 int gpio_reset; member 219 gpio_set_value(sensor->gpio_reset, 1); in __s5k6a3_power_on() 221 gpio_set_value(sensor->gpio_reset, 0); in __s5k6a3_power_on() 223 gpio_set_value(sensor->gpio_reset, 1); in __s5k6a3_power_on() 241 gpio_set_value(sensor->gpio_reset, 0); in __s5k6a3_power_off() 294 sensor->gpio_reset = -EINVAL; in s5k6a3_probe() 311 sensor->gpio_reset = gpio; in s5k6a3_probe()
|
/Linux-v4.19/drivers/pcmcia/ |
D | sa1100_generic.c | 58 skt->gpio_reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in sa11x0_cf_hw_init() 59 if (IS_ERR(skt->gpio_reset)) in sa11x0_cf_hw_init() 60 return PTR_ERR(skt->gpio_reset); in sa11x0_cf_hw_init()
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | pixcir_i2c_ts.c | 36 struct gpio_desc *gpio_reset; member 181 if (!IS_ERR_OR_NULL(tsdata->gpio_reset)) { in pixcir_reset() 182 gpiod_set_value_cansleep(tsdata->gpio_reset, 1); in pixcir_reset() 184 gpiod_set_value_cansleep(tsdata->gpio_reset, 0); in pixcir_reset() 525 tsdata->gpio_reset = devm_gpiod_get_optional(dev, "reset", in pixcir_i2c_ts_probe() 527 if (IS_ERR(tsdata->gpio_reset)) { in pixcir_i2c_ts_probe() 528 error = PTR_ERR(tsdata->gpio_reset); in pixcir_i2c_ts_probe()
|
/Linux-v4.19/drivers/staging/iio/adc/ |
D | ad7606.c | 36 if (st->gpio_reset) { in ad7606_reset() 37 gpiod_set_value(st->gpio_reset, 1); in ad7606_reset() 39 gpiod_set_value(st->gpio_reset, 0); in ad7606_reset() 334 st->gpio_reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW); in ad7606_request_gpios() 335 if (IS_ERR(st->gpio_reset)) in ad7606_request_gpios() 336 return PTR_ERR(st->gpio_reset); in ad7606_request_gpios()
|
/Linux-v4.19/sound/soc/ |
D | soc-ac97.c | 34 int gpio_reset; member 292 gpio_direction_output(snd_ac97_rst_cfg.gpio_reset, 0); in snd_soc_ac97_reset() 296 gpio_direction_output(snd_ac97_rst_cfg.gpio_reset, 1); in snd_soc_ac97_reset() 372 cfg->gpio_reset = gpio; in snd_soc_ac97_parse_pinctl()
|
/Linux-v4.19/include/media/i2c/ |
D | ov9650.h | 25 int gpio_reset; member
|
D | m5mols.h | 28 int gpio_reset; member
|
D | s5k4ecgx.h | 33 struct s5k4ecgx_gpio gpio_reset; member
|
D | s5c73m3.h | 46 struct s5c73m3_gpio gpio_reset; member
|
/Linux-v4.19/include/sound/ |
D | wm0010.h | 18 int gpio_reset; member
|
D | uda1380.h | 16 int gpio_reset; member
|
/Linux-v4.19/include/linux/platform_data/ |
D | usb3503.h | 22 int gpio_reset; member
|