Lines Matching refs:ops

71 					hw->phy.ops.read_reg(hw,
110 status = hw->phy.ops.read_reg(hw, MDIO_DEVID1, MDIO_MMD_PMAPMD,
115 status = hw->phy.ops.read_reg(hw, MDIO_DEVID2, MDIO_MMD_PMAPMD,
171 (IXGBE_ERR_OVERTEMP == hw->phy.ops.check_overtemp(hw)))
178 hw->phy.ops.write_reg(hw, MDIO_CTRL1,
189 hw->phy.ops.read_reg(hw, MDIO_CTRL1,
226 if (hw->mac.ops.acquire_swfw_sync(hw, gssr) != 0)
298 hw->mac.ops.release_swfw_sync(hw, gssr);
324 if (hw->mac.ops.acquire_swfw_sync(hw, gssr) != 0)
391 hw->mac.ops.release_swfw_sync(hw, gssr);
416 hw->phy.ops.read_reg(hw, MDIO_AN_10GBT_CTRL,
424 hw->phy.ops.write_reg(hw, MDIO_AN_10GBT_CTRL,
431 hw->phy.ops.read_reg(hw,
440 hw->phy.ops.write_reg(hw,
448 hw->phy.ops.read_reg(hw, MDIO_AN_ADVERTISE,
457 hw->phy.ops.write_reg(hw, MDIO_AN_ADVERTISE,
463 hw->phy.ops.read_reg(hw, MDIO_CTRL1,
468 hw->phy.ops.write_reg(hw, MDIO_CTRL1,
475 status = hw->phy.ops.read_reg(hw, MDIO_STAT1,
521 hw->phy.ops.setup_link(hw);
544 status = hw->phy.ops.read_reg(hw, MDIO_SPEED, MDIO_MMD_PMAPMD,
587 status = hw->phy.ops.read_reg(hw,
626 hw->phy.ops.read_reg(hw, MDIO_AN_10GBT_CTRL,
634 hw->phy.ops.write_reg(hw, MDIO_AN_10GBT_CTRL,
641 hw->phy.ops.read_reg(hw, IXGBE_MII_AUTONEG_XNP_TX_REG,
649 hw->phy.ops.write_reg(hw, IXGBE_MII_AUTONEG_XNP_TX_REG,
656 hw->phy.ops.read_reg(hw, MDIO_AN_ADVERTISE,
665 hw->phy.ops.write_reg(hw, MDIO_AN_ADVERTISE,
671 hw->phy.ops.read_reg(hw, MDIO_CTRL1,
676 hw->phy.ops.write_reg(hw, MDIO_CTRL1,
683 status = hw->phy.ops.read_reg(hw, MDIO_STAT1,
710 status = hw->phy.ops.read_reg(hw, TNX_FW_REV,
727 status = hw->phy.ops.read_reg(hw, AQ_FW_REV,
747 hw->phy.ops.read_reg(hw, MDIO_CTRL1, MDIO_MMD_PHYXS, &phy_data);
750 hw->phy.ops.write_reg(hw, MDIO_CTRL1, MDIO_MMD_PHYXS,
754 hw->phy.ops.read_reg(hw, MDIO_CTRL1, MDIO_MMD_PHYXS,
773 ret_val = hw->eeprom.ops.read(hw, data_offset, &block_crc);
779 ret_val = hw->eeprom.ops.read(hw, data_offset, &eword);
792 hw->eeprom.ops.read(hw, data_offset++,
795 hw->eeprom.ops.read(hw, data_offset, &eword);
796 hw->phy.ops.write_reg(hw, phy_offset,
849 if (hw->mac.ops.get_media_type(hw) != ixgbe_media_type_fiber) {
855 status = hw->phy.ops.read_i2c_eeprom(hw,
865 hw->mac.ops.set_lan_id(hw);
871 status = hw->phy.ops.read_i2c_eeprom(hw,
880 status = hw->phy.ops.read_i2c_eeprom(hw,
888 status = hw->phy.ops.read_i2c_eeprom(hw,
929 hw->phy.ops.read_i2c_eeprom(
979 status = hw->phy.ops.read_i2c_eeprom(hw,
988 status = hw->phy.ops.read_i2c_eeprom(hw,
997 status = hw->phy.ops.read_i2c_eeprom(hw,
1064 hw->mac.ops.get_device_caps(hw, &enforce_sfp);
1138 hw->eeprom.ops.read(hw, IXGBE_PHY_INIT_OFFSET_NL, list_offset);
1150 hw->eeprom.ops.read(hw, *list_offset, &sfp_id);
1155 hw->eeprom.ops.read(hw, *list_offset, data_offset);
1164 if (hw->eeprom.ops.read(hw, *list_offset, &sfp_id))
1188 return hw->phy.ops.read_i2c_byte(hw, byte_offset,
1204 return hw->phy.ops.write_i2c_byte(hw, byte_offset,
1234 if (hw->mac.ops.acquire_swfw_sync(hw, swfw_mask) != 0) {
1281 hw->mac.ops.release_swfw_sync(hw, swfw_mask);
1292 hw->mac.ops.release_swfw_sync(hw, swfw_mask);
1320 if (hw->mac.ops.acquire_swfw_sync(hw, swfw_mask) != 0) {
1364 hw->mac.ops.release_swfw_sync(hw, swfw_mask);
1714 hw->phy.ops.read_reg(hw, IXGBE_TN_LASI_STATUS_REG,