/openbmc/linux/drivers/clk/meson/ |
H A D | sclk-div.c | 31 static int sclk_div_maxval(struct meson_sclk_div_data *sclk) in sclk_div_maxval() 36 static int sclk_div_maxdiv(struct meson_sclk_div_data *sclk) in sclk_div_maxdiv() 51 struct meson_sclk_div_data *sclk) in sclk_div_bestdiv() 103 struct meson_sclk_div_data *sclk = meson_sclk_div_data(clk); in sclk_div_determine_rate() local 113 struct meson_sclk_div_data *sclk) in sclk_apply_ratio() 129 struct meson_sclk_div_data *sclk = meson_sclk_div_data(clk); in sclk_div_set_duty_cycle() local 143 struct meson_sclk_div_data *sclk = meson_sclk_div_data(clk); in sclk_div_get_duty_cycle() local 159 struct meson_sclk_div_data *sclk) in sclk_apply_divider() 171 struct meson_sclk_div_data *sclk = meson_sclk_div_data(clk); in sclk_div_set_rate() local 186 struct meson_sclk_div_data *sclk = meson_sclk_div_data(clk); in sclk_div_recalc_rate() local [all …]
|
/openbmc/u-boot/drivers/clk/ |
H A D | clk-hsdk-cgu.c | 369 static ulong pll_get(struct clk *sclk) in pll_get() 477 static ulong pll_set(struct clk *sclk, ulong rate) in pll_set() 498 static int idiv_off(struct clk *sclk) in idiv_off() 507 static ulong idiv_get(struct clk *sclk) in idiv_get() 524 static ulong cpu_clk_set(struct clk *sclk, ulong rate) in cpu_clk_set() 535 static ulong axi_clk_set(struct clk *sclk, ulong rate) in axi_clk_set() 573 static ulong tun_clk_set(struct clk *sclk, ulong rate) in tun_clk_set() 611 static ulong idiv_set(struct clk *sclk, ulong rate) in idiv_set() 642 static int hsdk_prepare_clock_tree_branch(struct clk *sclk) in hsdk_prepare_clock_tree_branch() 657 static ulong hsdk_cgu_get_rate(struct clk *sclk) in hsdk_cgu_get_rate() [all …]
|
/openbmc/linux/drivers/clk/hisilicon/ |
H A D | clkgate-separated.c | 34 struct clkgate_separated *sclk; in clkgate_separated_enable() local 51 struct clkgate_separated *sclk; in clkgate_separated_disable() local 67 struct clkgate_separated *sclk; in clkgate_separated_is_enabled() local 89 struct clkgate_separated *sclk; in hisi_register_clkgate_sep() local
|
/openbmc/u-boot/arch/arm/mach-exynos/ |
H A D | clock.c | 367 unsigned long sclk = 0; in exynos5_get_periph_rate() local 466 unsigned long sclk = 0; in exynos542x_get_periph_rate() local 639 unsigned long pclk, sclk; in exynos4_get_pwm_clk() local 680 unsigned long pclk, sclk; in exynos4x12_get_pwm_clk() local 696 unsigned long uclk, sclk; in exynos4_get_uart_clk() local 743 unsigned long uclk, sclk; in exynos4x12_get_uart_clk() local 787 unsigned long uclk, sclk; in exynos4_get_mmc_clk() local 916 unsigned long pclk, sclk; in exynos4_get_lcd_clk() local 958 unsigned long pclk, sclk; in exynos5_get_lcd_clk() local 999 unsigned long pclk, sclk; in exynos5420_get_lcd_clk() local [all …]
|
/openbmc/linux/drivers/clk/ralink/ |
H A D | clk-mt7621.c | 134 struct mt7621_gate *sclk) in mt7621_gate_ops_init() 159 struct mt7621_gate *sclk; in mt7621_register_gates() local 204 struct mt7621_fixed_clk *sclk; in mt7621_register_fixed_clocks() local 322 struct mt7621_clk *sclk; in mt7621_register_early_clocks() local 397 struct mt7621_clk *sclk = &mt7621_clks_base[i]; in mt7621_clk_init() local 551 struct mt7621_gate *sclk = &mt7621_gates[i]; in mt7621_clk_probe() local 558 struct mt7621_fixed_clk *sclk = &mt7621_fixed_clks[i]; in mt7621_clk_probe() local
|
H A D | clk-mtmips.c | 231 struct mtmips_clk *sclk; in mtmips_register_pherip_clocks() local 283 struct mtmips_clk_fixed *sclk; in mtmips_register_fixed_clocks() local 334 struct mtmips_clk_factor *sclk; in mtmips_register_factor_clocks() local 721 struct mtmips_clk *sclk; in mtmips_register_clocks() local 954 struct mtmips_clk *sclk = &priv->data->clk_periph[i]; in mtmips_clk_init() local 961 struct mtmips_clk_factor *sclk = &priv->data->clk_factor[i]; in mtmips_clk_init() local 968 struct mtmips_clk_fixed *sclk = &priv->data->clk_fixed[i]; in mtmips_clk_init() local 975 struct mtmips_clk *sclk = &priv->data->clk_base[i]; in mtmips_clk_init() local
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | gf100.c | 67 u32 sclk; in read_pll() local 102 u32 sclk, sctl, sdiv = 2; in read_div() local 138 u32 sclk, sdiv; in read_clk() local 223 u32 sclk; in calc_src() local
|
H A D | gk104.c | 68 u32 sclk; in read_pll() local 121 u32 sclk = read_vco(clk, dsrc + (doff * 4)); in read_div() local 149 u32 sclk, sdiv; in read_clk() local 236 u32 sclk; in calc_src() local
|
H A D | gt215.c | 64 u32 sctl, sdiv, sclk; in read_clk() local 112 u32 sclk = 0, P = 1, N = 1, M = 1; in read_pll() local 191 u32 oclk, sclk, sdiv; in gt215_clk_info() local
|
/openbmc/linux/drivers/clk/ |
H A D | clk-nomadik.c | 305 struct clk_src *sclk = to_src(hw); in src_clk_enable() local 318 struct clk_src *sclk = to_src(hw); in src_clk_disable() local 330 struct clk_src *sclk = to_src(hw); in src_clk_is_enabled() local 356 struct clk_src *sclk; in src_clk_register() local
|
H A D | clk-scpi.c | 139 struct scpi_clk *sclk, const char *name) in scpi_clk_ops_init() 177 struct scpi_clk *sclk; in scpi_of_clk_src_get() local 213 struct scpi_clk *sclk; in scpi_clk_add() local
|
H A D | clk-scmi.c | 134 static int scmi_clk_ops_init(struct device *dev, struct scmi_clk *sclk, in scmi_clk_ops_init() 206 struct scmi_clk *sclk; in scmi_clocks_probe() local
|
/openbmc/u-boot/drivers/mmc/ |
H A D | exynos_dw_mmc.c | 60 unsigned long sclk; in exynos_dwmci_get_clk() local 102 unsigned long freq, sclk; in exynos_dwmci_core_init() local
|
H A D | ftsdc010_mci.h | 17 uint32_t sclk; /* FTSDC010 source clock in Hz */ member
|
/openbmc/linux/drivers/clk/microchip/ |
H A D | clk-core.c | 774 struct pic32_sys_clk *sclk = clkhw_to_sys_clk(hw); in sclk_get_rate() local 792 struct pic32_sys_clk *sclk = clkhw_to_sys_clk(hw); in sclk_set_rate() local 821 struct pic32_sys_clk *sclk = clkhw_to_sys_clk(hw); in sclk_get_parent() local 837 struct pic32_sys_clk *sclk = clkhw_to_sys_clk(hw); in sclk_set_parent() local 887 struct pic32_sys_clk *sclk = clkhw_to_sys_clk(hw); in sclk_init() local 930 struct pic32_sys_clk *sclk; in pic32_sys_clk_register() local
|
/openbmc/linux/drivers/gpu/drm/armada/ |
H A D | armada_510.c | 102 const struct drm_display_mode *mode, uint32_t *sclk) in armada510_crtc_compute_clock()
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | rs690.c | 269 fixed20_12 sclk; member 281 fixed20_12 sclk, core_bandwidth, max_bandwidth; in rs690_crtc_bandwidth_compute() local
|
H A D | kv_dpm.c | 377 u32 index, u32 sclk) in kv_set_divider_value() 1878 u32 sclk, u32 min_sclk_in_sr) in kv_get_sleep_divider_id_from_clock() 1942 u32 sclk, mclk = 0; in kv_apply_state_adjust_rules() local 2414 u32 sclk; in kv_parse_pplib_clock_info() local 2506 u32 sclk; in kv_parse_power_table() local 2605 u32 sclk, tmp; in kv_dpm_debugfs_print_current_performance_level() local 2628 u32 sclk; in kv_dpm_get_current_sclk() local
|
H A D | rs780_dpm.c | 752 u32 sclk; in rs780_parse_pplib_clock_info() local 991 u32 sclk = (rdev->clock.spll.reference_freq * current_fb_div) / in rs780_dpm_debugfs_print_current_performance_level() local 1013 u32 sclk = (rdev->clock.spll.reference_freq * current_fb_div) / in rs780_dpm_get_current_sclk() local
|
H A D | radeon_clocks.c | 43 uint32_t fb_div, ref_div, post_div, sclk; in radeon_legacy_get_engine_clock() local
|
/openbmc/linux/drivers/clocksource/ |
H A D | timer-atmel-st.c | 185 struct clk *sclk; in atmel_st_timer_init() local
|
/openbmc/linux/sound/soc/meson/ |
H A D | axg-tdm.h | 27 struct clk *sclk; member
|
/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/ |
H A D | kv_dpm.c | 652 u32 index, u32 sclk) in kv_set_divider_value() 2140 u32 sclk, u32 min_sclk_in_sr) in kv_get_sleep_divider_id_from_clock() 2203 u32 sclk, mclk = 0; in kv_apply_state_adjust_rules() local 2678 u32 sclk; in kv_parse_pplib_clock_info() local 2768 u32 sclk; in kv_parse_power_table() local 2863 u32 sclk, tmp; in kv_dpm_debugfs_print_current_performance_level() local 3261 uint32_t sclk; in kv_dpm_read_sensor() local
|
/openbmc/linux/drivers/tty/serial/8250/ |
H A D | 8250_em.c | 159 struct clk *sclk; in serial8250_em_probe() local
|
/openbmc/linux/arch/mips/txx9/generic/ |
H A D | setup_tx4927.c | 231 void __init tx4927_sio_init(unsigned int sclk, unsigned int cts_mask) in tx4927_sio_init()
|