FreeBSD kernel IXGBE device code
ixgbe_phy_operations Struct Reference

#include <ixgbe_type.h>

Data Fields

s32(* identify )(struct ixgbe_hw *)
 
s32(* identify_sfp )(struct ixgbe_hw *)
 
s32(* init )(struct ixgbe_hw *)
 
s32(* reset )(struct ixgbe_hw *)
 
s32(* read_reg )(struct ixgbe_hw *, u32, u32, u16 *)
 
s32(* write_reg )(struct ixgbe_hw *, u32, u32, u16)
 
s32(* read_reg_mdi )(struct ixgbe_hw *, u32, u32, u16 *)
 
s32(* write_reg_mdi )(struct ixgbe_hw *, u32, u32, u16)
 
s32(* setup_link )(struct ixgbe_hw *)
 
s32(* setup_internal_link )(struct ixgbe_hw *)
 
s32(* setup_link_speed )(struct ixgbe_hw *, ixgbe_link_speed, bool)
 
s32(* check_link )(struct ixgbe_hw *, ixgbe_link_speed *, bool *)
 
s32(* get_firmware_version )(struct ixgbe_hw *, u16 *)
 
s32(* read_i2c_byte )(struct ixgbe_hw *, u8, u8, u8 *)
 
s32(* write_i2c_byte )(struct ixgbe_hw *, u8, u8, u8)
 
s32(* read_i2c_sff8472 )(struct ixgbe_hw *, u8, u8 *)
 
s32(* read_i2c_eeprom )(struct ixgbe_hw *, u8, u8 *)
 
s32(* write_i2c_eeprom )(struct ixgbe_hw *, u8, u8)
 
void(* i2c_bus_clear )(struct ixgbe_hw *)
 
s32(* check_overtemp )(struct ixgbe_hw *)
 
s32(* set_phy_power )(struct ixgbe_hw *, bool on)
 
s32(* enter_lplu )(struct ixgbe_hw *)
 
s32(* handle_lasi )(struct ixgbe_hw *hw)
 
s32(* read_i2c_byte_unlocked )(struct ixgbe_hw *, u8 offset, u8 addr, u8 *value)
 
s32(* write_i2c_byte_unlocked )(struct ixgbe_hw *, u8 offset, u8 addr, u8 value)
 

Detailed Description

Definition at line 4058 of file ixgbe_type.h.

Field Documentation

◆ check_link

s32(* ixgbe_phy_operations::check_link) (struct ixgbe_hw *, ixgbe_link_speed *, bool *)

◆ check_overtemp

s32(* ixgbe_phy_operations::check_overtemp) (struct ixgbe_hw *)

◆ enter_lplu

s32(* ixgbe_phy_operations::enter_lplu) (struct ixgbe_hw *)

◆ get_firmware_version

s32(* ixgbe_phy_operations::get_firmware_version) (struct ixgbe_hw *, u16 *)

◆ handle_lasi

s32(* ixgbe_phy_operations::handle_lasi) (struct ixgbe_hw *hw)

Definition at line 4081 of file ixgbe_type.h.

Referenced by ixgbe_handle_lasi(), ixgbe_handle_phy(), and ixgbe_init_phy_ops_X550em().

◆ i2c_bus_clear

void(* ixgbe_phy_operations::i2c_bus_clear) (struct ixgbe_hw *)

Definition at line 4077 of file ixgbe_type.h.

Referenced by ixgbe_init_phy_ops_generic().

◆ identify

◆ identify_sfp

◆ init

◆ read_i2c_byte

◆ read_i2c_byte_unlocked

s32(* ixgbe_phy_operations::read_i2c_byte_unlocked) (struct ixgbe_hw *, u8 offset, u8 addr, u8 *value)

Definition at line 4082 of file ixgbe_type.h.

Referenced by ixgbe_init_phy_ops_generic(), and ixgbe_read_i2c_byte_unlocked().

◆ read_i2c_eeprom

◆ read_i2c_sff8472

s32(* ixgbe_phy_operations::read_i2c_sff8472) (struct ixgbe_hw *, u8, u8 *)

Definition at line 4074 of file ixgbe_type.h.

Referenced by ixgbe_init_ops_82598(), and ixgbe_init_phy_ops_generic().

◆ read_reg

◆ read_reg_mdi

s32(* ixgbe_phy_operations::read_reg_mdi) (struct ixgbe_hw *, u32, u32, u16 *)

◆ reset

◆ set_phy_power

s32(* ixgbe_phy_operations::set_phy_power) (struct ixgbe_hw *, bool on)

Definition at line 4079 of file ixgbe_type.h.

Referenced by ixgbe_init_ops_X540(), ixgbe_init_ops_X550EM(), and ixgbe_set_phy_power().

◆ setup_internal_link

s32(* ixgbe_phy_operations::setup_internal_link) (struct ixgbe_hw *)

Definition at line 4068 of file ixgbe_type.h.

Referenced by ixgbe_init_phy_ops_X550em(), and ixgbe_setup_internal_phy().

◆ setup_link

◆ setup_link_speed

◆ write_i2c_byte

◆ write_i2c_byte_unlocked

s32(* ixgbe_phy_operations::write_i2c_byte_unlocked) (struct ixgbe_hw *, u8 offset, u8 addr, u8 value)

Definition at line 4084 of file ixgbe_type.h.

Referenced by ixgbe_init_phy_ops_generic(), and ixgbe_write_i2c_byte_unlocked().

◆ write_i2c_eeprom

s32(* ixgbe_phy_operations::write_i2c_eeprom) (struct ixgbe_hw *, u8, u8)

Definition at line 4076 of file ixgbe_type.h.

Referenced by ixgbe_init_phy_ops_generic(), and ixgbe_write_i2c_eeprom().

◆ write_reg

◆ write_reg_mdi

s32(* ixgbe_phy_operations::write_reg_mdi) (struct ixgbe_hw *, u32, u32, u16)

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