Lines Matching refs:cs2000_priv
66 #define hw_to_priv(_hw) container_of(_hw, struct cs2000_priv, hw)
74 struct cs2000_priv { struct
102 static int cs2000_bset(struct cs2000_priv *priv, u8 addr, u8 mask, u8 val) in cs2000_bset() argument
116 static int cs2000_enable_dev_config(struct cs2000_priv *priv, bool enable) in cs2000_enable_dev_config()
144 static int cs2000_clk_in_bound_rate(struct cs2000_priv *priv, in cs2000_clk_in_bound_rate()
163 static int cs2000_wait_pll_lock(struct cs2000_priv *priv) in cs2000_wait_pll_lock()
183 static int cs2000_clk_out_enable(struct cs2000_priv *priv, bool enable) in cs2000_clk_out_enable()
223 static int cs2000_ratio_set(struct cs2000_priv *priv, in cs2000_ratio_set()
245 static u32 cs2000_ratio_get(struct cs2000_priv *priv, int ch) in cs2000_ratio_get()
263 static int cs2000_ratio_select(struct cs2000_priv *priv, int ch) in cs2000_ratio_select()
291 struct cs2000_priv *priv = hw_to_priv(hw); in cs2000_recalc_rate()
310 static int __cs2000_set_rate(struct cs2000_priv *priv, int ch, in __cs2000_set_rate()
337 struct cs2000_priv *priv = hw_to_priv(hw); in cs2000_set_rate()
343 static int cs2000_set_saved_rate(struct cs2000_priv *priv) in cs2000_set_saved_rate()
354 struct cs2000_priv *priv = hw_to_priv(hw); in cs2000_enable()
374 struct cs2000_priv *priv = hw_to_priv(hw); in cs2000_disable()
396 static int cs2000_clk_get(struct cs2000_priv *priv) in cs2000_clk_get()
417 static int cs2000_clk_register(struct cs2000_priv *priv) in cs2000_clk_register()
464 static int cs2000_version_print(struct cs2000_priv *priv) in cs2000_version_print()
496 struct cs2000_priv *priv = i2c_get_clientdata(client); in cs2000_remove()
510 struct cs2000_priv *priv; in cs2000_probe()
543 struct cs2000_priv *priv = dev_get_drvdata(dev); in cs2000_resume()