Searched refs:socfpga_clk (Results 1 – 3 of 3) sorted by relevance
135 socfpga_clk = kzalloc(sizeof(*socfpga_clk), GFP_KERNEL); in s10_register_gate()136 if (!socfpga_clk) in s10_register_gate()150 socfpga_clk->div_reg = NULL; in s10_register_gate()158 socfpga_clk->bypass_reg = NULL; in s10_register_gate()175 hw_clk = &socfpga_clk->hw.hw; in s10_register_gate()179 kfree(socfpga_clk); in s10_register_gate()193 socfpga_clk = kzalloc(sizeof(*socfpga_clk), GFP_KERNEL); in agilex_register_gate()194 if (!socfpga_clk) in agilex_register_gate()208 socfpga_clk->div_reg = NULL; in agilex_register_gate()233 hw_clk = &socfpga_clk->hw.hw; in agilex_register_gate()[all …]
49 struct socfpga_gate_clk *socfpga_clk; in __socfpga_gate_init() local55 socfpga_clk = kzalloc(sizeof(*socfpga_clk), GFP_KERNEL); in __socfpga_gate_init()56 if (WARN_ON(!socfpga_clk)) 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()80 socfpga_clk->shift = div_reg[1]; in __socfpga_gate_init()81 socfpga_clk->width = div_reg[2]; in __socfpga_gate_init()83 socfpga_clk->div_reg = NULL; in __socfpga_gate_init()94 socfpga_clk->hw.hw.init = &init; in __socfpga_gate_init()95 hw_clk = &socfpga_clk->hw.hw; in __socfpga_gate_init()[all …]
131 socfpga_clk = kzalloc(sizeof(*socfpga_clk), GFP_KERNEL); in socfpga_gate_init()132 if (WARN_ON(!socfpga_clk)) in socfpga_gate_init()137 kfree(socfpga_clk); in socfpga_gate_init()155 socfpga_clk->fixed_div = 0; in socfpga_gate_init()157 socfpga_clk->fixed_div = fixed_div; in socfpga_gate_init()162 socfpga_clk->shift = div_reg[1]; in socfpga_gate_init()163 socfpga_clk->width = div_reg[2]; in socfpga_gate_init()165 socfpga_clk->div_reg = NULL; in socfpga_gate_init()181 socfpga_clk->hw.hw.init = &init; in socfpga_gate_init()183 hw_clk = &socfpga_clk->hw.hw; in socfpga_gate_init()[all …]
Completed in 5 milliseconds