/drivers/net/ethernet/sfc/ |
D | ef10_sriov.c | 565 int rc = 0, rc2 = 0; in efx_ef10_sriov_set_vf_vlan() local 630 rc2 = efx_ef10_vport_add_mac(efx, vf->vport_id, vf->mac); in efx_ef10_sriov_set_vf_vlan() 631 if (rc2) { in efx_ef10_sriov_set_vf_vlan() 638 rc2 = efx_ef10_evb_port_assign(efx, vf->vport_id, vf_i); in efx_ef10_sriov_set_vf_vlan() 639 if (rc2) in efx_ef10_sriov_set_vf_vlan() 646 rc2 = efx_ef10_vadaptor_alloc(vf->efx, EVB_PORT_ID_ASSIGNED); in efx_ef10_sriov_set_vf_vlan() 647 if (rc2) in efx_ef10_sriov_set_vf_vlan() 653 rc2 = vf->efx->type->filter_table_probe(vf->efx); in efx_ef10_sriov_set_vf_vlan() 654 if (rc2) in efx_ef10_sriov_set_vf_vlan() 660 rc2 = efx_net_open(vf->efx->net_dev); in efx_ef10_sriov_set_vf_vlan() [all …]
|
D | ef10.c | 3224 int rc, rc2; in efx_ef10_vport_set_mac_address() local 3251 rc2 = efx_ef10_vport_add_mac(efx, efx->vport_id, mac_old); in efx_ef10_vport_set_mac_address() 3252 if (rc2) { in efx_ef10_vport_set_mac_address() 3260 rc2 = efx_ef10_vadaptor_alloc(efx, efx->vport_id); in efx_ef10_vport_set_mac_address() 3261 if (rc2) in efx_ef10_vport_set_mac_address() 3265 rc2 = efx_ef10_filter_table_probe(efx); in efx_ef10_vport_set_mac_address() 3267 if (rc2) in efx_ef10_vport_set_mac_address() 3270 rc2 = efx_net_open(efx->net_dev); in efx_ef10_vport_set_mac_address() 3271 if (rc2) in efx_ef10_vport_set_mac_address() 3283 return rc ? rc : rc2; in efx_ef10_vport_set_mac_address() [all …]
|
D | efx_common.c | 815 int rc, rc2 = 0; in efx_reset() local 855 rc2 = efx_reset_up(efx, method, !disabled); in efx_reset() 856 if (rc2) { in efx_reset() 859 rc = rc2; in efx_reset()
|
D | efx_channels.c | 854 int rc, rc2; in efx_realloc_channels() local 934 rc2 = efx_soft_enable_interrupts(efx); in efx_realloc_channels() 935 if (rc2) { in efx_realloc_channels() 936 rc = rc ? rc : rc2; in efx_realloc_channels()
|
D | siena.c | 102 int rc, rc2; in siena_test_chip() local 120 rc2 = efx_reset_up(efx, reset_method, rc == 0); in siena_test_chip() 121 return rc ? rc : rc2; in siena_test_chip()
|
D | mcdi.c | 2221 int rc, rc2; in efx_mcdi_nvram_update_finish() local 2232 rc2 = MCDI_DWORD(outbuf, NVRAM_UPDATE_FINISH_V2_OUT_RESULT_CODE); in efx_mcdi_nvram_update_finish() 2233 if (rc2 != MC_CMD_NVRAM_VERIFY_RC_SUCCESS) in efx_mcdi_nvram_update_finish() 2236 rc2); in efx_mcdi_nvram_update_finish() 2237 switch (rc2) { in efx_mcdi_nvram_update_finish()
|
/drivers/net/ethernet/ibm/ |
D | ibmveth.c | 776 int rc1 = 0, rc2 = 0; in ibmveth_set_csum_offload() local 850 rc2 = ibmveth_open(dev); in ibmveth_set_csum_offload() 852 return rc1 ? rc1 : rc2; in ibmveth_set_csum_offload() 860 int rc1 = 0, rc2 = 0; in ibmveth_set_tso() local 912 rc2 = ibmveth_open(dev); in ibmveth_set_tso() 914 return rc1 ? rc1 : rc2; in ibmveth_set_tso() 923 int rc1 = 0, rc2 = 0; in ibmveth_set_features() local 934 rc2 = ibmveth_set_tso(dev, large_send); in ibmveth_set_features() 935 if (rc2 && !adapter->large_send) in ibmveth_set_features() 940 return rc1 ? rc1 : rc2; in ibmveth_set_features()
|
/drivers/net/ethernet/sfc/falcon/ |
D | efx.c | 769 int rc, rc2; in ef4_realloc_channels() local 849 rc2 = ef4_soft_enable_interrupts(efx); in ef4_realloc_channels() 850 if (rc2) { in ef4_realloc_channels() 851 rc = rc ? rc : rc2; in ef4_realloc_channels() 2431 int rc, rc2; in ef4_reset() local 2465 rc2 = ef4_reset_up(efx, method, !disabled); in ef4_reset() 2466 if (rc2) { in ef4_reset() 2469 rc = rc2; in ef4_reset()
|
D | falcon.c | 1900 int rc, rc2; in falcon_b0_test_chip() local 1922 rc2 = ef4_reset_up(efx, reset_method, rc == 0); in falcon_b0_test_chip() 1923 return rc ? rc : rc2; in falcon_b0_test_chip()
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_ethtool.c | 793 int rc1, rc2; in hns_set_coalesce() local 810 rc2 = ops->set_coalesce_frames(priv->ae_handle, in hns_set_coalesce() 814 if (rc1 || rc2) in hns_set_coalesce()
|
/drivers/scsi/hisi_sas/ |
D | hisi_sas_main.c | 1668 int rc2; in hisi_sas_abort_task() local 1677 rc2 = hisi_sas_internal_task_abort(hisi_hba, device, in hisi_sas_abort_task() 1680 if (rc2 < 0) { in hisi_sas_abort_task() 1681 dev_err(dev, "abort task: internal abort (%d)\n", rc2); in hisi_sas_abort_task() 1692 if (rc == TMF_RESP_FUNC_COMPLETE && rc2 != TMF_RESP_FUNC_SUCC) { in hisi_sas_abort_task()
|
/drivers/s390/net/ |
D | qeth_core_main.c | 1683 int rc1 = 0, rc2 = 0, rc3 = 0; in qeth_halt_channels() local 1687 rc2 = qeth_halt_channel(card, &card->write); in qeth_halt_channels() 1691 if (rc2) in qeth_halt_channels() 1692 return rc2; in qeth_halt_channels() 1698 int rc1 = 0, rc2 = 0, rc3 = 0; in qeth_clear_channels() local 1702 rc2 = qeth_clear_channel(card, &card->write); in qeth_clear_channels() 1706 if (rc2) in qeth_clear_channels() 1707 return rc2; in qeth_clear_channels() 5448 int rc, rc2, rc3; in qeth_set_offline() local 5477 rc2 = qeth_stop_channel(&card->write); in qeth_set_offline() [all …]
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_dev.c | 3291 int rc, rc2 = 0; in qed_hw_stop() local 3307 rc2 = -EINVAL; in qed_hw_stop() 3322 rc2 = -EINVAL; in qed_hw_stop() 3336 rc2 = -EINVAL; in qed_hw_stop() 3377 rc2 = -EINVAL; in qed_hw_stop() 3396 rc2 = -EINVAL; in qed_hw_stop() 3400 return rc2; in qed_hw_stop()
|
D | qed_ll2.c | 2428 int rc = 0, rc2 = 0; in qed_ll2_stop() local 2443 rc2 = __qed_ll2_stop(QED_LEADING_HWFN(cdev)); in qed_ll2_stop() 2444 if (rc2) in qed_ll2_stop() 2457 return rc | rc2; in qed_ll2_stop()
|
/drivers/scsi/lpfc/ |
D | lpfc_init.c | 9706 int length, i, rc = 0, rc2; in lpfc_sli4_read_config() local 9980 rc2 = lpfc_sli_issue_mbox(phba, pmb, MBX_POLL); in lpfc_sli4_read_config() 9985 if (rc2 || shdr_status || shdr_add_status) { in lpfc_sli4_read_config()
|