device: added api call to set dc offset corrections mode