Home
last modified time | relevance | path

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

/drivers/phy/
Dphy-can-transceiver.c20 struct can_transceiver_phy { struct
29 struct can_transceiver_phy *can_transceiver_phy = phy_get_drvdata(phy); in can_transceiver_phy_power_on() argument
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()
33 if (can_transceiver_phy->enable_gpio) in can_transceiver_phy_power_on()
34 gpiod_set_value_cansleep(can_transceiver_phy->enable_gpio, 1); in can_transceiver_phy_power_on()
42 struct can_transceiver_phy *can_transceiver_phy = phy_get_drvdata(phy); in can_transceiver_phy_power_off() local
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()
46 if (can_transceiver_phy->enable_gpio) in can_transceiver_phy_power_off()
[all …]