Lines Matching defs:hw
32 struct clk_hw hw;
37 #define to_clk_oxnas_pllb(_hw) container_of(_hw, struct clk_oxnas_pllb, hw)
39 static unsigned long plla_clk_recalc_rate(struct clk_hw *hw,
78 static int pllb_clk_is_prepared(struct clk_hw *hw)
80 struct clk_oxnas_pllb *pllb = to_clk_oxnas_pllb(hw);
85 static int pllb_clk_prepare(struct clk_hw *hw)
87 struct clk_oxnas_pllb *pllb = to_clk_oxnas_pllb(hw);
94 static void pllb_clk_unprepare(struct clk_hw *hw)
96 struct clk_oxnas_pllb *pllb = to_clk_oxnas_pllb(hw);
104 static int pllb_clk_enable(struct clk_hw *hw)
106 struct clk_oxnas_pllb *pllb = to_clk_oxnas_pllb(hw);
126 static void pllb_clk_disable(struct clk_hw *hw)
128 struct clk_oxnas_pllb *pllb = to_clk_oxnas_pllb(hw);
158 struct clk_hw hw;
163 #define to_stdclk(_hw) container_of(_hw, struct clk_std, hw)
165 static int std_clk_is_enabled(struct clk_hw *hw)
167 struct clk_std *std = to_stdclk(hw);
172 static int std_clk_enable(struct clk_hw *hw)
174 struct clk_std *std = to_stdclk(hw);
180 static void std_clk_disable(struct clk_hw *hw)
182 struct clk_std *std = to_stdclk(hw);
211 .hw = { \
235 &clk_leon.hw,
236 &clk_dma_sgdma.hw,
237 &clk_cipher.hw,
238 &clk_sd.hw,
239 &clk_sata.hw,
240 &clk_audio.hw,
241 &clk_usbmph.hw,
242 &clk_etha.hw,
243 &clk_pciea.hw,
244 &clk_static.hw,
245 &clk_ethb.hw,
246 &clk_pcieb.hw,
247 &clk_ref600.hw,
248 &clk_usbdev.hw,
289 pllb->hw.init = &clk_pllb_init;
293 clk = clk_register(NULL, &pllb->hw);