/linux-6.3-rc2/sound/soc/uniphier/ |
A D | aio-cpu.c | 27 if (pll_id < 0 || chip->num_plls <= pll_id) { in is_valid_pll() 152 int pll_id, div_id; in uniphier_aio_set_sysclk() local 158 pll_id = AUD_PLL_A1; in uniphier_aio_set_sysclk() 161 pll_id = AUD_PLL_F1; in uniphier_aio_set_sysclk() 164 pll_id = AUD_PLL_A2; in uniphier_aio_set_sysclk() 167 pll_id = AUD_PLL_F2; in uniphier_aio_set_sysclk() 170 pll_id = AUD_PLL_A1; in uniphier_aio_set_sysclk() 174 pll_id = AUD_PLL_F1; in uniphier_aio_set_sysclk() 181 pll_id = AUD_PLL_RX0; in uniphier_aio_set_sysclk() 195 for (pll_id = 0; pll_id < aio->chip->num_plls; pll_id++) { in uniphier_aio_set_sysclk() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_pll.c | 281 if (test_amdgpu_crtc->pll_id != ATOM_PPLL_INVALID) in amdgpu_pll_get_use_mask() 282 pll_in_use |= (1 << test_amdgpu_crtc->pll_id); in amdgpu_pll_get_use_mask() 309 if (test_amdgpu_crtc->pll_id != ATOM_PPLL_INVALID) in amdgpu_pll_get_shared_dp_ppll() 310 return test_amdgpu_crtc->pll_id; in amdgpu_pll_get_shared_dp_ppll() 346 if (test_amdgpu_crtc->pll_id != ATOM_PPLL_INVALID) in amdgpu_pll_get_shared_nondp_ppll() 347 return test_amdgpu_crtc->pll_id; in amdgpu_pll_get_shared_nondp_ppll() 354 (test_amdgpu_crtc->pll_id != ATOM_PPLL_INVALID)) in amdgpu_pll_get_shared_nondp_ppll() 355 return test_amdgpu_crtc->pll_id; in amdgpu_pll_get_shared_nondp_ppll()
|
A D | atombios_crtc.c | 242 int pll_id, in amdgpu_atombios_crtc_program_ss() argument 265 pll_id == adev->mode_info.crtcs[i]->pll_id) { in amdgpu_atombios_crtc_program_ss() 279 switch (pll_id) { in amdgpu_atombios_crtc_program_ss() 566 if (pll_id < ATOM_EXT_PLL1) in is_pixel_clock_source_from_pll() 577 int pll_id, in amdgpu_atombios_crtc_program_pll() argument 612 args.v1.ucPpll = pll_id; in amdgpu_atombios_crtc_program_pll() 622 args.v2.ucPpll = pll_id; in amdgpu_atombios_crtc_program_pll() 632 args.v3.ucPpll = pll_id; in amdgpu_atombios_crtc_program_pll() 671 args.v5.ucPpll = pll_id; in amdgpu_atombios_crtc_program_pll() 703 args.v6.ucPpll = pll_id; in amdgpu_atombios_crtc_program_pll() [all …]
|
A D | atombios_crtc.h | 44 int pll_id,
|
/linux-6.3-rc2/drivers/gpu/drm/radeon/ |
A D | atombios_crtc.c | 400 switch (pll_id) { in atombios_disable_ss() 416 switch (pll_id) { in atombios_disable_ss() 445 int pll_id, in atombios_crtc_program_ss() argument 468 pll_id == rdev->mode_info.crtcs[i]->pll_id) { in atombios_crtc_program_ss() 483 switch (pll_id) { in atombios_crtc_program_ss() 502 switch (pll_id) { in atombios_crtc_program_ss() 524 args.v1.ucPpll = pll_id; in atombios_crtc_program_ss() 817 int pll_id, in atombios_crtc_program_pll() argument 852 args.v1.ucPpll = pll_id; in atombios_crtc_program_pll() 862 args.v2.ucPpll = pll_id; in atombios_crtc_program_pll() [all …]
|
/linux-6.3-rc2/drivers/clk/mediatek/ |
A D | clk-pllfh.c | 50 int num_fhs, int pll_id) in get_pllfh_by_id() argument 55 if (pllfhs[i].data.pll_id == pll_id) in get_pllfh_by_id() 66 u32 num_clocks, pll_id, ssc_rate; in fhctl_parse_dt() local 92 of_property_read_u32_index(node, "clocks", offset + 1, &pll_id); in fhctl_parse_dt() 97 pllfh = get_pllfh_by_id(pllfhs, num_fhs, pll_id); in fhctl_parse_dt()
|
A D | clk-pllfh.h | 19 int pll_id; member
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/ |
A D | dce112_clk_mgr.c | 86 dce_clk_params.pll_id = CLOCK_SOURCE_ID_DFS; in dce112_set_clock() 107 (dce_clk_params.pll_id == in dce112_set_clock() 142 dce_clk_params.pll_id = CLOCK_SOURCE_ID_DFS; in dce112_set_dispclk() 179 dce_clk_params.pll_id = CLOCK_SOURCE_ID_DFS; in dce112_set_dprefclk() 184 (dce_clk_params.pll_id == in dce112_set_dprefclk()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/bios/ |
A D | command_table.c | 557 uint32_t pll_id; in transmitter_control_v3() local 579 if (!cmd->clock_source_id_to_atom(cntl->pll_id, &pll_id)) in transmitter_control_v3() 1053 uint32_t pll_id; in set_pixel_clock_v5() local 1057 if (bp->cmd_helper->clock_source_id_to_atom(bp_params->pll_id, &pll_id) in set_pixel_clock_v5() 1123 uint32_t pll_id; in set_pixel_clock_v6() local 1127 if (bp->cmd_helper->clock_source_id_to_atom(bp_params->pll_id, &pll_id) in set_pixel_clock_v6() 1215 uint32_t pll_id; in set_pixel_clock_v7() local 1219 if (bp->cmd_helper->clock_source_id_to_atom(bp_params->pll_id, &pll_id) in set_pixel_clock_v7() 1241 clk.ucPpll = (uint8_t) pll_id; in set_pixel_clock_v7() 1425 switch (bp_params->pll_id) { in enable_spread_spectrum_on_ppll_v3() [all …]
|
A D | command_table2.c | 450 uint32_t pll_id; in set_pixel_clock_v7() local 454 if (bp->cmd_helper->clock_source_id_to_atom(bp_params->pll_id, &pll_id) in set_pixel_clock_v7() 477 clk.pll_id = (uint8_t) pll_id; in set_pixel_clock_v7() 497 pll_id, bp_params->color_depth); in set_pixel_clock_v7() 896 if (!cmd->clock_source_id_to_atom(bp_params->pll_id, &atom_pll_id) || in set_dce_clock_v2_1()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/include/ |
A D | bios_parser_types.h | 151 enum clock_source_id pll_id; /* needed for DCE 4.0 */ member 219 enum clock_source_id pll_id; /* Clock Source Id */ member 267 enum clock_source_id pll_id; /* Clock Source Id */ member 294 enum clock_source_id pll_id; member
|
/linux-6.3-rc2/sound/soc/codecs/ |
A D | adav80x.c | 622 static int adav80x_set_pll(struct snd_soc_component *component, int pll_id, in adav80x_set_pll() argument 657 pll_ctrl2 |= ADAV80X_PLL_CTRL2_DOUB(pll_id); in adav80x_set_pll() 664 pll_ctrl2 |= ADAV80X_PLL_CTRL2_FS_32(pll_id); in adav80x_set_pll() 667 pll_ctrl2 |= ADAV80X_PLL_CTRL2_FS_44(pll_id); in adav80x_set_pll() 670 pll_ctrl2 |= ADAV80X_PLL_CTRL2_FS_48(pll_id); in adav80x_set_pll() 679 ADAV80X_PLL_CTRL2_PLL_MASK(pll_id), pll_ctrl2); in adav80x_set_pll() 683 pll_src = ADAV80X_PLL_CLK_SRC_PLL_MCLKI(pll_id); in adav80x_set_pll() 685 pll_src = ADAV80X_PLL_CLK_SRC_PLL_XIN(pll_id); in adav80x_set_pll() 688 ADAV80X_PLL_CLK_SRC_PLL_MASK(pll_id), pll_src); in adav80x_set_pll()
|
A D | adau1373.c | 552 unsigned int pll_id = w->name[3] - '1'; in adau1373_pll_event() local 560 regmap_update_bits(adau1373->regmap, ADAU1373_PLL_CTRL6(pll_id), in adau1373_pll_event() 1259 switch (pll_id) { in adau1373_set_pll() 1304 regmap_update_bits(adau1373->regmap, ADAU1373_PLL_CTRL6(pll_id), in adau1373_set_pll() 1307 regmap_update_bits(adau1373->regmap, ADAU1373_PLL_CTRL6(pll_id), in adau1373_set_pll() 1312 regmap_write(adau1373->regmap, ADAU1373_DPLL_CTRL(pll_id), in adau1373_set_pll() 1314 regmap_write(adau1373->regmap, ADAU1373_PLL_CTRL1(pll_id), pll_regs[0]); in adau1373_set_pll() 1315 regmap_write(adau1373->regmap, ADAU1373_PLL_CTRL2(pll_id), pll_regs[1]); in adau1373_set_pll() 1316 regmap_write(adau1373->regmap, ADAU1373_PLL_CTRL3(pll_id), pll_regs[2]); in adau1373_set_pll() 1317 regmap_write(adau1373->regmap, ADAU1373_PLL_CTRL4(pll_id), pll_regs[3]); in adau1373_set_pll() [all …]
|
A D | nau8540.c | 664 static int nau8540_set_pll(struct snd_soc_component *component, int pll_id, int source, in nau8540_set_pll() argument 671 switch (pll_id) { in nau8540_set_pll() 693 dev_err(nau8540->dev, "Invalid clock id (%d)\n", pll_id); in nau8540_set_pll() 697 freq_out, pll_id); in nau8540_set_pll()
|
A D | alc5632.c | 677 static int alc5632_set_dai_pll(struct snd_soc_dai *codec_dai, int pll_id, in alc5632_set_dai_pll() argument 685 if (pll_id < ALC5632_PLL_FR_MCLK || pll_id > ALC5632_PLL_FR_VBCLK) in alc5632_set_dai_pll() 704 switch (pll_id) { in alc5632_set_dai_pll()
|
A D | rt5682s.c | 2332 int pll_id, int source, unsigned int freq_in, in rt5682s_set_component_pll() argument 2338 if (source == rt5682s->pll_src[pll_id] && freq_in == rt5682s->pll_in[pll_id] && in rt5682s_set_component_pll() 2339 freq_out == rt5682s->pll_out[pll_id]) in rt5682s_set_component_pll() 2344 rt5682s->pll_in[pll_id] = 0; in rt5682s_set_component_pll() 2345 rt5682s->pll_out[pll_id] = 0; in rt5682s_set_component_pll() 2368 if ((pll_id == RT5682S_PLL1 && rt5682s->pll_comb == USE_PLLA) || in rt5682s_set_component_pll() 2373 pll_id + 1, freq_in, freq_out, rt5682s->pll_comb); in rt5682s_set_component_pll() 2377 pll_id + 1, freq_in, freq_out, rt5682s->pll_comb); in rt5682s_set_component_pll() 2421 rt5682s->pll_in[pll_id] = freq_in; in rt5682s_set_component_pll() 2422 rt5682s->pll_out[pll_id] = freq_out; in rt5682s_set_component_pll() [all …]
|
A D | alc5623.c | 520 static int alc5623_set_dai_pll(struct snd_soc_dai *codec_dai, int pll_id, in alc5623_set_dai_pll() argument 528 if (pll_id < ALC5623_PLL_FR_MCLK || pll_id > ALC5623_PLL_FR_BCK) in alc5623_set_dai_pll() 544 switch (pll_id) { in alc5623_set_dai_pll()
|
/linux-6.3-rc2/drivers/mfd/ |
A D | twl6040.c | 370 int twl6040_set_pll(struct twl6040 *twl6040, int pll_id, in twl6040_set_pll() argument 382 if (pll_id != twl6040->pll) { in twl6040_set_pll() 387 switch (pll_id) { in twl6040_set_pll() 411 if (twl6040->pll == pll_id) in twl6040_set_pll() 477 if (pll_id != twl6040->pll) in twl6040_set_pll() 499 dev_err(twl6040->dev, "unknown pll id %d\n", pll_id); in twl6040_set_pll() 505 twl6040->pll = pll_id; in twl6040_set_pll()
|
/linux-6.3-rc2/sound/soc/qcom/ |
A D | sc7180.c | 132 int pll_id, pll_source, pll_in, pll_out, clk_id, ret; in sc7180_snd_startup() local 136 pll_id = 0; in sc7180_snd_startup() 142 pll_id = RT5682S_PLL2; in sc7180_snd_startup() 163 ret = snd_soc_dai_set_pll(codec_dai, pll_id, pll_source, in sc7180_snd_startup()
|
/linux-6.3-rc2/sound/soc/fsl/ |
A D | fsl-asoc-card.c | 52 u32 pll_id; member 199 if (codec_priv->pll_id && codec_priv->fll_id) { in fsl_asoc_card_hw_params() 206 codec_priv->pll_id, in fsl_asoc_card_hw_params() 241 if (!priv->streams && codec_priv->pll_id && codec_priv->fll_id) { in fsl_asoc_card_hw_free() 253 codec_priv->pll_id, 0, 0, 0); in fsl_asoc_card_hw_free() 643 priv->codec_priv.pll_id = WM8962_FLL; in fsl_asoc_card_probe() 648 priv->codec_priv.pll_id = WM8960_SYSCLK_AUTO; in fsl_asoc_card_probe() 682 priv->codec_priv.pll_id = WM8994_FLL1; in fsl_asoc_card_probe()
|
/linux-6.3-rc2/drivers/video/fbdev/omap2/omapfb/dss/ |
A D | dss.c | 166 void dss_ctrl_pll_enable(enum dss_pll_id pll_id, bool enable) in dss_ctrl_pll_enable() argument 176 switch (pll_id) { in dss_ctrl_pll_enable() 187 DSSERR("illegal DSS PLL ID %d\n", pll_id); in dss_ctrl_pll_enable() 195 void dss_ctrl_pll_set_control_mux(enum dss_pll_id pll_id, in dss_ctrl_pll_set_control_mux() argument 207 switch (pll_id) { in dss_ctrl_pll_set_control_mux() 221 switch (pll_id) { in dss_ctrl_pll_set_control_mux() 237 switch (pll_id) { in dss_ctrl_pll_set_control_mux()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | intel_pch_display.c | 503 enum intel_dpll_id pll_id; in ilk_pch_get_config() local 524 pll_id = (enum intel_dpll_id) pipe; in ilk_pch_get_config() 528 pll_id = DPLL_ID_PCH_PLL_B; in ilk_pch_get_config() 530 pll_id = DPLL_ID_PCH_PLL_A; in ilk_pch_get_config() 533 crtc_state->shared_dpll = intel_get_shared_dpll_by_id(dev_priv, pll_id); in ilk_pch_get_config()
|
/linux-6.3-rc2/sound/soc/intel/boards/ |
A D | glk_rt5682_max98357a.c | 158 int pll_id, pll_source, clk_id, ret; in geminilake_rt5682_codec_init() local 161 pll_id = RT5682S_PLL2; in geminilake_rt5682_codec_init() 165 pll_id = RT5682_PLL1; in geminilake_rt5682_codec_init() 170 ret = snd_soc_dai_set_pll(codec_dai, pll_id, pll_source, in geminilake_rt5682_codec_init()
|
/linux-6.3-rc2/drivers/clk/ |
A D | clk-nomadik.c | 507 u32 pll_id; in of_nomadik_pll_setup() local 512 if (of_property_read_u32(np, "pll-id", &pll_id)) { in of_nomadik_pll_setup() 518 hw = pll_clk_register(NULL, clk_name, parent_name, pll_id); in of_nomadik_pll_setup()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce/ |
A D | dce_link_encoder.c | 1064 cntl.pll_id = clock_source; in dce110_link_encoder_enable_tmds_output() 1100 cntl.pll_id = clock_source; in dce110_link_encoder_enable_lvds_output() 1138 cntl.pll_id = clock_source; in dce110_link_encoder_enable_dp_output() 1177 cntl.pll_id = clock_source; in dce110_link_encoder_enable_dp_mst_output() 1217 cntl.pll_id = clock_source; in dce60_link_encoder_enable_dp_output() 1256 cntl.pll_id = clock_source; in dce60_link_encoder_enable_dp_mst_output()
|