Lines Matching defs:phy
3 * phy-can-transceiver.c - phy driver for CAN transceivers
9 #include<linux/phy/phy.h>
23 struct phy *generic_phy;
30 static int can_transceiver_phy_power_on(struct phy *phy)
32 struct can_transceiver_phy *can_transceiver_phy = phy_get_drvdata(phy);
38 dev_err(&phy->dev, "Failed to select CAN mux: %d\n", ret);
51 static int can_transceiver_phy_power_off(struct phy *phy)
53 struct can_transceiver_phy *can_transceiver_phy = phy_get_drvdata(phy);
103 struct phy *phy;
126 phy = devm_phy_create(dev, dev->of_node,
128 if (IS_ERR(phy)) {
129 dev_err(dev, "failed to create can transceiver phy\n");
130 return PTR_ERR(phy);
136 phy->attrs.max_link_rate = max_bitrate;
138 can_transceiver_phy->generic_phy = phy;
164 .name = "can-transceiver-phy",