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