Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/clk/ingenic/
Dcgu.c85 const struct ingenic_cgu_pll_info *pll_info; in ingenic_pll_recalc_rate() local
91 pll_info = &clk_info->pll; in ingenic_pll_recalc_rate()
93 ctl = readl(cgu->base + pll_info->reg); in ingenic_pll_recalc_rate()
95 m = (ctl >> pll_info->m_shift) & GENMASK(pll_info->m_bits - 1, 0); in ingenic_pll_recalc_rate()
96 m += pll_info->m_offset; in ingenic_pll_recalc_rate()
97 n = (ctl >> pll_info->n_shift) & GENMASK(pll_info->n_bits - 1, 0); in ingenic_pll_recalc_rate()
98 n += pll_info->n_offset; in ingenic_pll_recalc_rate()
99 od_enc = ctl >> pll_info->od_shift; in ingenic_pll_recalc_rate()
100 od_enc &= GENMASK(pll_info->od_bits - 1, 0); in ingenic_pll_recalc_rate()
102 if (pll_info->bypass_bit >= 0) { in ingenic_pll_recalc_rate()
[all …]
Djz4760-cgu.c57 jz4760_cgu_calc_m_n_od(const struct ingenic_cgu_pll_info *pll_info, in jz4760_cgu_calc_m_n_od() argument
61 unsigned int m, n, od, m_max = (1 << pll_info->m_bits) - 2; in jz4760_cgu_calc_m_n_od()
67 n = clamp_val(n, 2, 1 << pll_info->n_bits); in jz4760_cgu_calc_m_n_od()
Dcgu.h58 void (*calc_m_n_od)(const struct ingenic_cgu_pll_info *pll_info,
/linux-6.1.9/drivers/clk/baikal-t1/
Dclk-ccu-pll.c45 #define CCU_PLL_NUM ARRAY_SIZE(pll_info)
65 static const struct ccu_pll_info pll_info[] = { variable
92 if (pll_info[idx].id == clk_id) in ccu_pll_find_desc()
153 const struct ccu_pll_info *info = &pll_info[idx]; in ccu_pll_clk_register()
186 if (!!(pll_info[idx].features & CCU_PLL_BASIC) ^ defer) in ccu_pll_clk_register()
201 if (!!(pll_info[idx].features & CCU_PLL_BASIC) ^ defer) in ccu_pll_clk_unregister()
/linux-6.1.9/drivers/clk/visconti/
Dpll-tmpv770x.c53 static const struct visconti_pll_info pll_info[] __initconst = { variable
82 visconti_register_plls(ctx, pll_info, ARRAY_SIZE(pll_info), &tmpv770x_pll_lock); in tmpv770x_setup_plls()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/
Ddce_audio.c766 const struct audio_pll_info *pll_info, in get_azalia_clock_info_dp() argument
781 pll_info->dp_dto_source_clock_in_khz * 10; in get_azalia_clock_info_dp()
788 const struct audio_pll_info *pll_info) in dce_aud_wall_dto_setup() argument
824 src_sel = pll_info->dto_source - DTO_SOURCE_ID0; in dce_aud_wall_dto_setup()
846 pll_info, in dce_aud_wall_dto_setup()
880 const struct audio_pll_info *pll_info) in dce60_aud_wall_dto_setup() argument
916 src_sel = pll_info->dto_source - DTO_SOURCE_ID0; in dce60_aud_wall_dto_setup()
938 pll_info, in dce60_aud_wall_dto_setup()
Ddce_clock_source.c1519 calc_pll_cs->ref_freq_khz = fw_info->pll_info.crystal_frequency; in calc_pll_max_vco_construct()
1521 fw_info->pll_info.min_output_pxl_clk_pll_frequency; in calc_pll_max_vco_construct()
1523 fw_info->pll_info.max_output_pxl_clk_pll_frequency; in calc_pll_max_vco_construct()
1530 fw_info->pll_info.max_input_pxl_clk_pll_frequency; in calc_pll_max_vco_construct()
1537 fw_info->pll_info.min_input_pxl_clk_pll_frequency; in calc_pll_max_vco_construct()
1646 clk_src->ref_freq_khz = clk_src->bios->fw_info.pll_info.crystal_frequency; in dce110_clk_src_construct()
Ddce_audio.h178 const struct audio_pll_info *pll_info);
Ddce_i2c_hw.c628 dce_i2c_hw->reference_frequency = (ctx->dc_bios->fw_info.pll_info.crystal_frequency) >> 1; in dce_i2c_hw_construct()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_combios.c732 uint16_t pll_info; in radeon_combios_get_clock_info() local
740 pll_info = combios_get_table_offset(dev, COMBIOS_PLL_INFO_TABLE); in radeon_combios_get_clock_info()
741 if (pll_info) { in radeon_combios_get_clock_info()
742 rev = RBIOS8(pll_info); in radeon_combios_get_clock_info()
745 p1pll->reference_freq = RBIOS16(pll_info + 0xe); in radeon_combios_get_clock_info()
746 p1pll->reference_div = RBIOS16(pll_info + 0x10); in radeon_combios_get_clock_info()
747 p1pll->pll_out_min = RBIOS32(pll_info + 0x12); in radeon_combios_get_clock_info()
748 p1pll->pll_out_max = RBIOS32(pll_info + 0x16); in radeon_combios_get_clock_info()
753 p1pll->pll_in_min = RBIOS32(pll_info + 0x36); in radeon_combios_get_clock_info()
754 p1pll->pll_in_max = RBIOS32(pll_info + 0x3a); in radeon_combios_get_clock_info()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Daudio.h51 const struct audio_pll_info *pll_info);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/bios/
Dbios_parser.c437 info->pll_info.crystal_frequency = in get_firmware_info_v1_4()
439 info->pll_info.min_input_pxl_clk_pll_frequency = in get_firmware_info_v1_4()
441 info->pll_info.max_input_pxl_clk_pll_frequency = in get_firmware_info_v1_4()
443 info->pll_info.min_output_pxl_clk_pll_frequency = in get_firmware_info_v1_4()
445 info->pll_info.max_output_pxl_clk_pll_frequency = in get_firmware_info_v1_4()
488 info->pll_info.crystal_frequency = in get_firmware_info_v2_1()
490 info->pll_info.min_input_pxl_clk_pll_frequency = in get_firmware_info_v2_1()
492 info->pll_info.max_input_pxl_clk_pll_frequency = in get_firmware_info_v2_1()
494 info->pll_info.min_output_pxl_clk_pll_frequency = in get_firmware_info_v2_1()
496 info->pll_info.max_output_pxl_clk_pll_frequency = in get_firmware_info_v2_1()
[all …]
Dbios_parser2.c1806 info->pll_info.crystal_frequency = dce_info->dce_refclk_10khz * 10; in get_firmware_info_v3_1()
1809 if (info->pll_info.crystal_frequency == 0) in get_firmware_info_v3_1()
1810 info->pll_info.crystal_frequency = 27000; in get_firmware_info_v3_1()
1881 info->pll_info.crystal_frequency = dce_info->dce_refclk_10khz * 10; in get_firmware_info_v3_2()
1883 if (info->pll_info.crystal_frequency == 0) { in get_firmware_info_v3_2()
1885 info->pll_info.crystal_frequency = 27000; in get_firmware_info_v3_2()
1887 info->pll_info.crystal_frequency = 100000; in get_firmware_info_v3_2()
1954 info->pll_info.crystal_frequency = dce_info_v4_5->dce_refclk_10khz * 10; in get_firmware_info_v3_4()
1970 info->pll_info.crystal_frequency = dce_info_v4_4->dce_refclk_10khz * 10; in get_firmware_info_v3_4()
1987 info->pll_info.crystal_frequency = dce_info_v4_1->dce_refclk_10khz * 10; in get_firmware_info_v3_4()
/linux-6.1.9/drivers/gpu/drm/amd/display/include/
Daudio_types.h99 struct audio_pll_info pll_info; member
Dgrph_object_ctrl_defs.h159 struct pll_info { struct
165 } pll_info; member
/linux-6.1.9/drivers/video/fbdev/aty/
Datyfb.h47 struct pll_info { struct
138 struct pll_info pll_limits;
Dradeonfb.h138 struct pll_info { struct
342 struct pll_info pll;
/linux-6.1.9/drivers/gpu/drm/rcar-du/
Drcar_lvds.c124 struct pll_info { struct
134 unsigned long target, struct pll_info *pll, in rcar_lvds_d3_e3_pll_calc() argument
267 struct pll_info pll = { .diff = (unsigned long)-1 }; in __rcar_lvds_pll_setup_d3_e3()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c1357 audio_output->pll_info.dp_dto_source_clock_in_khz = in build_audio_output()
1362 audio_output->pll_info.feed_back_divider = in build_audio_output()
1365 audio_output->pll_info.dto_source = in build_audio_output()
1370 audio_output->pll_info.ss_enabled = true; in build_audio_output()
1372 audio_output->pll_info.ss_percentage = in build_audio_output()
2196 &audio_output.pll_info); in dce110_setup_audio_dto()
2202 &audio_output.pll_info); in dce110_setup_audio_dto()
2230 &audio_output.pll_info); in dce110_setup_audio_dto()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hwseq.c154 dc->ctx->dc_bios->fw_info.pll_info.crystal_frequency; in dcn31_init_hw()
160 dc->ctx->dc_bios->fw_info.pll_info.crystal_frequency, in dcn31_init_hw()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn201/
Ddcn201_hwseq.c248 dc->ctx->dc_bios->fw_info.pll_info.crystal_frequency; in dcn201_init_hw()
253 dc->ctx->dc_bios->fw_info.pll_info.crystal_frequency, in dcn201_init_hw()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hwseq.c495 dc->ctx->dc_bios->fw_info.pll_info.crystal_frequency; in dcn30_init_hw()
501 dc->ctx->dc_bios->fw_info.pll_info.crystal_frequency, in dcn30_init_hw()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hwseq.c836 dc->ctx->dc_bios->fw_info.pll_info.crystal_frequency; in dcn32_init_hw()
840 dc->ctx->dc_bios->fw_info.pll_info.crystal_frequency, in dcn32_init_hw()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c1523 dc->ctx->dc_bios->fw_info.pll_info.crystal_frequency; in dcn10_init_hw()
1529 dc->ctx->dc_bios->fw_info.pll_info.crystal_frequency, in dcn10_init_hw()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c287 dc->ctx->dc_bios->fw_info.pll_info.crystal_frequency; in dc_create_resource_pool()