Lines Matching defs:status

209 	s32 status;
215 status = hw->mac.ops.stop_adapter(hw);
216 if (status != IXGBE_SUCCESS)
237 status = IXGBE_ERR_RESET_FAILED;
287 return status;
381 s32 status = IXGBE_SUCCESS;
386 status = ixgbe_read_eerd_generic(hw, offset, data);
389 status = IXGBE_ERR_SWFW_SYNC;
392 return status;
407 s32 status = IXGBE_SUCCESS;
412 status = ixgbe_read_eerd_buffer_generic(hw, offset,
416 status = IXGBE_ERR_SWFW_SYNC;
419 return status;
432 s32 status = IXGBE_SUCCESS;
437 status = ixgbe_write_eewr_generic(hw, offset, data);
440 status = IXGBE_ERR_SWFW_SYNC;
443 return status;
458 s32 status = IXGBE_SUCCESS;
463 status = ixgbe_write_eewr_buffer_generic(hw, offset,
467 status = IXGBE_ERR_SWFW_SYNC;
470 return status;
562 s32 status;
572 status = hw->eeprom.ops.read(hw, 0, &checksum);
573 if (status) {
575 return status;
581 status = hw->eeprom.ops.calc_checksum(hw);
582 if (status < 0)
585 checksum = (u16)(status & 0xffff);
590 status = ixgbe_read_eerd_generic(hw, IXGBE_EEPROM_CHECKSUM,
592 if (status)
601 status = IXGBE_ERR_EEPROM_CHECKSUM;
611 return status;
624 s32 status;
633 status = hw->eeprom.ops.read(hw, 0, &checksum);
634 if (status) {
636 return status;
642 status = hw->eeprom.ops.calc_checksum(hw);
643 if (status < 0)
646 checksum = (u16)(status & 0xffff);
651 status = ixgbe_write_eewr_generic(hw, IXGBE_EEPROM_CHECKSUM, checksum);
652 if (status)
655 status = ixgbe_update_flash_X540(hw);
660 return status;
673 s32 status;
677 status = ixgbe_poll_flash_update_done_X540(hw);
678 if (status == IXGBE_ERR_EEPROM) {
686 status = ixgbe_poll_flash_update_done_X540(hw);
687 if (status == IXGBE_SUCCESS)
700 status = ixgbe_poll_flash_update_done_X540(hw);
701 if (status == IXGBE_SUCCESS)
707 return status;
711 * ixgbe_poll_flash_update_done_X540 - Poll flash update status
721 s32 status = IXGBE_ERR_EEPROM;
728 status = IXGBE_SUCCESS;
736 "Flash update status polling timed out");
738 return status;
871 s32 status = IXGBE_ERR_EEPROM;
886 status = IXGBE_SUCCESS;
893 if (status == IXGBE_SUCCESS) {
910 status = IXGBE_ERR_EEPROM;
918 return status;