Searched refs:hw (Results 26 - 50 of 257) sorted by relevance

1234567891011

/freebsd-11-stable/sys/dev/e1000/
H A De1000_phy.c37 static s32 e1000_wait_autoneg(struct e1000_hw *hw);
38 static s32 e1000_access_phy_wakeup_reg_bm(struct e1000_hw *hw, u32 offset,
41 static s32 e1000_access_phy_debug_regs_hv(struct e1000_hw *hw, u32 offset,
66 * @hw: pointer to the HW structure
70 void e1000_init_phy_ops_generic(struct e1000_hw *hw) argument
72 struct e1000_phy_info *phy = &hw->phy;
105 * @hw: pointer to the HW structure
107 s32 e1000_null_set_page(struct e1000_hw E1000_UNUSEDARG *hw, argument
116 * @hw: pointer to the HW structure
118 s32 e1000_null_read_reg(struct e1000_hw E1000_UNUSEDARG *hw, argument
129 e1000_null_phy_generic(struct e1000_hw E1000_UNUSEDARG *hw) argument
139 e1000_null_lplu_state(struct e1000_hw E1000_UNUSEDARG *hw, bool E1000_UNUSEDARG active) argument
150 e1000_null_write_reg(struct e1000_hw E1000_UNUSEDARG *hw, u32 E1000_UNUSEDARG offset, u16 E1000_UNUSEDARG data) argument
165 e1000_read_i2c_byte_null(struct e1000_hw E1000_UNUSEDARG *hw, u8 E1000_UNUSEDARG byte_offset, u8 E1000_UNUSEDARG dev_addr, u8 E1000_UNUSEDARG *data) argument
182 e1000_write_i2c_byte_null(struct e1000_hw E1000_UNUSEDARG *hw, u8 E1000_UNUSEDARG byte_offset, u8 E1000_UNUSEDARG dev_addr, u8 E1000_UNUSEDARG data) argument
199 e1000_check_reset_block_generic(struct e1000_hw *hw) argument
218 e1000_get_phy_id(struct e1000_hw *hw) argument
259 e1000_phy_reset_dsp_generic(struct e1000_hw *hw) argument
284 e1000_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) argument
349 e1000_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) argument
415 e1000_read_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 *data) argument
462 e1000_write_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 data) argument
523 e1000_read_sfp_data_byte(struct e1000_hw *hw, u16 offset, u8 *data) argument
578 e1000_write_sfp_data_byte(struct e1000_hw *hw, u16 offset, u8 data) argument
648 e1000_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data) argument
678 e1000_write_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 data) argument
708 e1000_set_page_igp(struct e1000_hw *hw, u16 page) argument
730 __e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data, bool locked) argument
770 e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data) argument
784 e1000_read_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 *data) argument
799 __e1000_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data, bool locked) argument
838 e1000_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data) argument
852 e1000_write_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 data) argument
868 __e1000_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data, bool locked) argument
912 e1000_read_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 *data) argument
927 e1000_read_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 *data) argument
943 __e1000_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data, bool locked) argument
983 e1000_write_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 data) argument
997 e1000_write_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 data) argument
1008 e1000_set_master_slave_mode(struct e1000_hw *hw) argument
1048 e1000_copper_link_setup_82577(struct e1000_hw *hw) argument
1112 e1000_copper_link_setup_m88(struct e1000_hw *hw) argument
1264 e1000_copper_link_setup_m88_gen2(struct e1000_hw *hw) argument
1361 e1000_copper_link_setup_igp(struct e1000_hw *hw) argument
1471 e1000_phy_setup_autoneg(struct e1000_hw *hw) argument
1624 e1000_copper_link_autoneg(struct e1000_hw *hw) argument
1688 e1000_setup_copper_link_generic(struct e1000_hw *hw) argument
1741 e1000_phy_force_speed_duplex_igp(struct e1000_hw *hw) argument
1807 e1000_phy_force_speed_duplex_m88(struct e1000_hw *hw) argument
1946 e1000_phy_force_speed_duplex_ife(struct e1000_hw *hw) argument
2014 e1000_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl) argument
2077 e1000_set_d3_lplu_state_generic(struct e1000_hw *hw, bool active) argument
2161 e1000_check_downshift_generic(struct e1000_hw *hw) argument
2206 e1000_check_polarity_m88(struct e1000_hw *hw) argument
2233 e1000_check_polarity_igp(struct e1000_hw *hw) argument
2276 e1000_check_polarity_ife(struct e1000_hw *hw) argument
2311 e1000_wait_autoneg(struct e1000_hw *hw) argument
2349 e1000_phy_has_link_generic(struct e1000_hw *hw, u32 iterations, u32 usec_interval, bool *success) argument
2407 e1000_get_cable_length_m88(struct e1000_hw *hw) argument
2433 e1000_get_cable_length_m88_gen2(struct e1000_hw *hw) argument
2556 e1000_get_cable_length_igp_2(struct e1000_hw *hw) argument
2626 e1000_get_phy_info_m88(struct e1000_hw *hw) argument
2701 e1000_get_phy_info_igp(struct e1000_hw *hw) argument
2763 e1000_get_phy_info_ife(struct e1000_hw *hw) argument
2818 e1000_phy_sw_reset_generic(struct e1000_hw *hw) argument
2851 e1000_phy_hw_reset_generic(struct e1000_hw *hw) argument
2892 e1000_get_cfg_done_generic(struct e1000_hw E1000_UNUSEDARG *hw) argument
2907 e1000_phy_init_script_igp3(struct e1000_hw *hw) argument
3057 e1000_determine_phy_address(struct e1000_hw *hw) argument
3112 e1000_write_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 data) argument
3172 e1000_read_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 *data) argument
3231 e1000_read_phy_reg_bm2(struct e1000_hw *hw, u32 offset, u16 *data) argument
3276 e1000_write_phy_reg_bm2(struct e1000_hw *hw, u32 offset, u16 data) argument
3321 e1000_enable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg) argument
3379 e1000_disable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg) argument
3429 e1000_access_phy_wakeup_reg_bm(struct e1000_hw *hw, u32 offset, u16 *data, bool read, bool page_set) argument
3492 e1000_power_up_phy_copper(struct e1000_hw *hw) argument
3510 e1000_power_down_phy_copper(struct e1000_hw *hw) argument
3532 __e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data, bool locked, bool page_set) argument
3598 e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data) argument
3612 e1000_read_phy_reg_hv_locked(struct e1000_hw *hw, u32 offset, u16 *data) argument
3626 e1000_read_phy_reg_page_hv(struct e1000_hw *hw, u32 offset, u16 *data) argument
3641 __e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data, bool locked, bool page_set) argument
3723 e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data) argument
3737 e1000_write_phy_reg_hv_locked(struct e1000_hw *hw, u32 offset, u16 data) argument
3751 e1000_write_phy_reg_page_hv(struct e1000_hw *hw, u32 offset, u16 data) argument
3782 e1000_access_phy_debug_regs_hv(struct e1000_hw *hw, u32 offset, u16 *data, bool read) argument
3829 e1000_link_stall_workaround_hv(struct e1000_hw *hw) argument
3877 e1000_check_polarity_82577(struct e1000_hw *hw) argument
3901 e1000_phy_force_speed_duplex_82577(struct e1000_hw *hw) argument
3950 e1000_get_phy_info_82577(struct e1000_hw *hw) argument
4013 e1000_get_cable_length_82577(struct e1000_hw *hw) argument
4045 e1000_write_phy_reg_gs40g(struct e1000_hw *hw, u32 offset, u16 data) argument
4077 e1000_read_phy_reg_gs40g(struct e1000_hw *hw, u32 offset, u16 *data) argument
4108 e1000_read_phy_reg_mphy(struct e1000_hw *hw, u32 address, u32 *data) argument
4169 e1000_write_phy_reg_mphy(struct e1000_hw *hw, u32 address, u32 data, bool line_override) argument
4231 e1000_is_mphy_ready(struct e1000_hw *hw) argument
[all...]
H A De1000_82541.c46 static s32 e1000_init_phy_params_82541(struct e1000_hw *hw);
47 static s32 e1000_init_nvm_params_82541(struct e1000_hw *hw);
48 static s32 e1000_init_mac_params_82541(struct e1000_hw *hw);
49 static s32 e1000_reset_hw_82541(struct e1000_hw *hw);
50 static s32 e1000_init_hw_82541(struct e1000_hw *hw);
51 static s32 e1000_get_link_up_info_82541(struct e1000_hw *hw, u16 *speed,
53 static s32 e1000_phy_hw_reset_82541(struct e1000_hw *hw);
54 static s32 e1000_setup_copper_link_82541(struct e1000_hw *hw);
55 static s32 e1000_check_for_link_82541(struct e1000_hw *hw);
56 static s32 e1000_get_cable_length_igp_82541(struct e1000_hw *hw);
85 e1000_init_phy_params_82541(struct e1000_hw *hw) argument
128 e1000_init_nvm_params_82541(struct e1000_hw *hw) argument
219 e1000_init_mac_params_82541(struct e1000_hw *hw) argument
281 e1000_init_function_pointers_82541(struct e1000_hw *hw) argument
296 e1000_reset_hw_82541(struct e1000_hw *hw) argument
374 e1000_init_hw_82541(struct e1000_hw *hw) argument
444 e1000_get_link_up_info_82541(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument
499 e1000_phy_hw_reset_82541(struct e1000_hw *hw) argument
533 e1000_setup_copper_link_82541(struct e1000_hw *hw) argument
584 e1000_check_for_link_82541(struct e1000_hw *hw) argument
668 e1000_config_dsp_after_link_change_82541(struct e1000_hw *hw, bool link_up) argument
872 e1000_get_cable_length_igp_82541(struct e1000_hw *hw) argument
945 e1000_set_d3_lplu_state_82541(struct e1000_hw *hw, bool active) argument
1036 e1000_setup_led_82541(struct e1000_hw *hw) argument
1067 e1000_cleanup_led_82541(struct e1000_hw *hw) argument
1091 e1000_phy_init_script_82541(struct e1000_hw *hw) argument
1204 e1000_init_script_state_82541(struct e1000_hw *hw, bool state) argument
1228 e1000_power_down_phy_copper_82541(struct e1000_hw *hw) argument
1243 e1000_clear_hw_cntrs_82541(struct e1000_hw *hw) argument
1280 e1000_read_mac_addr_82541(struct e1000_hw *hw) argument
[all...]
H A De1000_82540.c48 static s32 e1000_init_phy_params_82540(struct e1000_hw *hw);
49 static s32 e1000_init_nvm_params_82540(struct e1000_hw *hw);
50 static s32 e1000_init_mac_params_82540(struct e1000_hw *hw);
51 static s32 e1000_adjust_serdes_amplitude_82540(struct e1000_hw *hw);
52 static void e1000_clear_hw_cntrs_82540(struct e1000_hw *hw);
53 static s32 e1000_init_hw_82540(struct e1000_hw *hw);
54 static s32 e1000_reset_hw_82540(struct e1000_hw *hw);
55 static s32 e1000_set_phy_mode_82540(struct e1000_hw *hw);
56 static s32 e1000_set_vco_speed_82540(struct e1000_hw *hw);
57 static s32 e1000_setup_copper_link_82540(struct e1000_hw *hw);
66 e1000_init_phy_params_82540(struct e1000_hw *hw) argument
117 e1000_init_nvm_params_82540(struct e1000_hw *hw) argument
158 e1000_init_mac_params_82540(struct e1000_hw *hw) argument
255 e1000_init_function_pointers_82540(struct e1000_hw *hw) argument
270 e1000_reset_hw_82540(struct e1000_hw *hw) argument
328 e1000_init_hw_82540(struct e1000_hw *hw) argument
411 e1000_setup_copper_link_82540(struct e1000_hw *hw) argument
460 e1000_setup_fiber_serdes_link_82540(struct e1000_hw *hw) argument
499 e1000_adjust_serdes_amplitude_82540(struct e1000_hw *hw) argument
529 e1000_set_vco_speed_82540(struct e1000_hw *hw) argument
588 e1000_set_phy_mode_82540(struct e1000_hw *hw) argument
631 e1000_power_down_phy_copper_82540(struct e1000_hw *hw) argument
646 e1000_clear_hw_cntrs_82540(struct e1000_hw *hw) argument
691 e1000_read_mac_addr_82540(struct e1000_hw *hw) argument
[all...]
H A De1000_osdep.c44 e1000_write_pci_cfg(struct e1000_hw *hw, u32 reg, u16 *value) argument
46 pci_write_config(((struct e1000_osdep *)hw->back)->dev, reg, *value, 2);
50 e1000_read_pci_cfg(struct e1000_hw *hw, u32 reg, u16 *value) argument
52 *value = pci_read_config(((struct e1000_osdep *)hw->back)->dev, reg, 2);
56 e1000_pci_set_mwi(struct e1000_hw *hw) argument
58 pci_write_config(((struct e1000_osdep *)hw->back)->dev, PCIR_COMMAND,
59 (hw->bus.pci_cmd_word | CMD_MEM_WRT_INVALIDATE), 2);
63 e1000_pci_clear_mwi(struct e1000_hw *hw) argument
65 pci_write_config(((struct e1000_osdep *)hw->back)->dev, PCIR_COMMAND,
66 (hw
73 e1000_read_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value) argument
87 e1000_write_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value) argument
[all...]
H A De1000_osdep.h140 #define E1000_REGISTER(hw, reg) (((hw)->mac.type >= e1000_82543) \
146 #define E1000_READ_OFFSET(hw, offset) \
147 bus_space_read_4(((struct e1000_osdep *)(hw)->back)->mem_bus_space_tag, \
148 ((struct e1000_osdep *)(hw)->back)->mem_bus_space_handle, offset)
151 #define E1000_WRITE_OFFSET(hw, offset, value) \
152 bus_space_write_4(((struct e1000_osdep *)(hw)->back)->mem_bus_space_tag, \
153 ((struct e1000_osdep *)(hw)->back)->mem_bus_space_handle, offset, value)
157 #define E1000_READ_REG(hw, reg) \
158 bus_space_read_4(((struct e1000_osdep *)(hw)
[all...]
H A De1000_nvm.h44 void e1000_init_nvm_ops_generic(struct e1000_hw *hw);
45 s32 e1000_null_read_nvm(struct e1000_hw *hw, u16 a, u16 b, u16 *c);
46 void e1000_null_nvm_generic(struct e1000_hw *hw);
47 s32 e1000_null_led_default(struct e1000_hw *hw, u16 *data);
48 s32 e1000_null_write_nvm(struct e1000_hw *hw, u16 a, u16 b, u16 *c);
49 s32 e1000_acquire_nvm_generic(struct e1000_hw *hw);
51 s32 e1000_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg);
52 s32 e1000_read_mac_addr_generic(struct e1000_hw *hw);
53 s32 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num,
55 s32 e1000_read_pba_length_generic(struct e1000_hw *hw, u3
[all...]
H A De1000_phy.h38 void e1000_init_phy_ops_generic(struct e1000_hw *hw);
39 s32 e1000_null_read_reg(struct e1000_hw *hw, u32 offset, u16 *data);
40 void e1000_null_phy_generic(struct e1000_hw *hw);
41 s32 e1000_null_lplu_state(struct e1000_hw *hw, bool active);
42 s32 e1000_null_write_reg(struct e1000_hw *hw, u32 offset, u16 data);
43 s32 e1000_null_set_page(struct e1000_hw *hw, u16 data);
44 s32 e1000_read_i2c_byte_null(struct e1000_hw *hw, u8 byte_offset,
46 s32 e1000_write_i2c_byte_null(struct e1000_hw *hw, u8 byte_offset,
48 s32 e1000_check_downshift_generic(struct e1000_hw *hw);
49 s32 e1000_check_polarity_m88(struct e1000_hw *hw);
[all...]
H A De1000_nvm.c37 static void e1000_reload_nvm_generic(struct e1000_hw *hw);
41 * @hw: pointer to the HW structure
45 void e1000_init_nvm_ops_generic(struct e1000_hw *hw) argument
47 struct e1000_nvm_info *nvm = &hw->nvm;
64 * @hw: pointer to the HW structure
66 s32 e1000_null_read_nvm(struct e1000_hw E1000_UNUSEDARG *hw, argument
76 * @hw: pointer to the HW structure
78 void e1000_null_nvm_generic(struct e1000_hw E1000_UNUSEDARG *hw) argument
86 * @hw: pointer to the HW structure
88 s32 e1000_null_led_default(struct e1000_hw E1000_UNUSEDARG *hw, argument
99 e1000_null_write_nvm(struct e1000_hw E1000_UNUSEDARG *hw, u16 E1000_UNUSEDARG a, u16 E1000_UNUSEDARG b, u16 E1000_UNUSEDARG *c) argument
114 e1000_raise_eec_clk(struct e1000_hw *hw, u32 *eecd) argument
129 e1000_lower_eec_clk(struct e1000_hw *hw, u32 *eecd) argument
147 e1000_shift_out_eec_bits(struct e1000_hw *hw, u16 data, u16 count) argument
194 e1000_shift_in_eec_bits(struct e1000_hw *hw, u16 count) argument
231 e1000_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg) argument
261 e1000_acquire_nvm_generic(struct e1000_hw *hw) argument
295 e1000_standby_nvm(struct e1000_hw *hw) argument
336 e1000_stop_nvm(struct e1000_hw *hw) argument
362 e1000_release_nvm_generic(struct e1000_hw *hw) argument
381 e1000_ready_nvm_eeprom(struct e1000_hw *hw) argument
440 e1000_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
500 e1000_read_nvm_microwire(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
555 e1000_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
603 e1000_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
683 e1000_write_nvm_microwire(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
767 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num, u32 pba_num_size) argument
882 e1000_read_pba_length_generic(struct e1000_hw *hw, u32 *pba_num_size) argument
946 e1000_read_pba_raw(struct e1000_hw *hw, u16 *eeprom_buf, u32 eeprom_buf_size, u16 max_pba_block_size, struct e1000_pba *pba) argument
1015 e1000_write_pba_raw(struct e1000_hw *hw, u16 *eeprom_buf, u32 eeprom_buf_size, struct e1000_pba *pba) argument
1074 e1000_get_pba_block_size(struct e1000_hw *hw, u16 *eeprom_buf, u32 eeprom_buf_size, u16 *pba_block_size) argument
1130 e1000_read_mac_addr_generic(struct e1000_hw *hw) argument
1158 e1000_validate_nvm_checksum_generic(struct e1000_hw *hw) argument
1191 e1000_update_nvm_checksum_generic(struct e1000_hw *hw) argument
1222 e1000_reload_nvm_generic(struct e1000_hw *hw) argument
[all...]
H A De1000_manage.c62 * @hw: pointer to the HW structure
70 s32 e1000_mng_enable_host_if_generic(struct e1000_hw *hw) argument
77 if (!hw->mac.arc_subsystem_valid) {
83 hicr = E1000_READ_REG(hw, E1000_HICR);
90 hicr = E1000_READ_REG(hw, E1000_HICR);
106 * @hw: pointer to the HW structure
111 bool e1000_check_mng_mode_generic(struct e1000_hw *hw) argument
113 u32 fwsm = E1000_READ_REG(hw, E1000_FWSM);
124 * @hw: pointer to the HW structure
129 bool e1000_enable_tx_pkt_filtering_generic(struct e1000_hw *hw) argument
189 e1000_mng_write_cmd_header_generic(struct e1000_hw *hw, struct e1000_host_mng_command_header *hdr) argument
223 e1000_mng_host_if_write_generic(struct e1000_hw *hw, u8 *buffer, u16 length, u16 offset, u8 *sum) argument
295 e1000_mng_write_dhcp_info_generic(struct e1000_hw *hw, u8 *buffer, u16 length) argument
340 e1000_enable_mng_pass_thru(struct e1000_hw *hw) argument
394 e1000_host_interface_command(struct e1000_hw *hw, u8 *buffer, u32 length) argument
467 e1000_load_firmware(struct e1000_hw *hw, u8 *buffer, u32 length) argument
[all...]
H A De1000_mbx.c39 * @hw: pointer to the HW structure
41 static s32 e1000_null_mbx_check_for_flag(struct e1000_hw E1000_UNUSEDARG *hw, argument
51 * @hw: pointer to the HW structure
53 static s32 e1000_null_mbx_transact(struct e1000_hw E1000_UNUSEDARG *hw, argument
65 * @hw: pointer to the HW structure
72 s32 e1000_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
74 struct e1000_mbx_info *mbx = &hw->mbx;
84 ret_val = mbx->ops.read(hw, msg, size, mbx_id);
91 * @hw: pointer to the HW structure
98 s32 e1000_write_mbx(struct e1000_hw *hw, u3 argument
121 e1000_check_for_msg(struct e1000_hw *hw, u16 mbx_id) argument
141 e1000_check_for_ack(struct e1000_hw *hw, u16 mbx_id) argument
161 e1000_check_for_rst(struct e1000_hw *hw, u16 mbx_id) argument
181 e1000_poll_for_msg(struct e1000_hw *hw, u16 mbx_id) argument
212 e1000_poll_for_ack(struct e1000_hw *hw, u16 mbx_id) argument
246 e1000_read_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
275 e1000_write_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
302 e1000_init_mbx_ops_generic(struct e1000_hw *hw) argument
322 e1000_read_v2p_mailbox(struct e1000_hw *hw) argument
340 e1000_check_for_bit_vf(struct e1000_hw *hw, u32 mask) argument
360 e1000_check_for_msg_vf(struct e1000_hw *hw, u16 E1000_UNUSEDARG mbx_id) argument
382 e1000_check_for_ack_vf(struct e1000_hw *hw, u16 E1000_UNUSEDARG mbx_id) argument
404 e1000_check_for_rst_vf(struct e1000_hw *hw, u16 E1000_UNUSEDARG mbx_id) argument
426 e1000_obtain_mbx_lock_vf(struct e1000_hw *hw) argument
457 e1000_write_mbx_vf(struct e1000_hw *hw, u32 *msg, u16 size, u16 E1000_UNUSEDARG mbx_id) argument
498 e1000_read_mbx_vf(struct e1000_hw *hw, u32 *msg, u16 size, u16 E1000_UNUSEDARG mbx_id) argument
531 e1000_init_mbx_params_vf(struct e1000_hw *hw) argument
559 e1000_check_for_bit_pf(struct e1000_hw *hw, u32 mask) argument
579 e1000_check_for_msg_pf(struct e1000_hw *hw, u16 vf_number) argument
600 e1000_check_for_ack_pf(struct e1000_hw *hw, u16 vf_number) argument
621 e1000_check_for_rst_pf(struct e1000_hw *hw, u16 vf_number) argument
644 e1000_obtain_mbx_lock_pf(struct e1000_hw *hw, u16 vf_number) argument
679 e1000_write_mbx_pf(struct e1000_hw *hw, u32 *msg, u16 size, u16 vf_number) argument
722 e1000_read_mbx_pf(struct e1000_hw *hw, u32 *msg, u16 size, u16 vf_number) argument
755 e1000_init_mbx_params_pf(struct e1000_hw *hw) argument
[all...]
H A De1000_82543.h49 void e1000_tbi_adjust_stats_82543(struct e1000_hw *hw,
53 void e1000_set_tbi_compatibility_82543(struct e1000_hw *hw,
55 bool e1000_tbi_sbp_enabled_82543(struct e1000_hw *hw);
H A De1000_82571.h62 bool e1000_check_phy_82574(struct e1000_hw *hw);
63 bool e1000_get_laa_state_82571(struct e1000_hw *hw);
64 void e1000_set_laa_state_82571(struct e1000_hw *hw, bool state);
/freebsd-11-stable/sys/dev/ixgbe/
H A Dixgbe_82598.c48 static s32 ixgbe_get_link_capabilities_82598(struct ixgbe_hw *hw,
51 static enum ixgbe_media_type ixgbe_get_media_type_82598(struct ixgbe_hw *hw);
52 static s32 ixgbe_start_mac_link_82598(struct ixgbe_hw *hw,
54 static s32 ixgbe_check_mac_link_82598(struct ixgbe_hw *hw,
57 static s32 ixgbe_setup_mac_link_82598(struct ixgbe_hw *hw,
60 static s32 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw,
63 static s32 ixgbe_reset_hw_82598(struct ixgbe_hw *hw);
64 static s32 ixgbe_clear_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq);
65 static s32 ixgbe_clear_vfta_82598(struct ixgbe_hw *hw);
66 static void ixgbe_set_rxpba_82598(struct ixgbe_hw *hw, in
80 ixgbe_set_pcie_completion_timeout(struct ixgbe_hw *hw) argument
119 ixgbe_init_ops_82598(struct ixgbe_hw *hw) argument
191 ixgbe_init_phy_ops_82598(struct ixgbe_hw *hw) argument
254 ixgbe_start_hw_82598(struct ixgbe_hw *hw) argument
296 ixgbe_get_link_capabilities_82598(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument
355 ixgbe_get_media_type_82598(struct ixgbe_hw *hw) argument
408 ixgbe_fc_enable_82598(struct ixgbe_hw *hw) argument
556 ixgbe_start_mac_link_82598(struct ixgbe_hw *hw, bool autoneg_wait_to_complete) argument
604 ixgbe_validate_link_ready(struct ixgbe_hw *hw) argument
641 ixgbe_check_mac_link_82598(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up, bool link_up_wait_to_complete) argument
730 ixgbe_setup_mac_link_82598(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
784 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
809 ixgbe_reset_hw_82598(struct ixgbe_hw *hw) argument
945 ixgbe_set_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq) argument
971 ixgbe_clear_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq) argument
1003 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on, bool vlvf_bypass) argument
1052 ixgbe_clear_vfta_82598(struct ixgbe_hw *hw) argument
1078 ixgbe_read_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 *val) argument
1102 ixgbe_write_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 val) argument
1125 ixgbe_read_i2c_phy_82598(struct ixgbe_hw *hw, u8 dev_addr, u8 byte_offset, u8 *eeprom_data) argument
1198 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data) argument
1213 ixgbe_read_i2c_sff8472_82598(struct ixgbe_hw *hw, u8 byte_offset, u8 *sff8472_data) argument
1226 ixgbe_get_supported_physical_layer_82598(struct ixgbe_hw *hw) argument
1330 ixgbe_set_lan_id_multi_port_pcie_82598(struct ixgbe_hw *hw) argument
1361 ixgbe_enable_relaxed_ordering_82598(struct ixgbe_hw *hw) argument
1393 ixgbe_set_rxpba_82598(struct ixgbe_hw *hw, int num_pb, u32 headroom, int strategy) argument
1433 ixgbe_enable_rx_dma_82598(struct ixgbe_hw *hw, u32 regval) argument
[all...]
H A Dixgbe_common.c41 static s32 ixgbe_acquire_eeprom(struct ixgbe_hw *hw);
42 static s32 ixgbe_get_eeprom_semaphore(struct ixgbe_hw *hw);
43 static void ixgbe_release_eeprom_semaphore(struct ixgbe_hw *hw);
44 static s32 ixgbe_ready_eeprom(struct ixgbe_hw *hw);
45 static void ixgbe_standby_eeprom(struct ixgbe_hw *hw);
46 static void ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data,
48 static u16 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count);
49 static void ixgbe_raise_eeprom_clk(struct ixgbe_hw *hw, u32 *eec);
50 static void ixgbe_lower_eeprom_clk(struct ixgbe_hw *hw, u32 *eec);
51 static void ixgbe_release_eeprom(struct ixgbe_hw *hw);
69 ixgbe_init_ops_generic(struct ixgbe_hw *hw) argument
162 ixgbe_device_supports_autoneg_fc(struct ixgbe_hw *hw) argument
234 ixgbe_setup_fc_generic(struct ixgbe_hw *hw) argument
394 ixgbe_start_hw_generic(struct ixgbe_hw *hw) argument
458 ixgbe_start_hw_gen2(struct ixgbe_hw *hw) argument
497 ixgbe_init_hw_generic(struct ixgbe_hw *hw) argument
528 ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw *hw) argument
643 ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num, u32 pba_num_size) argument
753 ixgbe_read_pba_num_generic(struct ixgbe_hw *hw, u32 *pba_num) argument
792 ixgbe_read_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf, u32 eeprom_buf_size, u16 max_pba_block_size, struct ixgbe_pba *pba) argument
861 ixgbe_write_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf, u32 eeprom_buf_size, struct ixgbe_pba *pba) argument
920 ixgbe_get_pba_block_size(struct ixgbe_hw *hw, u16 *eeprom_buf, u32 eeprom_buf_size, u16 *pba_block_size) argument
978 ixgbe_get_mac_addr_generic(struct ixgbe_hw *hw, u8 *mac_addr) argument
1005 ixgbe_set_pci_config_data_generic(struct ixgbe_hw *hw, u16 link_status) argument
1055 ixgbe_get_bus_info_generic(struct ixgbe_hw *hw) argument
1077 ixgbe_set_lan_id_multi_port_pcie(struct ixgbe_hw *hw) argument
1111 ixgbe_stop_adapter_generic(struct ixgbe_hw *hw) argument
1163 ixgbe_init_led_link_act_generic(struct ixgbe_hw *hw) argument
1202 ixgbe_led_on_generic(struct ixgbe_hw *hw, u32 index) argument
1225 ixgbe_led_off_generic(struct ixgbe_hw *hw, u32 index) argument
1250 ixgbe_init_eeprom_params_generic(struct ixgbe_hw *hw) argument
1305 ixgbe_write_eeprom_buffer_bit_bang_generic(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument
1362 ixgbe_write_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument
1444 ixgbe_write_eeprom_generic(struct ixgbe_hw *hw, u16 offset, u16 data) argument
1472 ixgbe_read_eeprom_buffer_bit_bang_generic(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument
1521 ixgbe_read_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument
1578 ixgbe_read_eeprom_bit_bang_generic(struct ixgbe_hw *hw, u16 offset, u16 *data) argument
1607 ixgbe_read_eerd_buffer_generic(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument
1658 ixgbe_detect_eeprom_page_size_generic(struct ixgbe_hw *hw, u16 offset) argument
1701 ixgbe_read_eerd_generic(struct ixgbe_hw *hw, u16 offset, u16 *data) argument
1715 ixgbe_write_eewr_buffer_generic(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument
1770 ixgbe_write_eewr_generic(struct ixgbe_hw *hw, u16 offset, u16 data) argument
1783 ixgbe_poll_eerd_eewr_done(struct ixgbe_hw *hw, u32 ee_reg) argument
1818 ixgbe_acquire_eeprom(struct ixgbe_hw *hw) argument
1872 ixgbe_get_eeprom_semaphore(struct ixgbe_hw *hw) argument
1963 ixgbe_release_eeprom_semaphore(struct ixgbe_hw *hw) argument
1981 ixgbe_ready_eeprom(struct ixgbe_hw *hw) argument
2022 ixgbe_standby_eeprom(struct ixgbe_hw *hw) argument
2047 ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data, u16 count) argument
2102 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count) argument
2142 ixgbe_raise_eeprom_clk(struct ixgbe_hw *hw, u32 *eec) argument
2161 ixgbe_lower_eeprom_clk(struct ixgbe_hw *hw, u32 *eec) argument
2179 ixgbe_release_eeprom(struct ixgbe_hw *hw) argument
2211 ixgbe_calc_eeprom_checksum_generic(struct ixgbe_hw *hw) argument
2272 ixgbe_validate_eeprom_checksum_generic(struct ixgbe_hw *hw, u16 *checksum_val) argument
2320 ixgbe_update_eeprom_checksum_generic(struct ixgbe_hw *hw) argument
2384 ixgbe_set_rar_generic(struct ixgbe_hw *hw, u32 index, u8 *addr, u32 vmdq, u32 enable_addr) argument
2435 ixgbe_clear_rar_generic(struct ixgbe_hw *hw, u32 index) argument
2474 ixgbe_init_rx_addrs_generic(struct ixgbe_hw *hw) argument
2542 ixgbe_add_uc_addr(struct ixgbe_hw *hw, u8 *addr, u32 vmdq) argument
2582 ixgbe_update_uc_addr_list_generic(struct ixgbe_hw *hw, u8 *addr_list, u32 addr_count, ixgbe_mc_addr_itr next) argument
2650 ixgbe_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr) argument
2687 ixgbe_set_mta(struct ixgbe_hw *hw, u8 *mc_addr) argument
2725 ixgbe_update_mc_addr_list_generic(struct ixgbe_hw *hw, u8 *mc_addr_list, u32 mc_addr_count, ixgbe_mc_addr_itr next, bool clear) argument
2772 ixgbe_enable_mc_generic(struct ixgbe_hw *hw) argument
2791 ixgbe_disable_mc_generic(struct ixgbe_hw *hw) argument
2809 ixgbe_fc_enable_generic(struct ixgbe_hw *hw) argument
2949 ixgbe_negotiate_fc(struct ixgbe_hw *hw, u32 adv_reg, u32 lp_reg, u32 adv_sym, u32 adv_asm, u32 lp_sym, u32 lp_asm) argument
2996 ixgbe_fc_autoneg_fiber(struct ixgbe_hw *hw) argument
3033 ixgbe_fc_autoneg_backplane(struct ixgbe_hw *hw) argument
3077 ixgbe_fc_autoneg_copper(struct ixgbe_hw *hw) argument
3102 ixgbe_fc_autoneg(struct ixgbe_hw *hw) argument
3171 ixgbe_pcie_timeout_poll(struct ixgbe_hw *hw) argument
3217 ixgbe_disable_pcie_master(struct ixgbe_hw *hw) argument
3284 ixgbe_acquire_swfw_sync(struct ixgbe_hw *hw, u32 mask) argument
3331 ixgbe_release_swfw_sync(struct ixgbe_hw *hw, u32 mask) argument
3354 ixgbe_disable_sec_rx_path_generic(struct ixgbe_hw *hw) argument
3391 prot_autoc_read_generic(struct ixgbe_hw *hw, bool *locked, u32 *reg_val) argument
3407 prot_autoc_write_generic(struct ixgbe_hw *hw, u32 reg_val, bool locked) argument
3421 ixgbe_enable_sec_rx_path_generic(struct ixgbe_hw *hw) argument
3442 ixgbe_enable_rx_dma_generic(struct ixgbe_hw *hw, u32 regval) argument
3459 ixgbe_blink_led_start_generic(struct ixgbe_hw *hw, u32 index) argument
3509 ixgbe_blink_led_stop_generic(struct ixgbe_hw *hw, u32 index) argument
3552 ixgbe_get_san_mac_addr_offset(struct ixgbe_hw *hw, u16 *san_mac_offset) argument
3584 ixgbe_get_san_mac_addr_generic(struct ixgbe_hw *hw, u8 *san_mac_addr) argument
3637 ixgbe_set_san_mac_addr_generic(struct ixgbe_hw *hw, u8 *san_mac_addr) argument
3673 ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw *hw) argument
3720 ixgbe_insert_mac_addr_generic(struct ixgbe_hw *hw, u8 *addr, u32 vmdq) argument
3786 ixgbe_clear_vmdq_generic(struct ixgbe_hw *hw, u32 rar, u32 vmdq) argument
3840 ixgbe_set_vmdq_generic(struct ixgbe_hw *hw, u32 rar, u32 vmdq) argument
3876 ixgbe_set_vmdq_san_mac_generic(struct ixgbe_hw *hw, u32 vmdq) argument
3897 ixgbe_init_uta_tables_generic(struct ixgbe_hw *hw) argument
3918 ixgbe_find_vlvf_slot(struct ixgbe_hw *hw, u32 vlan, bool vlvf_bypass) argument
3968 ixgbe_set_vfta_generic(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on, bool vlvf_bypass) argument
4035 ixgbe_set_vlvf_generic(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on, u32 *vfta_delta, u32 vfta, bool vlvf_bypass) argument
4117 ixgbe_clear_vfta_generic(struct ixgbe_hw *hw) argument
4142 ixgbe_need_crosstalk_fix(struct ixgbe_hw *hw) argument
4170 ixgbe_check_mac_link_generic(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up, bool link_up_wait_to_complete) argument
4277 ixgbe_get_wwn_prefix_generic(struct ixgbe_hw *hw, u16 *wwnn_prefix, u16 *wwpn_prefix) argument
4332 ixgbe_get_fcoe_boot_status_generic(struct ixgbe_hw *hw, u16 *bs) argument
4381 ixgbe_set_mac_anti_spoofing(struct ixgbe_hw *hw, bool enable, int vf) argument
4405 ixgbe_set_vlan_anti_spoofing(struct ixgbe_hw *hw, bool enable, int vf) argument
4430 ixgbe_get_device_caps_generic(struct ixgbe_hw *hw, u16 *device_caps) argument
4444 ixgbe_enable_relaxed_ordering_gen2(struct ixgbe_hw *hw) argument
4504 ixgbe_hic_unlocked(struct ixgbe_hw *hw, u32 *buffer, u32 length, u32 timeout) argument
4582 ixgbe_host_interface_command(struct ixgbe_hw *hw, u32 *buffer, u32 length, u32 timeout, bool return_data) argument
4658 ixgbe_set_fw_drv_ver_generic(struct ixgbe_hw *hw, u8 maj, u8 min, u8 build, u8 sub, u16 len, const char *driver_ver) argument
4710 ixgbe_set_rxpba_generic(struct ixgbe_hw *hw, int num_pb, u32 headroom, int strategy) argument
4771 ixgbe_clear_tx_pending(struct ixgbe_hw *hw) argument
4834 ixgbe_bypass_rw_generic(struct ixgbe_hw *hw, u32 cmd, u32 *status) argument
5004 ixgbe_bypass_set_generic(struct ixgbe_hw *hw, u32 ctrl, u32 event, u32 action) argument
5046 ixgbe_bypass_rd_eep_generic(struct ixgbe_hw *hw, u32 addr, u8 *value) argument
5079 ixgbe_dcb_get_rtrup2tc_generic(struct ixgbe_hw *hw, u8 *map) argument
5090 ixgbe_disable_rx_generic(struct ixgbe_hw *hw) argument
5112 ixgbe_enable_rx_generic(struct ixgbe_hw *hw) argument
5134 ixgbe_mng_present(struct ixgbe_hw *hw) argument
5152 ixgbe_mng_enabled(struct ixgbe_hw *hw) argument
5181 ixgbe_setup_mac_link_multispeed_fiber(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
5327 ixgbe_set_soft_rate_select_speed(struct ixgbe_hw *hw, ixgbe_link_speed speed) argument
[all...]
H A Dixgbe_82599.c48 static s32 ixgbe_setup_copper_link_82599(struct ixgbe_hw *hw,
51 static s32 ixgbe_verify_fw_version_82599(struct ixgbe_hw *hw);
52 static s32 ixgbe_read_eeprom_82599(struct ixgbe_hw *hw,
54 static s32 ixgbe_read_eeprom_buffer_82599(struct ixgbe_hw *hw, u16 offset,
56 static s32 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset,
58 static s32 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset,
61 void ixgbe_init_mac_link_ops_82599(struct ixgbe_hw *hw) argument
63 struct ixgbe_mac_info *mac = &hw->mac;
71 if ((mac->ops.get_media_type(hw) == ixgbe_media_type_fiber) &&
72 !ixgbe_mng_enabled(hw)) {
115 ixgbe_init_phy_ops_82599(struct ixgbe_hw *hw) argument
173 ixgbe_setup_sfp_modules_82599(struct ixgbe_hw *hw) argument
250 prot_autoc_read_82599(struct ixgbe_hw *hw, bool *locked, u32 *reg_val) argument
279 prot_autoc_write_82599(struct ixgbe_hw *hw, u32 autoc, bool locked) argument
321 ixgbe_init_ops_82599(struct ixgbe_hw *hw) argument
415 ixgbe_get_link_capabilities_82599(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument
525 ixgbe_get_media_type_82599(struct ixgbe_hw *hw) argument
587 ixgbe_stop_mac_link_on_d3_82599(struct ixgbe_hw *hw) argument
611 ixgbe_start_mac_link_82599(struct ixgbe_hw *hw, bool autoneg_wait_to_complete) argument
679 ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw) argument
702 ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw) argument
725 ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw *hw) argument
747 ixgbe_set_hard_rate_select_speed(struct ixgbe_hw *hw, ixgbe_link_speed speed) argument
777 ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
889 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
1007 ixgbe_setup_copper_link_82599(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
1032 ixgbe_reset_hw_82599(struct ixgbe_hw *hw) argument
1211 ixgbe_fdir_check_cmd_complete(struct ixgbe_hw *hw, u32 *fdircmd) argument
1229 ixgbe_reinit_fdir_tables_82599(struct ixgbe_hw *hw) argument
1303 ixgbe_fdir_enable_82599(struct ixgbe_hw *hw, u32 fdirctrl) argument
1345 ixgbe_init_fdir_signature_82599(struct ixgbe_hw *hw, u32 fdirctrl) argument
1372 ixgbe_init_fdir_perfect_82599(struct ixgbe_hw *hw, u32 fdirctrl, bool cloud_mode) argument
1408 ixgbe_set_fdir_drop_queue_82599(struct ixgbe_hw *hw, u8 dropqueue) argument
1537 ixgbe_fdir_add_signature_filter_82599(struct ixgbe_hw *hw, union ixgbe_atr_hash_dword input, union ixgbe_atr_hash_dword common, u8 queue) argument
1696 ixgbe_fdir_set_input_mask_82599(struct ixgbe_hw *hw, union ixgbe_atr_input *input_mask, bool cloud_mode) argument
1871 ixgbe_fdir_write_perfect_filter_82599(struct ixgbe_hw *hw, union ixgbe_atr_input *input, u16 soft_id, u8 queue, bool cloud_mode) argument
1960 ixgbe_fdir_erase_perfect_filter_82599(struct ixgbe_hw *hw, union ixgbe_atr_input *input, u16 soft_id) argument
2007 ixgbe_fdir_add_perfect_filter_82599(struct ixgbe_hw *hw, union ixgbe_atr_input *input, union ixgbe_atr_input *input_mask, u16 soft_id, u8 queue, bool cloud_mode) argument
2069 ixgbe_read_analog_reg8_82599(struct ixgbe_hw *hw, u32 reg, u8 *val) argument
2093 ixgbe_write_analog_reg8_82599(struct ixgbe_hw *hw, u32 reg, u8 val) argument
2115 ixgbe_start_hw_82599(struct ixgbe_hw *hw) argument
2146 ixgbe_identify_phy_82599(struct ixgbe_hw *hw) argument
2181 ixgbe_get_supported_physical_layer_82599(struct ixgbe_hw *hw) argument
2269 ixgbe_enable_rx_dma_82599(struct ixgbe_hw *hw, u32 regval) argument
2303 ixgbe_verify_fw_version_82599(struct ixgbe_hw *hw) argument
2364 ixgbe_verify_lesm_fw_enabled_82599(struct ixgbe_hw *hw) argument
2412 ixgbe_read_eeprom_buffer_82599(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument
2446 ixgbe_read_eeprom_82599(struct ixgbe_hw *hw, u16 offset, u16 *data) argument
2475 ixgbe_reset_pipeline_82599(struct ixgbe_hw *hw) argument
2527 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) argument
2584 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument
[all...]
H A Dixgbe_dcb_82598.c42 * @hw: pointer to hardware structure
48 s32 ixgbe_dcb_get_tc_stats_82598(struct ixgbe_hw *hw, argument
62 stats->qptc[tc] += IXGBE_READ_REG(hw, IXGBE_QPTC(tc));
64 stats->qbtc[tc] += IXGBE_READ_REG(hw, IXGBE_QBTC(tc));
66 stats->qprc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRC(tc));
68 stats->qbrc[tc] += IXGBE_READ_REG(hw, IXGBE_QBRC(tc));
84 * @hw: pointer to hardware structure
90 s32 ixgbe_dcb_get_pfc_stats_82598(struct ixgbe_hw *hw, argument
103 stats->pxofftxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFTXC(tc));
105 stats->pxoffrxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFRX
118 ixgbe_dcb_config_rx_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *tsa) argument
173 ixgbe_dcb_config_tx_desc_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *tsa) argument
217 ixgbe_dcb_config_tx_data_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *tsa) argument
262 ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *hw, u8 pfc_en) argument
314 ixgbe_dcb_config_tc_stats_82598(struct ixgbe_hw *hw) argument
346 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, int link_speed, u16 *refill, u16 *max, u8 *bwg_id, u8 *tsa) argument
[all...]
H A Dixgbe_x550.c42 static s32 ixgbe_setup_ixfi_x550em(struct ixgbe_hw *hw, ixgbe_link_speed *speed);
45 static s32 ixgbe_read_mng_if_sel_x550em(struct ixgbe_hw *hw);
49 * @hw: pointer to hardware structure
54 s32 ixgbe_init_ops_X550(struct ixgbe_hw *hw) argument
56 struct ixgbe_mac_info *mac = &hw->mac;
57 struct ixgbe_eeprom_info *eeprom = &hw->eeprom;
62 ret_val = ixgbe_init_ops_X540(hw);
89 switch (hw->device_id) {
91 hw->mac.ops.led_on = NULL;
92 hw
113 ixgbe_read_cs4227(struct ixgbe_hw *hw, u16 reg, u16 *value) argument
126 ixgbe_write_cs4227(struct ixgbe_hw *hw, u16 reg, u16 value) argument
139 ixgbe_read_pe(struct ixgbe_hw *hw, u8 reg, u8 *value) argument
158 ixgbe_write_pe(struct ixgbe_hw *hw, u8 reg, u8 value) argument
176 ixgbe_reset_cs4227(struct ixgbe_hw *hw) argument
249 ixgbe_check_cs4227(struct ixgbe_hw *hw) argument
326 ixgbe_setup_mux_ctl(struct ixgbe_hw *hw) argument
346 ixgbe_read_phy_reg_mdi_22(struct ixgbe_hw *hw, u32 reg_addr, u32 dev_type, u16 *phy_data) argument
393 ixgbe_write_phy_reg_mdi_22(struct ixgbe_hw *hw, u32 reg_addr, u32 dev_type, u16 phy_data) argument
437 ixgbe_identify_phy_x550em(struct ixgbe_hw *hw) argument
496 ixgbe_fw_phy_activity(struct ixgbe_hw *hw, u16 activity, u32 (*data)[FW_PHY_ACT_DATA_COUNT]) argument
554 ixgbe_get_phy_id_fw(struct ixgbe_hw *hw) argument
590 ixgbe_identify_phy_fw(struct ixgbe_hw *hw) argument
609 ixgbe_shutdown_fw_phy(struct ixgbe_hw *hw) argument
617 ixgbe_read_phy_reg_x550em(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 *phy_data) argument
624 ixgbe_write_phy_reg_x550em(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) argument
640 ixgbe_read_i2c_combined_generic(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 *val) argument
656 ixgbe_read_i2c_combined_generic_unlocked(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 *val) argument
671 ixgbe_write_i2c_combined_generic(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val) argument
687 ixgbe_write_i2c_combined_generic_unlocked(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val) argument
700 ixgbe_init_ops_X550EM(struct ixgbe_hw *hw) argument
795 ixgbe_setup_fw_link(struct ixgbe_hw *hw) argument
850 ixgbe_fc_autoneg_fw(struct ixgbe_hw *hw) argument
866 ixgbe_setup_eee_fw(struct ixgbe_hw *hw, bool enable_eee) argument
884 ixgbe_init_ops_X550EM_a(struct ixgbe_hw *hw) argument
942 ixgbe_init_ops_X550EM_x(struct ixgbe_hw *hw) argument
980 ixgbe_dmac_config_X550(struct ixgbe_hw *hw) argument
1028 ixgbe_dmac_config_tcs_X550(struct ixgbe_hw *hw) argument
1083 ixgbe_dmac_update_tcs_X550(struct ixgbe_hw *hw) argument
1111 ixgbe_init_eeprom_params_X550(struct ixgbe_hw *hw) argument
1142 ixgbe_set_source_address_pruning_X550(struct ixgbe_hw *hw, bool enable, unsigned int pool) argument
1170 ixgbe_set_ethertype_anti_spoofing_X550(struct ixgbe_hw *hw, bool enable, int vf) argument
1197 ixgbe_iosf_wait(struct ixgbe_hw *hw, u32 *ctrl) argument
1229 ixgbe_write_iosf_sb_reg_x550(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u32 data) argument
1275 ixgbe_read_iosf_sb_reg_x550(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u32 *data) argument
1319 ixgbe_get_phy_token(struct ixgbe_hw *hw) argument
1357 ixgbe_put_phy_token(struct ixgbe_hw *hw) argument
1390 ixgbe_write_iosf_sb_reg_x550a(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u32 data) argument
1420 ixgbe_read_iosf_sb_reg_x550a(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u32 *data) argument
1454 ixgbe_disable_mdd_X550(struct ixgbe_hw *hw) argument
1477 ixgbe_enable_mdd_X550(struct ixgbe_hw *hw) argument
1501 ixgbe_restore_mdd_vf_X550(struct ixgbe_hw *hw, u32 vf) argument
1541 ixgbe_mdd_event_X550(struct ixgbe_hw *hw, u32 *vf_bitmap) argument
1597 ixgbe_get_media_type_X550em(struct ixgbe_hw *hw) argument
1645 ixgbe_supported_sfp_modules_X550em(struct ixgbe_hw *hw, bool *linear) argument
1682 ixgbe_identify_sfp_module_X550em(struct ixgbe_hw *hw) argument
1704 ixgbe_setup_sfp_modules_X550em(struct ixgbe_hw *hw) argument
1728 ixgbe_restart_an_internal_phy_x550em(struct ixgbe_hw *hw) argument
1774 ixgbe_setup_sgmii(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait) argument
1841 ixgbe_setup_sgmii_fw(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait) argument
1912 ixgbe_init_mac_link_ops_X550em(struct ixgbe_hw *hw) argument
1972 ixgbe_get_link_capabilities_X550em(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument
2049 ixgbe_get_lasi_ext_t_x550em(struct ixgbe_hw *hw, bool *lsc) argument
2136 ixgbe_enable_lasi_ext_t_x550em(struct ixgbe_hw *hw) argument
2233 ixgbe_setup_kr_speed_x550em(struct ixgbe_hw *hw, ixgbe_link_speed speed) argument
2288 ixgbe_reset_phy_fw(struct ixgbe_hw *hw) argument
2312 ixgbe_check_overtemp_fw(struct ixgbe_hw *hw) argument
2335 ixgbe_read_mng_if_sel_x550em(struct ixgbe_hw *hw) argument
2363 ixgbe_init_phy_ops_X550em(struct ixgbe_hw *hw) argument
2477 ixgbe_set_mdio_speed(struct ixgbe_hw *hw) argument
2513 ixgbe_reset_hw_X550em(struct ixgbe_hw *hw) argument
2645 ixgbe_init_ext_t_x550em(struct ixgbe_hw *hw) argument
2688 ixgbe_setup_kr_x550em(struct ixgbe_hw *hw) argument
2706 ixgbe_setup_mac_link_sfp_x550em(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
2751 ixgbe_setup_sfi_x550a(struct ixgbe_hw *hw, ixgbe_link_speed *speed) argument
2798 ixgbe_setup_mac_link_sfp_x550a(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
2901 ixgbe_setup_ixfi_x550em_x(struct ixgbe_hw *hw) argument
2972 ixgbe_setup_ixfi_x550em(struct ixgbe_hw *hw, ixgbe_link_speed *speed) argument
3031 ixgbe_ext_phy_t_x550em_get_link(struct ixgbe_hw *hw, bool *link_up) argument
3068 ixgbe_setup_internal_phy_t_x550em(struct ixgbe_hw *hw) argument
3131 ixgbe_setup_phy_loopback_x550em(struct ixgbe_hw *hw) argument
3201 ixgbe_read_ee_hostif_X550(struct ixgbe_hw *hw, u16 offset, u16 *data) argument
3242 ixgbe_read_ee_hostif_buffer_X550(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument
3314 ixgbe_write_ee_hostif_data_X550(struct ixgbe_hw *hw, u16 offset, u16 data) argument
3347 ixgbe_write_ee_hostif_X550(struct ixgbe_hw *hw, u16 offset, u16 data) argument
3375 ixgbe_write_ee_hostif_buffer_X550(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument
3415 ixgbe_checksum_ptr_x550(struct ixgbe_hw *hw, u16 ptr, u16 size, u16 *csum, u16 *buffer, u32 buffer_size) argument
3484 ixgbe_calc_checksum_X550(struct ixgbe_hw *hw, u16 *buffer, u32 buffer_size) argument
3565 ixgbe_calc_eeprom_checksum_X550(struct ixgbe_hw *hw) argument
3578 ixgbe_validate_eeprom_checksum_X550(struct ixgbe_hw *hw, u16 *checksum_val) argument
3631 ixgbe_update_eeprom_checksum_X550(struct ixgbe_hw *hw) argument
3670 ixgbe_update_flash_X550(struct ixgbe_hw *hw) argument
3695 ixgbe_get_supported_physical_layer_X550em(struct ixgbe_hw *hw) argument
3768 ixgbe_get_bus_info_X550em(struct ixgbe_hw *hw) argument
3786 ixgbe_disable_rx_x550(struct ixgbe_hw *hw) argument
3833 ixgbe_enter_lplu_t_x550em(struct ixgbe_hw *hw) argument
3940 ixgbe_get_lcd_t_x550em(struct ixgbe_hw *hw, ixgbe_link_speed *lcd_speed) argument
3977 ixgbe_setup_fc_X550em(struct ixgbe_hw *hw) argument
4067 ixgbe_fc_autoneg_backplane_x550em_a(struct ixgbe_hw *hw) argument
4144 ixgbe_fc_autoneg_fiber_x550em_a(struct ixgbe_hw *hw) argument
4156 ixgbe_fc_autoneg_sgmii_x550em_a(struct ixgbe_hw *hw) argument
4211 ixgbe_setup_fc_backplane_x550em_a(struct ixgbe_hw *hw) argument
4298 ixgbe_set_mux(struct ixgbe_hw *hw, u8 state) argument
4320 ixgbe_acquire_swfw_sync_X550em(struct ixgbe_hw *hw, u32 mask) argument
4343 ixgbe_release_swfw_sync_X550em(struct ixgbe_hw *hw, u32 mask) argument
4360 ixgbe_acquire_swfw_sync_X550a(struct ixgbe_hw *hw, u32 mask) argument
4410 ixgbe_release_swfw_sync_X550a(struct ixgbe_hw *hw, u32 mask) argument
4433 ixgbe_read_phy_reg_x550a(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 *phy_data) argument
4461 ixgbe_write_phy_reg_x550a(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) argument
4491 ixgbe_handle_lasi_ext_t_x550em(struct ixgbe_hw *hw) argument
4518 ixgbe_setup_mac_link_t_X550em(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
4557 ixgbe_check_link_t_X550em(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up, bool link_up_wait_to_complete) argument
4598 ixgbe_reset_phy_t_X550em(struct ixgbe_hw *hw) argument
4616 ixgbe_led_on_t_X550em(struct ixgbe_hw *hw, u32 led_idx) argument
4641 ixgbe_led_off_t_X550em(struct ixgbe_hw *hw, u32 led_idx) argument
4676 ixgbe_set_fw_drv_ver_x550(struct ixgbe_hw *hw, u8 maj, u8 min, u8 build, u8 sub, u16 len, const char *driver_ver) argument
[all...]
H A Dixgbe_vf.c47 * @hw: pointer to hardware structure
54 s32 ixgbe_init_ops_vf(struct ixgbe_hw *hw) argument
57 hw->mac.ops.init_hw = ixgbe_init_hw_vf;
58 hw->mac.ops.reset_hw = ixgbe_reset_hw_vf;
59 hw->mac.ops.start_hw = ixgbe_start_hw_vf;
61 hw->mac.ops.clear_hw_cntrs = NULL;
62 hw->mac.ops.get_media_type = NULL;
63 hw->mac.ops.get_mac_addr = ixgbe_get_mac_addr_vf;
64 hw->mac.ops.stop_adapter = ixgbe_stop_adapter_vf;
65 hw
96 ixgbe_virt_clr_reg(struct ixgbe_hw *hw) argument
145 ixgbe_start_hw_vf(struct ixgbe_hw *hw) argument
160 ixgbe_init_hw_vf(struct ixgbe_hw *hw) argument
176 ixgbe_reset_hw_vf(struct ixgbe_hw *hw) argument
250 ixgbe_stop_adapter_vf(struct ixgbe_hw *hw) argument
299 ixgbe_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr) argument
327 ixgbevf_write_msg_read_ack(struct ixgbe_hw *hw, u32 *msg, u32 *retmsg, u16 size) argument
347 ixgbe_set_rar_vf(struct ixgbe_hw *hw, u32 index, u8 *addr, u32 vmdq, u32 enable_addr) argument
381 ixgbe_update_mc_addr_list_vf(struct ixgbe_hw *hw, u8 *mc_addr_list, u32 mc_addr_count, ixgbe_mc_addr_itr next, bool clear) argument
427 ixgbevf_update_xcast_mode(struct ixgbe_hw *hw, int xcast_mode) argument
467 ixgbe_set_vfta_vf(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on, bool vlvf_bypass) argument
492 ixgbe_get_num_of_tx_queues_vf(struct ixgbe_hw *hw) argument
504 ixgbe_get_num_of_rx_queues_vf(struct ixgbe_hw *hw) argument
514 ixgbe_get_mac_addr_vf(struct ixgbe_hw *hw, u8 *mac_addr) argument
524 ixgbevf_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr) argument
563 ixgbe_setup_mac_link_vf(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
579 ixgbe_check_mac_link_vf(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up, bool autoneg_wait_to_complete) argument
678 ixgbevf_rlpml_set_vf(struct ixgbe_hw *hw, u16 max_size) argument
701 ixgbevf_negotiate_api_version(struct ixgbe_hw *hw, int api) argument
727 ixgbevf_get_queues(struct ixgbe_hw *hw, unsigned int *num_tcs, unsigned int *default_tc) argument
[all...]
H A Dixgbe_x540.c48 static s32 ixgbe_poll_flash_update_done_X540(struct ixgbe_hw *hw);
49 static s32 ixgbe_get_swfw_sync_semaphore(struct ixgbe_hw *hw);
50 static void ixgbe_release_swfw_sync_semaphore(struct ixgbe_hw *hw);
54 * @hw: pointer to hardware structure
59 s32 ixgbe_init_ops_X540(struct ixgbe_hw *hw) argument
61 struct ixgbe_mac_info *mac = &hw->mac;
62 struct ixgbe_phy_info *phy = &hw->phy;
63 struct ixgbe_eeprom_info *eeprom = &hw->eeprom;
68 ret_val = ixgbe_init_phy_ops_generic(hw);
69 ret_val = ixgbe_init_ops_generic(hw);
170 ixgbe_get_link_capabilities_X540(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument
185 ixgbe_get_media_type_X540(struct ixgbe_hw *hw) argument
197 ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
212 ixgbe_reset_hw_X540(struct ixgbe_hw *hw) argument
315 ixgbe_start_hw_X540(struct ixgbe_hw *hw) argument
337 ixgbe_get_supported_physical_layer_X540(struct ixgbe_hw *hw) argument
363 ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw) argument
396 ixgbe_read_eerd_X540(struct ixgbe_hw *hw, u16 offset, u16 *data) argument
421 ixgbe_read_eerd_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument
447 ixgbe_write_eewr_X540(struct ixgbe_hw *hw, u16 offset, u16 data) argument
472 ixgbe_write_eewr_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument
500 ixgbe_calc_eeprom_checksum_X540(struct ixgbe_hw *hw) argument
576 ixgbe_validate_eeprom_checksum_X540(struct ixgbe_hw *hw, u16 *checksum_val) argument
639 ixgbe_update_eeprom_checksum_X540(struct ixgbe_hw *hw) argument
687 ixgbe_update_flash_X540(struct ixgbe_hw *hw) argument
734 ixgbe_poll_flash_update_done_X540(struct ixgbe_hw *hw) argument
766 ixgbe_acquire_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask) argument
860 ixgbe_release_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask) argument
885 ixgbe_get_swfw_sync_semaphore(struct ixgbe_hw *hw) argument
943 ixgbe_release_swfw_sync_semaphore(struct ixgbe_hw *hw) argument
969 ixgbe_init_swfw_sync_X540(struct ixgbe_hw *hw) argument
1000 ixgbe_blink_led_start_X540(struct ixgbe_hw *hw, u32 index) argument
1041 ixgbe_blink_led_stop_X540(struct ixgbe_hw *hw, u32 index) argument
[all...]
H A Dixgbe_mbx.c40 * @hw: pointer to the HW structure
45 static s32 ixgbe_poll_for_msg(struct ixgbe_hw *hw, u16 mbx_id) argument
47 struct ixgbe_mbx_info *mbx = &hw->mbx;
55 while (countdown && mbx->ops.check_for_msg(hw, mbx_id)) {
72 * @hw: pointer to the HW structure
77 static s32 ixgbe_poll_for_ack(struct ixgbe_hw *hw, u16 mbx_id) argument
79 struct ixgbe_mbx_info *mbx = &hw->mbx;
87 while (countdown && mbx->ops.check_for_ack(hw, mbx_id)) {
104 * @hw: pointer to the HW structure
112 static s32 ixgbe_read_posted_mbx(struct ixgbe_hw *hw, u3 argument
142 ixgbe_write_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
170 ixgbe_init_mbx_ops_generic(struct ixgbe_hw *hw) argument
185 ixgbe_read_v2p_mailbox(struct ixgbe_hw *hw) argument
203 ixgbe_check_for_bit_vf(struct ixgbe_hw *hw, u32 mask) argument
223 ixgbe_check_for_msg_vf(struct ixgbe_hw *hw, u16 mbx_id) argument
245 ixgbe_check_for_ack_vf(struct ixgbe_hw *hw, u16 mbx_id) argument
267 ixgbe_check_for_rst_vf(struct ixgbe_hw *hw, u16 mbx_id) argument
289 ixgbe_obtain_mbx_lock_vf(struct ixgbe_hw *hw) argument
314 ixgbe_write_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
356 ixgbe_read_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
390 ixgbe_init_mbx_params_vf(struct ixgbe_hw *hw) argument
416 ixgbe_check_for_bit_pf(struct ixgbe_hw *hw, u32 mask, s32 index) argument
436 ixgbe_check_for_msg_pf(struct ixgbe_hw *hw, u16 vf_number) argument
460 ixgbe_check_for_ack_pf(struct ixgbe_hw *hw, u16 vf_number) argument
484 ixgbe_check_for_rst_pf(struct ixgbe_hw *hw, u16 vf_number) argument
523 ixgbe_obtain_mbx_lock_pf(struct ixgbe_hw *hw, u16 vf_number) argument
554 ixgbe_write_mbx_pf(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 vf_number) argument
597 ixgbe_read_mbx_pf(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 vf_number) argument
630 ixgbe_init_mbx_params_pf(struct ixgbe_hw *hw) argument
[all...]
H A Dixgbe_dcb_82599.c42 * @hw: pointer to hardware structure
48 s32 ixgbe_dcb_get_tc_stats_82599(struct ixgbe_hw *hw, argument
62 stats->qptc[tc] += IXGBE_READ_REG(hw, IXGBE_QPTC(tc));
64 stats->qbtc[tc] += IXGBE_READ_REG(hw, IXGBE_QBTC_L(tc));
66 (((u64)(IXGBE_READ_REG(hw, IXGBE_QBTC_H(tc)))) << 32);
68 stats->qprc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRC(tc));
70 stats->qbrc[tc] += IXGBE_READ_REG(hw, IXGBE_QBRC_L(tc));
72 (((u64)(IXGBE_READ_REG(hw, IXGBE_QBRC_H(tc)))) << 32);
75 stats->qprdc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRDC(tc));
83 * @hw
89 ixgbe_dcb_get_pfc_stats_82599(struct ixgbe_hw *hw, struct ixgbe_hw_stats *stats, u8 tc_count) argument
117 ixgbe_dcb_config_rx_arbiter_82599(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *tsa, u8 *map) argument
176 ixgbe_dcb_config_tx_desc_arbiter_82599(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *tsa) argument
221 ixgbe_dcb_config_tx_data_arbiter_82599(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *tsa, u8 *map) argument
283 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *map) argument
369 ixgbe_dcb_config_tc_stats_82599(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
495 ixgbe_dcb_config_82599(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
579 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, int link_speed, u16 *refill, u16 *max, u8 *bwg_id, u8 *tsa, u8 *map) argument
[all...]
/freebsd-11-stable/sys/dev/ixl/
H A Di40e_nvm.c39 * @hw: pointer to the HW structure
47 enum i40e_status_code i40e_init_nvm(struct i40e_hw *hw) argument
49 struct i40e_nvm_info *nvm = &hw->nvm;
59 gens = rd32(hw, I40E_GLNVM_GENS);
66 fla = rd32(hw, I40E_GLNVM_FLA);
74 i40e_debug(hw, I40E_DEBUG_NVM, "NVM init error: unsupported blank mode.\n");
82 * @hw: pointer to the HW structure
88 enum i40e_status_code i40e_acquire_nvm(struct i40e_hw *hw, argument
97 if (hw->nvm.blank_nvm_mode)
100 ret_code = i40e_aq_request_resource(hw, I40E_NVM_RESOURCE_I
147 i40e_release_nvm(struct i40e_hw *hw) argument
177 i40e_poll_sr_srctl_done_bit(struct i40e_hw *hw) argument
206 i40e_read_nvm_word_srctl(struct i40e_hw *hw, u16 offset, u16 *data) argument
259 i40e_read_nvm_aq(struct i40e_hw *hw, u8 module_pointer, u32 offset, u16 words, void *data, bool last_command) argument
309 i40e_read_nvm_word_aq(struct i40e_hw *hw, u16 offset, u16 *data) argument
333 __i40e_read_nvm_word(struct i40e_hw *hw, u16 offset, u16 *data) argument
352 i40e_read_nvm_word(struct i40e_hw *hw, u16 offset, u16 *data) argument
380 i40e_read_nvm_buffer_srctl(struct i40e_hw *hw, u16 offset, u16 *words, u16 *data) argument
413 i40e_read_nvm_buffer_aq(struct i40e_hw *hw, u16 offset, u16 *words, u16 *data) argument
471 __i40e_read_nvm_buffer(struct i40e_hw *hw, u16 offset, u16 *words, u16 *data) argument
492 i40e_read_nvm_buffer(struct i40e_hw *hw, u16 offset, u16 *words, u16 *data) argument
522 i40e_write_nvm_aq(struct i40e_hw *hw, u8 module_pointer, u32 offset, u16 words, void *data, bool last_command) argument
569 __i40e_write_nvm_word(struct i40e_hw *hw, u32 offset, void *data) argument
593 __i40e_write_nvm_buffer(struct i40e_hw *hw, u8 module_pointer, u32 offset, u16 words, void *data) argument
623 i40e_calc_nvm_checksum(struct i40e_hw *hw, u16 *checksum) argument
705 i40e_update_nvm_checksum(struct i40e_hw *hw) argument
730 i40e_validate_nvm_checksum(struct i40e_hw *hw, u16 *checksum) argument
841 i40e_nvmupd_command(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *perrno) argument
984 i40e_nvmupd_state_init(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *perrno) argument
1125 i40e_nvmupd_state_reading(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *perrno) argument
1169 i40e_nvmupd_state_writing(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *perrno) argument
1285 i40e_nvmupd_clear_wait_state(struct i40e_hw *hw) argument
1322 i40e_nvmupd_check_wait_event(struct i40e_hw *hw, u16 opcode, struct i40e_aq_desc *desc) argument
1342 i40e_nvmupd_validate_command(struct i40e_hw *hw, struct i40e_nvm_access *cmd, int *perrno) argument
1450 i40e_nvmupd_exec_aq(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *perrno) argument
1535 i40e_nvmupd_get_aq_result(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *perrno) argument
1604 i40e_nvmupd_get_aq_event(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *perrno) argument
1639 i40e_nvmupd_nvm_read(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *perrno) argument
1678 i40e_nvmupd_nvm_erase(struct i40e_hw *hw, struct i40e_nvm_access *cmd, int *perrno) argument
1718 i40e_nvmupd_nvm_write(struct i40e_hw *hw, struct i40e_nvm_access *cmd, u8 *bytes, int *perrno) argument
[all...]
H A Di40e_prototype.h50 enum i40e_status_code i40e_init_adminq(struct i40e_hw *hw);
51 enum i40e_status_code i40e_shutdown_adminq(struct i40e_hw *hw);
52 enum i40e_status_code i40e_init_asq(struct i40e_hw *hw);
53 enum i40e_status_code i40e_init_arq(struct i40e_hw *hw);
54 enum i40e_status_code i40e_alloc_adminq_asq_ring(struct i40e_hw *hw);
55 enum i40e_status_code i40e_alloc_adminq_arq_ring(struct i40e_hw *hw);
56 enum i40e_status_code i40e_shutdown_asq(struct i40e_hw *hw);
57 enum i40e_status_code i40e_shutdown_arq(struct i40e_hw *hw);
58 u16 i40e_clean_asq(struct i40e_hw *hw);
59 void i40e_free_adminq_asq(struct i40e_hw *hw);
[all...]
H A Dixl_pf_i2c.c65 static s32 ixl_wait_for_i2c_completion(struct i40e_hw *hw, u8 portnum);
69 * @hw: pointer to hardware structure
77 struct i40e_hw *hw = &pf->hw; local
78 u32 i2cctl = rd32(hw, IXL_I2C_REG(hw));
107 * @hw: pointer to hardware structure
114 struct i40e_hw *hw = &pf->hw; local
115 u32 i2cctl = rd32(hw, IXL_I2C_RE
165 struct i40e_hw *hw = &pf->hw; local
200 struct i40e_hw *hw = &pf->hw; local
251 struct i40e_hw *hw = &pf->hw; local
286 struct i40e_hw *hw = &pf->hw; local
322 struct i40e_hw *hw = &pf->hw; local
344 struct i40e_hw *hw = &pf->hw; local
395 struct i40e_hw *hw = &pf->hw; local
429 struct i40e_hw *hw = &pf->hw; local
460 struct i40e_hw *hw = &pf->hw; local
549 struct i40e_hw *hw = &pf->hw; local
615 struct i40e_hw *hw = &pf->hw; local
645 struct i40e_hw *hw = &pf->hw; local
678 ixl_wait_for_i2c_completion(struct i40e_hw *hw, u8 portnum) argument
703 struct i40e_hw *hw = &pf->hw; local
729 struct i40e_hw *hw = &pf->hw; local
[all...]
/freebsd-11-stable/sys/dev/ocs_fc/
H A Docs_hw_queues.c51 * @param hw pointer to HW object
57 ocs_hw_init_queues(ocs_hw_t *hw, ocs_hw_qtop_t *qtop) argument
63 hw_eq_t *eqs[hw->config.n_rq];
64 hw_cq_t *cqs[hw->config.n_rq];
65 hw_rq_t *rqs[hw->config.n_rq];
78 default_lengths[QTOP_CQ] = hw->num_qentries[SLI_QTYPE_CQ];
79 default_lengths[QTOP_WQ] = hw->num_qentries[SLI_QTYPE_WQ];
80 default_lengths[QTOP_RQ] = hw->num_qentries[SLI_QTYPE_RQ];
83 ocs_hw_verify(hw != NULL, OCS_HW_RTN_INVALID_ARG);
85 hw
349 hw_new_eq(ocs_hw_t *hw, uint32_t entry_count) argument
395 ocs_hw_t *hw = eq->hw; local
437 ocs_hw_t *hw = eqs[0]->hw; local
499 ocs_hw_t *hw = cq->eq->hw; local
542 ocs_hw_t *hw = cq->eq->hw; local
587 ocs_hw_t *hw = cq->eq->hw; local
671 ocs_hw_t *hw = cqs[0]->eq->hw; local
864 ocs_hw_t *hw = rq->cq->eq->hw; local
888 hw_queue_dump(ocs_hw_t *hw) argument
933 hw_queue_teardown(ocs_hw_t *hw) argument
974 ocs_hw_queue_next_wq(ocs_hw_t *hw, ocs_hw_io_t *io) argument
1018 ocs_hw_qtop_eq_count(ocs_hw_t *hw) argument
1346 tok_syntax(ocs_hw_t *hw, tokarray_t *tokarray) argument
1371 tok_getnumber(ocs_hw_t *hw, ocs_hw_qtop_t *qtop, tok_t *tok) argument
1424 parse_topology(ocs_hw_t *hw, tokarray_t *tokarray, ocs_hw_qtop_t *qtop) argument
1593 ocs_hw_qtop_parse(ocs_hw_t *hw, const char *qtop_string) argument
1697 ocs_hw_rqpair_process_rq(ocs_hw_t *hw, hw_cq_t *cq, uint8_t *cqe) argument
1797 ocs_hw_rqpair_process_auto_xfr_rdy_cmd(ocs_hw_t *hw, hw_cq_t *cq, uint8_t *cqe) argument
1962 ocs_hw_rqpair_process_auto_xfr_rdy_data(ocs_hw_t *hw, hw_cq_t *cq, uint8_t *cqe) argument
2049 ocs_hw_rqpair_get(ocs_hw_t *hw, uint16_t rqindex, uint16_t bufindex) argument
2097 ocs_hw_rqpair_put(ocs_hw_t *hw, ocs_hw_sequence_t *seq) argument
2161 ocs_hw_rqpair_sequence_free(ocs_hw_t *hw, ocs_hw_sequence_t *seq) argument
2191 ocs_hw_rqpair_find(ocs_hw_t *hw, uint16_t rq_id) argument
2209 ocs_hw_rqpair_auto_xfer_rdy_buffer_alloc(ocs_hw_t *hw, uint32_t num_buffers) argument
2264 ocs_hw_rqpair_auto_xfer_rdy_dnrx_check(ocs_hw_t *hw) argument
2296 ocs_hw_rqpair_auto_xfer_rdy_move_to_port_cb(ocs_hw_t *hw, int32_t status, uint8_t *mqe, void *arg) argument
2320 ocs_hw_rqpair_auto_xfer_rdy_move_to_port(ocs_hw_t *hw, ocs_hw_io_t *io) argument
2364 ocs_hw_rqpair_auto_xfer_rdy_move_to_host(ocs_hw_t *hw, ocs_hw_io_t *io) argument
2401 ocs_hw_rqpair_auto_xfer_rdy_buffer_post(ocs_hw_t *hw, ocs_hw_io_t *io, int reuse_buf) argument
2472 ocs_hw_rqpair_auto_xfer_rdy_buffer_sequence_reset(ocs_hw_t *hw, ocs_hw_sequence_t *seq) argument
2517 ocs_hw_rqpair_auto_xfer_rdy_buffer_free(ocs_hw_t *hw) argument
2549 ocs_hw_rqpair_init(ocs_hw_t *hw) argument
2598 ocs_hw_rqpair_teardown(ocs_hw_t *hw) argument
[all...]

Completed in 303 milliseconds

1234567891011