/linux-master/drivers/clk/visconti/ |
H A D | pll.h | 33 .postdiv1 = _postdiv1, \ 44 unsigned int postdiv1; member in struct:visconti_pll_rate_table
|
H A D | pll.c | 49 #define PLL_CREATE_OSTDIV(table) (table->postdiv2 << 4 | table->postdiv1) 71 rate_table->postdiv1 = postdiv & PLL_POSTDIV_MASK;
|
/linux-master/drivers/clk/starfive/ |
H A D | clk-starfive-jh7110-pll.c | 18 * Q1: frequency dividing ratio of post divider, set by 2^postdiv1[1:0], eg. 1, 2, 4 or 8. 85 unsigned postdiv1 : 2; member in struct:jh7110_pll_preset 151 u32 postdiv1; member in struct:jh7110_pll_regvals 165 .postdiv1 = 0, 171 .postdiv1 = 0, 177 .postdiv1 = 0, 183 .postdiv1 = 0, 189 .postdiv1 = 0, 195 .postdiv1 = 0, 201 .postdiv1 [all...] |
/linux-master/drivers/clk/pistachio/ |
H A D | clk-pll.c | 240 (params->postdiv1 != old_postdiv1 || 244 if (params->postdiv2 > params->postdiv1) 245 pr_warn("%s: postdiv2 should not exceed postdiv1\n", name); 253 (params->postdiv1 << PLL_FRAC_CTRL2_POSTDIV1_SHIFT) | 273 u64 val, prediv, fbdiv, frac, postdiv1, postdiv2, rate; local 280 postdiv1 = (val >> PLL_FRAC_CTRL2_POSTDIV1_SHIFT) & 293 rate = do_div_round_closest(rate, (prediv * postdiv1 * postdiv2) << 24); 386 (params->postdiv1 != old_postdiv1 || 390 if (params->postdiv2 > params->postdiv1) 391 pr_warn("%s: postdiv2 should not exceed postdiv1\ 413 u32 val, prediv, fbdiv, postdiv1, postdiv2; local [all...] |
H A D | clk.h | 99 unsigned long long postdiv1; member in struct:pistachio_pll_rate_table
|
/linux-master/drivers/clk/rockchip/ |
H A D | clk-pll.c | 147 rate->postdiv1 = ((pllcon >> RK3036_PLLCON0_POSTDIV1_SHIFT) 183 do_div(rate64, cur.postdiv1); 200 pr_debug("%s: rate settings for %lu fbdiv: %d, postdiv1: %d, refdiv: %d, postdiv2: %d, dsmpd: %d, frac: %d\n", 201 __func__, rate->rate, rate->fbdiv, rate->postdiv1, rate->refdiv, 216 HIWORD_UPDATE(rate->postdiv1, RK3036_PLLCON0_POSTDIV1_MASK, 317 pr_debug("old - fbdiv: %d, postdiv1: %d, refdiv: %d, postdiv2: %d, dsmpd: %d, frac: %d\n", 318 cur.fbdiv, cur.postdiv1, cur.refdiv, cur.postdiv2, 320 pr_debug("new - fbdiv: %d, postdiv1: %d, refdiv: %d, postdiv2: %d, dsmpd: %d, frac: %d\n", 321 rate->fbdiv, rate->postdiv1, rate->refdiv, rate->postdiv2, 324 if (rate->fbdiv != cur.fbdiv || rate->postdiv1 ! [all...] |
H A D | clk.h | 297 .postdiv1 = _postdiv1, \ 360 unsigned int postdiv1; member in struct:rockchip_pll_rate_table::__anon365::__anon367
|
/linux-master/drivers/gpu/drm/msm/dsi/phy/ |
H A D | dsi_phy_28nm_8960.c | 52 u8 postdiv1; member in struct:pll_28nm_cached_state 353 cached_state->postdiv1 = 379 cached_state->postdiv1);
|
H A D | dsi_phy_28nm.c | 65 u8 postdiv1; member in struct:pll_28nm_cached_state 564 cached_state->postdiv1 = 591 cached_state->postdiv1);
|
/linux-master/drivers/clk/ |
H A D | clk-bm1880.c | 478 u32 postdiv1, postdiv2, denominator; local 482 postdiv1 = (regval >> 8) & 0x7; 486 denominator = refdiv * postdiv1 * postdiv2;
|