Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
pch_gbe_api.h File Reference
#include "pch_gbe_phy.h"

Go to the source code of this file.

Functions

s32 pch_gbe_hal_setup_init_funcs (struct pch_gbe_hw *hw)
 
void pch_gbe_hal_get_bus_info (struct pch_gbe_hw *hw)
 
s32 pch_gbe_hal_init_hw (struct pch_gbe_hw *hw)
 
s32 pch_gbe_hal_read_phy_reg (struct pch_gbe_hw *hw, u32 offset, u16 *data)
 
s32 pch_gbe_hal_write_phy_reg (struct pch_gbe_hw *hw, u32 offset, u16 data)
 
void pch_gbe_hal_phy_hw_reset (struct pch_gbe_hw *hw)
 
void pch_gbe_hal_phy_sw_reset (struct pch_gbe_hw *hw)
 
s32 pch_gbe_hal_read_mac_addr (struct pch_gbe_hw *hw)
 
void pch_gbe_hal_power_up_phy (struct pch_gbe_hw *hw)
 
void pch_gbe_hal_power_down_phy (struct pch_gbe_hw *hw)
 

Function Documentation

void pch_gbe_hal_get_bus_info ( struct pch_gbe_hw hw)
inline

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.

s32 pch_gbe_hal_init_hw ( struct pch_gbe_hw hw)
inline

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.

void pch_gbe_hal_phy_hw_reset ( struct pch_gbe_hw hw)
inline

pch_gbe_hal_phy_hw_reset - Hard PHY reset : Pointer to the HW structure

Definition at line 191 of file pch_gbe_api.c.

void pch_gbe_hal_phy_sw_reset ( struct pch_gbe_hw hw)
inline

pch_gbe_hal_phy_sw_reset - Soft PHY reset : Pointer to the HW structure

Definition at line 203 of file pch_gbe_api.c.

void pch_gbe_hal_power_down_phy ( struct pch_gbe_hw hw)
inline

pch_gbe_hal_power_down_phy - Power down PHY : Pointer to the HW structure

Definition at line 241 of file pch_gbe_api.c.

void pch_gbe_hal_power_up_phy ( struct pch_gbe_hw hw)
inline

pch_gbe_hal_power_up_phy - Power up PHY : Pointer to the HW structure

Definition at line 231 of file pch_gbe_api.c.

s32 pch_gbe_hal_read_mac_addr ( struct pch_gbe_hw hw)
inline

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.

s32 pch_gbe_hal_read_phy_reg ( struct pch_gbe_hw hw,
u32  offset,
u16 data 
)
inline

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.

s32 pch_gbe_hal_setup_init_funcs ( struct pch_gbe_hw hw)
inline

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.

s32 pch_gbe_hal_write_phy_reg ( struct pch_gbe_hw hw,
u32  offset,
u16  data 
)
inline

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.