Lines Matching refs:status

201 	s32 status = I40E_SUCCESS;
230 status = I40E_ERR_PHY;
238 return status;
252 s32 status;
255 status = ixl_set_i2c_data(pf, &i2cctl, data);
256 if (status == I40E_SUCCESS) {
269 status = I40E_ERR_PHY;
273 return status;
287 s32 status = I40E_SUCCESS;
296 status = ixl_clock_out_i2c_bit(pf, bit);
298 if (status != I40E_SUCCESS)
309 return status;
396 s32 status = I40E_SUCCESS;
415 status = I40E_ERR_PHY;
419 return status;
464 s32 status;
476 status = ixl_clock_out_i2c_byte(pf, dev_addr);
477 if (status != I40E_SUCCESS) {
482 status = ixl_get_i2c_ack(pf);
483 if (status != I40E_SUCCESS) {
488 status = ixl_clock_out_i2c_byte(pf, byte_offset);
489 if (status != I40E_SUCCESS) {
494 status = ixl_get_i2c_ack(pf);
495 if (status != I40E_SUCCESS) {
503 status = ixl_clock_out_i2c_byte(pf, (dev_addr | 0x1));
504 if (status != I40E_SUCCESS)
507 status = ixl_get_i2c_ack(pf);
508 if (status != I40E_SUCCESS)
511 status = ixl_clock_in_i2c_byte(pf, data);
512 if (status != I40E_SUCCESS)
515 status = ixl_clock_out_i2c_bit(pf, nack);
516 if (status != I40E_SUCCESS)
520 status = I40E_SUCCESS;
539 return status;
550 s32 status = I40E_SUCCESS;
562 status = ixl_clock_out_i2c_byte(pf, dev_addr);
563 if (status != I40E_SUCCESS)
566 status = ixl_get_i2c_ack(pf);
567 if (status != I40E_SUCCESS)
570 status = ixl_clock_out_i2c_byte(pf, byte_offset);
571 if (status != I40E_SUCCESS)
574 status = ixl_get_i2c_ack(pf);
575 if (status != I40E_SUCCESS)
578 status = ixl_clock_out_i2c_byte(pf, data);
579 if (status != I40E_SUCCESS)
582 status = ixl_get_i2c_ack(pf);
583 if (status != I40E_SUCCESS)
605 return status;
617 s32 status;
625 status = ixl_wait_for_i2c_completion(hw, hw->func_caps.mdio_port_num);
633 if (status)
635 return status;
646 s32 status = I40E_SUCCESS;
651 status = ixl_read_i2c_byte_reg(pf, byte_offset + 1, dev_addr, &upperbyte);
667 status = ixl_wait_for_i2c_completion(hw, hw->func_caps.mdio_port_num);
669 if (status)
671 return status;
680 s32 status = 0;
693 return status;
704 s32 status = I40E_SUCCESS;
707 status = i40e_aq_get_phy_register(hw,
713 if (status)
714 ixl_dbg(pf, IXL_DBG_I2C, "I2C byte read status %s, error %s\n",
715 i40e_stat_str(hw, status), i40e_aq_str(hw, hw->aq.asq_last_status));
719 return status;
730 s32 status = I40E_SUCCESS;
732 status = i40e_aq_set_phy_register(hw,
738 if (status)
739 ixl_dbg(pf, IXL_DBG_I2C, "I2C byte write status %s, error %s\n",
740 i40e_stat_str(hw, status), i40e_aq_str(hw, hw->aq.asq_last_status));
742 return status;