Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
atl1e_hw.c File Reference
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/mii.h>
#include <linux/crc32.h>
#include "atl1e.h"

Go to the source code of this file.

Functions

int atl1e_check_eeprom_exist (struct atl1e_hw *hw)
 
void atl1e_hw_set_mac_addr (struct atl1e_hw *hw)
 
bool atl1e_write_eeprom (struct atl1e_hw *hw, u32 offset, u32 value)
 
bool atl1e_read_eeprom (struct atl1e_hw *hw, u32 offset, u32 *p_value)
 
void atl1e_force_ps (struct atl1e_hw *hw)
 
int atl1e_read_mac_addr (struct atl1e_hw *hw)
 
u32 atl1e_hash_mc_addr (struct atl1e_hw *hw, u8 *mc_addr)
 
void atl1e_hash_set (struct atl1e_hw *hw, u32 hash_value)
 
int atl1e_read_phy_reg (struct atl1e_hw *hw, u16 reg_addr, u16 *phy_data)
 
int atl1e_write_phy_reg (struct atl1e_hw *hw, u32 reg_addr, u16 phy_data)
 
int atl1e_phy_commit (struct atl1e_hw *hw)
 
int atl1e_phy_init (struct atl1e_hw *hw)
 
int atl1e_reset_hw (struct atl1e_hw *hw)
 
int atl1e_init_hw (struct atl1e_hw *hw)
 
int atl1e_get_speed_and_duplex (struct atl1e_hw *hw, u16 *speed, u16 *duplex)
 
int atl1e_restart_autoneg (struct atl1e_hw *hw)
 

Function Documentation

int atl1e_check_eeprom_exist ( struct atl1e_hw hw)

Definition at line 32 of file atl1e_hw.c.

void atl1e_force_ps ( struct atl1e_hw hw)

Definition at line 140 of file atl1e_hw.c.

int atl1e_get_speed_and_duplex ( struct atl1e_hw hw,
u16 speed,
u16 duplex 
)

Definition at line 596 of file atl1e_hw.c.

u32 atl1e_hash_mc_addr ( struct atl1e_hw hw,
u8 mc_addr 
)

Definition at line 167 of file atl1e_hw.c.

void atl1e_hash_set ( struct atl1e_hw hw,
u32  hash_value 
)

Definition at line 185 of file atl1e_hw.c.

void atl1e_hw_set_mac_addr ( struct atl1e_hw hw)

Definition at line 45 of file atl1e_hw.c.

int atl1e_init_hw ( struct atl1e_hw hw)

Definition at line 573 of file atl1e_hw.c.

int atl1e_phy_commit ( struct atl1e_hw hw)

Definition at line 387 of file atl1e_hw.c.

int atl1e_phy_init ( struct atl1e_hw hw)

Definition at line 420 of file atl1e_hw.c.

bool atl1e_read_eeprom ( struct atl1e_hw hw,
u32  offset,
u32 p_value 
)

Definition at line 115 of file atl1e_hw.c.

int atl1e_read_mac_addr ( struct atl1e_hw hw)

Definition at line 151 of file atl1e_hw.c.

int atl1e_read_phy_reg ( struct atl1e_hw hw,
u16  reg_addr,
u16 phy_data 
)

Definition at line 213 of file atl1e_hw.c.

int atl1e_reset_hw ( struct atl1e_hw hw)

Definition at line 515 of file atl1e_hw.c.

int atl1e_restart_autoneg ( struct atl1e_hw hw)

Definition at line 632 of file atl1e_hw.c.

bool atl1e_write_eeprom ( struct atl1e_hw hw,
u32  offset,
u32  value 
)

Definition at line 110 of file atl1e_hw.c.

int atl1e_write_phy_reg ( struct atl1e_hw hw,
u32  reg_addr,
u16  phy_data 
)

Definition at line 247 of file atl1e_hw.c.