Searched refs:socfpga_clk (Results 1 – 2 of 2) sorted by relevance
113 struct socfpga_gate_clk *socfpga_clk; in __socfpga_gate_init() local120 socfpga_clk = kzalloc(sizeof(*socfpga_clk), GFP_KERNEL); in __socfpga_gate_init()121 if (WARN_ON(!socfpga_clk)) in __socfpga_gate_init()129 socfpga_clk->hw.reg = clk_mgr_a10_base_addr + clk_gate[0]; in __socfpga_gate_init()130 socfpga_clk->hw.bit_idx = clk_gate[1]; in __socfpga_gate_init()138 socfpga_clk->fixed_div = 0; in __socfpga_gate_init()140 socfpga_clk->fixed_div = fixed_div; in __socfpga_gate_init()144 socfpga_clk->div_reg = clk_mgr_a10_base_addr + div_reg[0]; in __socfpga_gate_init()145 socfpga_clk->shift = div_reg[1]; in __socfpga_gate_init()146 socfpga_clk->width = div_reg[2]; in __socfpga_gate_init()[all …]
187 struct socfpga_gate_clk *socfpga_clk; in __socfpga_gate_init() local193 socfpga_clk = kzalloc(sizeof(*socfpga_clk), GFP_KERNEL); in __socfpga_gate_init()194 if (WARN_ON(!socfpga_clk)) in __socfpga_gate_init()202 socfpga_clk->hw.reg = clk_mgr_base_addr + clk_gate[0]; in __socfpga_gate_init()203 socfpga_clk->hw.bit_idx = clk_gate[1]; in __socfpga_gate_init()211 socfpga_clk->fixed_div = 0; in __socfpga_gate_init()213 socfpga_clk->fixed_div = fixed_div; in __socfpga_gate_init()217 socfpga_clk->div_reg = clk_mgr_base_addr + div_reg[0]; in __socfpga_gate_init()218 socfpga_clk->shift = div_reg[1]; in __socfpga_gate_init()219 socfpga_clk->width = div_reg[2]; in __socfpga_gate_init()[all …]