Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/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()
1996 struct regulator *reg_vdd, *reg_xceiver; in mcp251xfd_probe() local
2019 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 …]
Dmcp251xfd.h659 struct regulator *reg_xceiver; member
/linux-6.6.21/drivers/net/can/flexcan/
Dflexcan-core.c618 if (!priv->reg_xceiver) in flexcan_transceiver_enable()
621 return regulator_enable(priv->reg_xceiver); in flexcan_transceiver_enable()
626 if (!priv->reg_xceiver) in flexcan_transceiver_disable()
629 return regulator_disable(priv->reg_xceiver); in flexcan_transceiver_disable()
2041 struct regulator *reg_xceiver; in flexcan_probe() local
2049 reg_xceiver = devm_regulator_get_optional(&pdev->dev, "xceiver"); in flexcan_probe()
2050 if (PTR_ERR(reg_xceiver) == -EPROBE_DEFER) in flexcan_probe()
2052 else if (PTR_ERR(reg_xceiver) == -ENODEV) in flexcan_probe()
2053 reg_xceiver = NULL; in flexcan_probe()
2054 else if (IS_ERR(reg_xceiver)) in flexcan_probe()
[all …]
Dflexcan.h103 struct regulator *reg_xceiver; member