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