Searched refs:can_clk (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/net/can/
H A Dxilinx_can.c130 * @can_clk: Pointer to struct clk
145 struct clk *can_clk; member in struct:xcan_priv
850 ret = clk_prepare_enable(priv->can_clk); xcan_open()
891 clk_disable_unprepare(priv->can_clk); xcan_open()
912 clk_disable_unprepare(priv->can_clk); xcan_close()
935 ret = clk_prepare_enable(priv->can_clk); xcan_get_berr_counter()
948 clk_disable_unprepare(priv->can_clk); xcan_get_berr_counter()
953 clk_disable_unprepare(priv->can_clk); xcan_get_berr_counter()
988 clk_disable(priv->can_clk); xcan_suspend()
1012 ret = clk_enable(priv->can_clk); xcan_resume()
1089 /* Getting the CAN can_clk info */ xcan_probe()
1090 priv->can_clk = devm_clk_get(&pdev->dev, "can_clk"); xcan_probe()
1091 if (IS_ERR(priv->can_clk)) { xcan_probe()
1093 ret = PTR_ERR(priv->can_clk); xcan_probe()
1114 ret = clk_prepare_enable(priv->can_clk); xcan_probe()
1134 priv->can.clock.freq = clk_get_rate(priv->can_clk); xcan_probe()
1146 clk_disable_unprepare(priv->can_clk); xcan_probe()
1156 clk_disable_unprepare(priv->can_clk); xcan_probe()
H A Drcar_can.c91 struct clk *can_clk; member in struct:rcar_can_priv
515 err = clk_prepare_enable(priv->can_clk); rcar_can_open()
541 clk_disable_unprepare(priv->can_clk); rcar_can_open()
580 clk_disable_unprepare(priv->can_clk); rcar_can_close()
735 [CLKR_CLKEXT] = "can_clk",
797 priv->can_clk = devm_clk_get(&pdev->dev, clock_names[clock_select]); rcar_can_probe()
798 if (IS_ERR(priv->can_clk)) { rcar_can_probe()
799 err = PTR_ERR(priv->can_clk); rcar_can_probe()
810 priv->can.clock.freq = clk_get_rate(priv->can_clk); rcar_can_probe()
H A Dat91_can.c1286 clk = clk_get(&pdev->dev, "can_clk"); at91_can_probe()
/linux-4.4.14/drivers/pinctrl/sh-pfc/
H A Dpfc-r8a7791.c4271 SH_PFC_PIN_GROUP(can_clk),
4607 "can_clk",
4618 "can_clk",

Completed in 239 milliseconds