Home
last modified time | relevance | path

Searched refs:delay_between_poll_us (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_helper.c432 unsigned int delay_between_poll_us, unsigned int time_out_num_tries, in generic_reg_wait() argument
442 delay_between_poll_us * time_out_num_tries); in generic_reg_wait()
452 ASSERT(delay_between_poll_us * time_out_num_tries <= 3000000); in generic_reg_wait()
456 if (delay_between_poll_us >= 1000) in generic_reg_wait()
457 msleep(delay_between_poll_us/1000); in generic_reg_wait()
458 else if (delay_between_poll_us > 0) in generic_reg_wait()
459 udelay(delay_between_poll_us); in generic_reg_wait()
467 if (i * delay_between_poll_us > 1000) in generic_reg_wait()
469 delay_between_poll_us * i / 1000, in generic_reg_wait()
476 delay_between_poll_us, time_out_num_tries, in generic_reg_wait()
H A Ddm_services.h143 unsigned int delay_between_poll_us, unsigned int time_out_num_tries,
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dreg_helper.h218 #define REG_WAIT(reg_name, field, val, delay_between_poll_us, max_try) \ argument
221 delay_between_poll_us, max_try, __func__, __LINE__)