Lines Matching refs:lpc32xx_clk
307 struct lpc32xx_clk { struct
371 #define to_lpc32xx_clk(_hw) container_of(_hw, struct lpc32xx_clk, hw)
395 struct lpc32xx_clk *clk = to_lpc32xx_clk(hw); in clk_mask_enable()
409 struct lpc32xx_clk *clk = to_lpc32xx_clk(hw); in clk_mask_disable()
417 struct lpc32xx_clk *clk = to_lpc32xx_clk(hw); in clk_mask_is_enabled()
720 struct lpc32xx_clk *clk = to_lpc32xx_clk(hw); in clk_ddram_is_enabled()
732 struct lpc32xx_clk *clk = to_lpc32xx_clk(hw); in clk_ddram_enable()
753 struct lpc32xx_clk *clk = to_lpc32xx_clk(hw); in clk_ddram_recalc_rate()
775 struct lpc32xx_clk *clk = to_lpc32xx_clk(hw); in lpc32xx_clk_uart_recalc_rate()
1064 struct lpc32xx_clk clk;
1390 const struct clk_proto_t *lpc32xx_clk = &clk_proto[id]; in lpc32xx_clk_register() local
1396 for (i = 0; i < lpc32xx_clk->num_parents; i++) in lpc32xx_clk_register()
1397 parents[i] = clk_proto[lpc32xx_clk->parents[i]].name; in lpc32xx_clk_register()
1399 pr_debug("%s: derived from '%s', clock type %d\n", lpc32xx_clk->name, in lpc32xx_clk_register()
1411 .name = lpc32xx_clk->name, in lpc32xx_clk_register()
1413 .num_parents = lpc32xx_clk->num_parents, in lpc32xx_clk_register()
1414 .flags = lpc32xx_clk->flags, in lpc32xx_clk_register()
1460 clk = clk_register_composite(NULL, lpc32xx_clk->name, in lpc32xx_clk_register()
1461 parents, lpc32xx_clk->num_parents, in lpc32xx_clk_register()
1463 gate_hw, gops, lpc32xx_clk->flags); in lpc32xx_clk_register()
1470 clk = clk_register_fixed_rate(NULL, lpc32xx_clk->name, in lpc32xx_clk_register()
1570 CLK_OF_DECLARE(lpc32xx_clk, "nxp,lpc3220-clk", lpc32xx_clk_init);