Small fence/quiet inline optimization

Move lock implementation to comms layer to take advantage of progress
logic (original code from quadrics went straight to h/w interface)