Lines Matching refs:rpcd2
185 struct rpcd2_clock *rpcd2; in cpg_rpcd2_clk_register() local
188 rpcd2 = kzalloc(sizeof(*rpcd2), GFP_KERNEL); in cpg_rpcd2_clk_register()
189 if (!rpcd2) in cpg_rpcd2_clk_register()
192 rpcd2->fixed.mult = 1; in cpg_rpcd2_clk_register()
193 rpcd2->fixed.div = 2; in cpg_rpcd2_clk_register()
195 rpcd2->gate.reg = rpcckcr; in cpg_rpcd2_clk_register()
196 rpcd2->gate.bit_idx = 9; in cpg_rpcd2_clk_register()
197 rpcd2->gate.flags = CLK_GATE_SET_TO_DISABLE; in cpg_rpcd2_clk_register()
198 rpcd2->gate.lock = &cpg_lock; in cpg_rpcd2_clk_register()
201 &rpcd2->fixed.hw, &clk_fixed_factor_ops, in cpg_rpcd2_clk_register()
202 &rpcd2->gate.hw, &clk_gate_ops, in cpg_rpcd2_clk_register()
205 kfree(rpcd2); in cpg_rpcd2_clk_register()