Lines Matching refs:clkout
59 struct s3c24xx_clkout *clkout = to_s3c24xx_clkout(hw);
63 val = clkout->modify_misccr(0, 0) >> clkout->shift;
64 val >>= clkout->shift;
65 val &= clkout->mask;
75 struct s3c24xx_clkout *clkout = to_s3c24xx_clkout(hw);
77 clkout->modify_misccr((clkout->mask << clkout->shift),
78 (index << clkout->shift));
94 struct s3c24xx_clkout *clkout;
101 /* allocate the clkout */
102 clkout = kzalloc(sizeof(*clkout), GFP_KERNEL);
103 if (!clkout)
112 clkout->shift = shift;
113 clkout->mask = mask;
114 clkout->hw.init = &init;
115 clkout->modify_misccr = pdata->modify_misccr;
117 ret = clk_hw_register(dev, &clkout->hw);
121 return &clkout->hw;
125 * dclk and clkout init