Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/can/
Dti_hecc.c189 struct regulator *reg_xceiver; member
284 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() local
858 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()
/linux-6.12.1/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-core.c159 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()
2010 struct regulator *reg_vdd, *reg_xceiver; in mcp251xfd_probe() local
2033 reg_xceiver = devm_regulator_get_optional(&spi->dev, "xceiver"); in mcp251xfd_probe()
2034 if (PTR_ERR(reg_xceiver) == -ENODEV) in mcp251xfd_probe()
2035 reg_xceiver = NULL; in mcp251xfd_probe()
2036 else if (IS_ERR(reg_xceiver)) in mcp251xfd_probe()
2037 return dev_err_probe(&spi->dev, PTR_ERR(reg_xceiver), in mcp251xfd_probe()
[all …]
Dmcp251xfd.h669 struct regulator *reg_xceiver; member
/linux-6.12.1/drivers/net/can/flexcan/
Dflexcan-core.c637 if (!priv->reg_xceiver) in flexcan_transceiver_enable()
640 return regulator_enable(priv->reg_xceiver); in flexcan_transceiver_enable()
645 if (!priv->reg_xceiver) in flexcan_transceiver_disable()
648 return regulator_disable(priv->reg_xceiver); in flexcan_transceiver_disable()
2063 struct regulator *reg_xceiver; in flexcan_probe() local
2071 reg_xceiver = devm_regulator_get_optional(&pdev->dev, "xceiver"); in flexcan_probe()
2072 if (PTR_ERR(reg_xceiver) == -EPROBE_DEFER) in flexcan_probe()
2074 else if (PTR_ERR(reg_xceiver) == -ENODEV) in flexcan_probe()
2075 reg_xceiver = NULL; in flexcan_probe()
2076 else if (IS_ERR(reg_xceiver)) in flexcan_probe()
[all …]
Dflexcan.h105 struct regulator *reg_xceiver; member