Home
last modified time | relevance | path

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

12

/linux/drivers/clk/sunxi-ng/
H A 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 …]
H A 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,
H A 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()
H A Dccu_nm.h29 struct ccu_sdm_internal sdm; member
49 .sdm = _SUNXI_CCU_SDM(_sdm_table, _sdm_en, \
H A 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),
H A Dccu-sun8i-a83t.c84 .sdm = _SUNXI_CCU_SDM(pll_audio_sdm_table, BIT(24),
H A Dccu-sun50i-h616.c236 .sdm = _SUNXI_CCU_SDM(pll_audio_sdm_table,
H A Dccu-sun50i-h6.c217 .sdm = _SUNXI_CCU_SDM(pll_audio_sdm_table,
H A Dccu-sun5i.c69 .sdm = _SUNXI_CCU_SDM(pll_audio_sdm_table, 0,
/linux/drivers/clk/meson/
H A 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 …]
H A Dclk-mpll.h16 struct parm sdm; member
H A Ds4-pll.c528 .sdm = {
581 .sdm = {
634 .sdm = {
687 .sdm = {
H A Daxg.c487 .sdm = {
537 .sdm = {
587 .sdm = {
642 .sdm = {
H A Dgxbb.c717 .sdm = {
745 .sdm = {
796 .sdm = {
838 .sdm = {
H A Dmeson8b.c473 .sdm = {
522 .sdm = {
566 .sdm = {
H A Dg12a.c2206 .sdm = {
2259 .sdm = {
2312 .sdm = {
2365 .sdm = {
/linux/drivers/clk/
H A 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/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dsd.c128 static int mlx5_query_sd(struct mlx5_core_dev *dev, bool *sdm, in mlx5_query_sd() argument
138 *sdm = MLX5_GET(mpir_reg, out, sdm); in mlx5_query_sd()
154 bool sdm; in sd_init() local
175 err = mlx5_query_sd(dev, &sdm, &host_buses); in sd_init()
179 if (!sdm) in sd_init()
/linux/Documentation/trace/
H A Devents-msr.rst7 at https://www.intel.com/sdm (Volume 3)
/linux/drivers/media/tuners/
H A 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/Documentation/arch/x86/
H A Dintel-hfi.rst72 .. [1] https://www.intel.com/sdm
H A Dpti.rst101 See intel.com/sdm for the gory PCID/INVPCID details.
/linux/arch/arm64/boot/dts/qcom/
H A Dqcm6490-shift-otter.dts202 sdm-skin-thermal {
641 sdm-skin-therm@3 {
H A Dsm7225-fairphone-fp4.dts216 sdm-skin-thermal {
/linux/tools/perf/Documentation/
H A Dperf-list.txt383 http://www.intel.com/sdm/[Intel® 64 and IA-32 Architectures Software Developer's Manual Volume 3B: System Programming Guide],

12