Searched refs:standby_gpio (Results 1 – 4 of 4) sorted by relevance
/drivers/phy/ |
D | phy-can-transceiver.c | 22 struct gpio_desc *standby_gpio; member 31 if (can_transceiver_phy->standby_gpio) in can_transceiver_phy_power_on() 32 gpiod_set_value_cansleep(can_transceiver_phy->standby_gpio, 0); in can_transceiver_phy_power_on() 44 if (can_transceiver_phy->standby_gpio) in can_transceiver_phy_power_off() 45 gpiod_set_value_cansleep(can_transceiver_phy->standby_gpio, 1); in can_transceiver_phy_power_off() 87 struct gpio_desc *standby_gpio; in can_transceiver_phy_probe() local 114 standby_gpio = devm_gpiod_get(dev, "standby", GPIOD_OUT_HIGH); in can_transceiver_phy_probe() 115 if (IS_ERR(standby_gpio)) in can_transceiver_phy_probe() 116 return PTR_ERR(standby_gpio); in can_transceiver_phy_probe() 117 can_transceiver_phy->standby_gpio = standby_gpio; in can_transceiver_phy_probe()
|
/drivers/media/i2c/ |
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() 751 mt9m001->standby_gpio = devm_gpiod_get_optional(&client->dev, "standby", in mt9m001_probe() 753 if (IS_ERR(mt9m001->standby_gpio)) in mt9m001_probe() 754 return PTR_ERR(mt9m001->standby_gpio); in mt9m001_probe()
|
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()
|
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()
|