changed XIo_In/Out functions to __always_inline