Searched refs:hw (Results 1 - 25 of 182) sorted by relevance

12345678

/openbsd-current/sys/dev/pci/
H A Digc_api.c13 * @hw: pointer to the HW structure
19 igc_init_mac_params(struct igc_hw *hw) argument
23 if (hw->mac.ops.init_params) {
24 ret_val = hw->mac.ops.init_params(hw);
39 * @hw: pointer to the HW structure
45 igc_init_nvm_params(struct igc_hw *hw) argument
49 if (hw->nvm.ops.init_params) {
50 ret_val = hw->nvm.ops.init_params(hw);
71 igc_init_phy_params(struct igc_hw *hw) argument
99 igc_set_mac_type(struct igc_hw *hw) argument
146 igc_setup_init_funcs(struct igc_hw *hw, bool init_device) argument
217 igc_update_mc_addr_list(struct igc_hw *hw, uint8_t *mc_addr_list, uint32_t mc_addr_count) argument
234 igc_check_for_link(struct igc_hw *hw) argument
250 igc_reset_hw(struct igc_hw *hw) argument
266 igc_init_hw(struct igc_hw *hw) argument
285 igc_get_speed_and_duplex(struct igc_hw *hw, uint16_t *speed, uint16_t *duplex) argument
302 igc_rar_set(struct igc_hw *hw, uint8_t *addr, uint32_t index) argument
318 igc_check_reset_block(struct igc_hw *hw) argument
335 igc_get_phy_info(struct igc_hw *hw) argument
351 igc_phy_hw_reset(struct igc_hw *hw) argument
368 igc_read_mac_addr(struct igc_hw *hw) argument
384 igc_validate_nvm_checksum(struct igc_hw *hw) argument
[all...]
H A Dixgbe_phy.c41 void ixgbe_i2c_start(struct ixgbe_hw *hw);
42 void ixgbe_i2c_stop(struct ixgbe_hw *hw);
43 int32_t ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, uint8_t *data);
44 int32_t ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, uint8_t data);
45 int32_t ixgbe_get_i2c_ack(struct ixgbe_hw *hw);
46 int32_t ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data);
47 int32_t ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data);
48 void ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, uint32_t *i2cctl);
49 void ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, uint32_t *i2cctl);
50 int32_t ixgbe_set_i2c_data(struct ixgbe_hw *hw, uint32_
60 ixgbe_out_i2c_byte_ack(struct ixgbe_hw *hw, uint8_t byte) argument
77 ixgbe_in_i2c_byte_ack(struct ixgbe_hw *hw, uint8_t *byte) argument
113 ixgbe_read_i2c_combined_generic_int(struct ixgbe_hw *hw, uint8_t addr, uint16_t reg, uint16_t *val, bool lock) argument
191 ixgbe_read_i2c_combined_generic(struct ixgbe_hw *hw, uint8_t addr, uint16_t reg, uint16_t *val) argument
206 ixgbe_read_i2c_combined_generic_unlocked(struct ixgbe_hw *hw, uint8_t addr, uint16_t reg, uint16_t *val) argument
223 ixgbe_write_i2c_combined_generic_int(struct ixgbe_hw *hw, uint8_t addr, uint16_t reg, uint16_t val, bool lock) argument
287 ixgbe_write_i2c_combined_generic(struct ixgbe_hw *hw, uint8_t addr, uint16_t reg, uint16_t val) argument
303 ixgbe_write_i2c_combined_generic_unlocked(struct ixgbe_hw *hw, uint8_t addr, uint16_t reg, uint16_t val) argument
315 ixgbe_init_phy_ops_generic(struct ixgbe_hw *hw) argument
359 ixgbe_probe_phy(struct ixgbe_hw *hw, uint16_t phy_addr) argument
394 ixgbe_identify_phy_generic(struct ixgbe_hw *hw) argument
447 ixgbe_check_reset_blocked(struct ixgbe_hw *hw) argument
473 ixgbe_validate_phy_addr(struct ixgbe_hw *hw, uint32_t phy_addr) argument
497 ixgbe_get_phy_id(struct ixgbe_hw *hw) argument
569 ixgbe_reset_phy_generic(struct ixgbe_hw *hw) argument
652 ixgbe_read_phy_reg_mdi(struct ixgbe_hw *hw, uint32_t reg_addr, uint32_t device_type, uint16_t *phy_data) argument
734 ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, uint32_t reg_addr, uint32_t device_type, uint16_t *phy_data) argument
760 ixgbe_write_phy_reg_mdi(struct ixgbe_hw *hw, uint32_t reg_addr, uint32_t device_type, uint16_t phy_data) argument
834 ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, uint32_t reg_addr, uint32_t device_type, uint16_t phy_data) argument
859 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw) argument
950 ixgbe_setup_phy_link_speed_generic(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
993 ixgbe_get_copper_speeds_supported(struct ixgbe_hw *hw) argument
1033 ixgbe_get_copper_link_capabilities_generic(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument
1058 ixgbe_check_phy_link_tnx(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up) argument
1106 ixgbe_setup_phy_link_tnx(struct ixgbe_hw *hw) argument
1183 ixgbe_get_phy_firmware_version_tnx(struct ixgbe_hw *hw, uint16_t *firmware_version) argument
1202 ixgbe_get_phy_firmware_version_generic(struct ixgbe_hw *hw, uint16_t *firmware_version) argument
1220 ixgbe_reset_phy_nl(struct ixgbe_hw *hw) argument
1333 ixgbe_is_sfp(struct ixgbe_hw *hw) argument
1358 ixgbe_identify_module_generic(struct ixgbe_hw *hw) argument
1388 ixgbe_identify_sfp_module_generic(struct ixgbe_hw *hw) argument
1641 ixgbe_get_supported_phy_sfp_layer_generic(struct ixgbe_hw *hw) argument
1710 ixgbe_identify_qsfp_module_generic(struct ixgbe_hw *hw) argument
1889 ixgbe_get_sfp_init_sequence_offsets(struct ixgbe_hw *hw, uint16_t *list_offset, uint16_t *data_offset) argument
1994 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, uint8_t byte_offset, uint8_t *eeprom_data) argument
2012 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, uint8_t byte_offset, uint8_t eeprom_data) argument
2028 ixgbe_is_sfp_probe(struct ixgbe_hw *hw, uint8_t offset, uint8_t addr) argument
2048 ixgbe_read_i2c_byte_generic_int(struct ixgbe_hw *hw, uint8_t byte_offset, uint8_t dev_addr, uint8_t *data, bool lock) argument
2139 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, uint8_t byte_offset, uint8_t dev_addr, uint8_t *data) argument
2156 ixgbe_read_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, uint8_t byte_offset, uint8_t dev_addr, uint8_t *data) argument
2174 ixgbe_write_i2c_byte_generic_int(struct ixgbe_hw *hw, uint8_t byte_offset, uint8_t dev_addr, uint8_t data, bool lock) argument
2245 ixgbe_write_i2c_byte_generic(struct ixgbe_hw *hw, uint8_t byte_offset, uint8_t dev_addr, uint8_t data) argument
2262 ixgbe_write_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, uint8_t byte_offset, uint8_t dev_addr, uint8_t data) argument
2276 ixgbe_i2c_start(struct ixgbe_hw *hw) argument
2311 ixgbe_i2c_stop(struct ixgbe_hw *hw) argument
2347 ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, uint8_t *data) argument
2370 ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, uint8_t data) argument
2403 ixgbe_get_i2c_ack(struct ixgbe_hw *hw) argument
2456 ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data) argument
2492 ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data) argument
2529 ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, uint32_t *i2cctl) argument
2565 ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, uint32_t *i2cctl) argument
2588 ixgbe_set_i2c_data(struct ixgbe_hw *hw, uint32_t *i2cctl, bool data) argument
2635 ixgbe_get_i2c_data(struct ixgbe_hw *hw, uint32_t *i2cctl) argument
2664 ixgbe_i2c_bus_clear(struct ixgbe_hw *hw) argument
2700 ixgbe_tn_check_overtemp(struct ixgbe_hw *hw) argument
2728 ixgbe_set_copper_phy_power(struct ixgbe_hw *hw, bool on) argument
[all...]
H A Digc_mac.c12 * @hw: pointer to the HW structure
17 igc_init_mac_ops_generic(struct igc_hw *hw) argument
19 struct igc_mac_info *mac = &hw->mac;
30 * @hw: pointer to the HW structure
33 igc_null_ops_generic(struct igc_hw IGC_UNUSEDARG *hw) argument
41 * @hw: pointer to the HW structure
49 igc_write_vfta_generic(struct igc_hw *hw, uint32_t offset, uint32_t value) argument
53 IGC_WRITE_REG_ARRAY(hw, IGC_VFTA, offset, value);
54 IGC_WRITE_FLUSH(hw);
59 * @hw
67 igc_init_rx_addrs_generic(struct igc_hw *hw, uint16_t rar_count) argument
98 igc_check_alt_mac_addr_generic(struct igc_hw *hw) argument
162 igc_rar_set_generic(struct igc_hw *hw, uint8_t *addr, uint32_t index) argument
201 igc_hash_mc_addr_generic(struct igc_hw *hw, uint8_t *mc_addr) argument
273 igc_update_mc_addr_list_generic(struct igc_hw *hw, uint8_t *mc_addr_list, uint32_t mc_addr_count) argument
308 igc_clear_hw_cntrs_base_generic(struct igc_hw *hw) argument
364 igc_setup_link_generic(struct igc_hw *hw) argument
418 igc_config_collision_dist_generic(struct igc_hw *hw) argument
442 igc_set_fc_watermarks_generic(struct igc_hw *hw) argument
482 igc_force_mac_fc_generic(struct igc_hw *hw) argument
545 igc_config_fc_after_link_up_generic(struct igc_hw *hw) argument
709 igc_get_speed_and_duplex_copper_generic(struct igc_hw *hw, uint16_t *speed, uint16_t *duplex) argument
756 igc_put_hw_semaphore_generic(struct igc_hw *hw) argument
775 igc_get_auto_rd_done_generic(struct igc_hw *hw) argument
808 igc_disable_pcie_master_generic(struct igc_hw *hw) argument
[all...]
H A Dif_em_osdep.h84 #define E1000_WRITE_FLUSH(hw) E1000_READ_REG(hw, STATUS)
87 #define E1000_READ_OFFSET(hw, offset) \
88 bus_space_read_4(((struct em_osdep *)(hw)->back)->mem_bus_space_tag, \
89 ((struct em_osdep *)(hw)->back)->mem_bus_space_handle, \
93 #define E1000_WRITE_OFFSET(hw, offset, value) \
94 bus_space_write_4(((struct em_osdep *)(hw)->back)->mem_bus_space_tag, \
95 ((struct em_osdep *)(hw)->back)->mem_bus_space_handle, \
99 #define E1000_REG_TR(hw, reg) \
100 ((hw)
[all...]
H A Digc_base.c15 * @hw: pointer to the HW structure
20 igc_acquire_phy_base(struct igc_hw *hw) argument
26 if (hw->bus.func == IGC_FUNC_1)
29 return hw->mac.ops.acquire_swfw_sync(hw, mask);
34 * @hw: pointer to the HW structure
39 igc_release_phy_base(struct igc_hw *hw) argument
45 if (hw->bus.func == IGC_FUNC_1)
48 hw->mac.ops.release_swfw_sync(hw, mas
58 igc_init_hw_base(struct igc_hw *hw) argument
100 igc_power_down_phy_copper_base(struct igc_hw *hw) argument
[all...]
H A Dixgbe_x540.c48 int32_t ixgbe_update_flash_X540(struct ixgbe_hw *hw);
49 int32_t ixgbe_poll_flash_update_done_X540(struct ixgbe_hw *hw);
50 int32_t ixgbe_get_swfw_sync_semaphore(struct ixgbe_hw *hw);
51 void ixgbe_release_swfw_sync_semaphore(struct ixgbe_hw *hw);
53 int32_t ixgbe_get_link_capabilities_X540(struct ixgbe_hw *hw,
55 enum ixgbe_media_type ixgbe_get_media_type_X540(struct ixgbe_hw *hw);
56 int32_t ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed,
58 int32_t ixgbe_reset_hw_X540(struct ixgbe_hw *hw);
59 int32_t ixgbe_start_hw_X540(struct ixgbe_hw *hw);
60 uint64_t ixgbe_get_supported_physical_layer_X540(struct ixgbe_hw *hw);
83 ixgbe_init_ops_X540(struct ixgbe_hw *hw) argument
172 ixgbe_get_link_capabilities_X540(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument
187 ixgbe_get_media_type_X540(struct ixgbe_hw *hw) argument
198 ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
214 ixgbe_reset_hw_X540(struct ixgbe_hw *hw) argument
294 ixgbe_start_hw_X540(struct ixgbe_hw *hw) argument
316 ixgbe_get_supported_physical_layer_X540(struct ixgbe_hw *hw) argument
342 ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw) argument
375 ixgbe_read_eerd_X540(struct ixgbe_hw *hw, uint16_t offset, uint16_t *data) argument
399 ixgbe_write_eewr_X540(struct ixgbe_hw *hw, uint16_t offset, uint16_t data) argument
425 ixgbe_calc_eeprom_checksum_X540(struct ixgbe_hw *hw) argument
501 ixgbe_validate_eeprom_checksum_X540(struct ixgbe_hw *hw, uint16_t *checksum_val) argument
564 ixgbe_update_eeprom_checksum_X540(struct ixgbe_hw *hw) argument
612 ixgbe_update_flash_X540(struct ixgbe_hw *hw) argument
659 ixgbe_poll_flash_update_done_X540(struct ixgbe_hw *hw) argument
691 ixgbe_acquire_swfw_sync_X540(struct ixgbe_hw *hw, uint32_t mask) argument
788 ixgbe_release_swfw_sync_X540(struct ixgbe_hw *hw, uint32_t mask) argument
813 ixgbe_get_swfw_sync_semaphore(struct ixgbe_hw *hw) argument
871 ixgbe_release_swfw_sync_semaphore(struct ixgbe_hw *hw) argument
897 ixgbe_init_swfw_sync_X540(struct ixgbe_hw *hw) argument
928 ixgbe_blink_led_start_X540(struct ixgbe_hw *hw, uint32_t index) argument
969 ixgbe_blink_led_stop_X540(struct ixgbe_hw *hw, uint32_t index) argument
[all...]
H A Digc_i225.c22 * @hw: pointer to the HW structure
25 igc_init_nvm_params_i225(struct igc_hw *hw) argument
27 struct igc_nvm_info *nvm = &hw->nvm;
28 uint32_t eecd = IGC_READ_REG(hw, IGC_EECD);
60 if (igc_get_flash_presence_i225(hw)) {
61 hw->nvm.type = igc_nvm_flash_hw;
67 hw->nvm.type = igc_nvm_invm;
78 * @hw: pointer to the HW structure
81 igc_init_mac_params_i225(struct igc_hw *hw) argument
83 struct igc_mac_info *mac = &hw
133 igc_init_phy_params_i225(struct igc_hw *hw) argument
179 igc_reset_hw_i225(struct igc_hw *hw) argument
237 igc_acquire_nvm_i225(struct igc_hw *hw) argument
255 igc_release_nvm_i225(struct igc_hw *hw) argument
270 igc_acquire_swfw_sync_i225(struct igc_hw *hw, uint16_t mask) argument
321 igc_release_swfw_sync_i225(struct igc_hw *hw, uint16_t mask) argument
346 igc_setup_copper_link_i225(struct igc_hw *hw) argument
373 igc_get_hw_semaphore_i225(struct igc_hw *hw) argument
447 igc_read_nvm_srrd_i225(struct igc_hw *hw, uint16_t offset, uint16_t words, uint16_t *data) argument
492 igc_write_nvm_srwr_i225(struct igc_hw *hw, uint16_t offset, uint16_t words, uint16_t *data) argument
533 __igc_write_nvm_srwr(struct igc_hw *hw, uint16_t offset, uint16_t words, uint16_t *data) argument
584 igc_validate_nvm_checksum_i225(struct igc_hw *hw) argument
620 igc_update_nvm_checksum_i225(struct igc_hw *hw) argument
677 igc_get_flash_presence_i225(struct igc_hw *hw) argument
699 igc_set_flsw_flash_burst_counter_i225(struct igc_hw *hw, uint32_t burst_counter) argument
725 igc_write_erase_flash_command_i225(struct igc_hw *hw, uint32_t opcode, uint32_t address) argument
772 igc_update_flash_i225(struct igc_hw *hw) argument
865 igc_pool_flash_update_done_i225(struct igc_hw *hw) argument
892 igc_set_ltr_i225(struct igc_hw *hw, bool link) argument
992 igc_check_for_link_i225(struct igc_hw *hw) argument
1074 igc_init_function_pointers_i225(struct igc_hw *hw) argument
1090 igc_init_hw_i225(struct igc_hw *hw) argument
1111 igc_set_eee_i225(struct igc_hw *hw, bool adv2p5G, bool adv1G, bool adv100M) argument
[all...]
H A Dixgb_ee.c55 static uint16_t ixgb_shift_in_bits(struct ixgb_hw *hw);
57 static void ixgb_shift_out_bits(struct ixgb_hw *hw, uint16_t data,
59 static void ixgb_standby_eeprom(struct ixgb_hw *hw);
61 static boolean_t ixgb_wait_eeprom_command(struct ixgb_hw *hw);
63 static void ixgb_cleanup_eeprom(struct ixgb_hw *hw);
68 * hw - Struct containing variables accessed by shared code
72 ixgb_raise_clock(struct ixgb_hw *hw, uint32_t *eecd_reg) argument
77 IXGB_WRITE_REG(hw, EECD, *eecd_reg);
85 * hw - Struct containing variables accessed by shared code
89 ixgb_lower_clock(struct ixgb_hw *hw, uint32_ argument
107 ixgb_shift_out_bits(struct ixgb_hw *hw, uint16_t data, uint16_t count) argument
152 ixgb_shift_in_bits(struct ixgb_hw *hw) argument
194 ixgb_setup_eeprom(struct ixgb_hw *hw) argument
216 ixgb_standby_eeprom(struct ixgb_hw *hw) argument
250 ixgb_clock_eeprom(struct ixgb_hw *hw) argument
274 ixgb_cleanup_eeprom(struct ixgb_hw *hw) argument
300 ixgb_wait_eeprom_command(struct ixgb_hw *hw) argument
338 ixgb_validate_eeprom_checksum(struct ixgb_hw *hw) argument
361 ixgb_update_eeprom_checksum(struct ixgb_hw *hw) argument
387 ixgb_write_eeprom(struct ixgb_hw *hw, uint16_t offset, uint16_t data) argument
440 ixgb_read_eeprom(struct ixgb_hw *hw, uint16_t offset) argument
474 ixgb_get_eeprom_data(struct ixgb_hw *hw) argument
521 ixgb_check_and_get_eeprom_data(struct ixgb_hw *hw) argument
543 ixgb_get_eeprom_word(struct ixgb_hw *hw, uint16_t index) argument
563 ixgb_get_ee_mac_addr(struct ixgb_hw *hw, uint8_t *mac_addr) argument
588 ixgb_get_ee_pba_number(struct ixgb_hw *hw) argument
607 ixgb_get_ee_device_id(struct ixgb_hw *hw) argument
[all...]
H A Dixgbe_82599.c49 int32_t ixgbe_get_link_capabilities_82599(struct ixgbe_hw *hw,
52 enum ixgbe_media_type ixgbe_get_media_type_82599(struct ixgbe_hw *hw);
53 void ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw);
54 void ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw);
55 void ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw *hw);
56 void ixgbe_set_hard_rate_select_speed(struct ixgbe_hw *hw,
58 int32_t ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw,
61 int32_t ixgbe_start_mac_link_82599(struct ixgbe_hw *hw,
63 int32_t ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw,
66 int32_t ixgbe_setup_sfp_modules_82599(struct ixgbe_hw *hw);
97 ixgbe_init_mac_link_ops_82599(struct ixgbe_hw *hw) argument
151 ixgbe_init_phy_ops_82599(struct ixgbe_hw *hw) argument
209 ixgbe_setup_sfp_modules_82599(struct ixgbe_hw *hw) argument
286 prot_autoc_read_82599(struct ixgbe_hw *hw, bool *locked, uint32_t *reg_val) argument
316 prot_autoc_write_82599(struct ixgbe_hw *hw, uint32_t autoc, bool locked) argument
358 ixgbe_init_ops_82599(struct ixgbe_hw *hw) argument
433 ixgbe_get_link_capabilities_82599(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument
542 ixgbe_get_media_type_82599(struct ixgbe_hw *hw) argument
604 ixgbe_stop_mac_link_on_d3_82599(struct ixgbe_hw *hw) argument
629 ixgbe_start_mac_link_82599(struct ixgbe_hw *hw, bool autoneg_wait_to_complete) argument
697 ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw) argument
720 ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw) argument
743 ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw *hw) argument
765 ixgbe_set_hard_rate_select_speed(struct ixgbe_hw *hw, ixgbe_link_speed speed) argument
795 ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
907 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
1029 ixgbe_setup_copper_link_82599(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
1054 ixgbe_reset_hw_82599(struct ixgbe_hw *hw) argument
1213 ixgbe_read_analog_reg8_82599(struct ixgbe_hw *hw, uint32_t reg, uint8_t *val) argument
1238 ixgbe_write_analog_reg8_82599(struct ixgbe_hw *hw, uint32_t reg, uint8_t val) argument
1261 ixgbe_start_hw_82599(struct ixgbe_hw *hw) argument
1292 ixgbe_identify_phy_82599(struct ixgbe_hw *hw) argument
1327 ixgbe_get_supported_physical_layer_82599(struct ixgbe_hw *hw) argument
1415 ixgbe_enable_rx_dma_82599(struct ixgbe_hw *hw, uint32_t regval) argument
1449 ixgbe_verify_fw_version_82599(struct ixgbe_hw *hw) argument
1510 ixgbe_verify_lesm_fw_enabled_82599(struct ixgbe_hw *hw) argument
1557 ixgbe_read_eeprom_82599(struct ixgbe_hw *hw, uint16_t offset, uint16_t *data) argument
1586 ixgbe_reset_pipeline_82599(struct ixgbe_hw *hw) argument
1639 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, uint8_t byte_offset, uint8_t dev_addr, uint8_t *data) argument
1697 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, uint8_t byte_offset, uint8_t dev_addr, uint8_t data) argument
[all...]
H A Dixgb_hw.c60 static uint32_t ixgb_hash_mc_addr(struct ixgb_hw *hw, uint8_t *mc_addr);
62 static void ixgb_mta_set(struct ixgb_hw *hw, uint32_t hash_value);
64 static void ixgb_get_bus_info(struct ixgb_hw *hw);
66 static boolean_t ixgb_link_reset(struct ixgb_hw *hw);
68 static void ixgb_optics_reset(struct ixgb_hw *hw);
70 static void ixgb_optics_reset_bcm(struct ixgb_hw *hw);
72 static ixgb_phy_type ixgb_identify_phy(struct ixgb_hw *hw);
74 uint32_t ixgb_mac_reset(struct ixgb_hw *hw);
77 ixgb_mac_reset(struct ixgb_hw *hw) argument
92 IXGB_WRITE_REG_IO(hw, CTRL
128 ixgb_adapter_stop(struct ixgb_hw *hw) argument
185 ixgb_identify_xpak_vendor(struct ixgb_hw *hw) argument
225 ixgb_identify_phy(struct ixgb_hw *hw) argument
301 ixgb_init_hw(struct ixgb_hw *hw) argument
385 ixgb_init_rx_addrs(struct ixgb_hw *hw) argument
443 ixgb_mc_addr_list_update(struct ixgb_hw *hw, uint8_t *mc_addr_list, uint32_t mc_addr_count, uint32_t pad) argument
517 ixgb_hash_mc_addr(struct ixgb_hw *hw, uint8_t *mc_addr) argument
565 ixgb_mta_set(struct ixgb_hw *hw, uint32_t hash_value) argument
593 ixgb_rar_set(struct ixgb_hw *hw, uint8_t *addr, uint32_t index) argument
623 ixgb_write_vfta(struct ixgb_hw *hw, uint32_t offset, uint32_t value) argument
635 ixgb_clear_vfta(struct ixgb_hw *hw) argument
651 ixgb_setup_fc(struct ixgb_hw *hw) argument
747 ixgb_read_phy_reg(struct ixgb_hw *hw, uint32_t reg_address, uint32_t phy_address, uint32_t device_type) argument
835 ixgb_write_phy_reg(struct ixgb_hw *hw, uint32_t reg_address, uint32_t phy_address, uint32_t device_type, uint16_t data) argument
911 ixgb_check_for_link(struct ixgb_hw *hw) argument
948 ixgb_check_for_bad_link(struct ixgb_hw *hw) argument
973 ixgb_clear_hw_cntrs(struct ixgb_hw *hw) argument
1054 ixgb_led_on(struct ixgb_hw *hw) argument
1070 ixgb_led_off(struct ixgb_hw *hw) argument
1086 ixgb_get_bus_info(struct ixgb_hw *hw) argument
1167 ixgb_link_reset(struct ixgb_hw *hw) argument
1198 ixgb_optics_reset(struct ixgb_hw *hw) argument
1233 ixgb_optics_reset_bcm(struct ixgb_hw *hw) argument
[all...]
H A Dixgbe_82598.c49 int32_t ixgbe_get_link_capabilities_82598(struct ixgbe_hw *hw,
52 enum ixgbe_media_type ixgbe_get_media_type_82598(struct ixgbe_hw *hw);
53 int32_t ixgbe_fc_enable_82598(struct ixgbe_hw *hw);
54 int32_t ixgbe_start_mac_link_82598(struct ixgbe_hw *hw,
56 int32_t ixgbe_validate_link_ready(struct ixgbe_hw *hw);
57 int32_t ixgbe_check_mac_link_82598(struct ixgbe_hw *hw,
60 int32_t ixgbe_setup_mac_link_82598(struct ixgbe_hw *hw,
63 int32_t ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw,
66 int32_t ixgbe_reset_hw_82598(struct ixgbe_hw *hw);
68 int32_t ixgbe_start_hw_82598(struct ixgbe_hw *hw);
96 ixgbe_set_pcie_completion_timeout(struct ixgbe_hw *hw) argument
135 ixgbe_init_ops_82598(struct ixgbe_hw *hw) argument
199 ixgbe_init_phy_ops_82598(struct ixgbe_hw *hw) argument
262 ixgbe_start_hw_82598(struct ixgbe_hw *hw) argument
304 ixgbe_get_link_capabilities_82598(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument
363 ixgbe_get_media_type_82598(struct ixgbe_hw *hw) argument
416 ixgbe_fc_enable_82598(struct ixgbe_hw *hw) argument
565 ixgbe_start_mac_link_82598(struct ixgbe_hw *hw, bool autoneg_wait_to_complete) argument
613 ixgbe_validate_link_ready(struct ixgbe_hw *hw) argument
650 ixgbe_check_mac_link_82598(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up, bool link_up_wait_to_complete) argument
739 ixgbe_setup_mac_link_82598(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
793 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
818 ixgbe_reset_hw_82598(struct ixgbe_hw *hw) argument
954 ixgbe_set_vmdq_82598(struct ixgbe_hw *hw, uint32_t rar, uint32_t vmdq) argument
980 ixgbe_clear_vmdq_82598(struct ixgbe_hw *hw, uint32_t rar, uint32_t vmdq) argument
1010 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, uint32_t vlan, uint32_t vind, bool vlan_on, bool vlvf_bypass) argument
1057 ixgbe_clear_vfta_82598(struct ixgbe_hw *hw) argument
1083 ixgbe_read_analog_reg8_82598(struct ixgbe_hw *hw, uint32_t reg, uint8_t *val) argument
1107 ixgbe_write_analog_reg8_82598(struct ixgbe_hw *hw, uint32_t reg, uint8_t val) argument
1130 ixgbe_read_i2c_phy_82598(struct ixgbe_hw *hw, uint8_t dev_addr, uint8_t byte_offset, uint8_t *eeprom_data) argument
1203 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, uint8_t byte_offset, uint8_t *eeprom_data) argument
1216 ixgbe_get_supported_physical_layer_82598(struct ixgbe_hw *hw) argument
1320 ixgbe_set_lan_id_multi_port_pcie_82598(struct ixgbe_hw *hw) argument
1353 ixgbe_enable_rx_dma_82598(struct ixgbe_hw *hw, uint32_t regval) argument
[all...]
H A Dixgbe.c46 void ixgbe_set_pci_config_data_generic(struct ixgbe_hw *hw,
49 int32_t ixgbe_acquire_eeprom(struct ixgbe_hw *hw);
50 int32_t ixgbe_get_eeprom_semaphore(struct ixgbe_hw *hw);
51 void ixgbe_release_eeprom_semaphore(struct ixgbe_hw *hw);
52 int32_t ixgbe_ready_eeprom(struct ixgbe_hw *hw);
53 void ixgbe_standby_eeprom(struct ixgbe_hw *hw);
54 void ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, uint16_t data,
56 uint16_t ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, uint16_t count);
57 void ixgbe_raise_eeprom_clk(struct ixgbe_hw *hw, uint32_t *eec);
58 void ixgbe_lower_eeprom_clk(struct ixgbe_hw *hw, uint32_
113 ixgbe_init_ops_generic(struct ixgbe_hw *hw) argument
199 ixgbe_device_supports_autoneg_fc(struct ixgbe_hw *hw) argument
273 ixgbe_setup_fc_generic(struct ixgbe_hw *hw) argument
432 ixgbe_start_hw_generic(struct ixgbe_hw *hw) argument
498 ixgbe_start_hw_gen2(struct ixgbe_hw *hw) argument
537 ixgbe_init_hw_generic(struct ixgbe_hw *hw) argument
564 ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw *hw) argument
680 ixgbe_get_mac_addr_generic(struct ixgbe_hw *hw, uint8_t *mac_addr) argument
715 ixgbe_set_pci_config_data_generic(struct ixgbe_hw *hw, uint16_t link_status) argument
766 ixgbe_get_bus_info_generic(struct ixgbe_hw *hw) argument
788 ixgbe_set_lan_id_multi_port_pcie(struct ixgbe_hw *hw) argument
822 ixgbe_stop_adapter_generic(struct ixgbe_hw *hw) argument
872 ixgbe_led_on_generic(struct ixgbe_hw *hw, uint32_t index) argument
895 ixgbe_led_off_generic(struct ixgbe_hw *hw, uint32_t index) argument
920 ixgbe_init_eeprom_params_generic(struct ixgbe_hw *hw) argument
976 ixgbe_write_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, uint16_t offset, uint16_t words, uint16_t *data) argument
1058 ixgbe_write_eeprom_generic(struct ixgbe_hw *hw, uint16_t offset, uint16_t data) argument
1086 ixgbe_read_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, uint16_t offset, uint16_t words, uint16_t *data) argument
1143 ixgbe_read_eeprom_bit_bang_generic(struct ixgbe_hw *hw, uint16_t offset, uint16_t *data) argument
1172 ixgbe_read_eerd_buffer_generic(struct ixgbe_hw *hw, uint16_t offset, uint16_t words, uint16_t *data) argument
1222 ixgbe_read_eerd_generic(struct ixgbe_hw *hw, uint16_t offset, uint16_t *data) argument
1236 ixgbe_write_eewr_buffer_generic(struct ixgbe_hw *hw, uint16_t offset, uint16_t words, uint16_t *data) argument
1291 ixgbe_write_eewr_generic(struct ixgbe_hw *hw, uint16_t offset, uint16_t data) argument
1304 ixgbe_poll_eerd_eewr_done(struct ixgbe_hw *hw, uint32_t ee_reg) argument
1339 ixgbe_acquire_eeprom(struct ixgbe_hw *hw) argument
1393 ixgbe_get_eeprom_semaphore(struct ixgbe_hw *hw) argument
1484 ixgbe_release_eeprom_semaphore(struct ixgbe_hw *hw) argument
1502 ixgbe_ready_eeprom(struct ixgbe_hw *hw) argument
1543 ixgbe_standby_eeprom(struct ixgbe_hw *hw) argument
1568 ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, uint16_t data, uint16_t count) argument
1624 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, uint16_t count) argument
1664 ixgbe_raise_eeprom_clk(struct ixgbe_hw *hw, uint32_t *eec) argument
1683 ixgbe_lower_eeprom_clk(struct ixgbe_hw *hw, uint32_t *eec) argument
1701 ixgbe_release_eeprom(struct ixgbe_hw *hw) argument
1733 ixgbe_calc_eeprom_checksum_generic(struct ixgbe_hw *hw) argument
1794 ixgbe_validate_eeprom_checksum_generic(struct ixgbe_hw *hw, uint16_t *checksum_val) argument
1842 ixgbe_update_eeprom_checksum_generic(struct ixgbe_hw *hw) argument
1909 ixgbe_set_rar_generic(struct ixgbe_hw *hw, uint32_t index, uint8_t *addr, uint32_t vmdq, uint32_t enable_addr) argument
1960 ixgbe_clear_rar_generic(struct ixgbe_hw *hw, uint32_t index) argument
1999 ixgbe_init_rx_addrs_generic(struct ixgbe_hw *hw) argument
2068 ixgbe_add_uc_addr(struct ixgbe_hw *hw, uint8_t *addr, uint32_t vmdq) argument
2106 ixgbe_mta_vector(struct ixgbe_hw *hw, uint8_t *mc_addr) argument
2143 ixgbe_set_mta(struct ixgbe_hw *hw, uint8_t *mc_addr) argument
2181 ixgbe_update_mc_addr_list_generic(struct ixgbe_hw *hw, uint8_t *mc_addr_list, uint32_t mc_addr_count, ixgbe_mc_addr_itr next, bool clear) argument
2228 ixgbe_enable_mc_generic(struct ixgbe_hw *hw) argument
2247 ixgbe_disable_mc_generic(struct ixgbe_hw *hw) argument
2265 ixgbe_fc_enable_generic(struct ixgbe_hw *hw) argument
2405 ixgbe_negotiate_fc(struct ixgbe_hw *hw, uint32_t adv_reg, uint32_t lp_reg, uint32_t adv_sym, uint32_t adv_asm, uint32_t lp_sym, uint32_t lp_asm) argument
2454 ixgbe_fc_autoneg_fiber(struct ixgbe_hw *hw) argument
2491 ixgbe_fc_autoneg_backplane(struct ixgbe_hw *hw) argument
2535 ixgbe_fc_autoneg_copper(struct ixgbe_hw *hw) argument
2560 ixgbe_fc_autoneg(struct ixgbe_hw *hw) argument
2629 ixgbe_pcie_timeout_poll(struct ixgbe_hw *hw) argument
2675 ixgbe_disable_pcie_master(struct ixgbe_hw *hw) argument
2742 ixgbe_acquire_swfw_sync(struct ixgbe_hw *hw, uint32_t mask) argument
2789 ixgbe_release_swfw_sync(struct ixgbe_hw *hw, uint32_t mask) argument
2812 ixgbe_disable_sec_rx_path_generic(struct ixgbe_hw *hw) argument
2850 prot_autoc_read_generic(struct ixgbe_hw *hw, bool *locked, uint32_t *reg_val) argument
2867 prot_autoc_write_generic(struct ixgbe_hw *hw, uint32_t reg_val, bool locked) argument
2880 ixgbe_enable_sec_rx_path_generic(struct ixgbe_hw *hw) argument
2901 ixgbe_enable_rx_dma_generic(struct ixgbe_hw *hw, uint32_t regval) argument
2918 ixgbe_blink_led_start_generic(struct ixgbe_hw *hw, uint32_t index) argument
2968 ixgbe_blink_led_stop_generic(struct ixgbe_hw *hw, uint32_t index) argument
3008 ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw *hw) argument
3055 ixgbe_insert_mac_addr_generic(struct ixgbe_hw *hw, uint8_t *addr, uint32_t vmdq) argument
3121 ixgbe_clear_vmdq_generic(struct ixgbe_hw *hw, uint32_t rar, uint32_t vmdq) argument
3174 ixgbe_set_vmdq_generic(struct ixgbe_hw *hw, uint32_t rar, uint32_t vmdq) argument
3204 ixgbe_init_uta_tables_generic(struct ixgbe_hw *hw) argument
3228 ixgbe_find_vlvf_slot(struct ixgbe_hw *hw, uint32_t vlan, bool vlvf_bypass) argument
3278 ixgbe_set_vfta_generic(struct ixgbe_hw *hw, uint32_t vlan, uint32_t vind, bool vlan_on, bool vlvf_bypass) argument
3345 ixgbe_set_vlvf_generic(struct ixgbe_hw *hw, uint32_t vlan, uint32_t vind, bool vlan_on, uint32_t *vfta_delta, uint32_t vfta, bool vlvf_bypass) argument
3427 ixgbe_clear_vfta_generic(struct ixgbe_hw *hw) argument
3452 ixgbe_need_crosstalk_fix(struct ixgbe_hw *hw) argument
3480 ixgbe_check_mac_link_generic(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up, bool link_up_wait_to_complete) argument
3584 ixgbe_get_device_caps_generic(struct ixgbe_hw *hw, uint16_t *device_caps) argument
3630 ixgbe_hic_unlocked(struct ixgbe_hw *hw, uint32_t *buffer, uint32_t length, uint32_t timeout) argument
3708 ixgbe_host_interface_command(struct ixgbe_hw *hw, uint32_t *buffer, uint32_t length, uint32_t timeout, bool return_data) argument
3794 ixgbe_clear_tx_pending(struct ixgbe_hw *hw) argument
3847 ixgbe_disable_rx_generic(struct ixgbe_hw *hw) argument
3869 ixgbe_enable_rx_generic(struct ixgbe_hw *hw) argument
3891 ixgbe_mng_present(struct ixgbe_hw *hw) argument
3909 ixgbe_mng_enabled(struct ixgbe_hw *hw) argument
3938 ixgbe_setup_mac_link_multispeed_fiber(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
4090 ixgbe_set_soft_rate_select_speed(struct ixgbe_hw *hw, ixgbe_link_speed speed) argument
4164 ixgbe_init_shared_code(struct ixgbe_hw *hw) argument
4210 ixgbe_set_mac_type(struct ixgbe_hw *hw) argument
4311 ixgbe_init_hw(struct ixgbe_hw *hw) argument
4325 ixgbe_get_media_type(struct ixgbe_hw *hw) argument
4339 ixgbe_identify_phy(struct ixgbe_hw *hw) argument
4362 ixgbe_check_link(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up, bool link_up_wait_to_complete) argument
4380 ixgbe_flap_tx_laser(struct ixgbe_hw *hw) argument
4396 ixgbe_set_rar(struct ixgbe_hw *hw, uint32_t index, uint8_t *addr, uint32_t vmdq, uint32_t enable_addr) argument
4411 ixgbe_set_vmdq(struct ixgbe_hw *hw, uint32_t rar, uint32_t vmdq) argument
4425 ixgbe_clear_vmdq(struct ixgbe_hw *hw, uint32_t rar, uint32_t vmdq) argument
4440 ixgbe_init_uta_tables(struct ixgbe_hw *hw) argument
4448 ixgbe_disable_rx(struct ixgbe_hw *hw) argument
4454 ixgbe_enable_rx(struct ixgbe_hw *hw) argument
4473 ixgbe_read_mbx(struct ixgbe_hw *hw, uint32_t *msg, uint16_t size, uint16_t mbx_id) argument
4499 ixgbe_write_mbx(struct ixgbe_hw *hw, uint32_t *msg, uint16_t size, uint16_t mbx_id) argument
4522 ixgbe_check_for_msg(struct ixgbe_hw *hw, uint16_t mbx_id) argument
4542 ixgbe_check_for_ack(struct ixgbe_hw *hw, uint16_t mbx_id) argument
4562 ixgbe_check_for_rst(struct ixgbe_hw *hw, uint16_t mbx_id) argument
4582 ixgbe_poll_for_msg(struct ixgbe_hw *hw, uint16_t mbx_id) argument
4614 ixgbe_poll_for_ack(struct ixgbe_hw *hw, uint16_t mbx_id) argument
4649 ixgbe_read_posted_mbx(struct ixgbe_hw *hw, uint32_t *msg, uint16_t size, uint16_t mbx_id) argument
4678 ixgbe_write_posted_mbx(struct ixgbe_hw *hw, uint32_t *msg, uint16_t size, uint16_t mbx_id) argument
4706 ixgbe_init_mbx_ops_generic(struct ixgbe_hw *hw) argument
4721 ixgbe_read_v2p_mailbox(struct ixgbe_hw *hw) argument
4731 ixgbe_check_for_bit_pf(struct ixgbe_hw *hw, uint32_t mask, int32_t index) argument
4751 ixgbe_check_for_msg_pf(struct ixgbe_hw *hw, uint16_t vf_number) argument
4775 ixgbe_check_for_ack_pf(struct ixgbe_hw *hw, uint16_t vf_number) argument
4799 ixgbe_check_for_rst_pf(struct ixgbe_hw *hw, uint16_t vf_number) argument
4838 ixgbe_obtain_mbx_lock_pf(struct ixgbe_hw *hw, uint16_t vf_number) argument
4869 ixgbe_write_mbx_pf(struct ixgbe_hw *hw, uint32_t *msg, uint16_t size, uint16_t vf_number) argument
4912 ixgbe_read_mbx_pf(struct ixgbe_hw *hw, uint32_t *msg, uint16_t size, uint16_t vf_number) argument
4945 ixgbe_init_mbx_params_pf(struct ixgbe_hw *hw) argument
[all...]
H A Dif_em_hw.c60 static int32_t em_write_kmrn_reg(struct em_hw *hw, uint32_t, uint16_t);
88 static int em_disable_ulp_lpt_lp(struct em_hw *hw, bool force);
155 static int32_t em_set_pciex_completion_timeout(struct em_hw *hw);
206 * Set the phy type member in the hw struct.
208 * hw - Struct containing variables accessed by shared code
211 em_set_phy_type(struct em_hw *hw) argument
215 if (hw->mac_type == em_undefined)
218 switch (hw->phy_id) {
228 hw->phy_type = em_phy_m88;
231 if (hw
296 em_phy_init_script(struct em_hw *hw) argument
392 em_set_mac_type(struct em_hw *hw) argument
741 em_set_sfp_media_type_82575(struct em_hw *hw) argument
809 em_set_media_type(struct em_hw *hw) argument
926 em_reset_hw(struct em_hw *hw) argument
1235 struct em_hw *hw = &sc->hw; local
1370 em_toggle_lanphypc_pch_lpt(struct em_hw *hw) argument
1423 em_disable_ulp_lpt_lp(struct em_hw *hw, bool force) argument
1562 struct em_hw *hw = &sc->hw; local
1876 em_adjust_serdes_amplitude(struct em_hw *hw) argument
1921 em_setup_link(struct em_hw *hw) argument
2093 em_power_up_serdes_link_82575(struct em_hw *hw) argument
2126 em_setup_fiber_serdes_link(struct em_hw *hw) argument
2327 em_copper_link_preconfig(struct em_hw *hw) argument
2395 em_copper_link_igp_setup(struct em_hw *hw) argument
2551 em_copper_link_ggp_setup(struct em_hw *hw) argument
2697 em_copper_link_mgp_setup(struct em_hw *hw) argument
2861 em_copper_link_82577_setup(struct em_hw *hw) argument
2900 em_copper_link_82580_setup(struct em_hw *hw) argument
2927 em_copper_link_rtl8211_setup(struct em_hw *hw) argument
3061 em_copper_link_autoneg(struct em_hw *hw) argument
3131 em_copper_link_postconfig(struct em_hw *hw) argument
3168 em_setup_copper_link(struct em_hw *hw) argument
3317 em_configure_kmrn_for_10_100(struct em_hw *hw, uint16_t duplex) argument
3352 em_configure_kmrn_for_1000(struct em_hw *hw) argument
3388 em_phy_setup_autoneg(struct em_hw *hw) argument
3536 em_phy_force_speed_duplex(struct em_hw *hw) argument
3871 em_config_collision_dist(struct em_hw *hw) argument
3900 em_config_mac_to_phy(struct em_hw *hw) argument
3960 em_force_mac_fc(struct em_hw *hw) argument
4023 em_config_fc_after_link_up(struct em_hw *hw) argument
4249 em_check_for_link(struct em_hw *hw) argument
4557 em_get_pcs_speed_and_duplex_82575(struct em_hw *hw, uint16_t *speed, uint16_t *duplex) argument
4610 em_get_speed_and_duplex(struct em_hw *hw, uint16_t *speed, uint16_t *duplex) argument
4695 em_wait_autoneg(struct em_hw *hw) argument
4730 em_raise_mdi_clk(struct em_hw *hw, uint32_t *ctrl) argument
4748 em_lower_mdi_clk(struct em_hw *hw, uint32_t *ctrl) argument
4769 em_shift_out_mdi_bits(struct em_hw *hw, uint32_t data, uint16_t count) argument
4821 em_shift_in_mdi_bits(struct em_hw *hw) argument
4870 em_swfw_sync_acquire(struct em_hw *hw, uint16_t mask) argument
4914 em_swfw_sync_release(struct em_hw *hw, uint16_t mask) argument
4950 em_access_phy_wakeup_reg_bm(struct em_hw *hw, uint32_t reg_addr, uint16_t *phy_data, boolean_t read) argument
5021 em_access_phy_debug_regs_hv(struct em_hw *hw, uint32_t reg_addr, uint16_t *phy_data, boolean_t read) argument
5065 em_access_phy_reg_hv(struct em_hw *hw, uint32_t reg_addr, uint16_t *phy_data, boolean_t read) argument
5136 em_read_phy_reg(struct em_hw *hw, uint32_t reg_addr, uint16_t *phy_data) argument
5214 em_read_phy_reg_ex(struct em_hw *hw, uint32_t reg_addr, uint16_t *phy_data) argument
5316 em_write_phy_reg(struct em_hw *hw, uint32_t reg_addr, uint16_t phy_data) argument
5386 em_write_phy_reg_ex(struct em_hw *hw, uint32_t reg_addr, uint16_t phy_data) argument
5468 em_read_kmrn_reg(struct em_hw *hw, uint32_t reg_addr, uint16_t *data) argument
5493 em_write_kmrn_reg(struct em_hw *hw, uint32_t reg_addr, uint16_t data) argument
5518 em_sgmii_uses_mdio_82575(struct em_hw *hw) argument
5552 em_read_phy_reg_i2c(struct em_hw *hw, uint32_t offset, uint16_t *data) argument
5598 em_write_phy_reg_i2c(struct em_hw *hw, uint32_t offset, uint16_t data) argument
5658 em_read_sfp_data_byte(struct em_hw *hw, uint16_t offset, uint8_t *data) argument
5706 em_phy_hw_reset(struct em_hw *hw) argument
5798 em_oem_bits_config_pchlan(struct em_hw *hw, boolean_t d0_state) argument
5867 em_phy_reset(struct em_hw *hw) argument
5956 em_kumeran_lock_loss_workaround(struct em_hw *hw) argument
6008 em_match_gig_phy(struct em_hw *hw) argument
6152 em_detect_gig_phy(struct em_hw *hw) argument
6250 em_phy_reset_dsp(struct em_hw *hw) argument
6281 em_init_eeprom_params(struct em_hw *hw) argument
6538 em_raise_ee_clk(struct em_hw *hw, uint32_t *eecd) argument
6557 em_lower_ee_clk(struct em_hw *hw, uint32_t *eecd) argument
6577 em_shift_out_ee_bits(struct em_hw *hw, uint16_t data, uint16_t count) argument
6630 em_shift_in_ee_bits(struct em_hw *hw, uint16_t count) argument
6672 em_acquire_eeprom(struct em_hw *hw) argument
6728 em_standby_eeprom(struct em_hw *hw) argument
6776 em_release_eeprom(struct em_hw *hw) argument
6824 em_spi_eeprom_ready(struct em_hw *hw) argument
6868 em_read_eeprom(struct em_hw *hw, uint16_t offset, uint16_t words, uint16_t *data) argument
6978 em_read_eeprom_eerd(struct em_hw *hw, uint16_t offset, uint16_t words, uint16_t *data) argument
7010 em_write_eeprom_eewr(struct em_hw *hw, uint16_t offset, uint16_t words, uint16_t *data) argument
7047 em_poll_eerd_eewr_done(struct em_hw *hw, int eerd) argument
7074 em_is_onboard_nvm_eeprom(struct em_hw *hw) argument
7102 em_get_flash_presence_i210(struct em_hw *hw) argument
7128 em_validate_eeprom_checksum(struct em_hw *hw) argument
7218 em_update_eeprom_checksum(struct em_hw *hw) argument
7264 em_write_eeprom(struct em_hw *hw, uint16_t offset, uint16_t words, uint16_t *data) argument
7318 em_write_eeprom_spi(struct em_hw *hw, uint16_t offset, uint16_t words, uint16_t *data) argument
7386 em_write_eeprom_microwire(struct em_hw *hw, uint16_t offset, uint16_t words, uint16_t *data) argument
7471 em_commit_shadow_ram(struct em_hw *hw) argument
7659 em_read_part_num(struct em_hw *hw, uint32_t *part_num) argument
7691 em_read_mac_addr(struct em_hw *hw) argument
7744 em_phy_no_cable_workaround(struct em_hw *hw) argument
7834 em_init_rx_addrs(struct em_hw *hw) argument
7893 em_mc_addr_list_update(struct em_hw *hw, uint8_t *mc_addr_list, uint32_t mc_addr_count, uint32_t pad) argument
7944 em_hash_mc_addr(struct em_hw *hw, uint8_t *mc_addr) argument
8016 em_mta_set(struct em_hw *hw, uint32_t hash_value) argument
8064 em_rar_set(struct em_hw *hw, uint8_t *addr, uint32_t index) argument
8116 em_clear_vfta(struct em_hw *hw) argument
8159 em_clear_vfta_i350(struct em_hw *hw) argument
8172 em_id_led_init(struct em_hw *hw) argument
8253 em_clear_hw_cntrs(struct em_hw *hw) argument
8382 em_get_bus_info(struct em_hw *hw) argument
8475 em_write_reg_io(struct em_hw *hw, uint32_t offset, uint32_t value) argument
8499 em_get_cable_length(struct em_hw *hw, uint16_t *min_length, uint16_t *max_length) argument
8702 em_check_downshift(struct em_hw *hw) argument
8748 em_config_dsp_after_link_change(struct em_hw *hw, boolean_t link_up) argument
8941 em_set_phy_mode(struct em_hw *hw) argument
8985 em_set_d3_lplu_state(struct em_hw *hw, boolean_t active) argument
9121 em_set_d0_lplu_state(struct em_hw *hw, boolean_t active) argument
9218 em_set_lplu_state_pchlan(struct em_hw *hw, boolean_t active) argument
9247 em_set_vco_speed(struct em_hw *hw) argument
9309 em_host_if_read_cookie(struct em_hw *hw, uint8_t *buffer) argument
9334 em_mng_enable_host_if(struct em_hw *hw) argument
9365 em_check_mng_mode(struct em_hw *hw) argument
9406 em_enable_tx_pkt_filtering(struct em_hw *hw) argument
9438 em_polarity_reversal_workaround(struct em_hw *hw) argument
9534 em_set_pci_express_master_disable(struct em_hw *hw) argument
9560 em_disable_pciex_master(struct em_hw *hw) argument
9597 em_get_auto_rd_done(struct em_hw *hw) argument
9662 em_get_phy_cfg_done(struct em_hw *hw) argument
9720 em_get_hw_eeprom_semaphore(struct em_hw *hw) argument
9768 em_put_hw_eeprom_semaphore(struct em_hw *hw) argument
9796 em_get_software_semaphore(struct em_hw *hw) argument
9832 em_release_software_semaphore(struct em_hw *hw) argument
9858 em_check_phy_reset_block(struct em_hw *hw) argument
9894 em_set_pci_ex_no_snoop(struct em_hw *hw, uint32_t no_snoop) argument
9930 em_get_software_flag(struct em_hw *hw) argument
9988 em_release_software_flag(struct em_hw *hw) argument
10013 em_valid_nvm_bank_detect_ich8lan(struct em_hw *hw, uint32_t *bank) argument
10107 em_read_eeprom_spt(struct em_hw *hw, uint16_t offset, uint16_t words, uint16_t *data) argument
10202 em_read_eeprom_ich8(struct em_hw *hw, uint16_t offset, uint16_t words, uint16_t *data) argument
10269 em_write_eeprom_ich8(struct em_hw *hw, uint16_t offset, uint16_t words, uint16_t *data) argument
10318 em_ich8_cycle_init(struct em_hw *hw) argument
10417 em_ich8_flash_cycle(struct em_hw *hw, uint32_t timeout) argument
10468 em_read_ich8_data(struct em_hw *hw, uint32_t index, uint32_t size, uint16_t *data) argument
10549 em_read_ich8_data32(struct em_hw *hw, uint32_t offset, uint32_t *data) argument
10634 em_write_ich8_data(struct em_hw *hw, uint32_t index, uint32_t size, uint16_t data) argument
10719 em_read_ich8_byte(struct em_hw *hw, uint32_t index, uint8_t *data) argument
10744 em_verify_write_ich8_byte(struct em_hw *hw, uint32_t index, uint8_t byte) argument
10777 em_write_ich8_byte(struct em_hw *hw, uint32_t index, uint8_t data) argument
10794 em_read_ich8_dword(struct em_hw *hw, uint32_t index, uint32_t *data) argument
10809 em_read_ich8_word(struct em_hw *hw, uint32_t index, uint16_t *data) argument
10828 em_erase_ich8_4k_segment(struct em_hw *hw, uint32_t bank) argument
10972 em_read_invm_i210(struct em_hw *hw, uint16_t offset, uint16_t words, uint16_t *data) argument
11043 em_read_invm_word_i210(struct em_hw *hw, uint16_t address, uint16_t *data) argument
11074 em_init_lcd_from_nvm_config_region(struct em_hw *hw, uint32_t cnf_base_addr, uint32_t cnf_size) argument
11117 em_init_lcd_from_nvm(struct em_hw *hw) argument
11191 em_set_pciex_completion_timeout(struct em_hw *hw) argument
11249 em_set_mdio_slow_mode_hv(struct em_hw *hw) argument
11270 em_hv_phy_workarounds_ich8lan(struct em_hw *hw) argument
11393 em_link_stall_workaround_hv(struct em_hw *hw) argument
11444 em_k1_gig_workaround_hv(struct em_hw *hw, boolean_t link) argument
11516 em_k1_workaround_lv(struct em_hw *hw) argument
11552 em_k1_workaround_lpt_lp(struct em_hw *hw, boolean_t link) argument
11629 em_gate_hw_phy_config_ich8lan(struct em_hw *hw, boolean_t gate) argument
11657 em_configure_k1_ich8lan(struct em_hw *hw, boolean_t k1_enable) argument
11703 em_lv_phy_workarounds_ich8lan(struct em_hw *hw) argument
11744 em_set_eee_i350(struct em_hw *hw) argument
11780 em_set_eee_pchlan(struct em_hw *hw) argument
11812 em_initialize_M88E1512_phy(struct em_hw *hw) argument
[all...]
H A Dixgbe_x550.c40 extern int32_t ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw);
41 extern int32_t ixgbe_acquire_swfw_sync_X540(struct ixgbe_hw *hw, uint32_t mask);
42 extern void ixgbe_release_swfw_sync_X540(struct ixgbe_hw *hw, uint32_t mask);
46 int32_t ixgbe_read_mng_if_sel_x550em(struct ixgbe_hw *hw);
48 int32_t ixgbe_setup_mac_link_sfp_x550a(struct ixgbe_hw *hw,
52 int32_t ixgbe_dmac_config_X550(struct ixgbe_hw *hw);
53 int32_t ixgbe_dmac_config_tcs_X550(struct ixgbe_hw *hw);
54 int32_t ixgbe_dmac_update_tcs_X550(struct ixgbe_hw *hw);
56 int32_t ixgbe_get_bus_info_X550em(struct ixgbe_hw *hw);
57 int32_t ixgbe_init_eeprom_params_X550(struct ixgbe_hw *hw);
137 ixgbe_init_ops_X550(struct ixgbe_hw *hw) argument
185 ixgbe_read_cs4227(struct ixgbe_hw *hw, uint16_t reg, uint16_t *value) argument
198 ixgbe_write_cs4227(struct ixgbe_hw *hw, uint16_t reg, uint16_t value) argument
211 ixgbe_read_pe(struct ixgbe_hw *hw, uint8_t reg, uint8_t *value) argument
232 ixgbe_write_pe(struct ixgbe_hw *hw, uint8_t reg, uint8_t value) argument
252 ixgbe_reset_cs4227(struct ixgbe_hw *hw) argument
325 ixgbe_check_cs4227(struct ixgbe_hw *hw) argument
402 ixgbe_setup_mux_ctl(struct ixgbe_hw *hw) argument
421 ixgbe_identify_phy_x550em(struct ixgbe_hw *hw) argument
476 ixgbe_fw_phy_activity(struct ixgbe_hw *hw, uint16_t activity, uint32_t (*data)[FW_PHY_ACT_DATA_COUNT]) argument
534 ixgbe_get_phy_id_fw(struct ixgbe_hw *hw) argument
570 ixgbe_identify_phy_fw(struct ixgbe_hw *hw) argument
589 ixgbe_shutdown_fw_phy(struct ixgbe_hw *hw) argument
597 ixgbe_read_phy_reg_x550em(struct ixgbe_hw *hw, uint32_t reg_addr, uint32_t device_type, uint16_t *phy_data) argument
603 ixgbe_write_phy_reg_x550em(struct ixgbe_hw *hw, uint32_t reg_addr, uint32_t device_type, uint16_t phy_data) argument
616 ixgbe_init_ops_X550EM(struct ixgbe_hw *hw) argument
697 ixgbe_setup_fw_link(struct ixgbe_hw *hw) argument
752 ixgbe_fc_autoneg_fw(struct ixgbe_hw *hw) argument
768 ixgbe_setup_eee_fw(struct ixgbe_hw *hw, bool enable_eee) argument
786 ixgbe_init_ops_X550EM_a(struct ixgbe_hw *hw) argument
844 ixgbe_init_ops_X550EM_x(struct ixgbe_hw *hw) argument
881 ixgbe_dmac_config_X550(struct ixgbe_hw *hw) argument
923 ixgbe_dmac_config_tcs_X550(struct ixgbe_hw *hw) argument
978 ixgbe_dmac_update_tcs_X550(struct ixgbe_hw *hw) argument
1006 ixgbe_init_eeprom_params_X550(struct ixgbe_hw *hw) argument
1037 ixgbe_set_source_address_pruning_X550(struct ixgbe_hw *hw, bool enable, unsigned int pool) argument
1067 ixgbe_iosf_wait(struct ixgbe_hw *hw, uint32_t *ctrl) argument
1099 ixgbe_write_iosf_sb_reg_x550(struct ixgbe_hw *hw, uint32_t reg_addr, uint32_t device_type, uint32_t data) argument
1145 ixgbe_read_iosf_sb_reg_x550(struct ixgbe_hw *hw, uint32_t reg_addr, uint32_t device_type, uint32_t *data) argument
1189 ixgbe_get_phy_token(struct ixgbe_hw *hw) argument
1227 ixgbe_put_phy_token(struct ixgbe_hw *hw) argument
1260 ixgbe_write_iosf_sb_reg_x550a(struct ixgbe_hw *hw, uint32_t reg_addr, uint32_t device_type, uint32_t data) argument
1289 ixgbe_read_iosf_sb_reg_x550a(struct ixgbe_hw *hw, uint32_t reg_addr, uint32_t device_type, uint32_t *data) argument
1322 ixgbe_get_media_type_X550em(struct ixgbe_hw *hw) argument
1370 ixgbe_supported_sfp_modules_X550em(struct ixgbe_hw *hw, bool *linear) argument
1407 ixgbe_identify_sfp_module_X550em(struct ixgbe_hw *hw) argument
1429 ixgbe_setup_sfp_modules_X550em(struct ixgbe_hw *hw) argument
1453 ixgbe_restart_an_internal_phy_x550em(struct ixgbe_hw *hw) argument
1501 ixgbe_setup_sgmii(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait) argument
1570 ixgbe_setup_sgmii_fw(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait) argument
1641 ixgbe_init_mac_link_ops_X550em(struct ixgbe_hw *hw) argument
1701 ixgbe_get_link_capabilities_X550em(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument
1778 ixgbe_get_lasi_ext_t_x550em(struct ixgbe_hw *hw, bool *lsc) argument
1865 ixgbe_enable_lasi_ext_t_x550em(struct ixgbe_hw *hw) argument
1962 ixgbe_setup_kr_speed_x550em(struct ixgbe_hw *hw, ixgbe_link_speed speed) argument
2017 ixgbe_reset_phy_fw(struct ixgbe_hw *hw) argument
2041 ixgbe_check_overtemp_fw(struct ixgbe_hw *hw) argument
2064 ixgbe_read_mng_if_sel_x550em(struct ixgbe_hw *hw) argument
2092 ixgbe_init_phy_ops_X550em(struct ixgbe_hw *hw) argument
2209 ixgbe_set_mdio_speed(struct ixgbe_hw *hw) argument
2245 ixgbe_reset_hw_X550em(struct ixgbe_hw *hw) argument
2378 ixgbe_init_ext_t_x550em(struct ixgbe_hw *hw) argument
2421 ixgbe_setup_kr_x550em(struct ixgbe_hw *hw) argument
2441 ixgbe_setup_mac_link_sfp_x550em(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
2485 ixgbe_setup_sfi_x550a(struct ixgbe_hw *hw, ixgbe_link_speed *speed) argument
2534 ixgbe_setup_mac_link_sfp_x550a(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
2635 ixgbe_setup_ixfi_x550em_x(struct ixgbe_hw *hw) argument
2706 ixgbe_setup_ixfi_x550em(struct ixgbe_hw *hw, ixgbe_link_speed *speed) argument
2765 ixgbe_ext_phy_t_x550em_get_link(struct ixgbe_hw *hw, bool *link_up) argument
2802 ixgbe_setup_internal_phy_t_x550em(struct ixgbe_hw *hw) argument
2865 ixgbe_setup_phy_loopback_x550em(struct ixgbe_hw *hw) argument
2935 ixgbe_read_ee_hostif_X550(struct ixgbe_hw *hw, uint16_t offset,uint16_t *data) argument
2978 ixgbe_read_ee_hostif_buffer_X550(struct ixgbe_hw *hw, uint16_t offset, uint16_t words, uint16_t *data) argument
3053 ixgbe_write_ee_hostif_data_X550(struct ixgbe_hw *hw, uint16_t offset, uint16_t data) argument
3086 ixgbe_write_ee_hostif_X550(struct ixgbe_hw *hw, uint16_t offset, uint16_t data) argument
3116 ixgbe_checksum_ptr_x550(struct ixgbe_hw *hw, uint16_t ptr, uint16_t size, uint16_t *csum, uint16_t *buffer, uint32_t buffer_size) argument
3185 ixgbe_calc_checksum_X550(struct ixgbe_hw *hw, uint16_t *buffer, uint32_t buffer_size) argument
3267 ixgbe_calc_eeprom_checksum_X550(struct ixgbe_hw *hw) argument
3280 ixgbe_validate_eeprom_checksum_X550(struct ixgbe_hw *hw, uint16_t *checksum_val) argument
3333 ixgbe_update_eeprom_checksum_X550(struct ixgbe_hw *hw) argument
3372 ixgbe_update_flash_X550(struct ixgbe_hw *hw) argument
3397 ixgbe_get_supported_physical_layer_X550em(struct ixgbe_hw *hw) argument
3470 ixgbe_get_bus_info_X550em(struct ixgbe_hw *hw) argument
3489 ixgbe_disable_rx_x550(struct ixgbe_hw *hw) argument
3536 ixgbe_enter_lplu_t_x550em(struct ixgbe_hw *hw) argument
3642 ixgbe_get_lcd_t_x550em(struct ixgbe_hw *hw, ixgbe_link_speed *lcd_speed) argument
3679 ixgbe_setup_fc_X550em(struct ixgbe_hw *hw) argument
3769 ixgbe_fc_autoneg_backplane_x550em_a(struct ixgbe_hw *hw) argument
3846 ixgbe_fc_autoneg_fiber_x550em_a(struct ixgbe_hw *hw) argument
3858 ixgbe_fc_autoneg_sgmii_x550em_a(struct ixgbe_hw *hw) argument
3913 ixgbe_setup_fc_backplane_x550em_a(struct ixgbe_hw *hw) argument
4000 ixgbe_set_mux(struct ixgbe_hw *hw, uint8_t state) argument
4022 ixgbe_acquire_swfw_sync_X550em(struct ixgbe_hw *hw, uint32_t mask) argument
4045 ixgbe_release_swfw_sync_X550em(struct ixgbe_hw *hw, uint32_t mask) argument
4062 ixgbe_acquire_swfw_sync_X550a(struct ixgbe_hw *hw, uint32_t mask) argument
4112 ixgbe_release_swfw_sync_X550a(struct ixgbe_hw *hw, uint32_t mask) argument
4136 ixgbe_read_phy_reg_x550a(struct ixgbe_hw *hw, uint32_t reg_addr, uint32_t device_type, uint16_t *phy_data) argument
4164 ixgbe_write_phy_reg_x550a(struct ixgbe_hw *hw, uint32_t reg_addr, uint32_t device_type, uint16_t phy_data) argument
4194 ixgbe_handle_lasi_ext_t_x550em(struct ixgbe_hw *hw) argument
4221 ixgbe_setup_mac_link_t_X550em(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
4260 ixgbe_check_link_t_X550em(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up, bool link_up_wait_to_complete) argument
4301 ixgbe_reset_phy_t_X550em(struct ixgbe_hw *hw) argument
4319 ixgbe_led_on_t_X550em(struct ixgbe_hw *hw, uint32_t led_idx) argument
4347 ixgbe_led_off_t_X550em(struct ixgbe_hw *hw, uint32_t led_idx) argument
[all...]
H A Dixgbe.h165 uint16_t ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw *hw);
166 int32_t ixgbe_init_ops_generic(struct ixgbe_hw *hw);
167 int32_t ixgbe_init_hw_generic(struct ixgbe_hw *hw);
168 int32_t ixgbe_start_hw_generic(struct ixgbe_hw *hw);
169 int32_t ixgbe_start_hw_gen2(struct ixgbe_hw *hw);
170 int32_t ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw *hw);
171 int32_t ixgbe_get_mac_addr_generic(struct ixgbe_hw *hw, uint8_t *mac_addr);
172 int32_t ixgbe_get_bus_info_generic(struct ixgbe_hw *hw);
173 void ixgbe_set_lan_id_multi_port_pcie(struct ixgbe_hw *hw);
174 int32_t ixgbe_stop_adapter_generic(struct ixgbe_hw *hw);
[all...]
H A Dif_ngbe.c237 struct ngbe_hw *hw = &sc->hw; local
267 hw->mac.autoneg = 1;
268 hw->phy.autoneg_advertised = NGBE_LINK_SPEED_AUTONEG;
269 hw->phy.force_speed = NGBE_LINK_SPEED_UNKNOWN;
274 sc->hw.mac.ops.set_lan_id(&sc->hw);
276 /* Check if flash load is done after hw power up. */
284 hw->phy.reset_if_overtemp = 1;
285 error = sc->hw
372 NGBE_READ_REG_MASK(struct ngbe_hw *hw, uint32_t reg, uint32_t mask) argument
383 NGBE_WRITE_REG_MASK(struct ngbe_hw *hw, uint32_t reg, uint32_t mask, uint32_t field) argument
405 struct ngbe_hw *hw = &sc->hw; local
561 struct ngbe_hw *hw = &sc->hw; local
754 struct ngbe_hw *hw = &sc->hw; local
831 struct ngbe_hw *hw = &sc->hw; local
1504 ngbe_addr_list_itr(struct ngbe_hw *hw, uint8_t **mc_addr_ptr, uint32_t *vmdq) argument
1518 struct ngbe_hw *hw = &sc->hw; local
1571 struct ngbe_hw *hw = &sc->hw; local
1666 struct ngbe_hw *hw = &sc->hw; local
1705 struct ngbe_hw *hw = &sc->hw; local
1807 ngbe_init_eeprom_params(struct ngbe_hw *hw) argument
1825 struct ngbe_hw *hw = &sc->hw; local
1838 ngbe_init_ops(struct ngbe_hw *hw) argument
1911 struct ngbe_hw *hw = &sc->hw; local
1952 struct ngbe_hw *hw = &sc->hw; local
1972 ngbe_init_thermal_sensor_thresh(struct ngbe_hw *hw) argument
1987 ngbe_init_uta_tables(struct ngbe_hw *hw) argument
1998 struct ngbe_hw *hw = &sc->hw; local
2041 struct ngbe_hw *hw = &sc->hw; local
2058 struct ngbe_hw *hw = &sc->hw; local
2172 ngbe_fmgr_cmd_op(struct ngbe_hw *hw, uint32_t cmd, uint32_t cmd_addr) argument
2194 ngbe_flash_read_dword(struct ngbe_hw *hw, uint32_t addr) argument
2220 struct ngbe_hw *hw = &sc->hw; local
2246 struct ngbe_hw *hw = &sc->hw; local
2267 ngbe_check_mac_link(struct ngbe_hw *hw, uint32_t *speed, int *link_up, int link_up_wait_to_complete) argument
2316 ngbe_check_mng_access(struct ngbe_hw *hw) argument
2338 ngbe_clear_hw_cntrs(struct ngbe_hw *hw) argument
2370 ngbe_clear_vfta(struct ngbe_hw *hw) argument
2416 struct ngbe_hw *hw = &sc->hw; local
2468 ngbe_disable_rx(struct ngbe_hw *hw) argument
2490 ngbe_disable_sec_rx_path(struct ngbe_hw *hw) argument
2509 struct ngbe_hw *hw = &sc->hw; local
2544 struct ngbe_hw *hw = &sc->hw; local
2581 ngbe_enable_rx(struct ngbe_hw *hw) argument
2603 ngbe_enable_rx_dma(struct ngbe_hw *hw, uint32_t reg) argument
2622 ngbe_enable_sec_rx_path(struct ngbe_hw *hw) argument
2753 struct ngbe_hw *hw = &sc->hw; local
2763 ngbe_get_copper_link_capabilities(struct ngbe_hw *hw, uint32_t *speed, int *autoneg) argument
2780 struct ngbe_hw *hw = &sc->hw; local
2824 ngbe_get_hw_control(struct ngbe_hw *hw) argument
2840 ngbe_get_mac_addr(struct ngbe_hw *hw, uint8_t *mac_addr) argument
2857 ngbe_get_media_type(struct ngbe_hw *hw) argument
2865 ngbe_gphy_dis_eee(struct ngbe_hw *hw) argument
2885 struct ngbe_hw *hw = &sc->hw; local
2915 ngbe_gphy_wait_mdio_access_on(struct ngbe_hw *hw) argument
2931 struct ngbe_hw *hw = &sc->hw; local
2944 struct ngbe_hw *hw = &sc->hw; local
3106 ngbe_mng_present(struct ngbe_hw *hw) argument
3116 ngbe_mta_vector(struct ngbe_hw *hw, uint8_t *mc_addr) argument
3145 struct ngbe_hw *hw = &sc->hw; local
3178 struct ngbe_hw *hw = &sc->hw; local
3201 struct ngbe_hw *hw = &sc->hw; local
3214 struct ngbe_hw *hw = &sc->hw; local
3222 ngbe_phy_check_overtemp(struct ngbe_hw *hw) argument
3237 ngbe_phy_get_advertised_pause(struct ngbe_hw *hw, uint8_t *pause_bit) argument
3246 ngbe_phy_get_lp_advertised_pause(struct ngbe_hw *hw, uint8_t *pause_bit) argument
3263 struct ngbe_hw *hw = &sc->hw; local
3280 struct ngbe_hw *hw = &sc->hw; local
3313 struct ngbe_hw *hw = &sc->hw; local
3338 struct ngbe_hw *hw = &sc->hw; local
3378 ngbe_phy_read_reg(struct ngbe_hw *hw, uint32_t off, uint32_t page, uint16_t *data) argument
3396 ngbe_phy_write_reg(struct ngbe_hw *hw, uint32_t off, uint32_t page, uint16_t data) argument
3414 struct ngbe_hw *hw = &sc->hw; local
3453 ngbe_phy_set_pause_advertisement(struct ngbe_hw *hw, uint16_t pause_bit) argument
3468 struct ngbe_hw *hw = &sc->hw; local
3504 struct ngbe_hw *hw = &sc->hw; local
3598 ngbe_release_eeprom_semaphore(struct ngbe_hw *hw) argument
3609 struct ngbe_hw *hw = &sc->hw; local
3650 struct ngbe_hw *hw = &sc->hw; local
3662 struct ngbe_hw *hw = &sc->hw; local
3678 struct ngbe_hw *hw = &sc->hw; local
3767 ngbe_reset_misc(struct ngbe_hw *hw) argument
3814 struct ngbe_hw *hw = &sc->hw; local
3854 struct ngbe_hw *hw = &sc->hw; local
3877 ngbe_set_lan_id_multi_port_pcie(struct ngbe_hw *hw) argument
3887 ngbe_set_mta(struct ngbe_hw *hw, uint8_t *mc_addr) argument
3910 ngbe_set_pci_config_data(struct ngbe_hw *hw, uint16_t link_status) argument
3953 struct ngbe_hw *hw = &sc->hw; local
4016 ngbe_set_rxpba(struct ngbe_hw *hw, int num_pb, uint32_t headroom, int strategy) argument
4051 struct ngbe_hw *hw = &sc->hw; local
4064 struct ngbe_hw *hw = &sc->hw; local
4134 ngbe_setup_gpie(struct ngbe_hw *hw) argument
4159 ngbe_setup_psrtype(struct ngbe_hw *hw) argument
4174 struct ngbe_hw *hw = &sc->hw; local
4186 struct ngbe_hw *hw = &sc->hw; local
4215 struct ngbe_hw *hw = &sc->hw; local
4513 ngbe_update_mc_addr_list(struct ngbe_hw *hw, uint8_t *mc_addr_list, uint32_t mc_addr_count, ngbe_mc_addr_itr next, int clear) argument
[all...]
H A Digc_phy.c12 * @hw: pointer to the HW structure
17 igc_init_phy_ops_generic(struct igc_hw *hw) argument
19 struct igc_phy_info *phy = &hw->phy;
45 * @hw: pointer to the HW structure
49 igc_null_set_page(struct igc_hw IGC_UNUSEDARG *hw, uint16_t IGC_UNUSEDARG data) argument
57 * @hw: pointer to the HW structure
62 igc_null_read_reg(struct igc_hw IGC_UNUSEDARG *hw, argument
71 * @hw: pointer to the HW structure
74 igc_null_phy_generic(struct igc_hw IGC_UNUSEDARG *hw) argument
82 * @hw
86 igc_null_lplu_state(struct igc_hw IGC_UNUSEDARG *hw, bool IGC_UNUSEDARG active) argument
99 igc_null_write_reg(struct igc_hw IGC_UNUSEDARG *hw, uint32_t IGC_UNUSEDARG offset, uint16_t IGC_UNUSEDARG data) argument
115 igc_check_reset_block_generic(struct igc_hw *hw) argument
135 igc_get_phy_id(struct igc_hw *hw) argument
172 igc_read_phy_reg_mdic(struct igc_hw *hw, uint32_t offset, uint16_t *data) argument
230 igc_write_phy_reg_mdic(struct igc_hw *hw, uint32_t offset, uint16_t data) argument
285 igc_phy_setup_autoneg(struct igc_hw *hw) argument
463 igc_copper_link_autoneg(struct igc_hw *hw) argument
526 igc_setup_copper_link_generic(struct igc_hw *hw) argument
579 igc_check_downshift_generic(struct igc_hw *hw) argument
605 igc_wait_autoneg(struct igc_hw *hw) argument
644 igc_phy_has_link_generic(struct igc_hw *hw, uint32_t iterations, uint32_t usec_interval, bool *success) argument
697 igc_phy_hw_reset_generic(struct igc_hw *hw) argument
751 igc_power_up_phy_copper(struct igc_hw *hw) argument
771 igc_power_down_phy_copper(struct igc_hw *hw) argument
792 igc_write_phy_reg_gpy(struct igc_hw *hw, uint32_t offset, uint16_t data) argument
828 igc_read_phy_reg_gpy(struct igc_hw *hw, uint32_t offset, uint16_t *data) argument
862 __igc_access_xmdio_reg(struct igc_hw *hw, uint16_t address, uint8_t dev_addr, uint16_t *data, bool read) argument
905 igc_read_xmdio_reg(struct igc_hw *hw, uint16_t addr, uint8_t dev_addr, uint16_t *data) argument
921 igc_write_xmdio_reg(struct igc_hw *hw, uint16_t addr, uint8_t dev_addr, uint16_t data) argument
[all...]
H A Digc_nvm.c12 * @hw: pointer to the HW structure
17 igc_init_nvm_ops_generic(struct igc_hw *hw) argument
19 struct igc_nvm_info *nvm = &hw->nvm;
35 * @hw: pointer to the HW structure
41 igc_null_read_nvm(struct igc_hw IGC_UNUSEDARG *hw, uint16_t IGC_UNUSEDARG a, argument
50 * @hw: pointer to the HW structure
53 igc_null_nvm_generic(struct igc_hw IGC_UNUSEDARG *hw) argument
61 * @hw: pointer to the HW structure
67 igc_reload_nvm_generic(struct igc_hw *hw) argument
74 ctrl_ext = IGC_READ_REG(hw, IGC_CTRL_EX
88 igc_null_write_nvm(struct igc_hw IGC_UNUSEDARG *hw, uint16_t IGC_UNUSEDARG a, uint16_t IGC_UNUSEDARG b, uint16_t IGC_UNUSEDARG *c) argument
104 igc_poll_eerd_eewr_done(struct igc_hw *hw, int ee_reg) argument
136 igc_read_nvm_eerd(struct igc_hw *hw, uint16_t offset, uint16_t words, uint16_t *data) argument
181 igc_read_mac_addr_generic(struct igc_hw *hw) argument
209 igc_validate_nvm_checksum_generic(struct igc_hw *hw) argument
[all...]
H A Dif_em.c391 sc->hw.gcu = gcu;
397 em_setup_link(&sc->hw);
436 if (sc->hw.mac_type <= em_82572)
440 if (sc->hw.mac_type >= em_82544) {
451 sc->hw.autoneg = DO_AUTO_NEG;
452 sc->hw.wait_autoneg_complete = WAIT_FOR_AUTO_NEG_DEFAULT;
453 sc->hw.autoneg_advertised = AUTONEG_ADV_DEFAULT;
454 sc->hw.tbi_compatibility_en = TRUE;
457 sc->hw.phy_init_script = 1;
458 sc->hw
3315 em_write_pci_cfg(struct em_hw *hw, uint32_t reg, uint16_t *value) argument
3332 em_read_pci_cfg(struct em_hw *hw, uint32_t reg, uint16_t *value) argument
3345 em_pci_set_mwi(struct em_hw *hw) argument
3354 em_pci_clear_mwi(struct em_hw *hw) argument
3367 em_read_pcie_cap_reg(struct em_hw *hw, uint32_t reg, uint16_t *value) argument
3795 struct em_hw *hw = &sc->hw; local
3893 struct em_hw *hw = &sc->hw; local
4239 struct em_hw *hw = &sc->hw; local
[all...]
H A Dif_ix.c248 struct ixgbe_hw *hw = &sc->hw; local
285 error = ixgbe_init_shared_code(hw);
292 if (sc->hw.eeprom.ops.validate_checksum(&sc->hw, &csum) < 0) {
297 error = ixgbe_init_hw(hw);
310 bcopy(sc->hw.mac.addr, sc->arpcom.ac_enaddr,
321 if (sc->hw.mac.ops.enable_tx_laser)
322 sc->hw.mac.ops.enable_tx_laser(&sc->hw);
402 struct ixgbe_hw *hw = &sc->hw; local
597 struct ixgbe_hw *hw = &sc->hw; local
677 struct ixgbe_hw *hw = &sc->hw; local
915 struct ixgbe_hw *hw = &sc->hw; local
971 struct ixgbe_hw *hw = &sc->hw; local
1127 struct ixgbe_hw *hw = &sc->hw; local
1362 struct ixgbe_hw *hw = &sc->hw; local
1565 ixgbe_mc_array_itr(struct ixgbe_hw *hw, uint8_t **update_ptr, uint32_t *vmdq) argument
1977 struct ixgbe_hw *hw = &sc->hw; local
2352 struct ixgbe_hw *hw = &sc->hw; local
2890 struct ixgbe_hw *hw = &sc->hw; local
2993 struct ixgbe_hw *hw = &sc->hw; local
3418 struct ixgbe_hw *hw = &sc->hw; local
3486 ixgbe_read_pci_cfg(struct ixgbe_hw *hw, uint32_t reg) argument
3506 ixgbe_write_pci_cfg(struct ixgbe_hw *hw, uint32_t reg, uint16_t value) argument
3536 struct ixgbe_hw *hw = &sc->hw; local
3608 struct ixgbe_hw *hw = &sc->hw; local
3634 struct ixgbe_hw *hw = &sc->hw; local
3657 struct ixgbe_hw *hw = &sc->hw; local
3924 ix_read36(struct ixgbe_hw *hw, bus_size_t loreg, bus_size_t hireg) argument
3939 struct ixgbe_hw *hw = &sc->hw; local
3985 struct ixgbe_hw *hw = &sc->hw; local
4012 struct ixgbe_hw *hw = &sc->hw; local
[all...]
H A Dif_ixgb.c193 sc->hw.fc.high_water = FCRTH;
194 sc->hw.fc.low_water = FCRTL;
195 sc->hw.fc.pause_time = FCPAUSE;
196 sc->hw.fc.send_xon = TRUE;
197 sc->hw.fc.type = FLOW_CONTROL;
200 sc->hw.max_frame_size = IXGB_MAX_JUMBO_FRAME_SIZE;
240 ixgb_clear_hw_cntrs(&sc->hw);
319 IXGB_WRITE_REG(&sc->hw, TDT, sc->next_avail_tx_desc);
411 if (IXGB_READ_REG(&sc->hw, STATUS) & IXGB_STATUS_TXOFF) {
428 * by the driver as a hw/s
1921 ixgb_write_pci_cfg(struct ixgb_hw *hw, uint32_t reg, uint16_t *value) argument
[all...]
/openbsd-current/usr.bin/pagesize/
H A Dpagesize.sh5 exec /sbin/sysctl -n hw.pagesize
/openbsd-current/usr.sbin/mopd/otherOS/
H A Dmdtype18 hw="`/usr/sbin/lsattr -l proc0 -E -a type | /usr/bin/cut -d\ -f2`"
19 if [ $hw = "PowerPC_601" ]; then
22 if [ $hw = "POWER" ]; then
25 if [ $hw = "POWER2" ]; then
/openbsd-current/sys/dev/usb/dwc2/
H A Ddwc2_params.c493 struct dwc2_hw_params *hw = &hsotg->hw_params; local
495 bool dma_capable = !(hw->arch == GHWCFG2_SLAVE_ONLY_ARCH);
506 p->enable_dynamic_fifo = hw->enable_dynamic_fifo;
507 p->en_multiple_tx_fifo = hw->en_multiple_tx_fifo;
508 p->i2c_enable = hw->i2c_enable;
509 p->acg_enable = hw->acg_enable;
512 p->reload_ctl = (hw->snpsid >= DWC2_CORE_REV_2_92a);
517 p->max_packet_count = hw->max_packet_count;
518 p->max_transfer_size = hw->max_transfer_size;
530 p->host_channels = hw
789 struct dwc2_hw_params *hw = &hsotg->hw_params; local
861 struct dwc2_hw_params *hw = &hsotg->hw_params; local
886 struct dwc2_hw_params *hw = &hsotg->hw_params; local
918 struct dwc2_hw_params *hw = &hsotg->hw_params; local
[all...]
/openbsd-current/sys/dev/pci/drm/i915/display/
H A Dintel_modeset_verify.c23 * Cross check the actual hw state with our own modeset state tracking (and its
44 I915_STATE_WARN(i915, !crtc_state->hw.active,
57 I915_STATE_WARN(i915, crtc_state && crtc_state->hw.active,
95 int dotclock = pipe_config->hw.adjusted_mode.crtc_clock;
178 pipe_config->hw.enable = new_crtc_state->hw.enable;
183 if (IS_I830(dev_priv) && pipe_config->hw.active)
184 pipe_config->hw.active = new_crtc_state->hw.active;
187 new_crtc_state->hw
[all...]

Completed in 588 milliseconds

12345678