Home
last modified time | relevance | path

Searched refs:standby_gpio (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/phy/
H A Dphy-can-transceiver.c24 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 = standby_gpio; in can_transceiver_phy_probe()
/linux/drivers/media/i2c/
H A Dmt9m001.c99 struct gpio_desc *standby_gpio; member
455 if (mt9m001->standby_gpio) { in mt9m001_power_on()
456 gpiod_set_value_cansleep(mt9m001->standby_gpio, 0); in mt9m001_power_on()
475 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 Dmt9t112.c96 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()
1089 priv->standby_gpio = devm_gpiod_get_optional(&client->dev, "standby", in mt9t112_probe()
1091 if (IS_ERR(priv->standby_gpio)) { in mt9t112_probe()
1093 return PTR_ERR(priv->standby_gpio); in mt9t112_probe()
H A Dmt9v032.c206 struct gpio_desc *standby_gpio; member
1070 mt9v032->standby_gpio = devm_gpiod_get_optional(&client->dev, "standby", in mt9v032_probe()
1072 if (IS_ERR(mt9v032->standby_gpio)) in mt9v032_probe()
1073 return PTR_ERR(mt9v032->standby_gpio); in mt9v032_probe()