/openbmc/linux/drivers/clk/ |
H A D | clk-k210.c | 676 struct k210_clk *kclk = to_k210_clk(hw); in k210_clk_enable() local 677 struct k210_sysclk *ksc = kclk->ksc; in k210_clk_enable() 678 struct k210_clk_cfg *cfg = &k210_clk_cfgs[kclk->id]; in k210_clk_enable() 696 struct k210_clk *kclk = to_k210_clk(hw); in k210_clk_disable() local 697 struct k210_sysclk *ksc = kclk->ksc; in k210_clk_disable() 698 struct k210_clk_cfg *cfg = &k210_clk_cfgs[kclk->id]; in k210_clk_disable() 714 struct k210_clk *kclk = to_k210_clk(hw); in k210_clk_set_parent() local 715 struct k210_sysclk *ksc = kclk->ksc; in k210_clk_set_parent() 716 struct k210_clk_cfg *cfg = &k210_clk_cfgs[kclk->id]; in k210_clk_set_parent() 734 struct k210_clk *kclk = to_k210_clk(hw); in k210_clk_get_parent() local [all …]
|
H A D | clk-stm32mp1.c | 1385 #define KCLK(_id, _name, _parents, _flags, _mgate, _mmux)\ macro 1994 KCLK(SDMMC1_K, "sdmmc1_k", sdmmc12_src, 0, G_SDMMC1, M_SDMMC12), 1995 KCLK(SDMMC2_K, "sdmmc2_k", sdmmc12_src, 0, G_SDMMC2, M_SDMMC12), 1996 KCLK(SDMMC3_K, "sdmmc3_k", sdmmc3_src, 0, G_SDMMC3, M_SDMMC3), 1997 KCLK(FMC_K, "fmc_k", fmc_src, 0, G_FMC, M_FMC), 1998 KCLK(QSPI_K, "qspi_k", qspi_src, 0, G_QSPI, M_QSPI), 1999 KCLK(RNG1_K, "rng1_k", rng_src, 0, G_RNG1, M_RNG1), 2000 KCLK(RNG2_K, "rng2_k", rng_src, 0, G_RNG2, M_RNG2), 2001 KCLK(USBPHY_K, "usbphy_k", usbphy_src, 0, G_USBPHY, M_USBPHY), 2002 KCLK(STGEN_K, "stgen_k", stgen_src, CLK_IS_CRITICAL, G_STGEN, M_STGEN), [all …]
|
H A D | clk-stm32h7.c | 1093 static const struct composite_clk_cfg kclk[] = { variable 1340 for (n = 0; n < ARRAY_SIZE(kclk); n++) { in stm32h7_rcc_init() 1341 get_cfg_composite_div(&kernel_clk_cfg, &kclk[n], &c_cfg, in stm32h7_rcc_init() 1345 kclk[n].name, in stm32h7_rcc_init() 1346 kclk[n].parent_name, in stm32h7_rcc_init() 1347 kclk[n].num_parents, in stm32h7_rcc_init() 1351 kclk[n].flags); in stm32h7_rcc_init()
|
/openbmc/linux/sound/soc/stm/ |
H A D | stm32_spdifrx.c | 214 * @kclk: kernel clock feeding the SPDIFRX clock generator 235 struct clk *kclk; member 490 ret = clk_prepare_enable(spdifrx->kclk); in stm32_spdifrx_get_ctrl_data() 492 dev_err(&spdifrx->pdev->dev, "Enable kclk failed: %d\n", ret); in stm32_spdifrx_get_ctrl_data() 516 clk_disable_unprepare(spdifrx->kclk); in stm32_spdifrx_get_ctrl_data() 775 ret = clk_prepare_enable(spdifrx->kclk); in stm32_spdifrx_startup() 777 dev_err(&spdifrx->pdev->dev, "Enable kclk failed: %d\n", ret); in stm32_spdifrx_startup() 855 clk_disable_unprepare(spdifrx->kclk); in stm32_spdifrx_shutdown() 930 spdifrx->kclk = devm_clk_get(&pdev->dev, "kclk"); in stm32_spdifrx_parse_of() 931 if (IS_ERR(spdifrx->kclk)) in stm32_spdifrx_parse_of() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | st,stm32-spdifrx.yaml | 35 - const: kclk 74 clock-names = "kclk";
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp131.dtsi | 380 clock-names = "kclk";
|
H A D | stm32mp151.dtsi | 463 clock-names = "kclk";
|