Searched refs:core_clk (Results 1 – 9 of 9) sorted by relevance
/drivers/usb/dwc3/ |
D | dwc3-qcom.c | 24 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()
|
/drivers/usb/phy/ |
D | phy-qcom-8x16-usb.c | 66 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()
|
D | phy-msm-usb.c | 378 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 …]
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac-ipq806x.c | 101 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()
|
/drivers/video/fbdev/omap2/dss/ |
D | dispc.c | 83 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 …]
|
/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_kms.c | 179 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()
|
D | mdp5_kms.h | 53 struct clk *core_clk; member
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3_hw.c | 2701 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()
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | cmd.h | 254 MLXSW_ITEM32(cmd_mbox, query_fw, core_clk, 0x08, 16, 16);
|