Home
last modified time | relevance | path

Searched refs:gpio_power (Results 1 – 8 of 8) sorted by relevance

/linux/sound/soc/codecs/
H A Dak4641.c433 if (pdata && gpio_is_valid(pdata->gpio_power)) in ak4641_set_bias_level()
434 gpio_set_value(pdata->gpio_power, 1); in ak4641_set_bias_level()
454 if (pdata && gpio_is_valid(pdata->gpio_power)) in ak4641_set_bias_level()
455 gpio_set_value(pdata->gpio_power, 0); in ak4641_set_bias_level()
566 if (gpio_is_valid(pdata->gpio_power)) { in ak4641_i2c_probe()
567 ret = gpio_request_one(pdata->gpio_power, in ak4641_i2c_probe()
595 if (gpio_is_valid(pdata->gpio_power)) in ak4641_i2c_probe()
596 gpio_set_value(pdata->gpio_power, 0); in ak4641_i2c_probe()
601 if (pdata && gpio_is_valid(pdata->gpio_power)) in ak4641_i2c_probe()
602 gpio_free(pdata->gpio_power); in ak4641_i2c_probe()
[all …]
H A Duda1380.c603 if (gpio_is_valid(pdata->gpio_power)) { in uda1380_set_bias_level()
604 gpio_set_value(pdata->gpio_power, 1); in uda1380_set_bias_level()
614 if (!gpio_is_valid(pdata->gpio_power)) in uda1380_set_bias_level()
617 gpio_set_value(pdata->gpio_power, 0); in uda1380_set_bias_level()
702 if (!gpio_is_valid(pdata->gpio_power)) { in uda1380_probe()
762 if (gpio_is_valid(pdata->gpio_power)) { in uda1380_i2c_probe()
763 ret = devm_gpio_request_one(&i2c->dev, pdata->gpio_power, in uda1380_i2c_probe()
/linux/drivers/input/touchscreen/
H A Dsilead.c68 struct gpio_desc *gpio_power; member
197 if (data->gpio_power) { in silead_ts_set_power()
198 gpiod_set_value_cansleep(data->gpio_power, state); in silead_ts_set_power()
699 data->gpio_power = devm_gpiod_get_optional(dev, "power", GPIOD_OUT_LOW); in silead_ts_probe()
700 if (IS_ERR(data->gpio_power)) in silead_ts_probe()
701 return dev_err_probe(dev, PTR_ERR(data->gpio_power), in silead_ts_probe()
/linux/drivers/media/i2c/
H A Dov9640.c334 gpiod_set_value(priv->gpio_power, 1); in ov9640_s_power()
344 gpiod_set_value(priv->gpio_power, 0); in ov9640_s_power()
692 priv->gpio_power = devm_gpiod_get(&client->dev, "Camera power", in ov9640_probe()
694 if (IS_ERR(priv->gpio_power)) { in ov9640_probe()
695 ret = PTR_ERR(priv->gpio_power); in ov9640_probe()
H A Dov9640.h200 struct gpio_desc *gpio_power; member
/linux/include/sound/
H A Dak4641.h19 int gpio_power; member
H A Duda1380.h12 int gpio_power; member
/linux/drivers/net/wireless/ti/wlcore/
H A Ddebugfs.c1274 DEBUGFS_ADD(gpio_power, rootdir); in wl1271_debugfs_add_files()