Searched refs:remaining_ns (Results 1 – 1 of 1) sorted by relevance
114 s64 remaining_ns; in mchp_core_pwm_wait_for_sync_update() local117 remaining_ns = ktime_to_ns(ktime_sub(mchp_core_pwm->update_timestamp, in mchp_core_pwm_wait_for_sync_update()125 if (remaining_ns <= 0) in mchp_core_pwm_wait_for_sync_update()128 delay_us = DIV_ROUND_UP_ULL(remaining_ns, NSEC_PER_USEC); in mchp_core_pwm_wait_for_sync_update()