Home
last modified time | relevance | path

Searched refs:reg_xceiver (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/can/
Dti_hecc.c199 struct regulator *reg_xceiver; member
294 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() local
867 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()
Dflexcan.c358 struct regulator *reg_xceiver; member
620 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() local
1949 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 …]
/kernel/linux/linux-5.10/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-core.c137 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() local
2760 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 …]
Dmcp251xfd.h595 struct regulator *reg_xceiver; member