Lines Matching refs:reg_xceiver
637 if (!priv->reg_xceiver) in flexcan_transceiver_enable()
640 return regulator_enable(priv->reg_xceiver); in flexcan_transceiver_enable()
645 if (!priv->reg_xceiver) in flexcan_transceiver_disable()
648 return regulator_disable(priv->reg_xceiver); in flexcan_transceiver_disable()
2063 struct regulator *reg_xceiver; in flexcan_probe() local
2071 reg_xceiver = devm_regulator_get_optional(&pdev->dev, "xceiver"); in flexcan_probe()
2072 if (PTR_ERR(reg_xceiver) == -EPROBE_DEFER) in flexcan_probe()
2074 else if (PTR_ERR(reg_xceiver) == -ENODEV) in flexcan_probe()
2075 reg_xceiver = NULL; in flexcan_probe()
2076 else if (IS_ERR(reg_xceiver)) in flexcan_probe()
2077 return PTR_ERR(reg_xceiver); in flexcan_probe()
2175 priv->reg_xceiver = reg_xceiver; in flexcan_probe()