Searched refs:reg_xceiver (Results 1 – 4 of 4) sorted by relevance
199 struct regulator *reg_xceiver; member294 if (!priv->reg_xceiver) in ti_hecc_transceiver_switch()298 return regulator_enable(priv->reg_xceiver); in ti_hecc_transceiver_switch()300 return regulator_disable(priv->reg_xceiver); in ti_hecc_transceiver_switch()861 struct regulator *reg_xceiver; in ti_hecc_probe() local867 reg_xceiver = devm_regulator_get(&pdev->dev, "xceiver"); in ti_hecc_probe()868 if (PTR_ERR(reg_xceiver) == -EPROBE_DEFER) in ti_hecc_probe()870 else if (IS_ERR(reg_xceiver)) in ti_hecc_probe()871 reg_xceiver = NULL; in ti_hecc_probe()912 priv->reg_xceiver = reg_xceiver; in ti_hecc_probe()
358 struct regulator *reg_xceiver; member620 if (!priv->reg_xceiver) in flexcan_transceiver_enable()623 return regulator_enable(priv->reg_xceiver); in flexcan_transceiver_enable()628 if (!priv->reg_xceiver) in flexcan_transceiver_disable()631 return regulator_disable(priv->reg_xceiver); in flexcan_transceiver_disable()1942 struct regulator *reg_xceiver; in flexcan_probe() local1949 reg_xceiver = devm_regulator_get_optional(&pdev->dev, "xceiver"); in flexcan_probe()1950 if (PTR_ERR(reg_xceiver) == -EPROBE_DEFER) in flexcan_probe()1952 else if (PTR_ERR(reg_xceiver) == -ENODEV) in flexcan_probe()1953 reg_xceiver = NULL; in flexcan_probe()[all …]
137 if (!priv->reg_xceiver) in mcp251xfd_transceiver_enable()140 return regulator_enable(priv->reg_xceiver); in mcp251xfd_transceiver_enable()146 if (!priv->reg_xceiver) in mcp251xfd_transceiver_disable()149 return regulator_disable(priv->reg_xceiver); in mcp251xfd_transceiver_disable()2736 struct regulator *reg_vdd, *reg_xceiver; in mcp251xfd_probe() local2760 reg_xceiver = devm_regulator_get_optional(&spi->dev, "xceiver"); in mcp251xfd_probe()2761 if (PTR_ERR(reg_xceiver) == -EPROBE_DEFER) in mcp251xfd_probe()2763 else if (PTR_ERR(reg_xceiver) == -ENODEV) in mcp251xfd_probe()2764 reg_xceiver = NULL; in mcp251xfd_probe()2765 else if (IS_ERR(reg_xceiver)) in mcp251xfd_probe()[all …]
595 struct regulator *reg_xceiver; member