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