/openbmc/linux/drivers/clk/sunxi-ng/ |
H A D | ccu_sdm.c | 13 struct ccu_sdm_internal *sdm) in ccu_sdm_helper_is_enabled() argument 18 if (sdm->enable && !(readl(common->base + common->reg) & sdm->enable)) in ccu_sdm_helper_is_enabled() 21 return !!(readl(common->base + sdm->tuning_reg) & sdm->tuning_enable); in ccu_sdm_helper_is_enabled() 26 struct ccu_sdm_internal *sdm, in ccu_sdm_helper_enable() argument 37 for (i = 0; i < sdm->table_size; i++) in ccu_sdm_helper_enable() 38 if (sdm->table[i].rate == rate) in ccu_sdm_helper_enable() 39 writel(sdm->table[i].pattern, in ccu_sdm_helper_enable() 40 common->base + sdm->tuning_reg); in ccu_sdm_helper_enable() 44 reg = readl(common->base + sdm->tuning_reg); in ccu_sdm_helper_enable() 45 writel(reg | sdm->tuning_enable, common->base + sdm->tuning_reg); in ccu_sdm_helper_enable() [all …]
|
H A D | ccu_sdm.h | 52 struct ccu_sdm_internal *sdm); 54 struct ccu_sdm_internal *sdm, 57 struct ccu_sdm_internal *sdm); 60 struct ccu_sdm_internal *sdm, 64 struct ccu_sdm_internal *sdm, 68 struct ccu_sdm_internal *sdm,
|
H A D | ccu_nm.c | 108 if (ccu_sdm_helper_is_enabled(&nm->common, &nm->sdm)) in ccu_nm_recalc_rate() 109 rate = ccu_sdm_helper_read_rate(&nm->common, &nm->sdm, m, n); in ccu_nm_recalc_rate() 148 if (ccu_sdm_helper_has_rate(&nm->common, &nm->sdm, rate)) { in ccu_nm_round_rate() 202 if (ccu_sdm_helper_has_rate(&nm->common, &nm->sdm, rate)) { in ccu_nm_set_rate() 203 ccu_sdm_helper_enable(&nm->common, &nm->sdm, rate); in ccu_nm_set_rate() 206 ccu_sdm_helper_get_factors(&nm->common, &nm->sdm, rate, in ccu_nm_set_rate() 209 ccu_sdm_helper_disable(&nm->common, &nm->sdm); in ccu_nm_set_rate()
|
H A D | ccu_nm.h | 29 struct ccu_sdm_internal sdm; member 49 .sdm = _SUNXI_CCU_SDM(_sdm_table, _sdm_en, \
|
H A D | ccu-sun50i-a100.c | 205 .sdm = _SUNXI_CCU_SDM(pll_com_sdm_table, BIT(24), 252 .sdm = _SUNXI_CCU_SDM(pll_audio_sdm_table, BIT(24),
|
H A D | ccu-sun8i-a83t.c | 84 .sdm = _SUNXI_CCU_SDM(pll_audio_sdm_table, BIT(24),
|
H A D | ccu-sun50i-h6.c | 217 .sdm = _SUNXI_CCU_SDM(pll_audio_sdm_table,
|
H A D | ccu-sun5i.c | 69 .sdm = _SUNXI_CCU_SDM(pll_audio_sdm_table, 0,
|
H A D | ccu-sun20i-d1.c | 180 .sdm = _SUNXI_CCU_SDM(pll_audio0_sdm_table, BIT(24),
|
H A D | ccu-sun4i-a10.c | 68 .sdm = _SUNXI_CCU_SDM(pll_audio_sdm_table, 0,
|
/openbmc/linux/drivers/clk/meson/ |
H A D | clk-mpll.c | 32 unsigned int sdm, in rate_from_params() argument 35 unsigned long divisor = (SDM_DEN * n2) + sdm; in rate_from_params() 45 unsigned int *sdm, in params_from_rate() argument 55 *sdm = DIV_ROUND_CLOSEST_ULL(frac, requested_rate); in params_from_rate() 57 *sdm = DIV_ROUND_UP_ULL(frac, requested_rate); in params_from_rate() 59 if (*sdm == SDM_DEN) { in params_from_rate() 60 *sdm = 0; in params_from_rate() 66 *sdm = 0; in params_from_rate() 69 *sdm = SDM_DEN - 1; in params_from_rate() 80 unsigned int sdm, n2; in mpll_recalc_rate() local [all …]
|
H A D | clk-mpll.h | 16 struct parm sdm; member
|
H A D | axg.c | 489 .sdm = { 540 .sdm = { 591 .sdm = { 647 .sdm = {
|
H A D | gxbb.c | 719 .sdm = { 748 .sdm = { 800 .sdm = { 843 .sdm = {
|
H A D | meson8b.c | 475 .sdm = { 525 .sdm = { 570 .sdm = {
|
H A D | g12a.c | 2207 .sdm = { 2261 .sdm = { 2315 .sdm = { 2369 .sdm = {
|
/openbmc/u-boot/drivers/clk/ |
H A D | clk_meson_axg.c | 118 unsigned long sdm, in mpll_rate_from_params() argument 121 unsigned long divisor = (SDM_DEN * n2) + sdm; in mpll_rate_from_params() 154 unsigned long sdm, n2; in meson_mpll_get_rate() local 180 sdm = PARM_GET(psdm->width, psdm->shift, reg); in meson_mpll_get_rate() 185 return mpll_rate_from_params(parent_rate, sdm, n2); in meson_mpll_get_rate()
|
H A D | clk_meson.c | 606 unsigned long sdm, in mpll_rate_from_params() argument 609 unsigned long divisor = (SDM_DEN * n2) + sdm; in mpll_rate_from_params() 642 unsigned long sdm, n2; in meson_mpll_get_rate() local 668 sdm = PARM_GET(psdm->width, psdm->shift, reg); in meson_mpll_get_rate() 673 return mpll_rate_from_params(parent_rate, sdm, n2); in meson_mpll_get_rate()
|
/openbmc/linux/drivers/clk/ |
H A D | clk-sp7021.c | 221 int sdm, ph; in plltv_fractional_div() local 238 for (sdm = 0; sdm < ARRAY_SIZE(sdm_mod_vals); sdm++) { in plltv_fractional_div() 239 u32 mod = sdm_mod_vals[sdm]; in plltv_fractional_div() 279 clk->p[SDM_MOD] = sdm; in plltv_fractional_div() 456 u32 sdm = FIELD_GET(MASK_SDM_MOD, reg); in sp_pll_recalc_rate() local 464 r1 = ret * (sdm_mod_vals[sdm] - nfra) / sdm_mod_vals[sdm] / pp[4]; in sp_pll_recalc_rate()
|
/openbmc/linux/Documentation/trace/ |
H A D | events-msr.rst | 7 at https://www.intel.com/sdm (Volume 3)
|
/openbmc/linux/drivers/media/tuners/ |
H A D | r820t.c | 549 u16 sdm = 0; in r820t_set_pll() local 668 sdm = sdm + 32768 / (n_sdm / 2); in r820t_set_pll() 677 freq, pll_ref, refdiv2 ? " / 2" : "", sdm); in r820t_set_pll() 679 rc = r820t_write_reg(priv, 0x16, sdm >> 8); in r820t_set_pll() 682 rc = r820t_write_reg(priv, 0x15, sdm & 0xff); in r820t_set_pll()
|
/openbmc/linux/Documentation/arch/x86/ |
H A D | intel-hfi.rst | 72 .. [1] https://www.intel.com/sdm
|
H A D | pti.rst | 103 See intel.com/sdm for the gory PCID/INVPCID details.
|
/openbmc/linux/tools/perf/Documentation/ |
H A D | perf-list.txt | 361 http://www.intel.com/sdm/[Intel® 64 and IA-32 Architectures Software Developer's Manual Volume 3B: …
|
/openbmc/qemu/target/mips/ |
H A D | helper.h | 31 DEF_HELPER_4(sdm, void, env, tl, tl, i32)
|