FreeBSD kernel CXGB device code
cphy_ops Struct Reference

#include <cxgb_common.h>

Data Fields

int(* reset )(struct cphy *phy, int wait)
 
int(* intr_enable )(struct cphy *phy)
 
int(* intr_disable )(struct cphy *phy)
 
int(* intr_clear )(struct cphy *phy)
 
int(* intr_handler )(struct cphy *phy)
 
int(* autoneg_enable )(struct cphy *phy)
 
int(* autoneg_restart )(struct cphy *phy)
 
int(* advertise )(struct cphy *phy, unsigned int advertise_map)
 
int(* set_loopback )(struct cphy *phy, int mmd, int dir, int enable)
 
int(* set_speed_duplex )(struct cphy *phy, int speed, int duplex)
 
int(* get_link_status )(struct cphy *phy, int *link_state, int *speed, int *duplex, int *fc)
 
int(* power_down )(struct cphy *phy, int enable)
 

Detailed Description

Definition at line 554 of file cxgb_common.h.

Field Documentation

◆ advertise

int(* cphy_ops::advertise) (struct cphy *phy, unsigned int advertise_map)

Definition at line 565 of file cxgb_common.h.

Referenced by t3_link_start().

◆ autoneg_enable

int(* cphy_ops::autoneg_enable) (struct cphy *phy)

Definition at line 562 of file cxgb_common.h.

Referenced by t3_link_start().

◆ autoneg_restart

int(* cphy_ops::autoneg_restart) (struct cphy *phy)

Definition at line 563 of file cxgb_common.h.

◆ get_link_status

int(* cphy_ops::get_link_status) (struct cphy *phy, int *link_state, int *speed, int *duplex, int *fc)

Definition at line 568 of file cxgb_common.h.

Referenced by t3_link_changed().

◆ intr_clear

int(* cphy_ops::intr_clear) (struct cphy *phy)

Definition at line 559 of file cxgb_common.h.

Referenced by t3_port_intr_clear().

◆ intr_disable

int(* cphy_ops::intr_disable) (struct cphy *phy)

Definition at line 558 of file cxgb_common.h.

Referenced by t3_port_intr_disable().

◆ intr_enable

int(* cphy_ops::intr_enable) (struct cphy *phy)

Definition at line 557 of file cxgb_common.h.

Referenced by t3_port_intr_enable().

◆ intr_handler

int(* cphy_ops::intr_handler) (struct cphy *phy)

Definition at line 560 of file cxgb_common.h.

Referenced by phy_intr_handler().

◆ power_down

int(* cphy_ops::power_down) (struct cphy *phy, int enable)

◆ reset

int(* cphy_ops::reset) (struct cphy *phy, int wait)

Definition at line 555 of file cxgb_common.h.

Referenced by t3_link_changed(), and t3_link_start().

◆ set_loopback

int(* cphy_ops::set_loopback) (struct cphy *phy, int mmd, int dir, int enable)

Definition at line 566 of file cxgb_common.h.

◆ set_speed_duplex

int(* cphy_ops::set_speed_duplex) (struct cphy *phy, int speed, int duplex)

Definition at line 567 of file cxgb_common.h.

Referenced by t3_link_start().


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