Home
last modified time | relevance | path

Searched refs:socfpga_clk (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/drivers/clk/socfpga/
H A Dclk-gate-s10.c130 struct socfpga_gate_clk *socfpga_clk; in s10_register_gate() local
135 socfpga_clk = kzalloc(sizeof(*socfpga_clk), GFP_KERNEL); in s10_register_gate()
136 if (!socfpga_clk) in s10_register_gate()
139 socfpga_clk->hw.reg = regbase + clks->gate_reg; in s10_register_gate()
140 socfpga_clk->hw.bit_idx = clks->gate_idx; in s10_register_gate()
145 socfpga_clk->fixed_div = clks->fixed_div; in s10_register_gate()
148 socfpga_clk->div_reg = regbase + clks->div_reg; in s10_register_gate()
150 socfpga_clk->div_reg = NULL; in s10_register_gate()
152 socfpga_clk in s10_register_gate()
188 struct socfpga_gate_clk *socfpga_clk; agilex_register_gate() local
[all...]
H A Dclk-gate-a10.c49 struct socfpga_gate_clk *socfpga_clk; in __socfpga_gate_init() local
55 socfpga_clk = kzalloc(sizeof(*socfpga_clk), GFP_KERNEL); in __socfpga_gate_init()
56 if (WARN_ON(!socfpga_clk)) in __socfpga_gate_init()
64 socfpga_clk->hw.reg = clk_mgr_a10_base_addr + clk_gate[0]; in __socfpga_gate_init()
65 socfpga_clk->hw.bit_idx = clk_gate[1]; in __socfpga_gate_init()
73 socfpga_clk->fixed_div = 0; in __socfpga_gate_init()
75 socfpga_clk->fixed_div = fixed_div; in __socfpga_gate_init()
79 socfpga_clk->div_reg = clk_mgr_a10_base_addr + div_reg[0]; in __socfpga_gate_init()
80 socfpga_clk in __socfpga_gate_init()
[all...]
H A Dclk-gate.c143 struct socfpga_gate_clk *socfpga_clk; in socfpga_gate_init() local
150 socfpga_clk = kzalloc(sizeof(*socfpga_clk), GFP_KERNEL); in socfpga_gate_init()
151 if (WARN_ON(!socfpga_clk)) in socfpga_gate_init()
163 socfpga_clk->hw.reg = clk_mgr_base_addr + clk_gate[0]; in socfpga_gate_init()
164 socfpga_clk->hw.bit_idx = clk_gate[1]; in socfpga_gate_init()
172 socfpga_clk->fixed_div = 0; in socfpga_gate_init()
174 socfpga_clk->fixed_div = fixed_div; in socfpga_gate_init()
178 socfpga_clk->div_reg = clk_mgr_base_addr + div_reg[0]; in socfpga_gate_init()
179 socfpga_clk in socfpga_gate_init()
[all...]
/kernel/linux/linux-5.10/drivers/clk/socfpga/
H A Dclk-gate-a10.c102 struct socfpga_gate_clk *socfpga_clk; in __socfpga_gate_init() local
108 socfpga_clk = kzalloc(sizeof(*socfpga_clk), GFP_KERNEL); in __socfpga_gate_init()
109 if (WARN_ON(!socfpga_clk)) in __socfpga_gate_init()
117 socfpga_clk->hw.reg = clk_mgr_a10_base_addr + clk_gate[0]; in __socfpga_gate_init()
118 socfpga_clk->hw.bit_idx = clk_gate[1]; in __socfpga_gate_init()
126 socfpga_clk->fixed_div = 0; in __socfpga_gate_init()
128 socfpga_clk->fixed_div = fixed_div; in __socfpga_gate_init()
132 socfpga_clk->div_reg = clk_mgr_a10_base_addr + div_reg[0]; in __socfpga_gate_init()
133 socfpga_clk in __socfpga_gate_init()
[all...]
H A Dclk-gate-s10.c71 struct socfpga_gate_clk *socfpga_clk; in s10_register_gate() local
75 socfpga_clk = kzalloc(sizeof(*socfpga_clk), GFP_KERNEL); in s10_register_gate()
76 if (!socfpga_clk) in s10_register_gate()
79 socfpga_clk->hw.reg = regbase + clks->gate_reg; in s10_register_gate()
80 socfpga_clk->hw.bit_idx = clks->gate_idx; in s10_register_gate()
85 socfpga_clk->fixed_div = clks->fixed_div; in s10_register_gate()
88 socfpga_clk->div_reg = regbase + clks->div_reg; in s10_register_gate()
90 socfpga_clk->div_reg = NULL; in s10_register_gate()
92 socfpga_clk in s10_register_gate()
[all...]
H A Dclk-gate.c178 struct socfpga_gate_clk *socfpga_clk; in socfpga_gate_init() local
186 socfpga_clk = kzalloc(sizeof(*socfpga_clk), GFP_KERNEL); in socfpga_gate_init()
187 if (WARN_ON(!socfpga_clk)) in socfpga_gate_init()
192 kfree(socfpga_clk); in socfpga_gate_init()
201 socfpga_clk->hw.reg = clk_mgr_base_addr + clk_gate[0]; in socfpga_gate_init()
202 socfpga_clk->hw.bit_idx = clk_gate[1]; in socfpga_gate_init()
210 socfpga_clk->fixed_div = 0; in socfpga_gate_init()
212 socfpga_clk->fixed_div = fixed_div; in socfpga_gate_init()
216 socfpga_clk in socfpga_gate_init()
[all...]

Completed in 3 milliseconds