Lines Matching full:layout

29 	const struct clk_pcr_layout *layout;  member
46 regmap_write(gck->regmap, gck->layout->offset, in clk_generated_enable()
47 (gck->id & gck->layout->pid_mask)); in clk_generated_enable()
48 regmap_update_bits(gck->regmap, gck->layout->offset, in clk_generated_enable()
49 AT91_PMC_PCR_GCKDIV_MASK | gck->layout->gckcss_mask | in clk_generated_enable()
50 gck->layout->cmd | AT91_PMC_PCR_GCKEN, in clk_generated_enable()
51 field_prep(gck->layout->gckcss_mask, gck->parent_id) | in clk_generated_enable()
52 gck->layout->cmd | in clk_generated_enable()
65 regmap_write(gck->regmap, gck->layout->offset, in clk_generated_disable()
66 (gck->id & gck->layout->pid_mask)); in clk_generated_disable()
67 regmap_update_bits(gck->regmap, gck->layout->offset, in clk_generated_disable()
68 gck->layout->cmd | AT91_PMC_PCR_GCKEN, in clk_generated_disable()
69 gck->layout->cmd); in clk_generated_disable()
80 regmap_write(gck->regmap, gck->layout->offset, in clk_generated_is_enabled()
81 (gck->id & gck->layout->pid_mask)); in clk_generated_is_enabled()
82 regmap_read(gck->regmap, gck->layout->offset, &status); in clk_generated_is_enabled()
268 regmap_write(gck->regmap, gck->layout->offset, in clk_generated_startup()
269 (gck->id & gck->layout->pid_mask)); in clk_generated_startup()
270 regmap_read(gck->regmap, gck->layout->offset, &tmp); in clk_generated_startup()
273 gck->parent_id = field_get(gck->layout->gckcss_mask, tmp); in clk_generated_startup()
279 const struct clk_pcr_layout *layout, in at91_clk_register_generated() argument
308 gck->layout = layout; in at91_clk_register_generated()