• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/sfc/

Lines Matching defs:rc

68 	int rc;
70 rc = efx_mcdi_mdio_write(efx, efx->mdio_bus, prtad, devad,
72 if (rc)
73 return rc;
86 int rc;
88 rc = efx_mcdi_mdio_read(efx, efx->mdio_bus, prtad, devad,
90 if (rc)
91 return rc;
101 int rc;
112 rc = efx->phy_op->probe(efx);
113 if (rc != 0)
114 return rc;
117 rc = efx_nic_alloc_buffer(efx, &efx->stats_buffer,
119 if (rc)
120 return rc;
182 int rc;
185 rc = efx_mcdi_handle_assertion(efx);
186 if (rc)
187 return rc;
197 int rc;
199 rc = efx_mcdi_get_board_cfg(efx, efx->mac_address, NULL);
200 if (rc)
201 return rc;
211 int rc;
222 rc = -ENODEV;
232 rc = efx_mcdi_handle_assertion(efx);
233 if (rc)
236 rc = efx_mcdi_fwver(efx, &nic_data->fw_version, &nic_data->fw_build);
237 if (rc) {
239 "Failed to read MCPU firmware version - rc %d\n", rc);
245 rc = efx_mcdi_drv_attach(efx, true, &already_attached);
246 if (rc) {
257 rc = siena_reset_hw(efx, RESET_TYPE_ALL);
258 if (rc) {
266 rc = efx_nic_alloc_buffer(efx, &efx->irq_status, sizeof(efx_oword_t));
267 if (rc)
278 rc = siena_probe_nvconfig(efx);
279 if (rc == -EINVAL) {
284 } else if (rc) {
298 return rc;
308 int rc;
311 rc = efx_mcdi_handle_assertion(efx);
312 if (rc)
313 return rc;
363 rc = efx_mcdi_log_ctrl(efx, true, false, 0);
364 if (rc)
365 return rc;
556 int rc;
565 rc = efx_mcdi_wol_filter_set_magic(efx, efx->mac_address,
567 if (rc)
572 rc = efx_mcdi_wol_filter_reset(efx);
575 if (rc)
581 netif_err(efx, hw, efx->net_dev, "%s failed: type=%d rc=%d\n",
582 __func__, type, rc);
583 return rc;
590 int rc;
592 rc = efx_mcdi_wol_filter_get_magic(efx, &nic_data->wol_filter_id);
594 if (rc != 0) {