set_resources_state
set_resources_state(hwdev, HINIC_RES_CLEAN);
err = set_resources_state(hwdev, HINIC_RES_ACTIVE);