Searched refs:freq_cw (Results 1 – 2 of 2) sorted by relevance
590 u32 if_frequency, freq_cw; in af9013_set_frontend() local639 freq_cw = af9013_div(state, sampling_freq, state->config.clock, in af9013_set_frontend()643 freq_cw = 0x800000 - freq_cw; in af9013_set_frontend()645 buf[0] = (freq_cw >> 0) & 0xff; in af9013_set_frontend()646 buf[1] = (freq_cw >> 8) & 0xff; in af9013_set_frontend()647 buf[2] = (freq_cw >> 16) & 0x7f; in af9013_set_frontend()649 freq_cw = 0x800000 - freq_cw; in af9013_set_frontend()651 buf[3] = (freq_cw >> 0) & 0xff; in af9013_set_frontend()652 buf[4] = (freq_cw >> 8) & 0xff; in af9013_set_frontend()653 buf[5] = (freq_cw >> 16) & 0x7f; in af9013_set_frontend()
555 u32 if_frequency, freq_cw, adc_freq; in af9033_set_frontend() local634 freq_cw = af9033_div(dev, sampling_freq, adc_freq, 23ul); in af9033_set_frontend()637 freq_cw = 0x800000 - freq_cw; in af9033_set_frontend()640 freq_cw /= 2; in af9033_set_frontend()642 buf[0] = (freq_cw >> 0) & 0xff; in af9033_set_frontend()643 buf[1] = (freq_cw >> 8) & 0xff; in af9033_set_frontend()644 buf[2] = (freq_cw >> 16) & 0x7f; in af9033_set_frontend()