Searched refs:reg_xceiver (Results 1 – 5 of 5) sorted by relevance
190 struct regulator *reg_xceiver; member285 if (!priv->reg_xceiver) in ti_hecc_transceiver_switch()289 return regulator_enable(priv->reg_xceiver); in ti_hecc_transceiver_switch()291 return regulator_disable(priv->reg_xceiver); in ti_hecc_transceiver_switch()853 struct regulator *reg_xceiver; in ti_hecc_probe() local859 reg_xceiver = devm_regulator_get(&pdev->dev, "xceiver"); in ti_hecc_probe()860 if (PTR_ERR(reg_xceiver) == -EPROBE_DEFER) in ti_hecc_probe()862 else if (IS_ERR(reg_xceiver)) in ti_hecc_probe()863 reg_xceiver = NULL; in ti_hecc_probe()904 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 …]
654 struct regulator *reg_xceiver; member
609 if (!priv->reg_xceiver) in flexcan_transceiver_enable()612 return regulator_enable(priv->reg_xceiver); in flexcan_transceiver_enable()617 if (!priv->reg_xceiver) in flexcan_transceiver_disable()620 return regulator_disable(priv->reg_xceiver); in flexcan_transceiver_disable()2024 struct regulator *reg_xceiver; in flexcan_probe() local2032 reg_xceiver = devm_regulator_get_optional(&pdev->dev, "xceiver"); in flexcan_probe()2033 if (PTR_ERR(reg_xceiver) == -EPROBE_DEFER) in flexcan_probe()2035 else if (PTR_ERR(reg_xceiver) == -ENODEV) in flexcan_probe()2036 reg_xceiver = NULL; in flexcan_probe()2037 else if (IS_ERR(reg_xceiver)) in flexcan_probe()[all …]
103 struct regulator *reg_xceiver; member