Lines Matching refs:rval
53 int rval = 1; in qla4xxx_is_intr_poll_mode() local
58 rval = 0; in qla4xxx_is_intr_poll_mode()
64 rval = 0; in qla4xxx_is_intr_poll_mode()
67 return rval; in qla4xxx_is_intr_poll_mode()
1577 int rval = QLA_ERROR; in qla4xxx_get_chap() local
1600 rval = qla4xxx_get_flash(ha, chap_dma, offset, chap_size); in qla4xxx_get_chap()
1601 if (rval != QLA_SUCCESS) { in qla4xxx_get_chap()
1639 int rval = QLA_ERROR; in qla4xxx_set_chap() local
1673 rval = qla4xxx_set_flash(ha, chap_dma, offset, in qla4xxx_set_chap()
1677 if (rval == QLA_SUCCESS && ha->chap_list) { in qla4xxx_set_chap()
1683 if (rval != QLA_SUCCESS) in qla4xxx_set_chap()
1694 int rval = QLA_ERROR; in qla4xxx_get_uni_chap_at_index() local
1700 rval = QLA_ERROR; in qla4xxx_get_uni_chap_at_index()
1706 rval = QLA_ERROR; in qla4xxx_get_uni_chap_at_index()
1718 rval = QLA_ERROR; in qla4xxx_get_uni_chap_at_index()
1725 rval = QLA_ERROR; in qla4xxx_get_uni_chap_at_index()
1731 rval = QLA_ERROR; in qla4xxx_get_uni_chap_at_index()
1738 rval = QLA_SUCCESS; in qla4xxx_get_uni_chap_at_index()
1743 return rval; in qla4xxx_get_uni_chap_at_index()
1761 int i, rval; in qla4xxx_get_chap_index() local
1813 rval = qla4xxx_set_chap(ha, username, password, in qla4xxx_get_chap_index()
1815 if (!rval) { in qla4xxx_get_chap_index()
1990 int rval = 0; in qla4xxx_set_param_ddbentry() local
2004 rval = -ENOMEM; in qla4xxx_set_param_ddbentry()
2018 rval = -EINVAL; in qla4xxx_set_param_ddbentry()
2066 rval = -EINVAL; in qla4xxx_set_param_ddbentry()
2075 rval = qla4xxx_get_chap_index(ha, sess->username, in qla4xxx_set_param_ddbentry()
2078 if (rval) in qla4xxx_set_param_ddbentry()
2090 rval = qla4xxx_get_chap_index(ha, sess->username_in, in qla4xxx_set_param_ddbentry()
2093 if (rval) in qla4xxx_set_param_ddbentry()
2133 rval = -EINVAL; in qla4xxx_set_param_ddbentry()
2138 return rval; in qla4xxx_set_param_ddbentry()
2341 int rval = QLA_SUCCESS; in qla4_84xx_config_acb() local
2349 rval = QLA_ERROR; in qla4_84xx_config_acb()
2356 rval = qla4xxx_get_acb(ha, acb_dma, 0, acb_len); in qla4_84xx_config_acb()
2357 if (rval != QLA_SUCCESS) in qla4_84xx_config_acb()
2360 rval = qla4xxx_disable_acb(ha); in qla4_84xx_config_acb()
2361 if (rval != QLA_SUCCESS) in qla4_84xx_config_acb()
2370 rval = QLA_ERROR; in qla4_84xx_config_acb()
2380 rval = QLA_ERROR; in qla4_84xx_config_acb()
2386 rval = qla4xxx_set_acb(ha, &mbox_cmd[0], &mbox_sts[0], acb_dma); in qla4_84xx_config_acb()
2387 if (rval != QLA_SUCCESS) in qla4_84xx_config_acb()
2406 rval == QLA_SUCCESS ? "SUCCEEDED" : "FAILED")); in qla4_84xx_config_acb()
2407 return rval; in qla4_84xx_config_acb()