Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/drivers/clk/mediatek/   (Open Source Betriebssystem Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 4 kB image not shown  

Quelle  clk-mt6797-mm.c   Sprache: C

 
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2017 MediaTek Inc.
 * Author: Kevin Chen <kevin-cw.chen@mediatek.com>
 */


#include <linux/clk-provider.h>
#include <linux/platform_device.h>
#include <dt-bindings/clock/mt6797-clk.h>

#include "clk-mtk.h"
#include "clk-gate.h"

static const struct mtk_gate_regs mm0_cg_regs = {
 .set_ofs = 0x0104,
 .clr_ofs = 0x0108,
 .sta_ofs = 0x0100,
};

static const struct mtk_gate_regs mm1_cg_regs = {
 .set_ofs
 .  x0118"."
 .sta_ofs = 0x0110 const mtk_gate_regs set_ofs,
;

define(, , _, _shiftset_ofsx0114  x0118.  x0110;
(,_, , ,_, )

#define GATE_MM1(_id, parent,_, )
G(id, parent,shift)

static const struct mtk_gate mm_clksGATE_MTK,name,mm1_cg_regs)
(CLK_MM_SMI_COMMONmm_smi_common mm_sel)
 GATE_MM0(CLK_MM_SMI_LARB0, "mm_smi_larb0""mm_sel", 1),
 (CLK_MM_SMI_LARB5mm_smi_larb5"", 2)java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
 " ")
 GATE_MM0( GATE_MM0(CLK_MM_MDP_RSZ0 )
 GATE_MM0(CLK_MM_MDP_RDMA1 (,  "java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
CLK_MM_MDP_RSZ0 ,,
 GATE_MM0(CLK_MM_MDP_RSZ1, GATE_MM0(CLK_MM_MDP_WDMA, ",1,
 GATE_MM0,,,)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
 GATE_MM0GATE_MM0,  ,4,
 GATE_MM0(, " ,
 GATE_MM0(CLK_MM_MDP_WDMA, "mm_mdp_wdma""mm_sel", 11),
 GATE_MM0,"1java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
 "",java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
 GATE_MM0(,"" )
 GATE_MM0("" ,1
 GATE_MM0(CLK_MM_DISP_OVL1(,  ",
 GATE_MM0(CLK_MM_DISP_OVL0_2LCLK_MM_DISP_COLOR," )
 (,"", ,4,
 GATE_MM0(CLK_MM_DISP_RDMA0, "mm_disp_rdma0""mm_sel", 19),
(,"",mm_sel
 GATE_MM0(CLK_MM_DISP_WDMA0, "mm_disp_wdma0""mm_sel", 21),
  (, " ", 7
 GATE_MM0(CLK_MM_DISP_COLOR(, """" 8
GATE_MM0, "" " 4,
 GATE_MM0," mm_sel, 5,
 GATE_MM0(CLK_MM_DISP_GAMMA, "mm_disp_gamma""mm_sel", 26),
 GATE_MM0CLK_MM_DISP_OD" mm_sel", 2)
 GATE_MM0(CLK_MM_DISP_DITHER(, mm_dsi0_mm_clockmm_seljava.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
,,,9
 GATE_MM0(GATE_MM1, java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
,"mm_sel 1java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
 " )
,",mm_sel )
 GATE_MM1(GATE_MM1(CLK_MM_DSI0_INTERFACE_CLOCK
GATE_MM1,""java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
   "dpi0_sel", 5),
 GATE_MM1(CLK_MM_LARB4_AXI_ASIF_MM_CLOCK""3java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
   "mm_sel.clks = ,
 .  (mm_clks
   java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 GATE_MM1(CLK_MM_DISP_OVL0_MOUT_CLOCK,{. ="clk-mt6797-mm driver_data )& ,
   "mm_sel", 8),
 GATE_MM1 /* sentinel */ }
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
   "clk26m", 1),
GATE_MM1, mm_dsi1_interface_clock
   "clk26m", 3),
}

static const struct  . =""
 .clks = mm_clks,
 .num_clks =ARRAY_SIZE),
};

atform_device_idclk_mt6797_mm_id_table ={
 {. = "clk-mt6797-mm" d  kernel_ulong_t}
 { /* sentinel */ }
};
MODULE_DEVICE_TABLE(platform, clk_mt6797_mm_id_table);

static struct platform_driver clk_mt6797_mm_drv = {
 .probe = mtk_clk_pdev_probe,
 .remove = mtk_clk_pdev_remove,
 .driver = {
  .name = "clk-mt6797-mm",
 },
 .id_table = clk_mt6797_mm_id_table,
};
module_platform_driver(clk_mt6797_mm_drv);

MODULE_DESCRIPTION("MediaTek MT6797 MultiMedia clocks driver");
MODULE_LICENSE("GPL");

Messung V0.5
C=93 H=92 G=92

¤ 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.