Home
last modified time | relevance | path

Searched refs:sclk_freq (Results 1 – 6 of 6) sorted by relevance

/drivers/spi/
Dspi-geni-qcom.c105 unsigned long sclk_freq; in get_spi_clk_cfg() local
111 clk_idx, &sclk_freq, false); in get_spi_clk_cfg()
118 *clk_div = DIV_ROUND_UP(sclk_freq, mas->oversampling * speed_hz); in get_spi_clk_cfg()
119 actual_hz = sclk_freq / (mas->oversampling * *clk_div); in get_spi_clk_cfg()
122 actual_hz, sclk_freq, *clk_idx, *clk_div); in get_spi_clk_cfg()
123 ret = dev_pm_opp_set_rate(mas->dev, sclk_freq); in get_spi_clk_cfg()
127 mas->cur_sclk_hz = sclk_freq; in get_spi_clk_cfg()
/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dnavi10_ppt.c1705 uint32_t sclk_freq; in navi10_populate_umd_state_clk() local
1713 sclk_freq = NAVI10_PEAK_SCLK_XTX; in navi10_populate_umd_state_clk()
1717 sclk_freq = NAVI10_PEAK_SCLK_XT; in navi10_populate_umd_state_clk()
1720 sclk_freq = NAVI10_PEAK_SCLK_XL; in navi10_populate_umd_state_clk()
1728 sclk_freq = NAVI14_UMD_PSTATE_PEAK_XT_GFXCLK; in navi10_populate_umd_state_clk()
1732 sclk_freq = NAVI14_UMD_PSTATE_PEAK_XTM_GFXCLK; in navi10_populate_umd_state_clk()
1736 sclk_freq = NAVI14_UMD_PSTATE_PEAK_XLM_GFXCLK; in navi10_populate_umd_state_clk()
1740 sclk_freq = NAVI14_UMD_PSTATE_PEAK_XLM_GFXCLK; in navi10_populate_umd_state_clk()
1743 sclk_freq = NAVI14_UMD_PSTATE_PEAK_XL_GFXCLK; in navi10_populate_umd_state_clk()
1748 sclk_freq = NAVI12_UMD_PSTATE_PEAK_GFXCLK; in navi10_populate_umd_state_clk()
[all …]
/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c910 uint32_t sclk_freq = 0, uclk_freq = 0; in renoir_set_peak_clock_by_device() local
912 ret = renoir_get_dpm_ultimate_freq(smu, SMU_SCLK, NULL, &sclk_freq); in renoir_set_peak_clock_by_device()
916 ret = smu_v12_0_set_soft_freq_limited_range(smu, SMU_SCLK, sclk_freq, sclk_freq); in renoir_set_peak_clock_by_device()
/drivers/gpu/drm/radeon/
Dci_dpm.c1736 u32 sclk_freq; in ci_get_average_sclk_freq() local
1740 &sclk_freq); in ci_get_average_sclk_freq()
1742 sclk_freq = 0; in ci_get_average_sclk_freq()
1744 return sclk_freq; in ci_get_average_sclk_freq()
/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.h398 u16 sclk_freq; /* SCLK frequency (in MHz) */ member
Drvu.c1228 rsp->sclk_freq = rvu->fwdata->sclk; in rvu_mbox_handler_ready()