struct igc_phy_operations

Defined at line 383 of file ../../src/connectivity/ethernet/drivers/third_party/igc/igc_hw.h

When to use various PHY register access functions:

Func Caller

Function Does Does When to use

~~~~~~~~~~~~ ~~~~~ ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

X_reg L,P,A n/a for simple PHY reg accesses

X_reg_locked P,A L for multiple accesses of different regs

on different pages

X_reg_page A L,P for multiple accesses of different regs

on the same page

Where X=[read|write], L=locking, P=sets page, A=register access

Public Members

s32 (*)(struct igc_hw *) init_params
s32 (*)(struct igc_hw *) acquire
s32 (*)(struct igc_hw *) check_reset_block
s32 (*)(struct igc_hw *) force_speed_duplex
s32 (*)(struct igc_hw *) get_info
s32 (*)(struct igc_hw *, u16) set_page
s32 (*)(struct igc_hw *, u32, u16 *) read_reg
s32 (*)(struct igc_hw *, u32, u16 *) read_reg_locked
s32 (*)(struct igc_hw *, u32, u16 *) read_reg_page
void (*)(struct igc_hw *) release
s32 (*)(struct igc_hw *) reset
s32 (*)(struct igc_hw *, bool) set_d0_lplu_state
s32 (*)(struct igc_hw *, bool) set_d3_lplu_state
s32 (*)(struct igc_hw *, u32, u16) write_reg
s32 (*)(struct igc_hw *, u32, u16) write_reg_locked
s32 (*)(struct igc_hw *, u32, u16) write_reg_page
void (*)(struct igc_hw *) power_up
void (*)(struct igc_hw *) power_down