Lines Matching refs:pfd
45 struct clk_pfd *pfd = in clk_pfd_recalc_rate() local
49 u8 frac = (readl(pfd->reg) >> (pfd->idx * 8)) & 0x3f; in clk_pfd_recalc_rate()
59 struct clk_pfd *pfd = to_clk_pfd(clk); in clk_pfd_set_rate() local
72 writel(0x3f << (pfd->idx * 8), pfd->reg + CLR); in clk_pfd_set_rate()
73 writel(frac << (pfd->idx * 8), pfd->reg + SET); in clk_pfd_set_rate()
86 struct clk_pfd *pfd; in imx_clk_pfd() local
90 pfd = kzalloc(sizeof(*pfd), GFP_KERNEL); in imx_clk_pfd()
91 if (!pfd) in imx_clk_pfd()
94 pfd->reg = reg; in imx_clk_pfd()
95 pfd->idx = idx; in imx_clk_pfd()
98 clk = &pfd->clk; in imx_clk_pfd()
102 kfree(pfd); in imx_clk_pfd()