Bug fix: flx_get_encoding() must take into account E-link direction...
Bug fix: flx_get_encoding() must take into account E-link direction FromHost/ToHost, i.e. parameter 'is_to_flx', and read the mode from the corresponding register
Closes FLX-2224