Lines Matching full:layout
29 const struct clk_pcr_layout *layout; member
44 regmap_write(gck->regmap, gck->layout->offset, in clk_generated_set()
45 (gck->id & gck->layout->pid_mask)); in clk_generated_set()
46 regmap_update_bits(gck->regmap, gck->layout->offset, in clk_generated_set()
47 AT91_PMC_PCR_GCKDIV_MASK | gck->layout->gckcss_mask | in clk_generated_set()
48 gck->layout->cmd | enable, in clk_generated_set()
49 field_prep(gck->layout->gckcss_mask, gck->parent_id) | in clk_generated_set()
50 gck->layout->cmd | in clk_generated_set()
76 regmap_write(gck->regmap, gck->layout->offset, in clk_generated_disable()
77 (gck->id & gck->layout->pid_mask)); in clk_generated_disable()
78 regmap_update_bits(gck->regmap, gck->layout->offset, in clk_generated_disable()
79 gck->layout->cmd | AT91_PMC_PCR_GCKEN, in clk_generated_disable()
80 gck->layout->cmd); in clk_generated_disable()
91 regmap_write(gck->regmap, gck->layout->offset, in clk_generated_is_enabled()
92 (gck->id & gck->layout->pid_mask)); in clk_generated_is_enabled()
93 regmap_read(gck->regmap, gck->layout->offset, &status); in clk_generated_is_enabled()
309 regmap_write(gck->regmap, gck->layout->offset, in clk_generated_startup()
310 (gck->id & gck->layout->pid_mask)); in clk_generated_startup()
311 regmap_read(gck->regmap, gck->layout->offset, &tmp); in clk_generated_startup()
314 gck->parent_id = field_get(gck->layout->gckcss_mask, tmp); in clk_generated_startup()
320 const struct clk_pcr_layout *layout, in at91_clk_register_generated() argument
356 gck->layout = layout; in at91_clk_register_generated()