Searched refs:current_ppm (Results 1 – 2 of 2) sorted by relevance
576 static s32 idt82p33_ddco_scaled_ppm(long current_ppm, s32 ddco_ppb) in idt82p33_ddco_scaled_ppm() argument581 current_ppm += scaled_ppm; in idt82p33_ddco_scaled_ppm()583 if (current_ppm > max_scaled_ppm) in idt82p33_ddco_scaled_ppm()584 current_ppm = max_scaled_ppm; in idt82p33_ddco_scaled_ppm()585 else if (current_ppm < -max_scaled_ppm) in idt82p33_ddco_scaled_ppm()586 current_ppm = -max_scaled_ppm; in idt82p33_ddco_scaled_ppm()588 return (s32)current_ppm; in idt82p33_ddco_scaled_ppm()606 s32 current_ppm = channel->current_freq; in idt82p33_start_ddco() local626 idt82p33_ddco_scaled_ppm(current_ppm, ppb)); in idt82p33_start_ddco()
1547 static s32 phase_pull_in_scaled_ppm(s32 current_ppm, s32 phase_pull_in_ppb) in phase_pull_in_scaled_ppm() argument1555 current_ppm += scaled_ppm; in phase_pull_in_scaled_ppm()1557 if (current_ppm > max_scaled_ppm) in phase_pull_in_scaled_ppm()1558 current_ppm = max_scaled_ppm; in phase_pull_in_scaled_ppm()1559 else if (current_ppm < -max_scaled_ppm) in phase_pull_in_scaled_ppm()1560 current_ppm = -max_scaled_ppm; in phase_pull_in_scaled_ppm()1562 return current_ppm; in phase_pull_in_scaled_ppm()1569 s32 current_ppm = channel->current_freq_scaled_ppm; in do_phase_pull_in_sw() local1592 delta_ppm = phase_pull_in_scaled_ppm(current_ppm, ppb); in do_phase_pull_in_sw()