hermon_device_mode
state->hs_operational_mode = hermon_device_mode(state);
if (hermon_device_mode(state)) {
int hermon_device_mode(hermon_state_t *state);