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()1996 struct regulator *reg_vdd, *reg_xceiver; in mcp251xfd_probe() local2019 reg_xceiver = devm_regulator_get_optional(&spi->dev, "xceiver"); in mcp251xfd_probe()2020 if (PTR_ERR(reg_xceiver) == -ENODEV) in mcp251xfd_probe()2021 reg_xceiver = NULL; in mcp251xfd_probe()2022 else if (IS_ERR(reg_xceiver)) in mcp251xfd_probe()2023 return dev_err_probe(&spi->dev, PTR_ERR(reg_xceiver), in mcp251xfd_probe()[all …]
659 struct regulator *reg_xceiver; member
618 if (!priv->reg_xceiver) in flexcan_transceiver_enable()621 return regulator_enable(priv->reg_xceiver); in flexcan_transceiver_enable()626 if (!priv->reg_xceiver) in flexcan_transceiver_disable()629 return regulator_disable(priv->reg_xceiver); in flexcan_transceiver_disable()2041 struct regulator *reg_xceiver; in flexcan_probe() local2049 reg_xceiver = devm_regulator_get_optional(&pdev->dev, "xceiver"); in flexcan_probe()2050 if (PTR_ERR(reg_xceiver) == -EPROBE_DEFER) in flexcan_probe()2052 else if (PTR_ERR(reg_xceiver) == -ENODEV) in flexcan_probe()2053 reg_xceiver = NULL; in flexcan_probe()2054 else if (IS_ERR(reg_xceiver)) in flexcan_probe()[all …]
103 struct regulator *reg_xceiver; member