struct e1000_phy_operations
Defined at line 788 of file ../../zircon/third_party/dev/ethernet/e1000/e1000_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 e1000_hw *) init_params
s32 (*)(struct e1000_hw *) acquire
s32 (*)(struct e1000_hw *) cfg_on_link_up
s32 (*)(struct e1000_hw *) check_polarity
s32 (*)(struct e1000_hw *) check_reset_block
s32 (*)(struct e1000_hw *) commit
s32 (*)(struct e1000_hw *) force_speed_duplex
s32 (*)(struct e1000_hw *) get_cfg_done
s32 (*)(struct e1000_hw *) get_cable_length
s32 (*)(struct e1000_hw *) get_info
s32 (*)(struct e1000_hw *, u16) set_page
s32 (*)(struct e1000_hw *, u32, u16 *) read_reg
s32 (*)(struct e1000_hw *, u32, u16 *) read_reg_locked
s32 (*)(struct e1000_hw *, u32, u16 *) read_reg_page
void (*)(struct e1000_hw *) release
s32 (*)(struct e1000_hw *) reset
s32 (*)(struct e1000_hw *, _Bool) set_d0_lplu_state
s32 (*)(struct e1000_hw *, _Bool) set_d3_lplu_state
s32 (*)(struct e1000_hw *, u32, u16) write_reg
s32 (*)(struct e1000_hw *, u32, u16) write_reg_locked
s32 (*)(struct e1000_hw *, u32, u16) write_reg_page
void (*)(struct e1000_hw *) power_up
void (*)(struct e1000_hw *) power_down
s32 (*)(struct e1000_hw *, u8, u8, u8 *) read_i2c_byte
s32 (*)(struct e1000_hw *, u8, u8, u8) write_i2c_byte