Searched refs:standby_gpio (Results 1 - 9 of 9) sorted by relevance
/kernel/linux/linux-6.6/drivers/phy/ |
H A D | phy-can-transceiver.c | 24 struct gpio_desc *standby_gpio; member 42 if (can_transceiver_phy->standby_gpio) in can_transceiver_phy_power_on() 43 gpiod_set_value_cansleep(can_transceiver_phy->standby_gpio, 0); in can_transceiver_phy_power_on() 55 if (can_transceiver_phy->standby_gpio) in can_transceiver_phy_power_off() 56 gpiod_set_value_cansleep(can_transceiver_phy->standby_gpio, 1); in can_transceiver_phy_power_off() 104 struct gpio_desc *standby_gpio; in can_transceiver_phy_probe() local 141 standby_gpio = devm_gpiod_get_optional(dev, "standby", GPIOD_OUT_HIGH); in can_transceiver_phy_probe() 142 if (IS_ERR(standby_gpio)) in can_transceiver_phy_probe() 143 return PTR_ERR(standby_gpio); in can_transceiver_phy_probe() 144 can_transceiver_phy->standby_gpio in can_transceiver_phy_probe() [all...] |
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | tas6424.c | 48 struct gpio_desc *standby_gpio; member 713 tas6424->standby_gpio = devm_gpiod_get_optional(dev, "standby", in tas6424_i2c_probe() 715 if (IS_ERR(tas6424->standby_gpio)) { in tas6424_i2c_probe() 716 if (PTR_ERR(tas6424->standby_gpio) == -EPROBE_DEFER) in tas6424_i2c_probe() 719 PTR_ERR(tas6424->standby_gpio)); in tas6424_i2c_probe() 720 tas6424->standby_gpio = NULL; in tas6424_i2c_probe() 784 if (tas6424->standby_gpio) in tas6424_i2c_remove() 785 gpiod_set_value_cansleep(tas6424->standby_gpio, 1); in tas6424_i2c_remove()
|
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | tas6424.c | 47 struct gpio_desc *standby_gpio; member 710 tas6424->standby_gpio = devm_gpiod_get_optional(dev, "standby", in tas6424_i2c_probe() 712 if (IS_ERR(tas6424->standby_gpio)) { in tas6424_i2c_probe() 713 if (PTR_ERR(tas6424->standby_gpio) == -EPROBE_DEFER) in tas6424_i2c_probe() 716 PTR_ERR(tas6424->standby_gpio)); in tas6424_i2c_probe() 717 tas6424->standby_gpio = NULL; in tas6424_i2c_probe() 785 if (tas6424->standby_gpio) in tas6424_i2c_remove() 786 gpiod_set_value_cansleep(tas6424->standby_gpio, 1); in tas6424_i2c_remove()
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | mt9m001.c | 100 struct gpio_desc *standby_gpio; member 460 if (mt9m001->standby_gpio) { in mt9m001_power_on() 461 gpiod_set_value_cansleep(mt9m001->standby_gpio, 0); in mt9m001_power_on() 480 gpiod_set_value_cansleep(mt9m001->standby_gpio, 1); in mt9m001_power_off() 750 mt9m001->standby_gpio = devm_gpiod_get_optional(&client->dev, "standby", in mt9m001_probe() 752 if (IS_ERR(mt9m001->standby_gpio)) in mt9m001_probe() 753 return PTR_ERR(mt9m001->standby_gpio); in mt9m001_probe()
|
H A D | mt9t112.c | 96 struct gpio_desc *standby_gpio; member 755 if (priv->standby_gpio) { in mt9t112_power_on() 756 gpiod_set_value(priv->standby_gpio, 0); in mt9t112_power_on() 766 if (priv->standby_gpio) { in mt9t112_power_off() 767 gpiod_set_value(priv->standby_gpio, 1); in mt9t112_power_off() 1091 priv->standby_gpio = devm_gpiod_get_optional(&client->dev, "standby", in mt9t112_probe() 1093 if (IS_ERR(priv->standby_gpio)) { in mt9t112_probe() 1095 return PTR_ERR(priv->standby_gpio); in mt9t112_probe()
|
H A D | mt9v032.c | 205 struct gpio_desc *standby_gpio; member 1064 mt9v032->standby_gpio = devm_gpiod_get_optional(&client->dev, "standby", in mt9v032_probe() 1066 if (IS_ERR(mt9v032->standby_gpio)) in mt9v032_probe() 1067 return PTR_ERR(mt9v032->standby_gpio); in mt9v032_probe()
|
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | mt9m001.c | 100 struct gpio_desc *standby_gpio; member 461 if (mt9m001->standby_gpio) { in mt9m001_power_on() 462 gpiod_set_value_cansleep(mt9m001->standby_gpio, 0); in mt9m001_power_on() 481 gpiod_set_value_cansleep(mt9m001->standby_gpio, 1); in mt9m001_power_off() 753 mt9m001->standby_gpio = devm_gpiod_get_optional(&client->dev, "standby", in mt9m001_probe() 755 if (IS_ERR(mt9m001->standby_gpio)) in mt9m001_probe() 756 return PTR_ERR(mt9m001->standby_gpio); in mt9m001_probe()
|
H A D | mt9t112.c | 96 struct gpio_desc *standby_gpio; member 755 if (priv->standby_gpio) { in mt9t112_power_on() 756 gpiod_set_value(priv->standby_gpio, 0); in mt9t112_power_on() 766 if (priv->standby_gpio) { in mt9t112_power_off() 767 gpiod_set_value(priv->standby_gpio, 1); in mt9t112_power_off() 1090 priv->standby_gpio = devm_gpiod_get_optional(&client->dev, "standby", in mt9t112_probe() 1092 if (IS_ERR(priv->standby_gpio)) { in mt9t112_probe() 1094 return PTR_ERR(priv->standby_gpio); in mt9t112_probe()
|
H A D | mt9v032.c | 205 struct gpio_desc *standby_gpio; member 1072 mt9v032->standby_gpio = devm_gpiod_get_optional(&client->dev, "standby", in mt9v032_probe() 1074 if (IS_ERR(mt9v032->standby_gpio)) in mt9v032_probe() 1075 return PTR_ERR(mt9v032->standby_gpio); in mt9v032_probe()
|
Completed in 12 milliseconds