wait_for_ready
if (wait_for_ready(chp, ATA_DELAY) < 0)
status = wait_for_ready(hdcp, event_ctx, input);