Searched refs:socfpga_clk (Results 1 – 9 of 9) sorted by relevance
108 socfpga_clk = kzalloc(sizeof(*socfpga_clk), GFP_KERNEL); in __socfpga_gate_init()109 if (WARN_ON(!socfpga_clk)) in __socfpga_gate_init()126 socfpga_clk->fixed_div = 0; in __socfpga_gate_init()133 socfpga_clk->shift = div_reg[1]; in __socfpga_gate_init()134 socfpga_clk->width = div_reg[2]; in __socfpga_gate_init()136 socfpga_clk->div_reg = NULL; in __socfpga_gate_init()144 socfpga_clk->sys_mgr_base_addr = in __socfpga_gate_init()149 kfree(socfpga_clk); in __socfpga_gate_init()162 socfpga_clk->hw.hw.init = &init; in __socfpga_gate_init()163 hw_clk = &socfpga_clk->hw.hw; in __socfpga_gate_init()[all …]
71 struct socfpga_gate_clk *socfpga_clk; in s10_register_gate() local76 socfpga_clk = kzalloc(sizeof(*socfpga_clk), GFP_KERNEL); in s10_register_gate()77 if (!socfpga_clk) in s10_register_gate()81 socfpga_clk->hw.bit_idx = clks->gate_idx; in s10_register_gate()91 socfpga_clk->div_reg = NULL; in s10_register_gate()93 socfpga_clk->width = clks->div_width; in s10_register_gate()94 socfpga_clk->shift = clks->div_offset; in s10_register_gate()99 socfpga_clk->bypass_reg = NULL; in s10_register_gate()114 socfpga_clk->hw.hw.init = &init; in s10_register_gate()116 hw_clk = &socfpga_clk->hw.hw; in s10_register_gate()[all …]
178 struct socfpga_gate_clk *socfpga_clk; in socfpga_gate_init() local186 socfpga_clk = kzalloc(sizeof(*socfpga_clk), GFP_KERNEL); in socfpga_gate_init()187 if (WARN_ON(!socfpga_clk)) in socfpga_gate_init()208 socfpga_clk->fixed_div = 0; in socfpga_gate_init()210 socfpga_clk->fixed_div = fixed_div; in socfpga_gate_init()215 socfpga_clk->shift = div_reg[1]; in socfpga_gate_init()216 socfpga_clk->width = div_reg[2]; in socfpga_gate_init()218 socfpga_clk->div_reg = NULL; in socfpga_gate_init()240 socfpga_clk->hw.hw.init = &init; in socfpga_gate_init()242 hw_clk = &socfpga_clk->hw.hw; in socfpga_gate_init()[all …]