#include "pch_gbe.h"
#include "pch_gbe_phy.h"
Go to the source code of this file.
#define pch_gbe_bus_speed_100 3 |
#define pch_gbe_bus_speed_120 4 |
#define pch_gbe_bus_speed_133 5 |
#define pch_gbe_bus_speed_2500 6 |
#define pch_gbe_bus_speed_33 1 |
#define pch_gbe_bus_speed_66 2 |
#define pch_gbe_bus_speed_reserved 7 |
#define pch_gbe_bus_speed_unknown 0 |
#define pch_gbe_bus_type_pci 1 |
#define pch_gbe_bus_type_pci_express 3 |
#define pch_gbe_bus_type_pcix 2 |
#define pch_gbe_bus_type_reserved 4 |
#define pch_gbe_bus_type_unknown 0 |
#define pch_gbe_bus_width_32 5 |
#define pch_gbe_bus_width_64 6 |
#define pch_gbe_bus_width_pcie_x1 1 |
#define pch_gbe_bus_width_pcie_x2 2 |
#define pch_gbe_bus_width_pcie_x4 4 |
#define pch_gbe_bus_width_reserved 7 |
#define pch_gbe_bus_width_unknown 0 |
pch_gbe_hal_get_bus_info - Obtain bus information for adapter : Pointer to the HW structure
Definition at line 129 of file pch_gbe_api.c.
pch_gbe_hal_init_hw - Initialize hardware : Pointer to the HW structure Returns: 0: Successfully ENOSYS: Function is not registered
Definition at line 144 of file pch_gbe_api.c.
pch_gbe_hal_phy_hw_reset - Hard PHY reset : Pointer to the HW structure
Definition at line 191 of file pch_gbe_api.c.
pch_gbe_hal_phy_sw_reset - Soft PHY reset : Pointer to the HW structure
Definition at line 203 of file pch_gbe_api.c.
pch_gbe_hal_power_down_phy - Power down PHY : Pointer to the HW structure
Definition at line 241 of file pch_gbe_api.c.
pch_gbe_hal_power_up_phy - Power up PHY : Pointer to the HW structure
Definition at line 231 of file pch_gbe_api.c.
pch_gbe_hal_read_mac_addr - Reads MAC address : Pointer to the HW structure Returns: 0: Successfully ENOSYS: Function is not registered
Definition at line 218 of file pch_gbe_api.c.
pch_gbe_hal_read_phy_reg - Reads PHY register : Pointer to the HW structure : The register to read : The buffer to store the 16-bit read. Returns: 0: Successfully Negative value: Failed
Definition at line 162 of file pch_gbe_api.c.
pch_gbe_hal_setup_init_funcs - Initializes function pointers : Pointer to the HW structure Returns: 0: Successfully ENOSYS: Function is not registered
Definition at line 115 of file pch_gbe_api.c.
pch_gbe_hal_write_phy_reg - Writes PHY register : Pointer to the HW structure : The register to read : The value to write. Returns: 0: Successfully Negative value: Failed
Definition at line 179 of file pch_gbe_api.c.