Lines Matching refs:aspeed_clk_data
42 static struct clk_hw_onecell_data *aspeed_clk_data; variable
431 aspeed_clk_data->hws[ASPEED_CLK_UART] = hw; in aspeed_clk_probe()
441 aspeed_clk_data->hws[ASPEED_CLK_MPLL] = hw; in aspeed_clk_probe()
455 aspeed_clk_data->hws[ASPEED_CLK_SDIO] = hw; in aspeed_clk_probe()
464 aspeed_clk_data->hws[ASPEED_CLK_MAC] = hw; in aspeed_clk_probe()
479 aspeed_clk_data->hws[ASPEED_CLK_MAC1RCLK] = hw; in aspeed_clk_probe()
487 aspeed_clk_data->hws[ASPEED_CLK_MAC2RCLK] = hw; in aspeed_clk_probe()
497 aspeed_clk_data->hws[ASPEED_CLK_LHCLK] = hw; in aspeed_clk_probe()
506 aspeed_clk_data->hws[ASPEED_CLK_BCLK] = hw; in aspeed_clk_probe()
513 aspeed_clk_data->hws[ASPEED_CLK_24M] = hw; in aspeed_clk_probe()
521 aspeed_clk_data->hws[ASPEED_CLK_ECLK_MUX] = hw; in aspeed_clk_probe()
529 aspeed_clk_data->hws[ASPEED_CLK_ECLK] = hw; in aspeed_clk_probe()
561 aspeed_clk_data->hws[i] = hw; in aspeed_clk_probe()
624 aspeed_clk_data->hws[ASPEED_CLK_HPLL] = hw; in aspeed_ast2400_cc()
641 aspeed_clk_data->hws[ASPEED_CLK_AHB] = hw; in aspeed_ast2400_cc()
648 aspeed_clk_data->hws[ASPEED_CLK_APB] = hw; in aspeed_ast2400_cc()
670 aspeed_clk_data->hws[ASPEED_CLK_HPLL] = aspeed_ast2500_calc_pll("hpll", val); in aspeed_ast2500_cc()
678 aspeed_clk_data->hws[ASPEED_CLK_AHB] = hw; in aspeed_ast2500_cc()
685 aspeed_clk_data->hws[ASPEED_CLK_APB] = hw; in aspeed_ast2500_cc()
699 aspeed_clk_data = kzalloc(struct_size(aspeed_clk_data, hws, in aspeed_cc_init()
702 if (!aspeed_clk_data) in aspeed_cc_init()
704 aspeed_clk_data->num = ASPEED_NUM_CLKS; in aspeed_cc_init()
711 aspeed_clk_data->hws[i] = ERR_PTR(-EPROBE_DEFER); in aspeed_cc_init()
736 ret = of_clk_add_hw_provider(np, of_clk_hw_onecell_get, aspeed_clk_data); in aspeed_cc_init()