ocs_hw_get
ocs_hw_get(&ocs->hw, OCS_HW_DUMP_READY, &dump_ready);
ocs_hw_get(&ocs->hw, OCS_HW_RESET_REQUIRED, &reset_required);
ocs_hw_get(&ocs->hw, OCS_HW_DUMP_READY, &dump_ready);
extern ocs_hw_rtn_e ocs_hw_get(ocs_hw_t *, ocs_hw_property_e, uint32_t *);
ocs_hw_get(hw, OCS_HW_MAX_RQ_ENTRIES, &max_hw_rq);
ocs_hw_get(hw, OCS_HW_MAX_RQ_ENTRIES, &max_hw_rq);
ocs_hw_get(&ocs->hw, OCS_HW_SLI_REV, &rev);
ocs_hw_get(&ocs->hw, OCS_HW_IF_TYPE, &if_type);
ocs_hw_get(&ocs->hw, OCS_HW_SLI_FAMILY, &family);
ocs_hw_get(&ocs->hw, OCS_HW_TOPOLOGY, &value);
ocs_hw_get(&ocs->hw, OCS_HW_LINK_SPEED, &value);
ocs_hw_get(&ocs->hw, OCS_HW_CONFIG_TOPOLOGY, &old_value);
ocs_hw_get(&ocs->hw, OCS_HW_LINK_CONFIG_SPEED, &old_value);
ocs_hw_get(&(ocs->hw), OCS_HW_LINK_SPEED, &value);
ocs_hw_get(&(ocs->hw), OCS_HW_LINK_CONFIG_SPEED, &value);
ocs_hw_get(&(ocs->hw), OCS_HW_TOPOLOGY, &value);
ocs_hw_get(&(ocs->hw), OCS_HW_CONFIG_TOPOLOGY, &value);
ocs_hw_get(&ocs->hw, OCS_HW_LINKCFG, &value);
ocs_hw_get(&ocs->hw, OCS_HW_HW_REV1, &value);
ocs_hw_get(&ocs->hw, OCS_HW_HW_REV2, &value);
ocs_hw_get(&ocs->hw, OCS_HW_HW_REV3, &value);
rc = ocs_hw_get(&ocs->hw, OCS_HW_SEND_FRAME_CAPABLE, &send_frame_capable);
if (0 == ocs_hw_get(&ocs->hw, OCS_HW_MAX_SGE, &max_sge) &&
0 == ocs_hw_get(&ocs->hw, OCS_HW_N_SGL, &num_sgl)) {
ocs_hw_get(&ocs->hw, OCS_HW_N_SGL, &max_sgl);
ocs_hw_get(&ocs->hw, OCS_HW_MAX_SGE, &max_sge);
ocs_hw_get(&ocs->hw, OCS_HW_N_SGL, &max_sgl);
ocs_hw_get(&ocs->hw, OCS_HW_SGL_CHAINING_HOST_ALLOCATED, &host_allocated);
ocs_hw_get(&io->ocs->hw, OCS_HW_DISABLE_AR_TGT_DIF, &disable_ar_tgt_dif);
if (0 == ocs_hw_get(&ocs->hw, OCS_HW_MAX_SGE, &val)) {
if (0 == ocs_hw_get(&ocs->hw, OCS_HW_N_SGL, &val)) {
if (0 == ocs_hw_get(&ocs->hw, OCS_HW_DIF_CAPABLE, &val)) {
if (ocs_hw_get(&ocs->hw, OCS_HW_DIF_MULTI_SEPARATE, &val) == 0) {
if (ocs_hw_get(&ocs->hw, OCS_HW_SEND_FRAME_CAPABLE, &val) == 0) {
if (ocs_hw_get(&ocs->hw, OCS_HW_VPD_LEN, &vpd_len)) {
if (ocs_hw_get(&ocs->hw, OCS_HW_VPD_LEN, &vpd_len)) {
ocs_hw_get(&ocs->hw, OCS_HW_DIF_SEED, &dif_seed);
rc = ocs_hw_get(&ocs->hw, OCS_HW_SEND_FRAME_CAPABLE, &send_frame_capable);
rc = ocs_hw_get(&ocs->hw, OCS_HW_SEND_FRAME_CAPABLE, &send_frame_capable);
rc = ocs_hw_get(&ocs->hw, OCS_HW_LINK_MODULE_TYPE, &link_module_type);
ocs_hw_get(&ocs->hw, OCS_HW_RQ_SELECTION_POLICY, &value);
ocs_hw_get(&ocs->hw, OCS_HW_MAX_SGL, &max_sgl);
ocs_hw_get(&ocs->hw, OCS_HW_MAX_NODES, &max_remote_nodes);
ocs_hw_get(&ocs->hw, OCS_HW_AUTO_XFER_RDY_CAPABLE, &auto_xfer_rdy);
ocs_hw_get(&ocs->hw, OCS_HW_MAX_IO, &max_hw_io);
ocs_hw_get(&ocs->hw, OCS_HW_MAX_SGL, &max_sgl);
ocs_hw_get(&ocs->hw, OCS_HW_HIGH_LOGIN_MODE, &hlm);
ocs_hw_get(&ocs->hw, OCS_HW_MAX_IO, &max_hw_io);
ocs_hw_get(&ocs->hw, OCS_HW_PREREGISTER_SGL, &i);
if (0 == ocs_hw_get(&ocs->hw, OCS_HW_DIF_CAPABLE, &dif_capable)) {
ocs_hw_get(&ocs->hw, OCS_HW_MAX_VPORTS, &max_vports);
if (ocs_hw_get(&ocs->hw, OCS_HW_RESET_REQUIRED, &reset_required) != OCS_HW_RTN_SUCCESS) {
hw_rc = ocs_hw_get(&(ocs->hw), OCS_HW_LINK_SPEED, &value.value);
rc = ocs_hw_get(&ocs->hw, OCS_HW_LINK_SPEED, &speed);