| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H 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()
|
| H 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() 563 static bool is_pixel_clock_source_from_pll(u32 encoder_mode, int pll_id) in is_pixel_clock_source_from_pll() argument 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() 651 (pll_id < ATOM_EXT_PLL1)) in amdgpu_atombios_crtc_program_pll() [all …]
|
| H A D | atombios_crtc.h | 44 int pll_id,
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | atombios_crtc.c | 395 static void atombios_disable_ss(struct radeon_device *rdev, int pll_id) in atombios_disable_ss() argument 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() 529 atombios_disable_ss(rdev, pll_id); in atombios_crtc_program_ss() 540 atombios_disable_ss(rdev, pll_id); in atombios_crtc_program_ss() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/ |
| H 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() 140 dce_clk_params.pll_id = CLOCK_SOURCE_ID_DFS; in dce112_set_dispclk() 175 dce_clk_params.pll_id = CLOCK_SOURCE_ID_DFS; in dce112_set_dprefclk() 180 (dce_clk_params.pll_id == in dce112_set_dprefclk()
|
| /linux/drivers/clk/mediatek/ |
| H 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()
|
| H A D | clk-pllfh.h | 19 int pll_id; member
|
| H A D | clk-mt8186-apmixedsys.c | 100 .pll_id = _pllid, \
|
| H A D | clk-mt6795-apmixedsys.c | 78 .pll_id = _pllid, \
|
| H A D | clk-mt8192-apmixedsys.c | 116 .pll_id = _pllid, \
|
| H A D | clk-mt8173-apmixedsys.c | 99 .pll_id = _pllid, \
|
| H A D | clk-mt8195-apmixedsys.c | 131 .pll_id = _pllid, \
|
| /linux/sound/soc/codecs/ |
| H 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()
|
| H A D | rt5682s.c | 2331 int pll_id, int source, unsigned int freq_in, in rt5682s_set_component_pll() argument 2337 if (source == rt5682s->pll_src[pll_id] && freq_in == rt5682s->pll_in[pll_id] && in rt5682s_set_component_pll() 2338 freq_out == rt5682s->pll_out[pll_id]) in rt5682s_set_component_pll() 2343 rt5682s->pll_in[pll_id] = 0; in rt5682s_set_component_pll() 2344 rt5682s->pll_out[pll_id] = 0; in rt5682s_set_component_pll() 2367 if ((pll_id == RT5682S_PLL1 && rt5682s->pll_comb == USE_PLLA) || in rt5682s_set_component_pll() 2368 (pll_id == RT5682S_PLL2 && (rt5682s->pll_comb == USE_PLLB || in rt5682s_set_component_pll() 2372 pll_id + 1, freq_in, freq_out, rt5682s->pll_comb); in rt5682s_set_component_pll() 2376 pll_id in rt5682s_set_component_pll() [all...] |
| H A D | rt5682.c | 2354 int pll_id, int source, unsigned int freq_in, in rt5682_set_component_pll() argument 2362 if (source == rt5682->pll_src[pll_id] && in rt5682_set_component_pll() 2363 freq_in == rt5682->pll_in[pll_id] && in rt5682_set_component_pll() 2364 freq_out == rt5682->pll_out[pll_id]) in rt5682_set_component_pll() 2370 rt5682->pll_in[pll_id] = 0; in rt5682_set_component_pll() 2371 rt5682->pll_out[pll_id] = 0; in rt5682_set_component_pll() 2377 if (pll_id == RT5682_PLL2) { in rt5682_set_component_pll() 2476 rt5682->pll_in[pll_id] = freq_in; in rt5682_set_component_pll() 2477 rt5682->pll_out[pll_id] = freq_out; in rt5682_set_component_pll() 2478 rt5682->pll_src[pll_id] in rt5682_set_component_pll() [all...] |
| /linux/sound/soc/fsl/ |
| H A D | fsl-asoc-card.c | 50 * @pll_id: PLL id for set_pll() 58 int pll_id; member 223 if (codec_priv->pll_id >= 0 && codec_priv->fll_id >= 0) { in fsl_asoc_card_hw_params() 230 codec_priv->pll_id, in fsl_asoc_card_hw_params() 271 if (!priv->streams && codec_priv->pll_id >= 0 && codec_priv->fll_id >= 0) { in fsl_asoc_card_hw_free() 283 codec_priv->pll_id, 0, 0, 0); in fsl_asoc_card_hw_free() 744 priv->codec_priv[codec_idx].pll_id = -1; in fsl_asoc_card_probe() 780 priv->codec_priv[0].pll_id = WM8962_FLL; in fsl_asoc_card_probe() 785 priv->codec_priv[0].pll_id = WM8960_SYSCLK_AUTO; in fsl_asoc_card_probe() 821 priv->codec_priv[0].pll_id in fsl_asoc_card_probe() [all...] |
| /linux/sound/soc/intel/boards/ |
| H A D | sof_rt5682.c | 264 int pll_id, pll_source, pll_in, pll_out, clk_id, ret; in sof_rt5682_hw_params() 345 pll_id = 0; /* not used in codec driver */ in sof_rt5682_hw_params() 349 pll_id = RT5682_PLL1; in sof_rt5682_hw_params() 363 pll_id = RT5682S_PLL1; in sof_rt5682_hw_params() 367 pll_id = RT5682S_PLL2; in sof_rt5682_hw_params() 378 ret = snd_soc_dai_set_pll(codec_dai, pll_id, pll_source, pll_in, in sof_rt5682_hw_params() 260 int pll_id, pll_source, pll_in, pll_out, clk_id, ret; sof_rt5682_hw_params() local
|
| /linux/drivers/video/fbdev/omap2/omapfb/dss/ |
| H A D | dss.c | 167 void dss_ctrl_pll_enable(enum dss_pll_id pll_id, bool enable) in dss_ctrl_pll_enable() argument 177 switch (pll_id) { in dss_ctrl_pll_enable() 188 DSSERR("illegal DSS PLL ID %d\n", pll_id); in dss_ctrl_pll_enable() 196 void dss_ctrl_pll_set_control_mux(enum dss_pll_id pll_id, in dss_ctrl_pll_set_control_mux() argument 208 switch (pll_id) { in dss_ctrl_pll_set_control_mux() 222 switch (pll_id) { in dss_ctrl_pll_set_control_mux() 238 switch (pll_id) { in dss_ctrl_pll_set_control_mux()
|
| H A D | dss.h | 274 void dss_ctrl_pll_enable(enum dss_pll_id pll_id, bool enable); 275 void dss_ctrl_pll_set_control_mux(enum dss_pll_id pll_id,
|
| /linux/drivers/clk/at91/ |
| H A D | sama7d65.c | 455 int pll_id; member 696 int pll_id; member 1240 u8 pll_id = sama7d65_mckx[i].ep[j].pll_id; in sama7d65_pmc_setup() local 1243 tmp_parent_hws[j] = sama7d65_plls[pll_id][pll_compid].hw; in sama7d65_pmc_setup() 1341 u8 pll_id = sama7d65_gck[i].pp[j].pll_id; in sama7d65_pmc_setup() local 1344 tmp_parent_hws[j] = sama7d65_plls[pll_id][pll_compid].hw; in sama7d65_pmc_setup()
|
| H A D | sama7g5.c | 366 int pll_id; member 555 int pll_id; member 1114 u8 pll_id = sama7g5_mckx[i].ep[j].pll_id; in sama7g5_pmc_setup() local 1117 tmp_parent_hws[j] = sama7g5_plls[pll_id][pll_compid].hw; in sama7g5_pmc_setup() 1210 u8 pll_id = sama7g5_gck[i].pp[j].pll_id; in sama7g5_pmc_setup() local 1213 tmp_parent_hws[j] = sama7g5_plls[pll_id][pll_compid].hw; in sama7g5_pmc_setup()
|
| /linux/include/linux/mfd/ |
| H A D | twl6040.h | 215 int twl6040_set_pll(struct twl6040 *twl6040, int pll_id,
|
| /linux/sound/soc/pxa/ |
| H A D | mmp-sspa.c | 133 static int mmp_sspa_set_dai_pll(struct snd_soc_dai *cpu_dai, int pll_id, in mmp_sspa_set_dai_pll() argument 144 switch (pll_id) { in mmp_sspa_set_dai_pll()
|
| /linux/drivers/gpu/drm/amd/display/dc/dce/ |
| H A D | dce_clk_mgr.c | 263 pxl_clk_params.pll_id = CLOCK_SOURCE_ID_DFS; in dce_set_clock() 305 dce_clk_params.pll_id = CLOCK_SOURCE_ID_DFS; in dce112_set_clock() 324 (dce_clk_params.pll_id == in dce112_set_clock()
|
| /linux/sound/soc/uniphier/ |
| H A D | aio.h | 324 int aio_chip_set_pll(struct uniphier_aio_chip *chip, int pll_id,
|