Home
last modified time | relevance | path

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

/drivers/usb/phy/
Dphy-msm-usb.c519 if (motg->core_clk) in msm_otg_suspend()
520 clk_disable(motg->core_clk); in msm_otg_suspend()
559 if (motg->core_clk) in msm_otg_resume()
560 clk_enable(motg->core_clk); in msm_otg_resume()
1488 motg->core_clk = clk_get(&pdev->dev, "usb_hs_core_clk"); in msm_otg_probe()
1489 if (IS_ERR(motg->core_clk)) in msm_otg_probe()
1490 motg->core_clk = NULL; in msm_otg_probe()
1534 if (motg->core_clk) in msm_otg_probe()
1535 clk_enable(motg->core_clk); in msm_otg_probe()
1591 if (motg->core_clk) in msm_otg_probe()
[all …]
/drivers/video/omap2/dss/
Ddispc.c79 u16 pos_x, unsigned long *core_clk, bool mem_to_mem);
2040 u32 core_clk = 0; in calc_core_clk_five_taps() local
2051 core_clk = tmp; in calc_core_clk_five_taps()
2059 core_clk = max_t(u32, core_clk, tmp); in calc_core_clk_five_taps()
2066 core_clk = max_t(u32, core_clk, tmp); in calc_core_clk_five_taps()
2069 core_clk <<= 1; in calc_core_clk_five_taps()
2072 return core_clk; in calc_core_clk_five_taps()
2133 u16 pos_x, unsigned long *core_clk, bool mem_to_mem) in dispc_ovl_calc_scaling_24xx() argument
2146 *core_clk = dispc.feat->calc_core_clk(pclk, in_width, in dispc_ovl_calc_scaling_24xx()
2148 error = (in_width > maxsinglelinewidth || !*core_clk || in dispc_ovl_calc_scaling_24xx()
[all …]
/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()