Home
last modified time | relevance | path

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

/linux/drivers/net/can/
A 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()
863 struct regulator *reg_xceiver; in ti_hecc_probe() local
869 reg_xceiver = devm_regulator_get(&pdev->dev, "xceiver"); in ti_hecc_probe()
870 if (PTR_ERR(reg_xceiver) == -EPROBE_DEFER) in ti_hecc_probe()
872 else if (IS_ERR(reg_xceiver)) in ti_hecc_probe()
873 reg_xceiver = NULL; in ti_hecc_probe()
914 priv->reg_xceiver = reg_xceiver; in ti_hecc_probe()
A Dflexcan.c373 struct regulator *reg_xceiver; member
681 if (!priv->reg_xceiver) in flexcan_transceiver_enable()
684 return regulator_enable(priv->reg_xceiver); in flexcan_transceiver_enable()
689 if (!priv->reg_xceiver) in flexcan_transceiver_disable()
2105 struct regulator *reg_xceiver; in flexcan_probe() local
2114 if (PTR_ERR(reg_xceiver) == -EPROBE_DEFER) in flexcan_probe()
2116 else if (PTR_ERR(reg_xceiver) == -ENODEV) in flexcan_probe()
2117 reg_xceiver = NULL; in flexcan_probe()
2118 else if (IS_ERR(reg_xceiver)) in flexcan_probe()
2119 return PTR_ERR(reg_xceiver); in flexcan_probe()
[all …]
/linux/drivers/net/can/spi/mcp251xfd/
A Dmcp251xfd-core.c136 if (!priv->reg_xceiver) in mcp251xfd_transceiver_enable()
139 return regulator_enable(priv->reg_xceiver); in mcp251xfd_transceiver_enable()
145 if (!priv->reg_xceiver) in mcp251xfd_transceiver_disable()
148 return regulator_disable(priv->reg_xceiver); in mcp251xfd_transceiver_disable()
2864 struct regulator *reg_vdd, *reg_xceiver; in mcp251xfd_probe() local
2886 reg_xceiver = devm_regulator_get_optional(&spi->dev, "xceiver"); in mcp251xfd_probe()
2887 if (PTR_ERR(reg_xceiver) == -ENODEV) in mcp251xfd_probe()
2888 reg_xceiver = NULL; in mcp251xfd_probe()
2889 else if (IS_ERR(reg_xceiver)) in mcp251xfd_probe()
2890 return dev_err_probe(&spi->dev, PTR_ERR(reg_xceiver), in mcp251xfd_probe()
[all …]
A Dmcp251xfd.h611 struct regulator *reg_xceiver; member

Completed in 22 milliseconds