Home
last modified time | relevance | path

Searched full:raminit (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/net/can/c_can/
Dc_can_platform.c79 const struct c_can_raminit *raminit = &priv->raminit_sys; in c_can_hw_raminit_wait_syscon() local
89 regmap_read(raminit->syscon, raminit->reg, &ctrl); in c_can_hw_raminit_wait_syscon()
99 const struct c_can_raminit *raminit = &priv->raminit_sys; in c_can_hw_raminit_syscon() local
105 mask = 1 << raminit->bits.start | 1 << raminit->bits.done; in c_can_hw_raminit_syscon()
106 regmap_read(raminit->syscon, raminit->reg, &ctrl); in c_can_hw_raminit_syscon()
116 regmap_update_bits(raminit->syscon, raminit->reg, mask, ctrl); in c_can_hw_raminit_syscon()
121 c_can_hw_raminit_wait_syscon(priv, 1 << raminit->bits.start, ctrl); in c_can_hw_raminit_syscon()
125 ctrl |= 1 << raminit->bits.start; in c_can_hw_raminit_syscon()
127 ctrl |= 1 << raminit->bits.done; in c_can_hw_raminit_syscon()
128 regmap_update_bits(raminit->syscon, raminit->reg, mask, ctrl); in c_can_hw_raminit_syscon()
[all …]
Dc_can.h165 /* RAMINIT register description. Optional. */
171 /* Out of band RAMINIT register access via syscon regmap */
173 struct regmap *syscon; /* for raminit ctrl. reg. access */
211 struct c_can_raminit raminit_sys; /* RAMINIT via syscon regmap */
212 void (*raminit)(const struct c_can_priv *priv, bool enable); member
Dc_can_pci.c210 priv->raminit = c_can_pci_data->init; in c_can_pci_probe()
Dc_can_main.c221 if (priv->raminit) in c_can_reset_ram()
222 priv->raminit(priv, enable); in c_can_reset_ram()
/linux-6.12.1/Documentation/devicetree/bindings/net/can/
Dbosch,c_can.yaml52 syscon-raminit:
54 Handle to system control region that contains the RAMINIT register,
55 register offset to the RAMINIT register and the CAN instance number (0
114 syscon-raminit = <&scm_conf 0x644 1>;
/linux-6.12.1/drivers/net/can/rcar/
Drcar_canfd.c709 /* Check RAMINIT flag as CAN RAM initialization takes place in rcar_canfd_reset_controller()
715 dev_dbg(&gpriv->pdev->dev, "global raminit failed\n"); in rcar_canfd_reset_controller()
/linux-6.12.1/arch/arm/boot/dts/ti/omap/
Dam33xx-l4.dtsi1938 syscon-raminit = <&scm_conf 0x644 0>;
1961 syscon-raminit = <&scm_conf 0x644 1>;
Dam437x-l4.dtsi1576 syscon-raminit = <&scm_conf 0x644 0>;
1599 syscon-raminit = <&scm_conf 0x644 1>;
Ddra7-l4.dtsi3039 syscon-raminit = <&scm_conf 0x558 1>;
4598 syscon-raminit = <&scm_conf 0x558 0>;