Lines Matching refs:pxa_clk
47 struct pxa_clk { struct
55 #define to_pxa_clk(_hw) container_of(_hw, struct pxa_clk, hw) argument
60 struct pxa_clk *pclk = to_pxa_clk(hw); in cken_recalc_rate()
77 struct pxa_clk *pclk = to_pxa_clk(hw); in cken_get_parent()
102 struct pxa_clk *pxa_clk; in clk_pxa_cken_init() local
106 pxa_clk = kzalloc(sizeof(*pxa_clk), GFP_KERNEL); in clk_pxa_cken_init()
107 if (!pxa_clk) in clk_pxa_cken_init()
109 pxa_clk->is_in_low_power = clks[i].is_in_low_power; in clk_pxa_cken_init()
110 pxa_clk->lp = clks[i].lp; in clk_pxa_cken_init()
111 pxa_clk->hp = clks[i].hp; in clk_pxa_cken_init()
112 pxa_clk->gate = clks[i].gate; in clk_pxa_cken_init()
113 pxa_clk->gate.reg = clk_regs + clks[i].cken_reg; in clk_pxa_cken_init()
114 pxa_clk->gate.lock = &pxa_clk_lock; in clk_pxa_cken_init()
117 &pxa_clk->hw, &cken_mux_ops, in clk_pxa_cken_init()
118 &pxa_clk->hw, &cken_rate_ops, in clk_pxa_cken_init()
119 &pxa_clk->gate.hw, &clk_gate_ops, in clk_pxa_cken_init()