Lines Matching refs:freq
31 static int cx25840_set_audclk_freq(struct i2c_client *client, u32 freq) in cx25840_set_audclk_freq() argument
36 switch (freq) { in cx25840_set_audclk_freq()
150 switch (freq) { in cx25840_set_audclk_freq()
276 state->audclk_freq = freq; in cx25840_set_audclk_freq()
281 static inline int cx25836_set_audclk_freq(struct i2c_client *client, u32 freq) in cx25836_set_audclk_freq() argument
283 return cx25840_set_audclk_freq(client, freq); in cx25836_set_audclk_freq()
286 static int cx23885_set_audclk_freq(struct i2c_client *client, u32 freq) in cx23885_set_audclk_freq() argument
291 switch (freq) { in cx23885_set_audclk_freq()
301 switch (freq) { in cx23885_set_audclk_freq()
323 state->audclk_freq = freq; in cx23885_set_audclk_freq()
328 static int cx231xx_set_audclk_freq(struct i2c_client *client, u32 freq) in cx231xx_set_audclk_freq() argument
333 switch (freq) { in cx231xx_set_audclk_freq()
359 switch (freq) { in cx231xx_set_audclk_freq()
399 state->audclk_freq = freq; in cx231xx_set_audclk_freq()
404 static int set_audclk_freq(struct i2c_client *client, u32 freq) in set_audclk_freq() argument
408 if (freq != 32000 && freq != 44100 && freq != 48000) in set_audclk_freq()
412 return cx231xx_set_audclk_freq(client, freq); in set_audclk_freq()
415 return cx23885_set_audclk_freq(client, freq); in set_audclk_freq()
418 return cx25836_set_audclk_freq(client, freq); in set_audclk_freq()
420 return cx25840_set_audclk_freq(client, freq); in set_audclk_freq()
504 int cx25840_s_clock_freq(struct v4l2_subdev *sd, u32 freq) in cx25840_s_clock_freq() argument
516 retval = set_audclk_freq(client, freq); in cx25840_s_clock_freq()