Searched refs:reg_xceiver (Results 1 – 5 of 5) sorted by relevance
189 struct regulator *reg_xceiver; member284 if (!priv->reg_xceiver) in ti_hecc_transceiver_switch()288 return regulator_enable(priv->reg_xceiver); in ti_hecc_transceiver_switch()290 return regulator_disable(priv->reg_xceiver); in ti_hecc_transceiver_switch()852 struct regulator *reg_xceiver; in ti_hecc_probe() local858 reg_xceiver = devm_regulator_get(&pdev->dev, "xceiver"); in ti_hecc_probe()859 if (PTR_ERR(reg_xceiver) == -EPROBE_DEFER) in ti_hecc_probe()861 else if (IS_ERR(reg_xceiver)) in ti_hecc_probe()862 reg_xceiver = NULL; in ti_hecc_probe()903 priv->reg_xceiver = reg_xceiver; in ti_hecc_probe()
159 if (!priv->reg_xceiver) in mcp251xfd_transceiver_enable()162 return regulator_enable(priv->reg_xceiver); in mcp251xfd_transceiver_enable()168 if (!priv->reg_xceiver) in mcp251xfd_transceiver_disable()171 return regulator_disable(priv->reg_xceiver); in mcp251xfd_transceiver_disable()2010 struct regulator *reg_vdd, *reg_xceiver; in mcp251xfd_probe() local2033 reg_xceiver = devm_regulator_get_optional(&spi->dev, "xceiver"); in mcp251xfd_probe()2034 if (PTR_ERR(reg_xceiver) == -ENODEV) in mcp251xfd_probe()2035 reg_xceiver = NULL; in mcp251xfd_probe()2036 else if (IS_ERR(reg_xceiver)) in mcp251xfd_probe()2037 return dev_err_probe(&spi->dev, PTR_ERR(reg_xceiver), in mcp251xfd_probe()[all …]
669 struct regulator *reg_xceiver; member
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() local2071 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()[all …]
105 struct regulator *reg_xceiver; member