Symbol: em_hw
sys/dev/pci/if_em.c
3316
em_write_pci_cfg(struct em_hw *hw, uint32_t reg, uint16_t *value)
sys/dev/pci/if_em.c
3333
em_read_pci_cfg(struct em_hw *hw, uint32_t reg, uint16_t *value)
sys/dev/pci/if_em.c
3346
em_pci_set_mwi(struct em_hw *hw)
sys/dev/pci/if_em.c
3355
em_pci_clear_mwi(struct em_hw *hw)
sys/dev/pci/if_em.c
3368
em_read_pcie_cap_reg(struct em_hw *hw, uint32_t reg, uint16_t *value)
sys/dev/pci/if_em.c
3796
struct em_hw *hw = &sc->hw;
sys/dev/pci/if_em.c
3894
struct em_hw *hw = &sc->hw;
sys/dev/pci/if_em.c
4240
struct em_hw *hw = &sc->hw;
sys/dev/pci/if_em.h
390
struct em_hw hw;
sys/dev/pci/if_em_hw.c
100
static int32_t em_write_ich8_byte(struct em_hw *, uint32_t, uint8_t);
sys/dev/pci/if_em_hw.c
10017
em_valid_nvm_bank_detect_ich8lan(struct em_hw *hw, uint32_t *bank)
sys/dev/pci/if_em_hw.c
101
static int32_t em_read_ich8_word(struct em_hw *, uint32_t, uint16_t *);
sys/dev/pci/if_em_hw.c
10111
em_read_eeprom_spt(struct em_hw *hw, uint16_t offset, uint16_t words,
sys/dev/pci/if_em_hw.c
102
static int32_t em_read_ich8_dword(struct em_hw *, uint32_t, uint32_t *);
sys/dev/pci/if_em_hw.c
10206
em_read_eeprom_ich8(struct em_hw *hw, uint16_t offset, uint16_t words,
sys/dev/pci/if_em_hw.c
10273
em_write_eeprom_ich8(struct em_hw *hw, uint16_t offset, uint16_t words,
sys/dev/pci/if_em_hw.c
103
static int32_t em_read_ich8_data(struct em_hw *, uint32_t, uint32_t,
sys/dev/pci/if_em_hw.c
10322
em_ich8_cycle_init(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
10421
em_ich8_flash_cycle(struct em_hw *hw, uint32_t timeout)
sys/dev/pci/if_em_hw.c
10472
em_read_ich8_data(struct em_hw *hw, uint32_t index, uint32_t size,
sys/dev/pci/if_em_hw.c
105
static int32_t em_write_ich8_data(struct em_hw *, uint32_t, uint32_t,
sys/dev/pci/if_em_hw.c
10553
em_read_ich8_data32(struct em_hw *hw, uint32_t offset, uint32_t *data)
sys/dev/pci/if_em_hw.c
10638
em_write_ich8_data(struct em_hw *hw, uint32_t index, uint32_t size,
sys/dev/pci/if_em_hw.c
107
static int32_t em_read_eeprom_ich8(struct em_hw *, uint16_t, uint16_t,
sys/dev/pci/if_em_hw.c
10723
em_read_ich8_byte(struct em_hw *hw, uint32_t index, uint8_t *data)
sys/dev/pci/if_em_hw.c
10748
em_verify_write_ich8_byte(struct em_hw *hw, uint32_t index, uint8_t byte)
sys/dev/pci/if_em_hw.c
10781
em_write_ich8_byte(struct em_hw *hw, uint32_t index, uint8_t data)
sys/dev/pci/if_em_hw.c
10798
em_read_ich8_dword(struct em_hw *hw, uint32_t index, uint32_t *data)
sys/dev/pci/if_em_hw.c
10813
em_read_ich8_word(struct em_hw *hw, uint32_t index, uint16_t *data)
sys/dev/pci/if_em_hw.c
10832
em_erase_ich8_4k_segment(struct em_hw *hw, uint32_t bank)
sys/dev/pci/if_em_hw.c
109
static int32_t em_write_eeprom_ich8(struct em_hw *, uint16_t, uint16_t,
sys/dev/pci/if_em_hw.c
10976
em_read_invm_i210(struct em_hw *hw, uint16_t offset, uint16_t words,
sys/dev/pci/if_em_hw.c
11047
em_read_invm_word_i210(struct em_hw *hw, uint16_t address, uint16_t *data)
sys/dev/pci/if_em_hw.c
11078
em_init_lcd_from_nvm_config_region(struct em_hw *hw, uint32_t cnf_base_addr,
sys/dev/pci/if_em_hw.c
111
static int32_t em_read_invm_i210(struct em_hw *, uint16_t, uint16_t,
sys/dev/pci/if_em_hw.c
11121
em_init_lcd_from_nvm(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
11195
em_set_pciex_completion_timeout(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
11253
em_set_mdio_slow_mode_hv(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
11274
em_hv_phy_workarounds_ich8lan(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
113
static int32_t em_read_invm_word_i210(struct em_hw *, uint16_t, uint16_t *);
sys/dev/pci/if_em_hw.c
11397
em_link_stall_workaround_hv(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
114
static void em_release_software_flag(struct em_hw *);
sys/dev/pci/if_em_hw.c
11448
em_k1_gig_workaround_hv(struct em_hw *hw, boolean_t link)
sys/dev/pci/if_em_hw.c
115
static int32_t em_set_d3_lplu_state(struct em_hw *, boolean_t);
sys/dev/pci/if_em_hw.c
11520
em_k1_workaround_lv(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
11556
em_k1_workaround_lpt_lp(struct em_hw *hw, boolean_t link)
sys/dev/pci/if_em_hw.c
116
static int32_t em_set_d0_lplu_state(struct em_hw *, boolean_t);
sys/dev/pci/if_em_hw.c
11633
em_gate_hw_phy_config_ich8lan(struct em_hw *hw, boolean_t gate)
sys/dev/pci/if_em_hw.c
11661
em_configure_k1_ich8lan(struct em_hw *hw, boolean_t k1_enable)
sys/dev/pci/if_em_hw.c
117
static int32_t em_set_lplu_state_pchlan(struct em_hw *, boolean_t);
sys/dev/pci/if_em_hw.c
11707
em_lv_phy_workarounds_ich8lan(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
11748
em_set_eee_i350(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
11784
em_set_eee_pchlan(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
118
static int32_t em_set_pci_ex_no_snoop(struct em_hw *, uint32_t);
sys/dev/pci/if_em_hw.c
11816
em_initialize_M88E1512_phy(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
119
static void em_set_pci_express_master_disable(struct em_hw *);
sys/dev/pci/if_em_hw.c
120
static int32_t em_wait_autoneg(struct em_hw *);
sys/dev/pci/if_em_hw.c
121
static void em_write_reg_io(struct em_hw *, uint32_t, uint32_t);
sys/dev/pci/if_em_hw.c
122
static int32_t em_set_phy_type(struct em_hw *);
sys/dev/pci/if_em_hw.c
123
static void em_phy_init_script(struct em_hw *);
sys/dev/pci/if_em_hw.c
1235
struct em_hw *hw = &sc->hw;
sys/dev/pci/if_em_hw.c
124
static int32_t em_setup_copper_link(struct em_hw *);
sys/dev/pci/if_em_hw.c
125
static int32_t em_setup_fiber_serdes_link(struct em_hw *);
sys/dev/pci/if_em_hw.c
126
static int32_t em_adjust_serdes_amplitude(struct em_hw *);
sys/dev/pci/if_em_hw.c
127
static int32_t em_phy_force_speed_duplex(struct em_hw *);
sys/dev/pci/if_em_hw.c
128
static int32_t em_config_mac_to_phy(struct em_hw *);
sys/dev/pci/if_em_hw.c
129
static void em_raise_mdi_clk(struct em_hw *, uint32_t *);
sys/dev/pci/if_em_hw.c
130
static void em_lower_mdi_clk(struct em_hw *, uint32_t *);
sys/dev/pci/if_em_hw.c
131
static void em_shift_out_mdi_bits(struct em_hw *, uint32_t, uint16_t);
sys/dev/pci/if_em_hw.c
132
static uint16_t em_shift_in_mdi_bits(struct em_hw *);
sys/dev/pci/if_em_hw.c
133
static int32_t em_phy_reset_dsp(struct em_hw *);
sys/dev/pci/if_em_hw.c
134
static int32_t em_write_eeprom_spi(struct em_hw *, uint16_t, uint16_t,
sys/dev/pci/if_em_hw.c
136
static int32_t em_write_eeprom_microwire(struct em_hw *, uint16_t, uint16_t,
sys/dev/pci/if_em_hw.c
1370
em_toggle_lanphypc_pch_lpt(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
138
static int32_t em_spi_eeprom_ready(struct em_hw *);
sys/dev/pci/if_em_hw.c
139
static void em_raise_ee_clk(struct em_hw *, uint32_t *);
sys/dev/pci/if_em_hw.c
140
static void em_lower_ee_clk(struct em_hw *, uint32_t *);
sys/dev/pci/if_em_hw.c
141
static void em_shift_out_ee_bits(struct em_hw *, uint16_t, uint16_t);
sys/dev/pci/if_em_hw.c
142
static int32_t em_write_phy_reg_ex(struct em_hw *, uint32_t, uint16_t);
sys/dev/pci/if_em_hw.c
1423
em_disable_ulp_lpt_lp(struct em_hw *hw, bool force)
sys/dev/pci/if_em_hw.c
143
static int32_t em_read_phy_reg_ex(struct em_hw *, uint32_t, uint16_t *);
sys/dev/pci/if_em_hw.c
144
static uint16_t em_shift_in_ee_bits(struct em_hw *, uint16_t);
sys/dev/pci/if_em_hw.c
145
static int32_t em_acquire_eeprom(struct em_hw *);
sys/dev/pci/if_em_hw.c
146
static void em_release_eeprom(struct em_hw *);
sys/dev/pci/if_em_hw.c
147
static void em_standby_eeprom(struct em_hw *);
sys/dev/pci/if_em_hw.c
148
static int32_t em_set_vco_speed(struct em_hw *);
sys/dev/pci/if_em_hw.c
149
static int32_t em_polarity_reversal_workaround(struct em_hw *);
sys/dev/pci/if_em_hw.c
150
static int32_t em_set_phy_mode(struct em_hw *);
sys/dev/pci/if_em_hw.c
151
static int32_t em_host_if_read_cookie(struct em_hw *, uint8_t *);
sys/dev/pci/if_em_hw.c
153
static int32_t em_configure_kmrn_for_10_100(struct em_hw *, uint16_t);
sys/dev/pci/if_em_hw.c
154
static int32_t em_configure_kmrn_for_1000(struct em_hw *);
sys/dev/pci/if_em_hw.c
155
static int32_t em_set_pciex_completion_timeout(struct em_hw *hw);
sys/dev/pci/if_em_hw.c
156
static int32_t em_set_mdio_slow_mode_hv(struct em_hw *);
sys/dev/pci/if_em_hw.c
1562
struct em_hw *hw = &sc->hw;
sys/dev/pci/if_em_hw.c
157
int32_t em_hv_phy_workarounds_ich8lan(struct em_hw *);
sys/dev/pci/if_em_hw.c
158
int32_t em_lv_phy_workarounds_ich8lan(struct em_hw *);
sys/dev/pci/if_em_hw.c
159
int32_t em_link_stall_workaround_hv(struct em_hw *);
sys/dev/pci/if_em_hw.c
160
int32_t em_k1_gig_workaround_hv(struct em_hw *, boolean_t);
sys/dev/pci/if_em_hw.c
161
int32_t em_k1_workaround_lv(struct em_hw *);
sys/dev/pci/if_em_hw.c
162
int32_t em_k1_workaround_lpt_lp(struct em_hw *, boolean_t);
sys/dev/pci/if_em_hw.c
163
int32_t em_configure_k1_ich8lan(struct em_hw *, boolean_t);
sys/dev/pci/if_em_hw.c
164
void em_gate_hw_phy_config_ich8lan(struct em_hw *, boolean_t);
sys/dev/pci/if_em_hw.c
165
int32_t em_access_phy_wakeup_reg_bm(struct em_hw *, uint32_t,
sys/dev/pci/if_em_hw.c
167
int32_t em_access_phy_debug_regs_hv(struct em_hw *, uint32_t,
sys/dev/pci/if_em_hw.c
169
int32_t em_access_phy_reg_hv(struct em_hw *, uint32_t, uint16_t *,
sys/dev/pci/if_em_hw.c
171
int32_t em_oem_bits_config_pchlan(struct em_hw *, boolean_t);
sys/dev/pci/if_em_hw.c
172
void em_power_up_serdes_link_82575(struct em_hw *);
sys/dev/pci/if_em_hw.c
173
int32_t em_get_pcs_speed_and_duplex_82575(struct em_hw *, uint16_t *,
sys/dev/pci/if_em_hw.c
175
int32_t em_set_eee_i350(struct em_hw *);
sys/dev/pci/if_em_hw.c
176
int32_t em_set_eee_pchlan(struct em_hw *);
sys/dev/pci/if_em_hw.c
177
int32_t em_valid_nvm_bank_detect_ich8lan(struct em_hw *, uint32_t *);
sys/dev/pci/if_em_hw.c
178
int32_t em_initialize_M88E1512_phy(struct em_hw *);
sys/dev/pci/if_em_hw.c
1876
em_adjust_serdes_amplitude(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
1921
em_setup_link(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
2093
em_power_up_serdes_link_82575(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
211
em_set_phy_type(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
2126
em_setup_fiber_serdes_link(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
2327
em_copper_link_preconfig(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
2395
em_copper_link_igp_setup(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
2551
em_copper_link_ggp_setup(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
2697
em_copper_link_mgp_setup(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
2861
em_copper_link_82577_setup(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
2900
em_copper_link_82580_setup(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
2927
em_copper_link_rtl8211_setup(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
296
em_phy_init_script(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
3061
em_copper_link_autoneg(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
3131
em_copper_link_postconfig(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
3168
em_setup_copper_link(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
3317
em_configure_kmrn_for_10_100(struct em_hw *hw, uint16_t duplex)
sys/dev/pci/if_em_hw.c
3352
em_configure_kmrn_for_1000(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
3388
em_phy_setup_autoneg(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
3536
em_phy_force_speed_duplex(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
3871
em_config_collision_dist(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
3900
em_config_mac_to_phy(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
392
em_set_mac_type(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
3960
em_force_mac_fc(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
4023
em_config_fc_after_link_up(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
4249
em_check_for_link(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
4557
em_get_pcs_speed_and_duplex_82575(struct em_hw *hw, uint16_t *speed,
sys/dev/pci/if_em_hw.c
4610
em_get_speed_and_duplex(struct em_hw *hw, uint16_t *speed, uint16_t *duplex)
sys/dev/pci/if_em_hw.c
4695
em_wait_autoneg(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
4730
em_raise_mdi_clk(struct em_hw *hw, uint32_t *ctrl)
sys/dev/pci/if_em_hw.c
4748
em_lower_mdi_clk(struct em_hw *hw, uint32_t *ctrl)
sys/dev/pci/if_em_hw.c
4769
em_shift_out_mdi_bits(struct em_hw *hw, uint32_t data, uint16_t count)
sys/dev/pci/if_em_hw.c
4821
em_shift_in_mdi_bits(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
4870
em_swfw_sync_acquire(struct em_hw *hw, uint16_t mask)
sys/dev/pci/if_em_hw.c
4914
em_swfw_sync_release(struct em_hw *hw, uint16_t mask)
sys/dev/pci/if_em_hw.c
4950
em_access_phy_wakeup_reg_bm(struct em_hw *hw, uint32_t reg_addr,
sys/dev/pci/if_em_hw.c
5021
em_access_phy_debug_regs_hv(struct em_hw *hw, uint32_t reg_addr,
sys/dev/pci/if_em_hw.c
5065
em_access_phy_reg_hv(struct em_hw *hw, uint32_t reg_addr, uint16_t *phy_data,
sys/dev/pci/if_em_hw.c
5136
em_read_phy_reg(struct em_hw *hw, uint32_t reg_addr, uint16_t *phy_data)
sys/dev/pci/if_em_hw.c
5214
em_read_phy_reg_ex(struct em_hw *hw, uint32_t reg_addr, uint16_t *phy_data)
sys/dev/pci/if_em_hw.c
5316
em_write_phy_reg(struct em_hw *hw, uint32_t reg_addr, uint16_t phy_data)
sys/dev/pci/if_em_hw.c
5386
em_write_phy_reg_ex(struct em_hw *hw, uint32_t reg_addr, uint16_t phy_data)
sys/dev/pci/if_em_hw.c
5468
em_read_kmrn_reg(struct em_hw *hw, uint32_t reg_addr, uint16_t *data)
sys/dev/pci/if_em_hw.c
5493
em_write_kmrn_reg(struct em_hw *hw, uint32_t reg_addr, uint16_t data)
sys/dev/pci/if_em_hw.c
5519
em_sgmii_uses_mdio_82575(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
5554
em_read_phy_reg_i2c(struct em_hw *hw, uint32_t offset, uint16_t *data)
sys/dev/pci/if_em_hw.c
5601
em_write_phy_reg_i2c(struct em_hw *hw, uint32_t offset, uint16_t data)
sys/dev/pci/if_em_hw.c
5662
em_read_sfp_data_byte(struct em_hw *hw, uint16_t offset, uint8_t *data)
sys/dev/pci/if_em_hw.c
57
static int32_t em_swfw_sync_acquire(struct em_hw *, uint16_t);
sys/dev/pci/if_em_hw.c
5710
em_phy_hw_reset(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
58
static void em_swfw_sync_release(struct em_hw *, uint16_t);
sys/dev/pci/if_em_hw.c
5802
em_oem_bits_config_pchlan(struct em_hw *hw, boolean_t d0_state)
sys/dev/pci/if_em_hw.c
5871
em_phy_reset(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
59
static int32_t em_read_kmrn_reg(struct em_hw *, uint32_t, uint16_t *);
sys/dev/pci/if_em_hw.c
5960
em_kumeran_lock_loss_workaround(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
60
static int32_t em_write_kmrn_reg(struct em_hw *hw, uint32_t, uint16_t);
sys/dev/pci/if_em_hw.c
6012
em_match_gig_phy(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
61
static int32_t em_get_software_semaphore(struct em_hw *);
sys/dev/pci/if_em_hw.c
6156
em_detect_gig_phy(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
62
static void em_release_software_semaphore(struct em_hw *);
sys/dev/pci/if_em_hw.c
6254
em_phy_reset_dsp(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
6285
em_init_eeprom_params(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
64
static int32_t em_check_downshift(struct em_hw *);
sys/dev/pci/if_em_hw.c
65
static void em_clear_vfta(struct em_hw *);
sys/dev/pci/if_em_hw.c
6542
em_raise_ee_clk(struct em_hw *hw, uint32_t *eecd)
sys/dev/pci/if_em_hw.c
6561
em_lower_ee_clk(struct em_hw *hw, uint32_t *eecd)
sys/dev/pci/if_em_hw.c
6581
em_shift_out_ee_bits(struct em_hw *hw, uint16_t data, uint16_t count)
sys/dev/pci/if_em_hw.c
66
void em_clear_vfta_i350(struct em_hw *);
sys/dev/pci/if_em_hw.c
6634
em_shift_in_ee_bits(struct em_hw *hw, uint16_t count)
sys/dev/pci/if_em_hw.c
6676
em_acquire_eeprom(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
67
static int32_t em_commit_shadow_ram(struct em_hw *);
sys/dev/pci/if_em_hw.c
6732
em_standby_eeprom(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
6780
em_release_eeprom(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
68
static int32_t em_config_dsp_after_link_change(struct em_hw *, boolean_t);
sys/dev/pci/if_em_hw.c
6828
em_spi_eeprom_ready(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
6872
em_read_eeprom(struct em_hw *hw, uint16_t offset, uint16_t words,
sys/dev/pci/if_em_hw.c
69
static int32_t em_config_fc_after_link_up(struct em_hw *);
sys/dev/pci/if_em_hw.c
6982
em_read_eeprom_eerd(struct em_hw *hw, uint16_t offset, uint16_t words,
sys/dev/pci/if_em_hw.c
70
static int32_t em_match_gig_phy(struct em_hw *);
sys/dev/pci/if_em_hw.c
7014
em_write_eeprom_eewr(struct em_hw *hw, uint16_t offset, uint16_t words,
sys/dev/pci/if_em_hw.c
7051
em_poll_eerd_eewr_done(struct em_hw *hw, int eerd)
sys/dev/pci/if_em_hw.c
7078
em_is_onboard_nvm_eeprom(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
71
static int32_t em_detect_gig_phy(struct em_hw *);
sys/dev/pci/if_em_hw.c
7106
em_get_flash_presence_i210(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
7132
em_validate_eeprom_checksum(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
72
static int32_t em_erase_ich8_4k_segment(struct em_hw *, uint32_t);
sys/dev/pci/if_em_hw.c
7222
em_update_eeprom_checksum(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
7268
em_write_eeprom(struct em_hw *hw, uint16_t offset, uint16_t words,
sys/dev/pci/if_em_hw.c
73
static int32_t em_get_auto_rd_done(struct em_hw *);
sys/dev/pci/if_em_hw.c
7322
em_write_eeprom_spi(struct em_hw *hw, uint16_t offset, uint16_t words,
sys/dev/pci/if_em_hw.c
7390
em_write_eeprom_microwire(struct em_hw *hw, uint16_t offset, uint16_t words,
sys/dev/pci/if_em_hw.c
74
static int32_t em_get_cable_length(struct em_hw *, uint16_t *, uint16_t *);
sys/dev/pci/if_em_hw.c
741
STATIC int32_t em_set_sfp_media_type_82575(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
7475
em_commit_shadow_ram(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
75
static int32_t em_get_hw_eeprom_semaphore(struct em_hw *);
sys/dev/pci/if_em_hw.c
76
static int32_t em_get_phy_cfg_done(struct em_hw *);
sys/dev/pci/if_em_hw.c
7663
em_read_part_num(struct em_hw *hw, uint32_t *part_num)
sys/dev/pci/if_em_hw.c
7695
em_read_mac_addr(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
77
static int32_t em_get_software_flag(struct em_hw *);
sys/dev/pci/if_em_hw.c
7748
em_phy_no_cable_workaround(struct em_hw *hw) {
sys/dev/pci/if_em_hw.c
78
static int32_t em_ich8_cycle_init(struct em_hw *);
sys/dev/pci/if_em_hw.c
7838
em_init_rx_addrs(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
7897
em_mc_addr_list_update(struct em_hw *hw, uint8_t *mc_addr_list,
sys/dev/pci/if_em_hw.c
79
static int32_t em_ich8_flash_cycle(struct em_hw *, uint32_t);
sys/dev/pci/if_em_hw.c
7948
em_hash_mc_addr(struct em_hw *hw, uint8_t *mc_addr)
sys/dev/pci/if_em_hw.c
80
static int32_t em_id_led_init(struct em_hw *);
sys/dev/pci/if_em_hw.c
8020
em_mta_set(struct em_hw *hw, uint32_t hash_value)
sys/dev/pci/if_em_hw.c
8068
em_rar_set(struct em_hw *hw, uint8_t *addr, uint32_t index)
sys/dev/pci/if_em_hw.c
809
em_set_media_type(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
81
static int32_t em_init_lcd_from_nvm_config_region(struct em_hw *, uint32_t,
sys/dev/pci/if_em_hw.c
8120
em_clear_vfta(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
8163
em_clear_vfta_i350(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
8176
em_id_led_init(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
8257
em_clear_hw_cntrs(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
83
static int32_t em_init_lcd_from_nvm(struct em_hw *);
sys/dev/pci/if_em_hw.c
8386
em_get_bus_info(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
84
static int32_t em_phy_no_cable_workaround(struct em_hw *);
sys/dev/pci/if_em_hw.c
8479
em_write_reg_io(struct em_hw *hw, uint32_t offset, uint32_t value)
sys/dev/pci/if_em_hw.c
85
static void em_init_rx_addrs(struct em_hw *);
sys/dev/pci/if_em_hw.c
8503
em_get_cable_length(struct em_hw *hw, uint16_t *min_length,
sys/dev/pci/if_em_hw.c
87
static void em_toggle_lanphypc_pch_lpt(struct em_hw *);
sys/dev/pci/if_em_hw.c
8706
em_check_downshift(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
8752
em_config_dsp_after_link_change(struct em_hw *hw, boolean_t link_up)
sys/dev/pci/if_em_hw.c
88
static int em_disable_ulp_lpt_lp(struct em_hw *hw, bool force);
sys/dev/pci/if_em_hw.c
89
static boolean_t em_is_onboard_nvm_eeprom(struct em_hw *);
sys/dev/pci/if_em_hw.c
8945
em_set_phy_mode(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
8989
em_set_d3_lplu_state(struct em_hw *hw, boolean_t active)
sys/dev/pci/if_em_hw.c
90
static int32_t em_kumeran_lock_loss_workaround(struct em_hw *);
sys/dev/pci/if_em_hw.c
91
static int32_t em_mng_enable_host_if(struct em_hw *);
sys/dev/pci/if_em_hw.c
9125
em_set_d0_lplu_state(struct em_hw *hw, boolean_t active)
sys/dev/pci/if_em_hw.c
92
static int32_t em_read_eeprom_eerd(struct em_hw *, uint16_t, uint16_t,
sys/dev/pci/if_em_hw.c
9222
em_set_lplu_state_pchlan(struct em_hw *hw, boolean_t active)
sys/dev/pci/if_em_hw.c
9251
em_set_vco_speed(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
926
em_reset_hw(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
9313
em_host_if_read_cookie(struct em_hw *hw, uint8_t *buffer)
sys/dev/pci/if_em_hw.c
9338
em_mng_enable_host_if(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
9369
em_check_mng_mode(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
94
static int32_t em_write_eeprom_eewr(struct em_hw *, uint16_t, uint16_t,
sys/dev/pci/if_em_hw.c
9410
em_enable_tx_pkt_filtering(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
9442
em_polarity_reversal_workaround(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
9538
em_set_pci_express_master_disable(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
9564
em_disable_pciex_master(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
96
static int32_t em_poll_eerd_eewr_done(struct em_hw *, int);
sys/dev/pci/if_em_hw.c
9601
em_get_auto_rd_done(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
9666
em_get_phy_cfg_done(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
97
static void em_put_hw_eeprom_semaphore(struct em_hw *);
sys/dev/pci/if_em_hw.c
9724
em_get_hw_eeprom_semaphore(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
9772
em_put_hw_eeprom_semaphore(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
98
static int32_t em_read_ich8_byte(struct em_hw *, uint32_t, uint8_t *);
sys/dev/pci/if_em_hw.c
9800
em_get_software_semaphore(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
9836
em_release_software_semaphore(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
9862
em_check_phy_reset_block(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
9898
em_set_pci_ex_no_snoop(struct em_hw *hw, uint32_t no_snoop)
sys/dev/pci/if_em_hw.c
99
static int32_t em_verify_write_ich8_byte(struct em_hw *, uint32_t, uint8_t);
sys/dev/pci/if_em_hw.c
9934
em_get_software_flag(struct em_hw *hw)
sys/dev/pci/if_em_hw.c
9992
em_release_software_flag(struct em_hw *hw)
sys/dev/pci/if_em_hw.h
343
int32_t em_reset_hw(struct em_hw *hw);
sys/dev/pci/if_em_hw.h
345
int32_t em_set_mac_type(struct em_hw *hw);
sys/dev/pci/if_em_hw.h
346
void em_set_media_type(struct em_hw *hw);
sys/dev/pci/if_em_hw.h
349
int32_t em_setup_link(struct em_hw *hw);
sys/dev/pci/if_em_hw.h
350
int32_t em_phy_setup_autoneg(struct em_hw *hw);
sys/dev/pci/if_em_hw.h
351
void em_config_collision_dist(struct em_hw *hw);
sys/dev/pci/if_em_hw.h
352
int32_t em_check_for_link(struct em_hw *hw);
sys/dev/pci/if_em_hw.h
353
int32_t em_get_speed_and_duplex(struct em_hw *hw, uint16_t *speed, uint16_t *duplex);
sys/dev/pci/if_em_hw.h
354
int32_t em_force_mac_fc(struct em_hw *hw);
sys/dev/pci/if_em_hw.h
355
int32_t em_copper_link_autoneg(struct em_hw *hw);
sys/dev/pci/if_em_hw.h
356
int32_t em_copper_link_postconfig(struct em_hw *hw);
sys/dev/pci/if_em_hw.h
359
int32_t em_read_phy_reg(struct em_hw *hw, uint32_t reg_addr, uint16_t *phy_data);
sys/dev/pci/if_em_hw.h
360
int32_t em_write_phy_reg(struct em_hw *hw, uint32_t reg_addr, uint16_t data);
sys/dev/pci/if_em_hw.h
361
int32_t em_phy_hw_reset(struct em_hw *hw);
sys/dev/pci/if_em_hw.h
362
int32_t em_phy_reset(struct em_hw *hw);
sys/dev/pci/if_em_hw.h
363
int em_sgmii_uses_mdio_82575(struct em_hw *);
sys/dev/pci/if_em_hw.h
364
int32_t em_read_phy_reg_i2c(struct em_hw *, uint32_t, uint16_t *);
sys/dev/pci/if_em_hw.h
365
int32_t em_write_phy_reg_i2c(struct em_hw *, uint32_t, uint16_t);
sys/dev/pci/if_em_hw.h
366
int32_t em_read_sfp_data_byte(struct em_hw *, uint16_t, uint8_t *);
sys/dev/pci/if_em_hw.h
369
int32_t em_init_eeprom_params(struct em_hw *hw);
sys/dev/pci/if_em_hw.h
410
int32_t em_read_part_num(struct em_hw *hw, uint32_t *part_num);
sys/dev/pci/if_em_hw.h
411
boolean_t em_check_mng_mode(struct em_hw *hw);
sys/dev/pci/if_em_hw.h
412
boolean_t em_enable_tx_pkt_filtering(struct em_hw *hw);
sys/dev/pci/if_em_hw.h
413
int32_t em_read_eeprom(struct em_hw *hw, uint16_t reg, uint16_t words, uint16_t *data);
sys/dev/pci/if_em_hw.h
414
int32_t em_validate_eeprom_checksum(struct em_hw *hw);
sys/dev/pci/if_em_hw.h
415
int32_t em_update_eeprom_checksum(struct em_hw *hw);
sys/dev/pci/if_em_hw.h
416
int32_t em_write_eeprom(struct em_hw *hw, uint16_t reg, uint16_t words, uint16_t *data);
sys/dev/pci/if_em_hw.h
417
int32_t em_read_mac_addr(struct em_hw * hw);
sys/dev/pci/if_em_hw.h
418
boolean_t em_get_flash_presence_i210(struct em_hw *);
sys/dev/pci/if_em_hw.h
421
void em_mc_addr_list_update(struct em_hw *hw, uint8_t * mc_addr_list, uint32_t mc_addr_count,
sys/dev/pci/if_em_hw.h
423
uint32_t em_hash_mc_addr(struct em_hw *hw, uint8_t *mc_addr);
sys/dev/pci/if_em_hw.h
424
void em_mta_set(struct em_hw *hw, uint32_t hash_value);
sys/dev/pci/if_em_hw.h
425
void em_rar_set(struct em_hw *hw, uint8_t *mc_addr, uint32_t rar_index);
sys/dev/pci/if_em_hw.h
430
void em_clear_hw_cntrs(struct em_hw *hw);
sys/dev/pci/if_em_hw.h
431
void em_get_bus_info(struct em_hw *hw);
sys/dev/pci/if_em_hw.h
432
void em_pci_set_mwi(struct em_hw *hw);
sys/dev/pci/if_em_hw.h
433
void em_pci_clear_mwi(struct em_hw *hw);
sys/dev/pci/if_em_hw.h
434
void em_read_pci_cfg(struct em_hw *hw, uint32_t reg, uint16_t *value);
sys/dev/pci/if_em_hw.h
435
void em_write_pci_cfg(struct em_hw *hw, uint32_t reg, uint16_t *value);
sys/dev/pci/if_em_hw.h
436
int32_t em_read_pcie_cap_reg(struct em_hw *hw, uint32_t reg, uint16_t *value);
sys/dev/pci/if_em_hw.h
438
int32_t em_disable_pciex_master(struct em_hw *hw);
sys/dev/pci/if_em_hw.h
439
int32_t em_check_phy_reset_block(struct em_hw *hw);
sys/dev/pci/if_em_hw.h
47
struct em_hw;
sys/dev/pci/if_em_soc.c
49
gcu_miibus_readreg(struct em_hw *hw, int phy, int reg)
sys/dev/pci/if_em_soc.c
97
gcu_miibus_writereg(struct em_hw *hw, int phy, int reg, int val)
sys/dev/pci/if_em_soc.h
23
int gcu_miibus_readreg(struct em_hw *, int, int);
sys/dev/pci/if_em_soc.h
24
void gcu_miibus_writereg(struct em_hw *, int, int, int);