/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-h616.c | 236 .sdm = _SUNXI_CCU_SDM(pll_audio_sdm_table,
|
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,
|
/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 | s4-pll.c | 528 .sdm = { 581 .sdm = { 634 .sdm = { 687 .sdm = {
|
H A D | axg.c | 487 .sdm = { 537 .sdm = { 587 .sdm = { 642 .sdm = {
|
H A D | gxbb.c | 717 .sdm = { 745 .sdm = { 796 .sdm = { 838 .sdm = {
|
H A D | meson8b.c | 473 .sdm = { 522 .sdm = { 566 .sdm = {
|
H A D | g12a.c | 2206 .sdm = { 2259 .sdm = { 2312 .sdm = { 2365 .sdm = {
|
/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()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | sd.c | 128 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 D | events-msr.rst | 7 at https://www.intel.com/sdm (Volume 3)
|
/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()
|
/linux/Documentation/arch/x86/ |
H A D | intel-hfi.rst | 72 .. [1] https://www.intel.com/sdm
|
H A D | pti.rst | 101 See intel.com/sdm for the gory PCID/INVPCID details.
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | qcm6490-shift-otter.dts | 202 sdm-skin-thermal { 641 sdm-skin-therm@3 {
|
H A D | sm7225-fairphone-fp4.dts | 216 sdm-skin-thermal {
|
/linux/tools/perf/Documentation/ |
H A D | perf-list.txt | 383 http://www.intel.com/sdm/[Intel® 64 and IA-32 Architectures Software Developer's Manual Volume 3B: System Programming Guide],
|