port linux ioport functions