Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-geni-qcom.c94 unsigned long sclk_freq; in get_spi_clk_cfg() local
100 clk_idx, &sclk_freq, false); in get_spi_clk_cfg()
107 *clk_div = DIV_ROUND_UP(sclk_freq, mas->oversampling * speed_hz); in get_spi_clk_cfg()
108 actual_hz = sclk_freq / (mas->oversampling * *clk_div); in get_spi_clk_cfg()
111 actual_hz, sclk_freq, *clk_idx, *clk_div); in get_spi_clk_cfg()
112 ret = dev_pm_opp_set_rate(mas->dev, sclk_freq); in get_spi_clk_cfg()
116 mas->cur_sclk_hz = sclk_freq; in get_spi_clk_cfg()
/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dnavi10_ppt.c1512 uint32_t sclk_freq; in navi10_populate_umd_state_clk() local
1520 sclk_freq = NAVI10_PEAK_SCLK_XTX; in navi10_populate_umd_state_clk()
1524 sclk_freq = NAVI10_PEAK_SCLK_XT; in navi10_populate_umd_state_clk()
1527 sclk_freq = NAVI10_PEAK_SCLK_XL; in navi10_populate_umd_state_clk()
1535 sclk_freq = NAVI14_UMD_PSTATE_PEAK_XT_GFXCLK; in navi10_populate_umd_state_clk()
1539 sclk_freq = NAVI14_UMD_PSTATE_PEAK_XTM_GFXCLK; in navi10_populate_umd_state_clk()
1543 sclk_freq = NAVI14_UMD_PSTATE_PEAK_XLM_GFXCLK; in navi10_populate_umd_state_clk()
1547 sclk_freq = NAVI14_UMD_PSTATE_PEAK_XLM_GFXCLK; in navi10_populate_umd_state_clk()
1550 sclk_freq = NAVI14_UMD_PSTATE_PEAK_XL_GFXCLK; in navi10_populate_umd_state_clk()
1555 sclk_freq = NAVI12_UMD_PSTATE_PEAK_GFXCLK; in navi10_populate_umd_state_clk()
[all …]
/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c901 uint32_t sclk_freq = 0, uclk_freq = 0; in renoir_set_peak_clock_by_device() local
903 ret = renoir_get_dpm_ultimate_freq(smu, SMU_SCLK, NULL, &sclk_freq); in renoir_set_peak_clock_by_device()
907 ret = smu_v12_0_set_soft_freq_limited_range(smu, SMU_SCLK, sclk_freq, sclk_freq); in renoir_set_peak_clock_by_device()
/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.h324 u16 sclk_freq; /* SCLK frequency (in MHz) */ member
Drvu.c1205 rsp->sclk_freq = rvu->fwdata->sclk; in rvu_mbox_handler_ready()
/drivers/gpu/drm/radeon/
Dci_dpm.c1737 u32 sclk_freq; in ci_get_average_sclk_freq() local
1741 &sclk_freq); in ci_get_average_sclk_freq()
1743 sclk_freq = 0; in ci_get_average_sclk_freq()
1745 return sclk_freq; in ci_get_average_sclk_freq()