Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
ael1002.c File Reference
#include "common.h"
#include "regs.h"

Go to the source code of this file.

Data Structures

struct  reg_val
 

Macros

#define AEL2005_MODDET_IRQ   4
 

Enumerations

enum  {
  AEL100X_TX_CONFIG1 = 0xc002, AEL1002_PWR_DOWN_HI = 0xc011, AEL1002_PWR_DOWN_LO = 0xc012, AEL1002_XFI_EQL = 0xc015,
  AEL1002_LB_EN = 0xc017, AEL_OPT_SETTINGS = 0xc017, AEL_I2C_CTRL = 0xc30a, AEL_I2C_DATA = 0xc30b,
  AEL_I2C_STAT = 0xc30c, AEL2005_GPIO_CTRL = 0xc214, AEL2005_GPIO_STAT = 0xc215, AEL2020_GPIO_INTR = 0xc103,
  AEL2020_GPIO_CTRL = 0xc108, AEL2020_GPIO_STAT = 0xc10c, AEL2020_GPIO_CFG = 0xc110, AEL2020_GPIO_SDA = 0,
  AEL2020_GPIO_MODDET = 1, AEL2020_GPIO_0 = 3, AEL2020_GPIO_1 = 2, AEL2020_GPIO_LSTAT = AEL2020_GPIO_1
}
 
enum  { edc_none, edc_sr, edc_twinax }
 
enum  { MODULE_DEV_ADDR = 0xa0, SFF_DEV_ADDR = 0xa2 }
 
enum  { phy_transtype_unknown = 0, phy_transtype_sfp = 3, phy_transtype_xfp = 6 }
 

Functions

int t3_ael1002_phy_prep (struct cphy *phy, struct adapter *adapter, int phy_addr, const struct mdio_ops *mdio_ops)
 
int t3_ael1006_phy_prep (struct cphy *phy, struct adapter *adapter, int phy_addr, const struct mdio_ops *mdio_ops)
 
int t3_ael2005_phy_prep (struct cphy *phy, struct adapter *adapter, int phy_addr, const struct mdio_ops *mdio_ops)
 
int t3_ael2020_phy_prep (struct cphy *phy, struct adapter *adapter, int phy_addr, const struct mdio_ops *mdio_ops)
 
int t3_qt2045_phy_prep (struct cphy *phy, struct adapter *adapter, int phy_addr, const struct mdio_ops *mdio_ops)
 
int t3_xaui_direct_phy_prep (struct cphy *phy, struct adapter *adapter, int phy_addr, const struct mdio_ops *mdio_ops)
 

Macro Definition Documentation

#define AEL2005_MODDET_IRQ   4

Definition at line 75 of file ael1002.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
AEL100X_TX_CONFIG1 
AEL1002_PWR_DOWN_HI 
AEL1002_PWR_DOWN_LO 
AEL1002_XFI_EQL 
AEL1002_LB_EN 
AEL_OPT_SETTINGS 
AEL_I2C_CTRL 
AEL_I2C_DATA 
AEL_I2C_STAT 
AEL2005_GPIO_CTRL 
AEL2005_GPIO_STAT 
AEL2020_GPIO_INTR 
AEL2020_GPIO_CTRL 
AEL2020_GPIO_STAT 
AEL2020_GPIO_CFG 
AEL2020_GPIO_SDA 
AEL2020_GPIO_MODDET 
AEL2020_GPIO_0 
AEL2020_GPIO_1 
AEL2020_GPIO_LSTAT 

Definition at line 35 of file ael1002.c.

anonymous enum
Enumerator:
edc_none 
edc_sr 
edc_twinax 

Definition at line 60 of file ael1002.c.

anonymous enum
Enumerator:
MODULE_DEV_ADDR 
SFF_DEV_ADDR 

Definition at line 63 of file ael1002.c.

anonymous enum
Enumerator:
phy_transtype_unknown 
phy_transtype_sfp 
phy_transtype_xfp 

Definition at line 69 of file ael1002.c.

Function Documentation

int t3_ael1002_phy_prep ( struct cphy phy,
struct adapter adapter,
int  phy_addr,
const struct mdio_ops mdio_ops 
)

Definition at line 212 of file ael1002.c.

int t3_ael1006_phy_prep ( struct cphy phy,
struct adapter adapter,
int  phy_addr,
const struct mdio_ops mdio_ops 
)

Definition at line 238 of file ael1002.c.

int t3_ael2005_phy_prep ( struct cphy phy,
struct adapter adapter,
int  phy_addr,
const struct mdio_ops mdio_ops 
)

Definition at line 509 of file ael1002.c.

int t3_ael2020_phy_prep ( struct cphy phy,
struct adapter adapter,
int  phy_addr,
const struct mdio_ops mdio_ops 
)

Definition at line 815 of file ael1002.c.

int t3_qt2045_phy_prep ( struct cphy phy,
struct adapter adapter,
int  phy_addr,
const struct mdio_ops mdio_ops 
)

Definition at line 870 of file ael1002.c.

int t3_xaui_direct_phy_prep ( struct cphy phy,
struct adapter adapter,
int  phy_addr,
const struct mdio_ops mdio_ops 
)

Definition at line 934 of file ael1002.c.