• 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/ixgbe/

Lines Matching refs:status

58 	s32 status = IXGBE_ERR_PHY_ADDR_INVALID;
68 status = 0;
75 status = 0;
78 return status;
88 u32 status;
92 status = hw->phy.ops.read_reg(hw, MDIO_DEVID1, MDIO_MMD_PMAPMD,
95 if (status == 0) {
97 status = hw->phy.ops.read_reg(hw, MDIO_DEVID2, MDIO_MMD_PMAPMD,
102 return status;
163 s32 status = 0;
172 status = IXGBE_ERR_SWFW_SYNC;
174 if (status == 0) {
199 status = IXGBE_ERR_PHY;
202 if (status == 0) {
231 status = IXGBE_ERR_PHY;
246 return status;
261 s32 status = 0;
270 status = IXGBE_ERR_SWFW_SYNC;
272 if (status == 0) {
300 status = IXGBE_ERR_PHY;
303 if (status == 0) {
332 status = IXGBE_ERR_PHY;
339 return status;
350 s32 status = IXGBE_NOT_IMPLEMENTED;
381 status = hw->phy.ops.read_reg(hw, MDIO_STAT1, MDIO_MMD_AN,
386 status = 0;
392 status = IXGBE_ERR_LINK_SETUP;
394 return status;
531 s32 status = IXGBE_ERR_PHY_ADDR_INVALID;
544 status = IXGBE_ERR_SFP_NOT_PRESENT;
548 status = hw->phy.ops.read_i2c_eeprom(hw, IXGBE_SFF_IDENTIFIER,
551 if (status == IXGBE_ERR_SFP_NOT_PRESENT || status == IXGBE_ERR_I2C) {
552 status = IXGBE_ERR_SFP_NOT_PRESENT;
704 status = 0;
713 status = IXGBE_ERR_SFP_NOT_SUPPORTED;
719 status = 0;
730 status = 0;
734 status = IXGBE_ERR_SFP_NOT_SUPPORTED;
737 status = 0;
742 return status;
865 s32 status = 0;
874 status = ixgbe_clock_out_i2c_byte(hw, dev_addr);
875 if (status != 0)
878 status = ixgbe_get_i2c_ack(hw);
879 if (status != 0)
882 status = ixgbe_clock_out_i2c_byte(hw, byte_offset);
883 if (status != 0)
886 status = ixgbe_get_i2c_ack(hw);
887 if (status != 0)
893 status = ixgbe_clock_out_i2c_byte(hw, (dev_addr | 0x1));
894 if (status != 0)
897 status = ixgbe_get_i2c_ack(hw);
898 if (status != 0)
901 status = ixgbe_clock_in_i2c_byte(hw, data);
902 if (status != 0)
905 status = ixgbe_clock_out_i2c_bit(hw, nack);
906 if (status != 0)
922 return status;
937 s32 status = 0;
944 status = ixgbe_clock_out_i2c_byte(hw, dev_addr);
945 if (status != 0)
948 status = ixgbe_get_i2c_ack(hw);
949 if (status != 0)
952 status = ixgbe_clock_out_i2c_byte(hw, byte_offset);
953 if (status != 0)
956 status = ixgbe_get_i2c_ack(hw);
957 if (status != 0)
960 status = ixgbe_clock_out_i2c_byte(hw, data);
961 if (status != 0)
964 status = ixgbe_get_i2c_ack(hw);
965 if (status != 0)
980 return status;
1044 s32 status = 0;
1049 status = ixgbe_clock_in_i2c_bit(hw, &bit);
1052 if (status != 0)
1056 return status;
1068 s32 status = 0;
1075 status = ixgbe_clock_out_i2c_bit(hw, bit);
1077 if (status != 0)
1086 return status;
1097 s32 status;
1103 status = ixgbe_raise_i2c_clk(hw, &i2cctl);
1105 if (status != 0)
1124 status = IXGBE_ERR_I2C;
1133 return status;
1145 s32 status;
1148 status = ixgbe_raise_i2c_clk(hw, &i2cctl);
1161 return status;
1173 s32 status;
1176 status = ixgbe_set_i2c_data(hw, &i2cctl, data);
1177 if (status == 0) {
1178 status = ixgbe_raise_i2c_clk(hw, &i2cctl);
1190 status = IXGBE_ERR_I2C;
1194 return status;
1205 s32 status = 0;
1214 return status;
1245 s32 status = 0;
1260 status = IXGBE_ERR_I2C;
1264 return status;
1317 * ixgbe_check_phy_link_tnx - Determine link and speed status
1326 s32 status = 0;
1338 * Check current speed and link status of the PHY register.
1344 status = hw->phy.ops.read_reg(hw,
1361 return status;
1372 s32 status = 0;
1374 status = hw->phy.ops.read_reg(hw, TNX_FW_REV, MDIO_MMD_VEND1,
1377 return status;
1384 * Checks if the LASI temp alarm status was triggered due to overtemp
1388 s32 status = 0;
1394 /* Check that the LASI temp alarm status was triggered */
1401 status = IXGBE_ERR_OVERTEMP;
1403 return status;