Searched refs:core_clk (Results 1 - 15 of 15) sorted by relevance

/linux-4.1.27/drivers/usb/dwc3/
H A Ddwc3-qcom.c24 struct clk *core_clk; member in struct:dwc3_qcom
43 qdwc->core_clk = devm_clk_get(qdwc->dev, "core"); dwc3_qcom_probe()
44 if (IS_ERR(qdwc->core_clk)) { dwc3_qcom_probe()
46 return PTR_ERR(qdwc->core_clk); dwc3_qcom_probe()
61 ret = clk_prepare_enable(qdwc->core_clk); dwc3_qcom_probe()
92 clk_disable_unprepare(qdwc->core_clk); dwc3_qcom_probe()
105 clk_disable_unprepare(qdwc->core_clk); dwc3_qcom_remove()
/linux-4.1.27/arch/arc/kernel/
H A Ddevtree.c31 unsigned int core_clk = arc_get_core_freq(); arc_set_early_base_baud() local
34 arc_base_baud = core_clk/3; arc_set_early_base_baud()
36 arc_base_baud = core_clk; arc_set_early_base_baud()
/linux-4.1.27/arch/arm/mach-omap2/
H A Dclkt2xxx_dpllcore.c56 long long core_clk; omap2xxx_clk_get_core_rate() local
61 core_clk = omap2_get_dpll_rate(dpll_core_ck); omap2xxx_clk_get_core_rate()
66 core_clk = 32768; omap2xxx_clk_get_core_rate()
68 core_clk *= v; omap2xxx_clk_get_core_rate()
70 return core_clk; omap2xxx_clk_get_core_rate()
/linux-4.1.27/include/linux/usb/
H A Dmsm_hsusb.h129 * @core_clk: clock struct of usb_hs_core_clk.
148 struct clk *core_clk; member in struct:msm_otg
/linux-4.1.27/drivers/usb/phy/
H A Dphy-msm-usb.c370 if (!IS_ERR(motg->core_clk)) msm_usb_reset()
371 clk_prepare_enable(motg->core_clk); msm_usb_reset()
390 if (!IS_ERR(motg->core_clk)) msm_usb_reset()
391 clk_disable_unprepare(motg->core_clk); msm_usb_reset()
533 if (!IS_ERR(motg->core_clk)) msm_otg_suspend()
534 clk_disable_unprepare(motg->core_clk); msm_otg_suspend()
568 if (!IS_ERR(motg->core_clk)) msm_otg_resume()
569 clk_prepare_enable(motg->core_clk); msm_otg_resume()
1568 motg->core_clk = devm_clk_get(&pdev->dev, msm_otg_probe()
1616 if (!IS_ERR(motg->core_clk)) msm_otg_probe()
1617 clk_prepare_enable(motg->core_clk); msm_otg_probe()
1689 if (!IS_ERR(motg->core_clk)) msm_otg_probe()
1690 clk_disable_unprepare(motg->core_clk); msm_otg_probe()
1733 if (!IS_ERR(motg->core_clk)) msm_otg_remove()
1734 clk_disable_unprepare(motg->core_clk); msm_otg_remove()
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
H A Ddispc.c82 u16 pos_x, unsigned long *core_clk, bool mem_to_mem);
2148 u32 core_clk = 0; calc_core_clk_five_taps() local
2159 core_clk = tmp; calc_core_clk_five_taps()
2167 core_clk = max_t(u32, core_clk, tmp); calc_core_clk_five_taps()
2174 core_clk = max_t(u32, core_clk, tmp); calc_core_clk_five_taps()
2177 core_clk <<= 1; calc_core_clk_five_taps()
2180 return core_clk; calc_core_clk_five_taps()
2241 u16 pos_x, unsigned long *core_clk, bool mem_to_mem) dispc_ovl_calc_scaling_24xx()
2254 *core_clk = dispc.feat->calc_core_clk(pclk, in_width, dispc_ovl_calc_scaling_24xx()
2256 error = (in_width > maxsinglelinewidth || !*core_clk || dispc_ovl_calc_scaling_24xx()
2257 *core_clk > dispc_core_clk_rate()); dispc_ovl_calc_scaling_24xx()
2282 u16 pos_x, unsigned long *core_clk, bool mem_to_mem) dispc_ovl_calc_scaling_34xx()
2301 *core_clk = calc_core_clk_five_taps(pclk, mgr_timings, dispc_ovl_calc_scaling_34xx()
2305 *core_clk = dispc.feat->calc_core_clk(pclk, in_width, dispc_ovl_calc_scaling_34xx()
2319 !*core_clk || *core_clk > dispc_core_clk_rate()); dispc_ovl_calc_scaling_34xx()
2356 u16 pos_x, unsigned long *core_clk, bool mem_to_mem) dispc_ovl_calc_scaling_44xx()
2388 *core_clk = dispc.feat->calc_core_clk(pclk, in_width, in_height, dispc_ovl_calc_scaling_44xx()
2403 unsigned long core_clk = 0; dispc_ovl_calc_scaling() local
2447 x_predecim, y_predecim, &decim_x, &decim_y, pos_x, &core_clk, dispc_ovl_calc_scaling()
2452 DSSDBG("required core clk rate = %lu Hz\n", core_clk); dispc_ovl_calc_scaling()
2455 if (!core_clk || core_clk > dispc_core_clk_rate()) { dispc_ovl_calc_scaling()
2459 core_clk, dispc_core_clk_rate()); dispc_ovl_calc_scaling()
2236 dispc_ovl_calc_scaling_24xx(unsigned long pclk, unsigned long lclk, const struct omap_video_timings *mgr_timings, u16 width, u16 height, u16 out_width, u16 out_height, enum omap_color_mode color_mode, bool *five_taps, int *x_predecim, int *y_predecim, int *decim_x, int *decim_y, u16 pos_x, unsigned long *core_clk, bool mem_to_mem) dispc_ovl_calc_scaling_24xx() argument
2277 dispc_ovl_calc_scaling_34xx(unsigned long pclk, unsigned long lclk, const struct omap_video_timings *mgr_timings, u16 width, u16 height, u16 out_width, u16 out_height, enum omap_color_mode color_mode, bool *five_taps, int *x_predecim, int *y_predecim, int *decim_x, int *decim_y, u16 pos_x, unsigned long *core_clk, bool mem_to_mem) dispc_ovl_calc_scaling_34xx() argument
2351 dispc_ovl_calc_scaling_44xx(unsigned long pclk, unsigned long lclk, const struct omap_video_timings *mgr_timings, u16 width, u16 height, u16 out_width, u16 out_height, enum omap_color_mode color_mode, bool *five_taps, int *x_predecim, int *y_predecim, int *decim_x, int *decim_y, u16 pos_x, unsigned long *core_clk, bool mem_to_mem) dispc_ovl_calc_scaling_44xx() argument
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp5/
H A Dmdp5_kms.c159 clk_disable_unprepare(mdp5_kms->core_clk); mdp5_disable()
171 clk_prepare_enable(mdp5_kms->core_clk); mdp5_enable()
467 ret = get_clk(pdev, &mdp5_kms->core_clk, "core_clk"); mdp5_kms_init()
H A Dmdp5_kms.h51 struct clk *core_clk; member in struct:mdp5_kms
/linux-4.1.27/drivers/gpu/drm/msm/hdmi/
H A Dhdmi.c299 static const char *hpd_clk_names_8960[] = {"core_clk", "master_iface_clk", "slave_iface_clk"};
310 static const char *hpd_clk_names_8x74[] = {"iface_clk", "core_clk", "mdp_core_clk"};
389 "core_clk", "master_iface_clk", "slave_iface_clk", hdmi_bind()
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp4/
H A Dmdp4_kms.c435 mdp4_kms->clk = devm_clk_get(&pdev->dev, "core_clk"); mdp4_kms_init()
437 dev_err(dev->dev, "failed to get core_clk\n"); mdp4_kms_init()
/linux-4.1.27/drivers/gpu/drm/msm/
H A Dmsm_gpu.c524 "src_clk", "core_clk", "iface_clk", "mem_clk", "mem_iface_clk",
/linux-4.1.27/drivers/scsi/ufs/
H A Dufs-qcom.c304 * Returns non-zero for success (which rate of core_clk) and 0
339 if (!strcmp(clki->name, "core_clk")) ufs_qcom_cfg_timers()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
H A Dt3_hw.c2696 * @core_clk: the core clock frequency in Hz
2701 static void tp_set_timers(struct adapter *adap, unsigned int core_clk) tp_set_timers() argument
2703 unsigned int tre = fls(core_clk / (1000000 / TP_TMR_RES)) - 1; tp_set_timers()
2704 unsigned int dack_re = fls(core_clk / 5000) - 1; /* 200us */ tp_set_timers()
2705 unsigned int tstamp_re = fls(core_clk / 1000); /* 1ms, at least */ tp_set_timers()
2706 unsigned int tps = core_clk >> tre; tp_set_timers()
2712 (core_clk >> dack_re) / (1000 / TP_DACK_TIMER)); tp_set_timers()
/linux-4.1.27/drivers/gpu/drm/msm/edp/
H A Dedp_ctrl.c158 ctrl->aux_clk = devm_clk_get(dev, "core_clk"); edp_clk_init()
/linux-4.1.27/drivers/gpu/drm/msm/dsi/
H A Ddsi_host.c457 msm_host->esc_clk = devm_clk_get(dev, "core_clk"); dsi_clk_init()

Completed in 582 milliseconds