Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/amd/display/dc/
Ddm_services_types.h82 #define DC_DECODE_PP_CLOCK_TYPE(clk_type) \ argument
83 (clk_type) == DM_PP_CLOCK_TYPE_DISPLAY_CLK ? "Display" : \
84 (clk_type) == DM_PP_CLOCK_TYPE_ENGINE_CLK ? "Engine" : \
85 (clk_type) == DM_PP_CLOCK_TYPE_MEMORY_CLK ? "Memory" : \
86 (clk_type) == DM_PP_CLOCK_TYPE_DCFCLK ? "DCF" : \
87 (clk_type) == DM_PP_CLOCK_TYPE_DCEFCLK ? "DCEF" : \
88 (clk_type) == DM_PP_CLOCK_TYPE_SOCCLK ? "SoC" : \
89 (clk_type) == DM_PP_CLOCK_TYPE_PIXELCLK ? "Pixel" : \
90 (clk_type) == DM_PP_CLOCK_TYPE_DISPLAYPHYCLK ? "Display PHY" : \
91 (clk_type) == DM_PP_CLOCK_TYPE_DPPCLK ? "DPP" : \
[all …]
Ddm_services.h210 enum dm_pp_clock_type clk_type,
215 enum dm_pp_clock_type clk_type,
220 enum dm_pp_clock_type clk_type,
/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c177 static int renoir_get_dpm_clk_limited(struct smu_context *smu, enum smu_clk_type clk_type, in renoir_get_dpm_clk_limited() argument
182 if (!clk_table || clk_type >= SMU_CLK_COUNT) in renoir_get_dpm_clk_limited()
185 switch (clk_type) { in renoir_get_dpm_clk_limited()
245 enum smu_clk_type clk_type, in renoir_get_dpm_ultimate_freq() argument
253 if (!smu_cmn_clk_dpm_is_enabled(smu, clk_type)) { in renoir_get_dpm_ultimate_freq()
254 switch (clk_type) { in renoir_get_dpm_ultimate_freq()
289 switch (clk_type) { in renoir_get_dpm_ultimate_freq()
301 ret = renoir_get_dpm_clk_limited(smu, clk_type, mclk_mask, max); in renoir_get_dpm_ultimate_freq()
306 ret = renoir_get_dpm_clk_limited(smu, clk_type, soc_mask, max); in renoir_get_dpm_ultimate_freq()
317 switch (clk_type) { in renoir_get_dpm_ultimate_freq()
[all …]
Dsmu_v12_0.c207 int smu_v12_0_set_soft_freq_limited_range(struct smu_context *smu, enum smu_clk_type clk_type, in smu_v12_0_set_soft_freq_limited_range() argument
212 if (!smu_cmn_clk_dpm_is_enabled(smu, clk_type)) in smu_v12_0_set_soft_freq_limited_range()
215 switch (clk_type) { in smu_v12_0_set_soft_freq_limited_range()
/drivers/clk/imx/
Dclk-scu.h15 int num_parents, u32 rsrc_id, u8 clk_type);
18 u8 clk_type) in imx_clk_scu() argument
20 return __imx_clk_scu(name, NULL, 0, rsrc_id, clk_type); in imx_clk_scu()
24 int num_parents, u32 rsrc_id, u8 clk_type) in imx_clk_scu2() argument
26 return __imx_clk_scu(name, parents, num_parents, rsrc_id, clk_type); in imx_clk_scu2()
Dclk-scu.c29 u8 clk_type; member
158 msg.data.req.clk = clk->clk_type; in clk_scu_recalc_rate()
230 msg.clk = clk->clk_type; in clk_scu_set_rate()
248 msg.data.req.clk = clk->clk_type; in clk_scu_get_parent()
272 msg.clk = clk->clk_type; in clk_scu_set_parent()
308 clk->clk_type, true, false); in clk_scu_prepare()
323 clk->clk_type, false, false); in clk_scu_unprepare()
348 int num_parents, u32 rsrc_id, u8 clk_type) in __imx_clk_scu() argument
360 clk->clk_type = clk_type; in __imx_clk_scu()
/drivers/gpu/drm/amd/pm/inc/
Dsmu_v11_0.h235 int smu_v11_0_get_dpm_ultimate_freq(struct smu_context *smu, enum smu_clk_type clk_type,
238 int smu_v11_0_set_soft_freq_limited_range(struct smu_context *smu, enum smu_clk_type clk_type,
242 enum smu_clk_type clk_type,
253 enum smu_clk_type clk_type,
258 enum smu_clk_type clk_type,
262 enum smu_clk_type clk_type,
266 enum smu_clk_type clk_type,
Damdgpu_smu.h471 int (*print_clk_levels)(struct smu_context *smu, enum smu_clk_type clk_type, char *buf);
472 int (*force_clk_levels)(struct smu_context *smu, enum smu_clk_type clk_type, uint32_t mask);
474 int (*get_od_percentage)(struct smu_context *smu, enum smu_clk_type clk_type);
476 enum smu_clk_type clk_type,
482 enum smu_clk_type clk_type,
594 …int (*get_dpm_ultimate_freq)(struct smu_context *smu, enum smu_clk_type clk_type, uint32_t *min, u…
595 …int (*set_soft_freq_limited_range)(struct smu_context *smu, enum smu_clk_type clk_type, uint32_t m…
686 int smu_print_clk_levels(struct smu_context *smu, enum smu_clk_type clk_type, char *buf);
719 enum smu_clk_type clk_type,
777 int smu_get_dpm_freq_range(struct smu_context *smu, enum smu_clk_type clk_type,
[all …]
Dsmu_v12_0.h58 int smu_v12_0_set_soft_freq_limited_range(struct smu_context *smu, enum smu_clk_type clk_type,
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_pp_smu.c120 enum dm_pp_clock_type clk_type, in get_default_clock_levels() argument
129 switch (clk_type) { in get_default_clock_levels()
333 enum dm_pp_clock_type clk_type, in dm_pp_get_clock_levels_by_type() argument
344 dc_to_pp_clock_type(clk_type), &pp_clks)) { in dm_pp_get_clock_levels_by_type()
346 get_default_clock_levels(clk_type, dc_clks); in dm_pp_get_clock_levels_by_type()
351 dc_to_pp_clock_type(clk_type), in dm_pp_get_clock_levels_by_type()
353 get_default_clock_levels(clk_type, dc_clks); in dm_pp_get_clock_levels_by_type()
358 pp_to_dc_clock_levels(&pp_clks, dc_clks, clk_type); in dm_pp_get_clock_levels_by_type()
391 if (clk_type == DM_PP_CLOCK_TYPE_ENGINE_CLK) { in dm_pp_get_clock_levels_by_type()
403 } else if (clk_type == DM_PP_CLOCK_TYPE_MEMORY_CLK) { in dm_pp_get_clock_levels_by_type()
[all …]
/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsmu_v11_0.c1015 enum amd_pp_clock_type clk_type = clock_req->clock_type; in smu_v11_0_display_clock_voltage_request() local
1022 switch (clk_type) { in smu_v11_0_display_clock_voltage_request()
1581 int smu_v11_0_get_dpm_ultimate_freq(struct smu_context *smu, enum smu_clk_type clk_type, in smu_v11_0_get_dpm_ultimate_freq() argument
1588 if (!smu_cmn_clk_dpm_is_enabled(smu, clk_type)) { in smu_v11_0_get_dpm_ultimate_freq()
1589 switch (clk_type) { in smu_v11_0_get_dpm_ultimate_freq()
1617 clk_type); in smu_v11_0_get_dpm_ultimate_freq()
1641 enum smu_clk_type clk_type, in smu_v11_0_set_soft_freq_limited_range() argument
1649 if (!smu_cmn_clk_dpm_is_enabled(smu, clk_type)) in smu_v11_0_set_soft_freq_limited_range()
1654 clk_type); in smu_v11_0_set_soft_freq_limited_range()
1658 if (clk_type == SMU_GFXCLK) in smu_v11_0_set_soft_freq_limited_range()
[all …]
Dsienna_cichlid_ppt.c869 enum smu_clk_type clk_type, in sienna_cichlid_get_current_clk_freq_by_table() argument
877 clk_type); in sienna_cichlid_get_current_clk_freq_by_table()
919 …ool sienna_cichlid_is_support_fine_grained_dpm(struct smu_context *smu, enum smu_clk_type clk_type) in sienna_cichlid_is_support_fine_grained_dpm() argument
927 clk_type); in sienna_cichlid_is_support_fine_grained_dpm()
935 enum smu_clk_type clk_type, char *buf) in sienna_cichlid_print_clk_levels() argument
948 switch (clk_type) { in sienna_cichlid_print_clk_levels()
956 ret = sienna_cichlid_get_current_clk_freq_by_table(smu, clk_type, &cur_value); in sienna_cichlid_print_clk_levels()
961 if ((clk_type == SMU_GFXCLK) || (clk_type == SMU_SCLK)) in sienna_cichlid_print_clk_levels()
964 ret = smu_v11_0_get_dpm_level_count(smu, clk_type, &count); in sienna_cichlid_print_clk_levels()
968 if (!sienna_cichlid_is_support_fine_grained_dpm(smu, clk_type)) { in sienna_cichlid_print_clk_levels()
[all …]
Dnavi10_ppt.c863 enum smu_clk_type clk_type, in navi10_get_current_clk_freq_by_table() argument
871 clk_type); in navi10_get_current_clk_freq_by_table()
903 static bool navi10_is_support_fine_grained_dpm(struct smu_context *smu, enum smu_clk_type clk_type) in navi10_is_support_fine_grained_dpm() argument
911 clk_type); in navi10_is_support_fine_grained_dpm()
934 enum smu_clk_type clk_type, char *buf) in navi10_print_clk_levels() argument
951 switch (clk_type) { in navi10_print_clk_levels()
959 ret = navi10_get_current_clk_freq_by_table(smu, clk_type, &cur_value); in navi10_print_clk_levels()
963 ret = smu_v11_0_get_dpm_level_count(smu, clk_type, &count); in navi10_print_clk_levels()
967 if (!navi10_is_support_fine_grained_dpm(smu, clk_type)) { in navi10_print_clk_levels()
969 ret = smu_v11_0_get_dpm_freq_by_index(smu, clk_type, i, &value); in navi10_print_clk_levels()
[all …]
/drivers/clk/
Dclk-u300.c878 u32 clk_type; in of_u300_syscon_clk_init() local
882 if (of_property_read_u32(np, "clock-type", &clk_type)) { in of_u300_syscon_clk_init()
894 switch (clk_type) { in of_u300_syscon_clk_init()
908 pr_err("unknown clock type %x specified\n", clk_type); in of_u300_syscon_clk_init()
915 if (u3clk->type == clk_type && u3clk->id == clk_id) in of_u300_syscon_clk_init()
931 if (clk_type == U300_CLK_TYPE_REST && clk_id == 5) in of_u300_syscon_clk_init()
933 if (clk_type == U300_CLK_TYPE_REST && clk_id == 9) in of_u300_syscon_clk_init()
935 if (clk_type == U300_CLK_TYPE_REST && clk_id == 12) in of_u300_syscon_clk_init()
/drivers/phy/
Dphy-xgene.c534 enum clk_type_t clk_type; /* Input clock selection */ member
705 enum clk_type_t clk_type) in xgene_phy_cfg_cmu_clk_type() argument
718 if (clk_type == CLK_EXT_DIFF) { in xgene_phy_cfg_cmu_clk_type()
728 } else if (clk_type == CLK_INT_DIFF) { in xgene_phy_cfg_cmu_clk_type()
738 } else if (clk_type == CLK_INT_SING) { in xgene_phy_cfg_cmu_clk_type()
759 enum clk_type_t clk_type) in xgene_phy_sata_cfg_cmu_core() argument
805 if (clk_type == CLK_EXT_DIFF) in xgene_phy_sata_cfg_cmu_core()
1135 enum clk_type_t clk_type) in xgene_phy_cal_rdy_chk() argument
1235 enum clk_type_t clk_type) in xgene_phy_pdwn_force_vco() argument
1252 enum clk_type_t clk_type, int ssc_enable) in xgene_phy_hw_init_sata() argument
[all …]
/drivers/input/
Devdev.c49 enum input_clock_type clk_type; member
146 struct timespec64 ts = ktime_to_timespec64(ev_time[client->clk_type]); in __evdev_queue_syn_dropped()
177 enum input_clock_type clk_type; in evdev_set_clk_type() local
182 clk_type = INPUT_CLK_REAL; in evdev_set_clk_type()
185 clk_type = INPUT_CLK_MONO; in evdev_set_clk_type()
188 clk_type = INPUT_CLK_BOOT; in evdev_set_clk_type()
194 if (client->clk_type != clk_type) { in evdev_set_clk_type()
195 client->clk_type = clk_type; in evdev_set_clk_type()
256 ts = ktime_to_timespec64(ev_time[client->clk_type]); in evdev_pass_values()
/drivers/gpu/drm/amd/display/dc/clk_mgr/dce120/
Ddce120_clk_mgr.c98 clock_voltage_req.clk_type = DM_PP_CLOCK_TYPE_DISPLAY_CLK; in dce12_update_clocks()
113 clock_voltage_req.clk_type = DM_PP_CLOCK_TYPE_DISPLAYPHYCLK; in dce12_update_clocks()
/drivers/nfc/s3fwrn5/
Dnci.h64 __u8 clk_type; member
Dnci.c101 fw_cfg.clk_type = 0x01; in s3fwrn5_nci_rf_configure()
/drivers/gpu/drm/amd/amdgpu/
Datombios_crtc.h41 u32 freq, u8 clk_type, u8 clk_src);
/drivers/gpu/drm/amd/pm/swsmu/
Dsmu_cmn.h49 enum smu_clk_type clk_type);
Damdgpu_smu.c94 enum smu_clk_type clk_type, in smu_set_soft_freq_range() argument
104 clk_type, in smu_set_soft_freq_range()
114 enum smu_clk_type clk_type, in smu_get_dpm_freq_range() argument
127 clk_type, in smu_get_dpm_freq_range()
1701 enum smu_clk_type clk_type, in smu_force_clk_levels() argument
1718 ret = smu->ppt_funcs->force_clk_levels(smu, clk_type, mask); in smu_force_clk_levels()
2020 int smu_print_clk_levels(struct smu_context *smu, enum smu_clk_type clk_type, char *buf) in smu_print_clk_levels() argument
2030 ret = smu->ppt_funcs->print_clk_levels(smu, clk_type, buf); in smu_print_clk_levels()
2344 enum smu_clk_type clk_type, in smu_get_clock_by_type_with_latency() argument
2355 ret = smu->ppt_funcs->get_clock_by_type_with_latency(smu, clk_type, clocks); in smu_get_clock_by_type_with_latency()
Dsmu_cmn.c293 enum smu_clk_type clk_type) in smu_cmn_clk_dpm_is_enabled() argument
297 switch (clk_type) { in smu_cmn_clk_dpm_is_enabled()
/drivers/clk/zynqmp/
Dclkc.c42 enum clk_type { enum
73 enum clk_type type;
/drivers/media/dvb-frontends/
Dmxl5xx.c1391 u32 clk_type = 0; in config_ts() local
1474 clk_type = 1; in config_ts()
1481 clk_type); in config_ts()
1483 update_by_mnemonic(state, 0x907001D4, 8, 1, clk_type); in config_ts()

12