FreeBSD kernel CXGB device code
cphy Struct Reference

#include <cxgb_common.h>

Collaboration diagram for cphy:

Data Fields

u8 addr
 
u8 modtype
 
u8 rst
 
unsigned int priv
 
unsigned int caps
 
adapter_tadapter
 
pinfo_tpinfo
 
const char * desc
 
unsigned long fifo_errors
 
const struct cphy_opsops
 
int(* mdio_read )(adapter_t *adapter, int phy_addr, int mmd_addr, int reg_addr, unsigned int *val)
 
int(* mdio_write )(adapter_t *adapter, int phy_addr, int mmd_addr, int reg_addr, unsigned int val)
 

Detailed Description

Definition at line 574 of file cxgb_common.h.

Field Documentation

◆ adapter

◆ addr

◆ caps

◆ desc

const char* cphy::desc

Definition at line 582 of file cxgb_common.h.

Referenced by cphy_init(), cxgb_port_probe(), and t3_vsc8211_phy_prep().

◆ fifo_errors

unsigned long cphy::fifo_errors

Definition at line 583 of file cxgb_common.h.

Referenced by phy_intr_handler().

◆ mdio_read

int(* cphy::mdio_read) (adapter_t *adapter, int phy_addr, int mmd_addr, int reg_addr, unsigned int *val)

Definition at line 585 of file cxgb_common.h.

Referenced by cphy_init(), cxgb_extension_ioctl(), and mdio_read().

◆ mdio_write

int(* cphy::mdio_write) (adapter_t *adapter, int phy_addr, int mmd_addr, int reg_addr, unsigned int val)

Definition at line 587 of file cxgb_common.h.

Referenced by cphy_init(), cxgb_extension_ioctl(), and mdio_write().

◆ modtype

◆ ops

◆ pinfo

◆ priv

◆ rst

u8 cphy::rst

Definition at line 577 of file cxgb_common.h.

Referenced by t3_link_changed().


The documentation for this struct was generated from the following file: