Home
last modified time | relevance | path

Searched refs:sdm (Results 1 – 22 of 22) sorted by relevance

/Linux-v6.6/drivers/clk/sunxi-ng/
Dccu_sdm.c13 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 …]
Dccu_sdm.h52 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,
Dccu_nm.c108 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()
Dccu_nm.h29 struct ccu_sdm_internal sdm; member
49 .sdm = _SUNXI_CCU_SDM(_sdm_table, _sdm_en, \
Dccu-sun50i-a100.c205 .sdm = _SUNXI_CCU_SDM(pll_com_sdm_table, BIT(24),
252 .sdm = _SUNXI_CCU_SDM(pll_audio_sdm_table, BIT(24),
Dccu-sun8i-a83t.c84 .sdm = _SUNXI_CCU_SDM(pll_audio_sdm_table, BIT(24),
Dccu-sun50i-h6.c217 .sdm = _SUNXI_CCU_SDM(pll_audio_sdm_table,
Dccu-sun5i.c69 .sdm = _SUNXI_CCU_SDM(pll_audio_sdm_table, 0,
Dccu-sun20i-d1.c180 .sdm = _SUNXI_CCU_SDM(pll_audio0_sdm_table, BIT(24),
Dccu-sun4i-a10.c68 .sdm = _SUNXI_CCU_SDM(pll_audio_sdm_table, 0,
/Linux-v6.6/drivers/clk/meson/
Dclk-mpll.c32 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 …]
Dclk-mpll.h16 struct parm sdm; member
Daxg.c489 .sdm = {
540 .sdm = {
591 .sdm = {
647 .sdm = {
Dgxbb.c719 .sdm = {
748 .sdm = {
800 .sdm = {
843 .sdm = {
Dmeson8b.c475 .sdm = {
525 .sdm = {
570 .sdm = {
Dg12a.c2207 .sdm = {
2261 .sdm = {
2315 .sdm = {
2369 .sdm = {
/Linux-v6.6/drivers/clk/
Dclk-sp7021.c221 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()
/Linux-v6.6/Documentation/trace/
Devents-msr.rst7 at https://www.intel.com/sdm (Volume 3)
/Linux-v6.6/drivers/media/tuners/
Dr820t.c549 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()
/Linux-v6.6/Documentation/arch/x86/
Dintel-hfi.rst72 .. [1] https://www.intel.com/sdm
Dpti.rst103 See intel.com/sdm for the gory PCID/INVPCID details.
/Linux-v6.6/tools/perf/Documentation/
Dperf-list.txt360 http://www.intel.com/sdm/[Intel® 64 and IA-32 Architectures Software Developer's Manual Volume 3B: …