Searched refs:freq_cw (Results 1 – 1 of 1) sorted by relevance
123 u32 if_frequency, freq_cw; in af9013_set_frontend() local182 freq_cw = DIV_ROUND_CLOSEST_ULL((u64)sampling_freq * 0x800000, in af9013_set_frontend()186 freq_cw = 0x800000 - freq_cw; in af9013_set_frontend()188 buf[0] = (freq_cw >> 0) & 0xff; in af9013_set_frontend()189 buf[1] = (freq_cw >> 8) & 0xff; in af9013_set_frontend()190 buf[2] = (freq_cw >> 16) & 0x7f; in af9013_set_frontend()192 freq_cw = 0x800000 - freq_cw; in af9013_set_frontend()194 buf[3] = (freq_cw >> 0) & 0xff; in af9013_set_frontend()195 buf[4] = (freq_cw >> 8) & 0xff; in af9013_set_frontend()196 buf[5] = (freq_cw >> 16) & 0x7f; in af9013_set_frontend()