Searched refs:DIV_ROUND_CLOSEST_ULL (Results 1 – 2 of 2) sorted by relevance
227 return DIV_ROUND_CLOSEST_ULL((u64)state->duty_cycle * scale, in pwm_get_relative_duty_cycle()256 state->duty_cycle = DIV_ROUND_CLOSEST_ULL((u64)duty_cycle * in pwm_set_relative_duty_cycle()
157 #define DIV_ROUND_CLOSEST_ULL(x, divisor)( \ macro