Home
last modified time | relevance | path

Searched refs:core_clk (Results 1 – 29 of 29) sorted by relevance

/linux-4.4.14/drivers/usb/dwc3/
Ddwc3-qcom.c24 struct clk *core_clk; member
43 qdwc->core_clk = devm_clk_get(qdwc->dev, "core"); in dwc3_qcom_probe()
44 if (IS_ERR(qdwc->core_clk)) { in dwc3_qcom_probe()
46 return PTR_ERR(qdwc->core_clk); in dwc3_qcom_probe()
61 ret = clk_prepare_enable(qdwc->core_clk); in dwc3_qcom_probe()
92 clk_disable_unprepare(qdwc->core_clk); in dwc3_qcom_probe()
105 clk_disable_unprepare(qdwc->core_clk); in dwc3_qcom_remove()
/linux-4.4.14/arch/arm/mach-omap2/
Dclkt2xxx_dpllcore.c56 long long core_clk; in omap2xxx_clk_get_core_rate() local
61 core_clk = omap2_get_dpll_rate(dpll_core_ck); in omap2xxx_clk_get_core_rate()
66 core_clk = 32768; in omap2xxx_clk_get_core_rate()
68 core_clk *= v; in omap2xxx_clk_get_core_rate()
70 return core_clk; in omap2xxx_clk_get_core_rate()
/linux-4.4.14/arch/arm/boot/dts/
Dorion5x.dtsi33 clocks = <&core_clk 0>;
43 clocks = <&core_clk 0>;
53 clocks = <&core_clk 0>;
63 clocks = <&core_clk 0>;
99 clocks = <&core_clk 0>;
108 clocks = <&core_clk 0>;
117 clocks = <&core_clk 0>;
142 clocks = <&core_clk 0>;
Ddove.dtsi156 clocks = <&core_clk 0>;
170 clocks = <&core_clk 0>;
179 clocks = <&core_clk 0>;
188 clocks = <&core_clk 0>;
199 clocks = <&core_clk 0>;
208 clocks = <&core_clk 0>;
219 clocks = <&core_clk 0>;
254 clocks = <&core_clk 0>;
262 clocks = <&core_clk 0>;
459 clocks = <&core_clk 0>;
[all …]
Dkirkwood.dtsi19 clocks = <&core_clk 1>, <&core_clk 3>, <&gate_clk 11>;
120 core_clk: core-clocks@10030 { label
220 clocks = <&core_clk 0>;
241 clocks = <&core_clk 0>;
Dorion5x-mv88f5182.dtsi33 core_clk: core-clocks@10030 { label
/linux-4.4.14/arch/arc/kernel/
Ddevtree.c31 unsigned int core_clk = arc_get_core_freq(); in arc_set_early_base_baud() local
34 arc_base_baud = core_clk/3; in arc_set_early_base_baud()
38 arc_base_baud = core_clk; in arc_set_early_base_baud()
/linux-4.4.14/drivers/usb/phy/
Dphy-qcom-8x16-usb.c66 struct clk *core_clk; member
268 qphy->core_clk = devm_clk_get(dev, "core"); in phy_8x16_read_devicetree()
269 if (IS_ERR(qphy->core_clk)) in phy_8x16_read_devicetree()
270 return PTR_ERR(qphy->core_clk); in phy_8x16_read_devicetree()
355 ret = clk_set_rate(qphy->core_clk, INT_MAX); in phy_8x16_probe()
359 ret = clk_prepare_enable(qphy->core_clk); in phy_8x16_probe()
394 clk_disable_unprepare(qphy->core_clk); in phy_8x16_probe()
415 clk_disable_unprepare(qphy->core_clk); in phy_8x16_remove()
Dphy-msm-usb.c378 if (!IS_ERR(motg->core_clk)) in msm_usb_reset()
379 clk_prepare_enable(motg->core_clk); in msm_usb_reset()
398 if (!IS_ERR(motg->core_clk)) in msm_usb_reset()
399 clk_disable_unprepare(motg->core_clk); in msm_usb_reset()
559 if (!IS_ERR(motg->core_clk)) in msm_otg_suspend()
560 clk_disable_unprepare(motg->core_clk); in msm_otg_suspend()
594 if (!IS_ERR(motg->core_clk)) in msm_otg_resume()
595 clk_prepare_enable(motg->core_clk); in msm_otg_resume()
1696 motg->core_clk = devm_clk_get(&pdev->dev, in msm_otg_probe()
1756 if (!IS_ERR(motg->core_clk)) in msm_otg_probe()
[all …]
/linux-4.4.14/arch/h8300/boot/dts/
Dh8300h_sim.dts23 core_clk: core_clk { label
32 clocks = <&core_clk>;
Dh8s_sim.dts29 core_clk: core_clk { label
38 clocks = <&core_clk>;
Dedosk2674.dts30 core_clk: core_clk { label
39 clocks = <&core_clk>;
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-ipq806x.c101 struct clk *core_clk; member
225 gmac->core_clk = devm_clk_get(dev, "stmmaceth"); in ipq806x_gmac_of_parse()
226 if (IS_ERR(gmac->core_clk)) { in ipq806x_gmac_of_parse()
228 return gmac->core_clk; in ipq806x_gmac_of_parse()
230 clk_set_rate(gmac->core_clk, 266000000); in ipq806x_gmac_of_parse()
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Dkirkwood.txt25 clocks = <&core_clk 1>, <&core_clk 3>, <&gate_clk 11>;
/linux-4.4.14/Documentation/devicetree/bindings/display/msm/
Dmdp.txt12 * "core_clk"
35 "core_clk",
Dgpu.txt10 * "core_clk"
34 "core_clk",
Dedp.txt15 * "core_clk"
44 "core_clk",
Ddsi.txt19 * "core_clk"
85 "core_clk",
Dhdmi.txt42 "core_clk",
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Ddispc.c83 u16 pos_x, unsigned long *core_clk, bool mem_to_mem);
2161 u32 core_clk = 0; in calc_core_clk_five_taps() local
2172 core_clk = tmp; in calc_core_clk_five_taps()
2180 core_clk = max_t(u32, core_clk, tmp); in calc_core_clk_five_taps()
2187 core_clk = max_t(u32, core_clk, tmp); in calc_core_clk_five_taps()
2190 core_clk <<= 1; in calc_core_clk_five_taps()
2193 return core_clk; in calc_core_clk_five_taps()
2254 u16 pos_x, unsigned long *core_clk, bool mem_to_mem) in dispc_ovl_calc_scaling_24xx() argument
2267 *core_clk = dispc.feat->calc_core_clk(pclk, in_width, in dispc_ovl_calc_scaling_24xx()
2269 error = (in_width > maxsinglelinewidth || !*core_clk || in dispc_ovl_calc_scaling_24xx()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/timer/
Dmarvell,orion-timer.txt16 clocks = <&core_clk 0>;
/linux-4.4.14/include/linux/usb/
Dmsm_hsusb.h169 struct clk *core_clk; member
/linux-4.4.14/Documentation/devicetree/bindings/clock/
Dmvebu-core-clock.txt67 core_clk: core-clocks@d0214 {
77 clocks = <&core_clk 0>;
Dmvebu-gated-clock.txt184 clocks = <&core_clk 0>;
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_kms.c179 clk_disable_unprepare(mdp5_kms->core_clk); in mdp5_disable()
192 clk_prepare_enable(mdp5_kms->core_clk); in mdp5_enable()
531 ret = get_clk(pdev, &mdp5_kms->core_clk, "core_clk", true); in mdp5_kms_init()
Dmdp5_kms.h53 struct clk *core_clk; member
/linux-4.4.14/Documentation/devicetree/bindings/ufs/
Dufshcd-pltfrm.txt62 clock-names = "core_clk", "ref_clk", "iface_clk";
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
Dcmd.h254 MLXSW_ITEM32(cmd_mbox, query_fw, core_clk, 0x08, 16, 16);
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c2701 static void tp_set_timers(struct adapter *adap, unsigned int core_clk) in tp_set_timers() argument
2703 unsigned int tre = fls(core_clk / (1000000 / TP_TMR_RES)) - 1; in tp_set_timers()
2704 unsigned int dack_re = fls(core_clk / 5000) - 1; /* 200us */ in tp_set_timers()
2705 unsigned int tstamp_re = fls(core_clk / 1000); /* 1ms, at least */ in tp_set_timers()
2706 unsigned int tps = core_clk >> tre; in tp_set_timers()
2712 (core_clk >> dack_re) / (1000 / TP_DACK_TIMER)); in tp_set_timers()