Home
last modified time | relevance | path

Searched refs:clk_select (Results 1 – 5 of 5) sorted by relevance

/drivers/pwm/
Dpwm-fsl-ftm.c38 enum fsl_pwm_clk clk_select; member
80 if (a->clk_select != b->clk_select) in fsl_pwm_periodcfg_are_equal()
125 rate = clk_get_rate(fpc->clk[fpc->period.clk_select]); in fsl_pwm_ticks_to_ns()
150 periodcfg->clk_select = index; in fsl_pwm_calculate_period_clk()
258 if (fpc->period.clk_select != periodcfg.clk_select) { in fsl_pwm_apply_config()
260 enum fsl_pwm_clk oldclk = fpc->period.clk_select; in fsl_pwm_apply_config()
261 enum fsl_pwm_clk newclk = periodcfg.clk_select; in fsl_pwm_apply_config()
275 FTM_SC_CLK(periodcfg.clk_select)); in fsl_pwm_apply_config()
323 clk_disable_unprepare(fpc->clk[fpc->period.clk_select]); in fsl_pwm_apply()
335 ret = clk_prepare_enable(fpc->clk[fpc->period.clk_select]); in fsl_pwm_apply()
[all …]
/drivers/gpu/drm/amd/powerplay/
Dsmu_v11_0.c1283 enum smu_clk_type clk_select = 0; in smu_v11_0_display_clock_voltage_request() local
1293 clk_select = SMU_DCEFCLK; in smu_v11_0_display_clock_voltage_request()
1296 clk_select = SMU_DISPCLK; in smu_v11_0_display_clock_voltage_request()
1299 clk_select = SMU_PIXCLK; in smu_v11_0_display_clock_voltage_request()
1302 clk_select = SMU_PHYCLK; in smu_v11_0_display_clock_voltage_request()
1305 clk_select = SMU_UCLK; in smu_v11_0_display_clock_voltage_request()
1316 if (clk_select == SMU_UCLK && smu->disable_uclk_switch) in smu_v11_0_display_clock_voltage_request()
1320 ret = smu_set_hard_freq_range(smu, clk_select, clk_freq, 0); in smu_v11_0_display_clock_voltage_request()
1323 if(clk_select == SMU_UCLK) in smu_v11_0_display_clock_voltage_request()
/drivers/gpu/drm/amd/powerplay/hwmgr/
Dvega12_hwmgr.c1437 PPCLK_e clk_select = 0; in vega12_display_clock_voltage_request() local
1443 clk_select = PPCLK_DCEFCLK; in vega12_display_clock_voltage_request()
1446 clk_select = PPCLK_DISPCLK; in vega12_display_clock_voltage_request()
1449 clk_select = PPCLK_PIXCLK; in vega12_display_clock_voltage_request()
1452 clk_select = PPCLK_PHYCLK; in vega12_display_clock_voltage_request()
1461 clk_request = (clk_select << 16) | clk_freq; in vega12_display_clock_voltage_request()
Dvega20_hwmgr.c2248 PPCLK_e clk_select = 0; in vega20_display_clock_voltage_request() local
2254 clk_select = PPCLK_DCEFCLK; in vega20_display_clock_voltage_request()
2257 clk_select = PPCLK_DISPCLK; in vega20_display_clock_voltage_request()
2260 clk_select = PPCLK_PIXCLK; in vega20_display_clock_voltage_request()
2263 clk_select = PPCLK_PHYCLK; in vega20_display_clock_voltage_request()
2272 clk_request = (clk_select << 16) | clk_freq; in vega20_display_clock_voltage_request()
Dvega10_hwmgr.c3858 DSPCLK_e clk_select = 0; in vega10_display_clock_voltage_request() local
3863 clk_select = DSPCLK_DCEFCLK; in vega10_display_clock_voltage_request()
3866 clk_select = DSPCLK_DISPCLK; in vega10_display_clock_voltage_request()
3869 clk_select = DSPCLK_PIXCLK; in vega10_display_clock_voltage_request()
3872 clk_select = DSPCLK_PHYCLK; in vega10_display_clock_voltage_request()
3881 clk_request = (clk_freq << 16) | clk_select; in vega10_display_clock_voltage_request()