Linux Kernel
3.7.1
|
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/sched.h>
#include "ixgbe_common.h"
#include "ixgbe_phy.h"
Go to the source code of this file.
s32 ixgbe_check_phy_link_tnx | ( | struct ixgbe_hw * | hw, |
ixgbe_link_speed * | speed, | ||
bool * | link_up | ||
) |
s32 ixgbe_get_copper_link_capabilities_generic | ( | struct ixgbe_hw * | hw, |
ixgbe_link_speed * | speed, | ||
bool * | autoneg | ||
) |
s32 ixgbe_get_sfp_init_sequence_offsets | ( | struct ixgbe_hw * | hw, |
u16 * | list_offset, | ||
u16 * | data_offset | ||
) |
ixgbe_get_sfp_init_sequence_offsets - Provides offset of PHY init sequence : pointer to hardware structure : offset to the SFP ID list : offset to the SFP data block
Checks the MAC's EEPROM to see if it supports a given SFP+ module type, if so it returns the offsets to the phy init sequence block.
Definition at line 1122 of file ixgbe_phy.c.
ixgbe_identify_phy_generic - Get physical layer module : pointer to hardware structure
Determines the physical layer module found on the current adapter.
Definition at line 56 of file ixgbe_phy.c.
ixgbe_read_i2c_byte_generic - Reads 8 bit word over I2C : pointer to hardware structure : byte offset to read : value read
Performs byte read operation to SFP module's EEPROM over I2C interface at a specified device address.
Definition at line 1233 of file ixgbe_phy.c.
ixgbe_read_i2c_eeprom_generic - Reads 8 bit EEPROM word over I2C interface : pointer to hardware structure : EEPROM byte offset to read : value read
Performs byte read operation to SFP module's EEPROM over I2C interface.
Definition at line 1200 of file ixgbe_phy.c.
ixgbe_reset_phy_generic - Performs a PHY reset : pointer to hardware structure
Definition at line 157 of file ixgbe_phy.c.
ixgbe_reset_phy_nl - Performs a PHY reset : pointer to hardware structure
Definition at line 738 of file ixgbe_phy.c.
ixgbe_setup_phy_link_generic - Set and restart autoneg : pointer to hardware structure
Restart autonegotiation and PHY and waits for completion.
Definition at line 403 of file ixgbe_phy.c.
s32 ixgbe_setup_phy_link_speed_generic | ( | struct ixgbe_hw * | hw, |
ixgbe_link_speed | speed, | ||
bool | autoneg, | ||
bool | autoneg_wait_to_complete | ||
) |
ixgbe_setup_phy_link_speed_generic - Sets the auto advertised capabilities : pointer to hardware structure : new link speed : true if autonegotiation enabled
Definition at line 499 of file ixgbe_phy.c.
ixgbe_setup_phy_link_tnx - Set and restart autoneg : pointer to hardware structure
Restart autonegotiation and PHY and waits for completion.
Definition at line 613 of file ixgbe_phy.c.
ixgbe_tn_check_overtemp - Checks if an overtemp occurred. : pointer to hardware structure
Checks if the LASI temp alarm status was triggered due to overtemp
Definition at line 1728 of file ixgbe_phy.c.
ixgbe_write_i2c_byte_generic - Writes 8 bit word over I2C : pointer to hardware structure : byte offset to write : value to write
Performs byte write operation to SFP module's EEPROM over I2C interface at a specified device address.
Definition at line 1322 of file ixgbe_phy.c.
ixgbe_write_i2c_eeprom_generic - Writes 8 bit EEPROM word over I2C interface : pointer to hardware structure : EEPROM byte offset to write : value to write
Performs byte write operation to SFP module's EEPROM over I2C interface.
Definition at line 1216 of file ixgbe_phy.c.