Lines Matching refs:clps711x_clk

40 struct clps711x_clk {  struct
48 struct clps711x_clk *clps711x_clk; in clps711x_clk_init_dt() argument
56 clps711x_clk = kzalloc(struct_size(clps711x_clk, clk_data.hws, in clps711x_clk_init_dt()
59 BUG_ON(!clps711x_clk); in clps711x_clk_init_dt()
61 spin_lock_init(&clps711x_clk->lock); in clps711x_clk_init_dt()
108 clps711x_clk->clk_data.hws[CLPS711X_CLK_DUMMY] = in clps711x_clk_init_dt()
110 clps711x_clk->clk_data.hws[CLPS711X_CLK_CPU] = in clps711x_clk_init_dt()
112 clps711x_clk->clk_data.hws[CLPS711X_CLK_BUS] = in clps711x_clk_init_dt()
114 clps711x_clk->clk_data.hws[CLPS711X_CLK_PLL] = in clps711x_clk_init_dt()
116 clps711x_clk->clk_data.hws[CLPS711X_CLK_TIMERREF] = in clps711x_clk_init_dt()
118 clps711x_clk->clk_data.hws[CLPS711X_CLK_TIMER1] = in clps711x_clk_init_dt()
121 timer_div_table, &clps711x_clk->lock); in clps711x_clk_init_dt()
122 clps711x_clk->clk_data.hws[CLPS711X_CLK_TIMER2] = in clps711x_clk_init_dt()
125 timer_div_table, &clps711x_clk->lock); in clps711x_clk_init_dt()
126 clps711x_clk->clk_data.hws[CLPS711X_CLK_PWM] = in clps711x_clk_init_dt()
128 clps711x_clk->clk_data.hws[CLPS711X_CLK_SPIREF] = in clps711x_clk_init_dt()
130 clps711x_clk->clk_data.hws[CLPS711X_CLK_SPI] = in clps711x_clk_init_dt()
133 spi_div_table, &clps711x_clk->lock); in clps711x_clk_init_dt()
134 clps711x_clk->clk_data.hws[CLPS711X_CLK_UART] = in clps711x_clk_init_dt()
136 clps711x_clk->clk_data.hws[CLPS711X_CLK_TICK] = in clps711x_clk_init_dt()
139 if (IS_ERR(clps711x_clk->clk_data.hws[tmp])) in clps711x_clk_init_dt()
141 tmp, PTR_ERR(clps711x_clk->clk_data.hws[tmp])); in clps711x_clk_init_dt()
143 clps711x_clk->clk_data.num = CLPS711X_CLK_MAX; in clps711x_clk_init_dt()
145 &clps711x_clk->clk_data); in clps711x_clk_init_dt()