Lines Matching defs:cs2000_priv
70 #define hw_to_priv(_hw) container_of(_hw, struct cs2000_priv, hw)
102 struct cs2000_priv {
130 static int cs2000_enable_dev_config(struct cs2000_priv *priv, bool enable)
152 static int cs2000_ref_clk_bound_rate(struct cs2000_priv *priv,
171 static int cs2000_wait_pll_lock(struct cs2000_priv *priv)
191 static int cs2000_clk_out_enable(struct cs2000_priv *priv, bool enable)
233 static int cs2000_ratio_set(struct cs2000_priv *priv,
255 static u32 cs2000_ratio_get(struct cs2000_priv *priv, int ch)
273 static int cs2000_ratio_select(struct cs2000_priv *priv, int ch)
299 struct cs2000_priv *priv = hw_to_priv(hw);
311 struct cs2000_priv *priv = hw_to_priv(hw);
319 static int cs2000_select_ratio_mode(struct cs2000_priv *priv,
340 static int __cs2000_set_rate(struct cs2000_priv *priv, int ch,
375 struct cs2000_priv *priv = hw_to_priv(hw);
381 static int cs2000_set_saved_rate(struct cs2000_priv *priv)
392 struct cs2000_priv *priv = hw_to_priv(hw);
412 struct cs2000_priv *priv = hw_to_priv(hw);
421 struct cs2000_priv *priv = hw_to_priv(hw);
439 static int cs2000_clk_get(struct cs2000_priv *priv)
460 static int cs2000_clk_register(struct cs2000_priv *priv)
529 static int cs2000_version_print(struct cs2000_priv *priv)
562 struct cs2000_priv *priv = i2c_get_clientdata(client);
573 struct cs2000_priv *priv;
610 struct cs2000_priv *priv = dev_get_drvdata(dev);