Home
last modified time | relevance | path

Searched full:can_clk (Results 1 – 25 of 56) sorted by relevance

123

/Linux-v6.1/Documentation/devicetree/bindings/net/can/
Dxilinx,can.yaml71 - const: can_clk
88 - const: can_clk
106 - const: can_clk
120 clock-names = "can_clk", "pclk";
132 clock-names = "can_clk", "s_axi_aclk";
144 clock-names = "can_clk", "s_axi_aclk";
156 clock-names = "can_clk", "s_axi_aclk";
Drenesas,rcar-can.yaml62 - const: can_clk
135 <&cpg CPG_CORE R8A7791_CLK_RCAN>, <&can_clk>;
136 clock-names = "clkp1", "clkp2", "can_clk";
Drenesas,rcar-canfd.yaml55 - const: can_clk
173 <&can_clk>;
174 clock-names = "fck", "canfd", "can_clk";
/Linux-v6.1/arch/arm/boot/dts/
Dat91sam9x5_can.dtsi22 clock-names = "can_clk";
33 clock-names = "can_clk";
Dsama5d3_can.dtsi41 clock-names = "can_clk";
52 clock-names = "can_clk";
Dr8a7792-blanche.dts195 &can_clk {
222 groups = "can0_data", "can_clk";
Dr8a7792.dtsi38 can_clk: can { label
700 <&cpg CPG_CORE R8A7792_CLK_RCAN>, <&can_clk>;
701 clock-names = "clkp1", "clkp2", "can_clk";
713 <&cpg CPG_CORE R8A7792_CLK_RCAN>, <&can_clk>;
714 clock-names = "clkp1", "clkp2", "can_clk";
Dzynq-7000.dtsi114 clock-names = "can_clk", "pclk";
126 clock-names = "can_clk", "pclk";
Dr8a7793.dtsi53 can_clk: can { label
936 <&can_clk>;
937 clock-names = "clkp1", "clkp2", "can_clk";
949 <&can_clk>;
950 clock-names = "clkp1", "clkp2", "can_clk";
Dr8a7794.dtsi55 can_clk: can { label
914 <&can_clk>;
915 clock-names = "clkp1", "clkp2", "can_clk";
927 <&can_clk>;
928 clock-names = "clkp1", "clkp2", "can_clk";
Dr8a7745.dtsi57 can_clk: can { label
1078 <&can_clk>;
1079 clock-names = "clkp1", "clkp2", "can_clk";
1092 <&can_clk>;
1093 clock-names = "clkp1", "clkp2", "can_clk";
/Linux-v6.1/drivers/net/can/rcar/
Drcar_can.c96 struct clk *can_clk; member
516 err = clk_prepare_enable(priv->can_clk); in rcar_can_open()
541 clk_disable_unprepare(priv->can_clk); in rcar_can_open()
580 clk_disable_unprepare(priv->can_clk); in rcar_can_close()
736 [CLKR_CLKEXT] = "can_clk",
785 priv->can_clk = devm_clk_get(&pdev->dev, clock_names[clock_select]); in rcar_can_probe()
786 if (IS_ERR(priv->can_clk)) { in rcar_can_probe()
787 err = PTR_ERR(priv->can_clk); in rcar_can_probe()
799 priv->can.clock.freq = clk_get_rate(priv->can_clk); in rcar_can_probe()
Drcar_canfd.c544 struct clk *can_clk; /* fCAN clock */ member
1400 err = clk_prepare_enable(gpriv->can_clk); in rcar_canfd_open()
1422 clk_disable_unprepare(gpriv->can_clk); in rcar_canfd_open()
1464 clk_disable_unprepare(gpriv->can_clk); in rcar_canfd_close()
1719 dev_info(&pdev->dev, "can_clk rate is %u\n", priv->can.clock.freq); in rcar_canfd_channel_probe()
1906 gpriv->can_clk = devm_clk_get(&pdev->dev, "can_clk"); in rcar_canfd_probe()
1907 if (IS_ERR(gpriv->can_clk) || (clk_get_rate(gpriv->can_clk) == 0)) { in rcar_canfd_probe()
1908 gpriv->can_clk = devm_clk_get(&pdev->dev, "canfd"); in rcar_canfd_probe()
1909 if (IS_ERR(gpriv->can_clk)) in rcar_canfd_probe()
1910 return dev_err_probe(&pdev->dev, PTR_ERR(gpriv->can_clk), in rcar_canfd_probe()
[all …]
/Linux-v6.1/drivers/net/can/
Dxilinx_can.c199 * @can_clk: Pointer to struct clk
216 struct clk *can_clk; member
1613 clk_disable_unprepare(priv->can_clk); in xcan_runtime_suspend()
1636 ret = clk_prepare_enable(priv->can_clk); in xcan_runtime_resume()
1831 /* Getting the CAN can_clk info */ in xcan_probe()
1832 priv->can_clk = devm_clk_get(&pdev->dev, "can_clk"); in xcan_probe()
1833 if (IS_ERR(priv->can_clk)) { in xcan_probe()
1834 ret = dev_err_probe(&pdev->dev, PTR_ERR(priv->can_clk), in xcan_probe()
1862 priv->can.clock.freq = clk_get_rate(priv->can_clk); in xcan_probe()
/Linux-v6.1/drivers/net/can/ctucanfd/
Dctucanfd.h46 struct clk *can_clk; member
Dctucanfd_base.c1386 /* Getting the can_clk info */ in ctucan_probe_common()
1388 priv->can_clk = devm_clk_get(dev, NULL); in ctucan_probe_common()
1389 if (IS_ERR(priv->can_clk)) { in ctucan_probe_common()
1391 ret = PTR_ERR(priv->can_clk); in ctucan_probe_common()
1394 can_clk_rate = clk_get_rate(priv->can_clk); in ctucan_probe_common()
/Linux-v6.1/arch/arm64/boot/dts/renesas/
Dr8a77995.dtsi36 can_clk: can { label
563 <&can_clk>;
564 clock-names = "fck", "canfd", "can_clk";
800 <&can_clk>;
801 clock-names = "clkp1", "clkp2", "can_clk";
816 <&can_clk>;
817 clock-names = "clkp1", "clkp2", "can_clk";
Dr8a774c0.dtsi41 can_clk: can { label
981 <&can_clk>;
982 clock-names = "clkp1", "clkp2", "can_clk";
997 <&can_clk>;
998 clock-names = "clkp1", "clkp2", "can_clk";
1015 <&can_clk>;
1016 clock-names = "fck", "canfd", "can_clk";
Dr8a77990.dtsi41 can_clk: can { label
1013 <&can_clk>;
1014 clock-names = "clkp1", "clkp2", "can_clk";
1029 <&can_clk>;
1030 clock-names = "clkp1", "clkp2", "can_clk";
1047 <&can_clk>;
1048 clock-names = "fck", "canfd", "can_clk";
Dr9a07g043.dtsi31 can_clk: can-clk { label
385 <&can_clk>;
386 clock-names = "fck", "canfd", "can_clk";
Dr9a07g044.dtsi31 can_clk: can-clk { label
445 <&can_clk>;
446 clock-names = "fck", "canfd", "can_clk";
Dr9a07g054.dtsi31 can_clk: can-clk { label
450 <&can_clk>;
451 clock-names = "fck", "canfd", "can_clk";
Dr8a77961.dtsi43 can_clk: can { label
1201 <&can_clk>;
1202 clock-names = "clkp1", "clkp2", "can_clk";
1217 <&can_clk>;
1218 clock-names = "clkp1", "clkp2", "can_clk";
1235 <&can_clk>;
1236 clock-names = "fck", "canfd", "can_clk";
Dr8a77965.dtsi48 can_clk: can { label
1064 <&can_clk>;
1065 clock-names = "clkp1", "clkp2", "can_clk";
1080 <&can_clk>;
1081 clock-names = "clkp1", "clkp2", "can_clk";
1098 <&can_clk>;
1099 clock-names = "fck", "canfd", "can_clk";
Dr8a774a1.dtsi44 can_clk: can { label
1140 <&can_clk>;
1141 clock-names = "clkp1", "clkp2", "can_clk";
1156 <&can_clk>;
1157 clock-names = "clkp1", "clkp2", "can_clk";
1174 <&can_clk>;
1175 clock-names = "fck", "canfd", "can_clk";

123