Home
last modified time | relevance | path

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

/linux-6.1.9/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.c109 if (ccu_sdm_helper_is_enabled(&nm->common, &nm->sdm)) in ccu_nm_recalc_rate()
110 rate = ccu_sdm_helper_read_rate(&nm->common, &nm->sdm, m, n); in ccu_nm_recalc_rate()
149 if (ccu_sdm_helper_has_rate(&nm->common, &nm->sdm, rate)) { in ccu_nm_round_rate()
204 if (ccu_sdm_helper_has_rate(&nm->common, &nm->sdm, rate)) { in ccu_nm_set_rate()
205 ccu_sdm_helper_enable(&nm->common, &nm->sdm, rate); in ccu_nm_set_rate()
208 ccu_sdm_helper_get_factors(&nm->common, &nm->sdm, rate, in ccu_nm_set_rate()
211 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-6.1.9/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.c487 .sdm = {
538 .sdm = {
589 .sdm = {
645 .sdm = {
Dgxbb.c717 .sdm = {
746 .sdm = {
798 .sdm = {
841 .sdm = {
Dmeson8b.c471 .sdm = {
521 .sdm = {
566 .sdm = {
Dg12a.c2205 .sdm = {
2259 .sdm = {
2313 .sdm = {
2367 .sdm = {
/linux-6.1.9/Documentation/trace/
Devents-msr.rst7 at https://www.intel.com/sdm (Volume 3)
/linux-6.1.9/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-6.1.9/Documentation/x86/
Dintel-hfi.rst72 .. [1] https://www.intel.com/sdm
Dpti.rst103 See intel.com/sdm for the gory PCID/INVPCID details.
/linux-6.1.9/tools/perf/Documentation/
Dperf-list.txt356 http://www.intel.com/sdm/[Intel® 64 and IA-32 Architectures Software Developer's Manual Volume 3B: …