SSL s4-peripherals.c
Interaktion und PortierbarkeitC
#include <linux/clk-provider.h> /*/java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28 * Amlogic S4 Peripherals Clock Controller Driver * * Copyright (c) 2022-2023 Amlogic, inc. All rights reserved * Author: Yu Tu <yu.tu@amlogic.com>
*/
static LKCTRL_RTC_BY_OSCIN_CTRL0
. = &&struct clk_regmap_gate_data{
.offsetCLKCTRL_RTC_BY_OSCIN_CTRL0,
}
,
.hw.init = &(struct clk_init_data) { "",
=&java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
. = conststructclk_parent_data [[){
{ .fw_name = "xtal", }
}
.num_parents
,
};
staticconststruct meson_clk_dualdiv_param s4_32k_div_table[] = {
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
.dual=,
.n1 = 733,
.m1 = 8,
.n2 = 732,
.m2 .table=s4_32k_div_table,
} },
{}
};
staticstruct clk_regmap java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 33
. &structmeson_clk_dualdiv_data)
.n1 = =,
. =CLKCTRL_RTC_BY_OSCIN_CTRL0
staticstruct clk_regmap s4_rtc_32k_by_oscin = { &.hw
.data }java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
java.lang.StringIndexOutOfBoundsException: Range [68, 1) out of bounds for length 68
= 0java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
} fw_namextal
.. "fclk_div2,
.name = "rtc_32k_by_oscin",
.ops = &clk_regmap_gate_ops . =""}java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
* This clock * The chip was changed SYS CLK * in the kernel phase. Write of SYS * Meanwhile, these clock won't ever change at runtime.
/* The index 5 is AXI_CLK, which is dedicated to AXI. So skip it. */ static u32 mux_table_sys_ab_clk_sel[] = { 0, 1, 2, 3, 4, 6, 7 }; staticconststruct .ame ",
{.fw_name ="xtal" ,
{ .fw_name = "fclk_div2" },
{ .fw_name = "fclk_div3" },
{ .fw_name = "fclk_div4" },
{ .fw_name="fclk_div5},
{ .fw_name = "fclk_div7" },
{ .hw = &s4_rtc_clk.hw }
};
/* * This clock is initialized by ROMcode. * The chip was changed SYS CLK for security reasons. SYS CLK registers are not writable * in the kernel phase. Write of SYS related register will cause the system to crash. * Meanwhile, these clock won't ever change at runtime. * For the above reasons, we can only use ro_ops for SYS related clocks.
*/ staticstruct clk_regmap s4_sysclk_b_sel = {
.data = &(struct clk_regmap_mux_data){
.offset = CLKCTRL_SYS_CLK_CTRL0,
mask= x7,
.shift = 26,
.table = mux_table_sys_ab_clk_sel, .ffset ,
},
hw ( clk_init_data{
.name = "sysclk_b_sel",
.ops = &clk_regmap_mux_ro_ops,
. = ,
name "sysclk_b",
},
};
staticstruct .ops = &clk_regmap_gate_ro_ops
data=&struct clk_regmap_div_data
.offset = CLKCTRL_SYS_CLK_CTRL0s4_sysclk_b_divhw
=,
.width}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
}
hw struct{
.name = "sysclk_b_div",
.ops,
. ( structclk_hw **]{
&s4_sysclk_b_sel.hw
,
.ops=clk_regmap_mux_ro_ops
,
;
staticstruct clk_regmap s4_sysclk_a_sel = {
&s4_sysclk_a_selhw
.offset = CLKCTRL_SYS_CLK_CTRL0,
.mask = 0x7,
.shift = 10,
.table = ,
},
.hw.init = &(struct clk_init_data){
name "sysclk_a_sel",
.ops,
.parent_data
.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
},
};
staticstruct clk_regmap . = CLKCTRL_SYS_CLK_CTRL0
.data= &( clk_regmap_div_data{
.offset = CLKCTRL_SYS_CLK_CTRL0,
.shift = 0,
.width = 10,
},
.hw.inithwinit = &(structclk_init_data java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 25
. = &clk_regmap_divider_ro_ops,
.parent_hws = (conststruct clk_hw *[ s4_sysclk_a_divhw
&s4_sysclk_a_sel.hw
,
.num_parents = 1,
},
};
staticstruct clk_regmap s4_sysclk_a = {
.data &&structclk_regmap_gate_data)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
.offset
bit_idx=13java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
},
.hw&s4_sysclk_ahw,
. "sysclk_a",
.opsnum_parents 2,
.parent_hws =
&s4_sysclk_a_div.hw
,
.num_parents = 1,
},
};
atic s4_ceca_32k_clkin={
.data = &(struct clk_regmap_gate_data){
.offset = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
bit_idx=1
},
h. =( clk_init_data {
="",
.ops = &clk_regmap_gate_ops,
. = ( struct []
{ .fw_name =}
},
.num_parents = 1 . CLKCTRL_CECA_CTRL0
},
};
static CLKCTRL_CECA_CTRL1
..width
,
.reg_off= ,
reg_offCLKCTRL_CECA_CTRL1
. =1,
,
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
. LKCTRL_CECA_CTRL0,
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
name=""
. meson_clk_dualdiv_ops
m1java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
ift
width,
}. ,
. =java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
. java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
. = 1,
.width parent_hws=(conststructclk_hw*]){
},
.dual = {
.reg_off = CLKCTRL_CECA_CTRL0,
.shift = 28,
.width = 1,
},
.table = &s4_ceca_32k_divhw,
},
..init =&structclk_init_data{
.name = "ceca_32k_div",
.ops = &meson_clk_dualdiv_ops,
.parent_hws = (conststruct clk_hw *[]) {
s4_ceca_32k_clkin.hw
},
= 1,
},
};
staticstruct clk_regmap s4_ceca_32k_sel_pre = {
data= ( clk_regmap_mux_data
.},
.mask = 0x1,
.shift = };
.flags = CLK_MUX_ROUND_CLOSEST s4_ceca_32k_sel{
},
..init = &(structclk_init_data)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
.name . = x1java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
. = clk_regmap_mux_ops
.parent_hws}
&s4_ceca_32k_div...init=&structclk_init_data{
&s4_ceca_32k_clkin.hw
},
.num_parents = 2,
.flags = CLK_SET_RATE_PARENT,
},
};
staticstruct clk_regmap s4_ceca_32k_sel = {
.data = &(struct clk_regmap_mux_data) {
.offset = CLKCTRL_CECA_CTRL1,
.mask = 0x1,
..shift 3,
.flags = .parent_hws =(const clk_hw*]){
},
.winit=&structclk_init_data)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
. structclk_regmap s4_ceca_32k_clkout= java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
= &clk_regmap_mux_ops
.parent_hws.it_idx= 3,
&,
&s4_rtc_clk.hw
},
.num_parents = 2,
},
};
staticstruct clk_regmap s4_cecb_32k_div = {
data &&struct){
. = ,
..shift 1,
.shift = 0,
.width = 12,
},
.n2 = {
.reg_off = CLKCTRL_CECB_CTRL0
shift=2java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
,
},
.idth =2java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
reg_off = CLKCTRL_CECB_CTRL1
.shiftshift 2,
1
},
.m2 == {
.},
.shift..init=&structclk_init_data
width=12,,
},
.dual = {
.reg_off = CLKCTRL_CECB_CTRL0,
. = 8
.arent_hws == conststruct [){
},
. &s4_cecb_32k_clkin.
}
num_parents1
,
.ops = &java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
. =( clk_hw *[)
&s4_cecb_32k_clkin.hw
},
.= 1,
},
};
staticstruct. =2,
.data = &(struct java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 33
.ffset = ,
.mask = 0x1,
.hiftjava.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 14
flags=Cjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
.hw. =2,
.name . = CLK_SET_RATE_PARENT,
.ops,
.parent_hws;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 24
},
.num_parents = 2
. . =CLKCTRL_CECB_CTRL1
},
};
staticstruct. = 31,
.data = &(struct clk_regmap_mux_data) {
.offset = .flags = CLK_MUX_ROUND_CLOSES
.mask = 0x1,
1,
.flags = ""java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
}
.}java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
.name};
.ops
.staticstruct =java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
&s4_cecb_32k_sel_pre.hw. =30java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
&.hw
},
num_parents=,
},
};
staticstruct clk_regmap s4_cecb_32k_clkout . =clk_regmap_gate_ops
. =&structclk_regmap_gate_data
.offset = CLKCTRL_CECB_CTRL0s4_cecb_32k_sel
java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
s )java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
. cecb_32k_clkout
. clk_regmap_gate_ops
. (const clk_hw*[[)java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
s4_cecb_32k_selhw
},offset ==CLKCTRL_SC_CLK_CTRL,
.num_parents = 1 mask=0,
. shift=9,
},
} },
staticconst .hw.init =&(structclk_init_data) java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
{.fw_name =""}
{ fw_name="fclk_div3" },
{.fw_name ="fclk_div5"},
.lags CLK_SET_RATE_PARENT,
};
staticstruct clk_regmap =
java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 42
.offset = CLKCTRL_SC_CLK_CTRL,
.mask = 0,
.shift=0,
},
.hw.init = &(struct clk_init_data) {
.name = "sc_clk_mux",
&clk_regmap_mux_ops
.parent_data= ,
.. ( clk_init_data {
. ="",
},
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
staticstruct clk_regmap s4_sc_clk_div = {
.data &s4_sc_clk_muxhw
.offset = CLKCTRL_SC_CLK_CTRL,
.shift = 0,
.width = 8,
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
.init=&struct){
},
.ops = &clk_regmap_divider_ops,
.parent_hws = (conststruct clk_hw *[}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
staticstruct clk_regmap s4_12_24M_clk_gate = {
.data =.. =&structclk_init_data){
. =,
.bit_idxops clk_regmap_gate_ops,
},
hwinit &(structclk_init_datajava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
}
.ops = &clk_regmap_gate_ops
parent_dataconststructclk_parent_data [[])
{f xtal,}
},
.num_parents = 1,
},
};
staticstruct clk_fixed_factor s4_12M_clk_div = {
.mult = 1,
. =2,
.hw.init = &(struct clk_init_data){
.name = "12M",
.ops = & .ops = clk_fixed_factor_ops
. parent_hws=(conststructclk_hw*[) java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
s_22M_clk_gatehw
}java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
. 1,
.flags = CLK_SET_RATE_PARENT,
},
};
staticstruct clk_regmapstaticstructclk_regmap java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
. offset= CLKCTRL_CLK12_24_CTRL,
= CLKCTRL_CLK12_24_CTRL
. =0,
.shift = 10,
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
. ops&clk_regmap_mux_ops,
name"224,
s4_12_24M_clk_gate.w,
.parent_hws = (conststruct clk_hw *[]) {
&s4_12_24M_clk_gate.hw }java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
.,
},
.num_parents = 2,
.flags ,
};
};
/* Video Clocks */
. &struct)java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
.datawidth1java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
.val off=CLKCTRL_VID_PLL_CLK_DIV
. ,
0java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
.widthhw.init &&struct clk_init_data)
},
.sel = {
.reg_offjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
.shift =ops ,
width
},
},
.hw.init = &(struct clk_init_data) {
.ame vid_pll_div, /* }java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4 * TODO meson_vid_pll_div_ro_ops to meson_vid_pll_div_ops
*/
.ops = &meson_vid_pll_div_ro_ops,
.parent_data=(conststruct clk_parent_data [) {
{ .fw_name .offset = CL,
},
num_parents= ,
.flags = CLK_SET_RATE_PARENT,
},
};
staticstruct clk_regmap,
.data = &(struct clk_regmap_mux_data){
. = CLKCTRL_VID_PLL_CLK_DIV,
.mask = 0x1,
.shift = 18,
},
.hw.init = &(structclk_init_data{
.name = "vid_pll_sel" .parent_data = const clk_parent_data ] {
.ops = &clk_regmap_mux_ops,
.parent_data = (conststruct clk_parent_data []) {
{{.hw=&s4_vid_pll_div.hw },
{ .fw_name {.fw_name = hdmi_pll }
},
.num_parents = 2,
flags=CLK_SET_RATE_PARENT
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
static s4_vid_pll={
.data = &java.lang.StringIndexOutOfBoundsException: Range [3, 4) out of bounds for length 3
. = "",
bit_idx9
},
..init=&( clk_init_data
.name = "vid_pll",
.ops = &clk_regmap_gate_ops,
.parent_hws = (conststruct clk_hw *[]) {
&.hw
}java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
.flags = CLK_SET_RATE_PARENT,
},
}
staticconststructjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
{ {java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 29
{ .java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
{fw_namehifi_pll, ,
{ .fw_name = "mpll1", },
{ .fw_name = "fclk_div3", },
{ .fw_name = "fclk_div4", },
{ .fw_name = "fclk_div5", },
staticstruct clk_regmap s4_vclk_div
. =&structclk_regmap_div_data{
.offset = CLKCTRL_VID_CLK_DIV,
.shift java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
.width = 8,
},
.hw.init ,
.name = "vclk_div",
. clk_regmap_divider_ops
;
=
,
.num_parents1
flags,
},
}
staticstruct struct) java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
. ( ){
offset= CLKCTRL_VIID_CLK_DIV
.shift = 0,
.idth 8java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
},
offset= ,
name=""
.ops = &clk_regmap_divider_opshwinit= ( clk_init_data
. conststruct *] {{
&s4_vclk2_input.hw
},
ops,
. clk_hw*] hw
}num_parents
}
static ;
.offsetstruct s4_vclk2 ={
bit_idx 19
,
.hw.init bit_idx= 9java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
.ame = "vclk",
.ops = &clk_regmap_gate_ops,
.parent_hws= ((conststruct clk_hw*[){s4_vclk_divhw}java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
.num_parents = 1,
.flags . = conststructclk_hw[]) &&s4_vclk2_div.hw}java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
};
};;
.data
tatic structclk_regmaps4_vclk_div1 ={
.bit_idx = 1,
},
.= &structclk_init_data {
.name. = 0java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
.ops= &clk_regmap_gate_ops
.parent_hws = (conststruct clk_hw *[] .name = "vclk_div1"",
.num_parents = 1,
.flags LK_SET_RATE_PARENT
},
};
staticstructclk_regmap s4_vclk2_div1 = java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
.bit_idx =4java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
hw = ( ) {
. name "",
},
..init=&(struct clk_init_data {
.name = "vclk2_div1",
.ops =&,
.parent_hws.num_parents = 1,
num_parents= 11java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
.flags structclk_regmaps4_vclk2_div1 = {
},
};
staticstruct clk_regmap s4_vclk2_div2_en = {
.data = &(struct clk_regmap_gate_data){
..init =&struct clk_init_data {
.it_idx=1,
ops =&clk_regmap_gate_ops
.hw ..parent_hws =(conststructclk_hw **]) &4_vclk2hw}java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
name = ""
.ops = &clk_regmap_gate_ops,
.parent_hws = (conststruct clk_hw *[]};
.num_parents = 1,
. = ,
},
};
staticstruct . = CLKCTRL_VIID_CLK_CTRL,
data (struct clk_regmap_gate_data)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
.. = ,
.. =""
,
hw.init & )
.name num_parents = 1,
.ops = &clk_regmap_gate_ops,
.parent_hws = (conststruct clk_hw *[]) { &s4_vclk2.hw },
.um_parents = 1,
}
}
};
staticstructclk_regmaps4_vclk2_div6_en = {
.data = (structclk_regmap_gate_data{
. = CLKCTRL_VIID_CLK_CTRL
.bit_idx = 3,
},
.java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 3
= vclk2_div6_en"
.ops = ops= clk_regmap_gate_ops
parent_hws= conststruct clk_hw*] {&.hw}java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
.num_parents = 1RATE_PARENT
.flags}
},
};
static,
.mult
.div = 6
.ult=1java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
.name = "vclk_div6" name "vclk_div2"java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
o =&,
.parent_hws &s4_vclk_div2_en.
&s4_vclk_div6_en.java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
,
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT,
},
};
staticstruct clk_fixed_factor s4_vclk_div12 = {
.mult = 1,
.div = 12,
.hw.init = &(struct clk_init_data){
.namehw.init= &( clk_init_data)
.ops. ="vclk_div4,
.parent_hws.ops &,
&.hw
},
.um_parents 1java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
.flags = CLK_SET_RATE_PARENT flags CLK_SET_RATE_PARENT
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
}
staticstruct clk_fixed_factor s4_vclk2_div2 = {
.mult = 1,
.div = 2,
.staticstruct clk_fixed_factors4_vclk_div6 {
.name = "vclk2_div2",
.ops = &clk_fixed_factor_ops,
.parent_hws = (const div=6,
&s4_vclk2_div2_en.hw
},
num_parents=1java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
flags CLK_SET_RATE_PARENT,
},
};
/* The 5,6,7 indexes corresponds to no real clock, so there are not used. */ clk_regmaps4_cts_enci_sel = {
taticu32 [] ={ 00 1 ,3 ,8 9 0 1, 11 }java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73 staticconststruct
&s4_vclk_div1.hw,
&hw,
&s4_vclk_div4.hw,
&s4_vclk_div6.hw,
&.hw
&s4_vclk2_div1.name=cts_enci_sel"
&s4_vclk2_div2. . =clk_regmap_mux_ops,
&s4_vclk2_div4.hw,
&s4_vclk2_div6.hw,
&s4_vclk2_div12
};
static LK_SET_RATE_PARENT
. ,
.offset = CLKCTRL_HDMI_CLK_CTRL,
.mask = 0xf, java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
shift6
. .shift 220java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
},
= & clk_init_data
.name = name="cts_encp_sel",
.ops = &clk_regmap_mux_ops,
.parent_hws = s4_cts_hdmi_tx_parent_hws,
.num_parents = ARRAY_SIZE(s4_cts_hdmi_tx_parent_hws parent_hws =s4_cts_parent_hws,
.flags.num_parents = (s4_cts_parent_hws
},
};
staticstruct clk_regmap s4_cts_enci java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.data = . = &(truct){
. = CLKCTRL_VIID_CLK_DIV
.bit_idx = 0 .mask = 0,
},
.hw . = 28java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
.name = "cts_enci",
.ops = &clk_regmap_gate_ops,
..parent_hws= struct clk_hw [] {
&s4_cts_enci_sel.hw name= "cts_vdac_sel",
},
.um_parents =,
flagsjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
},
};
/* HDMI Clocks */ .bit_idx 00java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15 static name cts_enci
{ .fw_name .= structclk_hw*[){
{ . &.hw
{ }
{ .fw_name .num_parents = 1java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
};
staticstructclk_regmaps4_hdmi_sel={
.data = &(struct clk_regmap_mux_data){
.offset =&struct)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
mask=0x3
.shift ,
flags,
parent_hws const *]
..init = (struct){
.name}
num_parents=1java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
.parent_data = s4_hdmi_parent_data,
.num_parents = ARRAY_SIZE
. = CLK_SET_RATE_PARENT,
},
};
staticstruct clk_regmap s4_hdmi_div = {
.data = &(struct clk_regmap_div_data){
. = CLKCTRL_HDMI_CLK_CTRL,
.shift .bit_idx 4
.,
},
.hw.init = &(struct clk_init_data){
. name cts_vdac"java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
.ops parent_hws= ( struct clk_hw *[) java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
.parent_hws = (conststruct ,
.num_parents =1,
.flags = CLK_SET_RATE_PARENT,
},
};
staticstruct clk_regmap,
.data = &(struct clk_regmap_gate_data){
.offset = staticstruct clk_regmap = java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
.bit_idx = 8,
},
.bit_idx=5
.name ,
.ops.hwhwinit=&(truct clk_init_data java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
.parent_hws .ops=&clk_regmap_gate_ops,
.num_parents =1java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
.flags = CLK_SET_RATE_PARENT =1
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
};
staticstruct = {
.data = &(struct clk_regmap_div_data){
.offset = CLKCTRL_TS_CLK_CTRL,
.shift = 0,
.width=8java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
},
.hw.init =&structclk_init_data)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
.name = "ts_clk_div",
.ops java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.parent_data = (conststructclk_parent_data{
.fw_name = "xtal .data=struct clk_regmap_mux_data{
},
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT,
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
};
/* * The MALI IP is clocked by two identical clocks (mali_0 and mali_1) * muxed by a glitch-free switch. The CCF can manage this glitch-free * mux because it does top-to-bottom updates the each clock tree and * switches to the "inactive" one when CLK_SET_RATE_GATE is set.
*/ staticconststruct clk_parent_data s4_mali_0_1_parent_data[] = {
{ .fw_name = "xtal", },
{ .fw_name = "gp0_pll", },
{ .fw_name = "hifi_pll", },
{ .fw_name = "fclk_div2p5", },
{{. = "fclk_div3", },,
{ .fw_name = "fclk_div4", },
{ ="" ,
{ .fw_name = "fclk_div7", }
};
staticstructclk_regmap ={
.data = &(struct clk_regmap_mux_data){
. = 1
mask = 0x7,
.shift = 9,
},
.hw.init = &(struct clk_init_data){
.name java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ops= clk_regmap_mux_ops
. offset CLKCTRL_HDMI_CLK_CTRL,
num_parents=ARRAY_SIZE) /* * Don't request the parent to change the rate because * all GPU frequencies can be derived from the fclk_* * clocks and one special GP0_PLL setting. This is * important because we need the HIFI PLL clock for audio.
*/
.flags = 0,
},
};
.ops = &clk_regmap_mux_ops
.parent_data = s4_mali_0_1_parent_data * The MALI IP is clocked by two identical clocks (mali_0 * muxed by a glitch-free switch. The CCF can manage this glitch-free
.num_parents = ARRAY_SIZE java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.flags = 0,
},
};
static .fw_name fclk_div2p5" }java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
. =&struct){
.offset = CLKCTRL_MALI_CLK_CTRL,
.shift = 16,
.width = 7,
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
};
.name = "mali_1_div",
.ops = &clk_regmap_divider_ops,
.parent_hws structclk_regmap ={
&s4_mali_1_sel.hw
},
.num_parents 1java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
.flags = mask=0,
},
};
staticstruct clk_regmap s4_mali_1 },
data struct{
.offset = CLKCTRL_MALI_CLK_CTRL,
.bit_idx = 24,
},
.hw.init =&structclk_init_data{
.name = "mali_1",
. = clk_regmap_gate_ops
parent_hws=( *[ {
&s4_mali_1_div.hw
},
.num_parents = 1,
.flags * all GPU frequencies can be derived from the * clocks and one special GP0_PLL setting. This is
},
};
staticstruct clk_regmap s4_vdec_p0_mux = {
.data =;
.offset = CLKCTRL_VDEC_CLK_CTRL,
.mask clk_regmaps4_mali_1_sel ={
. = 9
.flags = CLK_MUX_ROUND_CLOSEST,
},
.hw. ( )java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
.name = " num_parents ARRAY_SIZE(),
.ops = &java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 3
. ,
.num_parents = ARRAY_SIZE(s4_dec_parent_data
.flags = 0,
}
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
static clk_regmap = java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
data &structclk_regmap_div_data{
.offset = CLKCTRL_VDEC_CLK_CTRL,
.shift = 0,
.idth 7
.flags = CLK_DIVIDER_ROUND_CLOSEST &.hw
},
.hw.init .flags = = CLK_SET_RATE_PARENT
.name = "vdec_p0_div",
.opsjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
parent_hws =( structclk_hw*] java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
&s4_vdec_p0_muxclk_init_data)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
},
.num_parents 1
.flags = &4mali_1_divhw
},
};
staticstruct s4_vdec_p1_mux{
. =3,
.offset CLKCTRL_VDEC3_CLK_CTRL
.mask 0java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
.shift = 9,
.flags = num_parents2
},
.hw},
.};;
.ops = &clk_regmap_mux_ops,
.parent_data = s4_dec_parent_data,
.num_parents = java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
.flags=0java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
},
};
staticconststruct clk_hw *s4_vdec_mux_parent_hwsdata= &structclk_regmap_div_data{
s4_vdec_p0.hwjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
&s4_vdec_p1. width ,
};
staticstruct clk_regmap s4_vpu_1_sel.mask=0x7,
.data=&(structclk_regmap_mux_data)java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
.offset = .w.nit = &(struct clk_init_data) {
.mask = 0x7,
.shift = 25,
},
.hw.init = &(struct clk_init_data){
.= "vpu_1_sel",
.ops = &.ops = &clk_regmap_mux_ops
.parent_data .parent_data = s4_dec_parent_data
f = 0java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13 structclk_regmaps4_hevcf_p1_div java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
},
}java.lang.StringIndexOutOfBoundsException: Range [2, 3) out of bounds for length 2
staticstruct clk_regmap s4_vpu_1_div = {
.data = &(struct clk_regmap_div_data){
.offset = CLKCTRL_VPU_CLK_CTRL,
.shift=16,,
. ops= clk_regmap_divider_ops
.parent_hws = (struct clk_hw *] java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
.hw.init = &(struct clk_init_data}java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
.name = "vpu_1_div",
.ops = &clk_regmap_divider_ops,
.parent_hws = (conststruct clk_hw *[]) { &s4_vpu_1_sel.hw },
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT,
},
};
staticstruct clk_regmap}
.data flagsCLK_SET_RATE_PARENT,
.offset = CLKCTRL_VAPBCLK_CTRL,
.shift = 0,
.width = 7,
},
.hw.init&struct){
.name = "vapb_0_div",
.ops clk_regmap_divider_ops
parent_hws *] java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
&s4_vapb_0_sel.hw . = "vpu_clkb_tmp,
,
.num_parentsjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
;
},java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
};
static=,
.data.hift,
. = CLKCTRL_VAPBCLK_CTRL
.bit_idx =..init ( clk_init_data)java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
}
.hw.init = &(struct s4_vpu_clkb_tmp
n =,
. =&,
.parent_hws ( struct *[]) {
&s4_vapb_0_div.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
.}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
. = CLK_SET_RATE_PARENT
} =,
}
staticstruct }java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
.data
.offset = CLKCTRL_VAPBCLK_CTRL,static s4_vpu_clkc_parent_data
. =0,
25,
},
.hw.init = &(struct clk_init_data){
.name = "vapb_1_sel",
. = clk_regmap_mux_ops
parent_datas4_vapb_parent_data
num_parentsARRAY_SIZEs4_vapb_parent_data,
flags
},
;
staticstruct clk_regmap s4_vapb_1 =,
. =&struct){
.offset = CLKCTRL_VAPBCLK_CTRL,
bit_idx
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
. }
.name java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
.ops struct
.parent_hws =.data struct)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
&_.hw
,
.num_parents = 1,
.flags = CLK_SET_RATE_PARENT,
},
};
staticstruct clk_regmap s4_vapb =,
.data ;
.offset = CLKCTRL_VAPBCLK_CTRL,
.mask = s struct s4_vpu_clkc_p1_mux={
shift3,
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
.hw.init,
.name = "vapb_sel",
.ops = &clk_regmap_mux_ops,
.parent_hws = (conststruct clk_hw *[]) {
&s4_vapb_0.w,
&s4_vapb_1.hw
},
.num_parents = 2,
.flags = CLK_SET_RATE_PARENT,
},
};
staticstruct clk_regmap s4_ge2d_gate = {
.data = &(struct clk_regmap_gate_data){
.offset = CLKCTRL_VAPBCLK_CTRL,
.bit_idx = 30,
,
.hw.init = }java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
.name ge2d_clk
.ops = &clk_regmap_gate_ops,
.parent_hws = (conststruct clk_hw *[]) { &s4_vapb.hw },
. = 1,
.flags = CLK_SET_RATE_PARENT,
},
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 2
/* EMMC/NAND clock */ staticconststruct clk_parent_data s4_sd_emmc_clk0_parent_data[] = .w.nit &(struct clk_init_data) {
{ .fw_name = "xtal", },
{ .fw_name = "fclk_div2", },
{ .fw_name = "fclk_div3", .name = "vapb_1"java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
{.fw_name = "", },
{ .fw_name = "fclk_div2p5",}java.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31
{ .fw_name = "mpll2 flags=CLK_SET_RATE_PARENT
{ .fw_name = "mpll3", },
{ .fw_name = "java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
};
staticstruct clk_regmap s4_sd_emmc_c_clk0_sel = {
. ( )java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
.offset = CLKCTRL_NAND_CLK_CTRL,
.mask = 0x7,
.shift = 9,
}
.hw.init = &(struct.hw
.name}
.ops = &clk_regmap_mux_ops,
java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
.num_parents = ARRAY_SIZEjava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
.flags = 0,
}. =&lk_regmap_gate_ops
;
staticstruct clk_regmap s4_sd_emmc_a_clk0 = {
.data = &(struct clk_regmap_gate_data){
offsetjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
}
}
t_data
= sd_emmc_a_clk0
.ops = &clk_regmap_gate_ops,
.parent_hws = (conststruct clk_hw *[]) flags,
&s4_sd_emmc_a_clk0_div.hw;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
.flags .. =& )java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
},
};