Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Linux/arch/sh/kernel/cpu/   (Open Source Betriebssystem Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 1 kB image not shown  

Quelle  clock.c   Sprache: C

 
// SPDX-License-Identifier: GPL-2.0
/*
 * arch/sh/kernel/cpu/clock.c - SuperH clock framework
 *
 *  Copyright (C) 2005 - 2009  Paul Mundt
 *
 * This clock framework is derived from the OMAP version by:
 *
 * Copyright (C) 2004 - 2008 Nokia Corporation
 * Written by Tuukka Tikkanen <tuukka.tikkanen@elektrobit.com>
 *
 *  Modified for omap shared clock framework by Tony Lindgren <tony@atomide.com>
 */

#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/clk.h>
#include <asm/clock.h>
#include <asm/machvec.h>

int __init clk_init(void)
{
 int ret;

#ifndef CONFIG_COMMON_CLK
 ret = arch_clk_init();
 if (unlikely(ret)) {
  pr_err("%s: CPU clock registration failed.\n", __func__);
  return ret;
 }
#endif

 if (sh_mv.mv_clk_init) {
  ret = sh_mv.mv_clk_init();
  if (unlikely(ret)) {
   pr_err("%s: machvec clock initialization failed.\n",
          __func__);
   return ret;
  }
 }

#ifndef CONFIG_COMMON_CLK
 /* Kick the child clocks.. */
 recalculate_root_clocks();

 /* Enable the necessary init clocks */
 clk_enable_init_clocks();
#endif

 return ret;
}



Messung V0.5
C=93 H=64 G=79

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.