| /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,
|
| H A D | atombios_encoders.c | 761 int pll_id = 0; in amdgpu_atombios_encoder_setup_dig_transmitter() local 791 pll_id = amdgpu_crtc->pll_id; in amdgpu_atombios_encoder_setup_dig_transmitter() 939 args.v3.acConfig.ucRefClkSource = pll_id; in amdgpu_atombios_encoder_setup_dig_transmitter() 1001 args.v4.acConfig.ucRefClkSource = pll_id; in amdgpu_atombios_encoder_setup_dig_transmitter() 1066 args.v5.asConfig.ucPhyClkSrcId = pll_id; in amdgpu_atombios_encoder_setup_dig_transmitter()
|
| /linux/drivers/clk/mediatek/ |
| H A D | clk-pllfh.c | 51 int num_fhs, int pll_id) in get_pllfh_by_id() argument 56 if (pllfhs[i].data.pll_id == pll_id) in get_pllfh_by_id() 67 u32 num_clocks, pll_id, ssc_rate; in fhctl_parse_dt() local 93 of_property_read_u32_index(node, "clocks", offset + 1, &pll_id); in fhctl_parse_dt() 98 pllfh = get_pllfh_by_id(pllfhs, num_fhs, pll_id); in fhctl_parse_dt()
|
| H A D | clk-mt8195-apmixedsys.c | 130 .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 | 2330 int pll_id, int source, unsigned int freq_in, in rt5682s_set_component_pll() 2336 if (source == rt5682s->pll_src[pll_id] && freq_in == rt5682s->pll_in[pll_id] && in rt5682s_set_component_pll() 2337 freq_out == rt5682s->pll_out[pll_id]) in rt5682s_set_component_pll() 2342 rt5682s->pll_in[pll_id] = 0; in rt5682s_set_component_pll() 2343 rt5682s->pll_out[pll_id] = 0; in rt5682s_set_component_pll() 2366 if ((pll_id == RT5682S_PLL1 && rt5682s->pll_comb == USE_PLLA) || in rt5682s_set_component_pll() 2367 (pll_id == RT5682S_PLL2 && (rt5682s->pll_comb == USE_PLLB || in rt5682s_set_component_pll() 2371 pll_id + 1, freq_in, freq_out, rt5682s->pll_comb); in rt5682s_set_component_pll() 2375 pll_id in rt5682s_set_component_pll() 2331 rt5682s_set_component_pll(struct snd_soc_component * component,int pll_id,int source,unsigned int freq_in,unsigned int freq_out) rt5682s_set_component_pll() argument [all...] |
| H A D | rt5682.c | 2355 int pll_id, int source, unsigned int freq_in, in rt5682_set_component_pll() 2363 if (source == rt5682->pll_src[pll_id] && in rt5682_set_component_pll() 2364 freq_in == rt5682->pll_in[pll_id] && in rt5682_set_component_pll() 2365 freq_out == rt5682->pll_out[pll_id]) in rt5682_set_component_pll() 2371 rt5682->pll_in[pll_id] = 0; in rt5682_set_component_pll() 2372 rt5682->pll_out[pll_id] = 0; in rt5682_set_component_pll() 2378 if (pll_id == RT5682_PLL2) { in rt5682_set_component_pll() 2477 rt5682->pll_in[pll_id] = freq_in; in rt5682_set_component_pll() 2478 rt5682->pll_out[pll_id] = freq_out; in rt5682_set_component_pll() 2479 rt5682->pll_src[pll_id] in rt5682_set_component_pll() 2354 rt5682_set_component_pll(struct snd_soc_component * component,int pll_id,int source,unsigned int freq_in,unsigned int freq_out) rt5682_set_component_pll() argument [all...] |
| H A D | wm8753.c | 737 static int wm8753_set_dai_pll(struct snd_soc_dai *codec_dai, int pll_id, in wm8753_set_dai_pll() argument 744 if (pll_id < WM8753_PLL1 || pll_id > WM8753_PLL2) in wm8753_set_dai_pll() 747 if (pll_id == WM8753_PLL1) { in wm8753_set_dai_pll()
|
| H A D | wm8580.c | 459 static int wm8580_set_dai_pll(struct snd_soc_dai *codec_dai, int pll_id, in wm8580_set_dai_pll() argument 476 switch (pll_id) { in wm8580_set_dai_pll()
|
| H A D | wm8510.c | 312 static int wm8510_set_dai_pll(struct snd_soc_dai *codec_dai, int pll_id, in wm8510_set_dai_pll() argument
|
| H A D | da7213.c | 1590 int pll_id, int source, in da7213_set_component_sysclk() 1701 int pll_id, int source, in _da7213_set_component_pll() 1707 return _da7213_set_component_pll(component, pll_id, source, fref, fout); in _da7213_set_component_pll() 1603 _da7213_set_component_pll(struct snd_soc_component * component,int pll_id,int source,unsigned int fref,unsigned int fout) _da7213_set_component_pll() argument 1714 da7213_set_component_pll(struct snd_soc_component * component,int pll_id,int source,unsigned int fref,unsigned int fout) da7213_set_component_pll() argument
|
| /linux/sound/soc/fsl/ |
| H A D | fsl-asoc-card.c | 76 * @pll_id: PLL id for set_pll() 86 int pll_id; 305 if (codec_priv->pll_id >= 0 && codec_priv->fll_id >= 0) { in be_hw_params_fixup() 312 codec_priv->pll_id, in be_hw_params_fixup() 353 if (!priv->streams && codec_priv->pll_id >= 0 && codec_priv->fll_id >= 0) { in fsl_asoc_card_audmux_init() 365 codec_priv->pll_id, 0, 0, 0); in fsl_asoc_card_audmux_init() 1175 priv->codec_priv[codec_idx].pll_id = -1; 1190 priv->codec_priv[0].pll_id = pdata->codec_pll_id; 58 int pll_id; global() member
|
| /linux/sound/soc/intel/boards/ |
| H A D | sof_rt5682.c | 265 int pll_id, pll_source, pll_in, pll_out, clk_id, ret; in sof_rt5682_hw_params() 346 pll_id = 0; /* not used in codec driver */ in sof_rt5682_hw_params() 350 pll_id = RT5682_PLL1; in sof_rt5682_hw_params() 364 pll_id = RT5682S_PLL1; in sof_rt5682_hw_params() 368 pll_id = RT5682S_PLL2; in sof_rt5682_hw_params() 379 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 | 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()
|
| H A D | sama7d65.c | 455 int pll_id; member 697 int pll_id; member 1241 u8 pll_id = sama7d65_mckx[i].ep[j].pll_id; in sama7d65_pmc_setup() local 1244 tmp_parent_hws[j] = sama7d65_plls[pll_id][pll_compid].hw; in sama7d65_pmc_setup() 1342 u8 pll_id = sama7d65_gck[i].pp[j].pll_id; in sama7d65_pmc_setup() local 1345 tmp_parent_hws[j] = sama7d65_plls[pll_id][pll_compid].hw; in sama7d65_pmc_setup()
|
| /linux/drivers/clk/ |
| H A D | clk-nomadik.c | 508 u32 pll_id; in of_nomadik_pll_setup() local 513 if (of_property_read_u32(np, "pll-id", &pll_id)) { in of_nomadik_pll_setup() 519 hw = pll_clk_register(NULL, clk_name, parent_name, pll_id); in of_nomadik_pll_setup()
|
| /linux/include/linux/mfd/ |
| H A D | twl6040.h | 215 int twl6040_set_pll(struct twl6040 *twl6040, int pll_id,
|
| /linux/include/sound/ |
| H A D | soc-component.h | 100 int (*set_pll)(struct snd_soc_component *component, int pll_id, 328 int snd_soc_component_set_pll(struct snd_soc_component *component, 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/sound/soc/uniphier/ |
| H A D | aio.h | 324 int aio_chip_set_pll(struct uniphier_aio_chip *chip, int pll_id,
|
| /linux/sound/soc/ |
| H A D | soc-component.c | 127 int snd_soc_component_set_pll(struct snd_soc_component *component, int pll_id, in snd_soc_component_set_pll() argument 134 ret = component->driver->set_pll(component, pll_id, source, in snd_soc_component_set_pll()
|