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

1234567891011>>

/freebsd-current/sys/dev/ixgbe/
H A Dixgbe_api.c62 * @hw: pointer to hardware structure
67 void ixgbe_dcb_get_rtrup2tc(struct ixgbe_hw *hw, u8 *map) argument
69 if (hw->mac.ops.get_rtrup2tc)
70 hw->mac.ops.get_rtrup2tc(hw, map);
75 * @hw: pointer to hardware structure
81 * hw structure should be filled in prior to calling this function:
85 s32 ixgbe_init_shared_code(struct ixgbe_hw *hw) argument
94 ixgbe_set_mac_type(hw);
96 switch (hw
138 ixgbe_set_mac_type(struct ixgbe_hw *hw) argument
262 ixgbe_init_hw(struct ixgbe_hw *hw) argument
275 ixgbe_reset_hw(struct ixgbe_hw *hw) argument
291 ixgbe_start_hw(struct ixgbe_hw *hw) argument
305 ixgbe_enable_relaxed_ordering(struct ixgbe_hw *hw) argument
318 ixgbe_clear_hw_cntrs(struct ixgbe_hw *hw) argument
330 ixgbe_get_media_type(struct ixgbe_hw *hw) argument
346 ixgbe_get_mac_addr(struct ixgbe_hw *hw, u8 *mac_addr) argument
360 ixgbe_get_san_mac_addr(struct ixgbe_hw *hw, u8 *san_mac_addr) argument
373 ixgbe_set_san_mac_addr(struct ixgbe_hw *hw, u8 *san_mac_addr) argument
386 ixgbe_get_device_caps(struct ixgbe_hw *hw, u16 *device_caps) argument
401 ixgbe_get_wwn_prefix(struct ixgbe_hw *hw, u16 *wwnn_prefix, u16 *wwpn_prefix) argument
416 ixgbe_get_fcoe_boot_status(struct ixgbe_hw *hw, u16 *bs) argument
429 ixgbe_get_bus_info(struct ixgbe_hw *hw) argument
441 ixgbe_get_num_of_tx_queues(struct ixgbe_hw *hw) argument
452 ixgbe_get_num_of_rx_queues(struct ixgbe_hw *hw) argument
466 ixgbe_stop_adapter(struct ixgbe_hw *hw) argument
480 ixgbe_read_pba_string(struct ixgbe_hw *hw, u8 *pba_num, u32 pba_num_size) argument
492 ixgbe_read_pba_num(struct ixgbe_hw *hw, u32 *pba_num) argument
503 ixgbe_identify_phy(struct ixgbe_hw *hw) argument
519 ixgbe_reset_phy(struct ixgbe_hw *hw) argument
540 ixgbe_get_phy_firmware_version(struct ixgbe_hw *hw, u16 *firmware_version) argument
559 ixgbe_read_phy_reg(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 *phy_data) argument
578 ixgbe_write_phy_reg(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) argument
594 ixgbe_setup_phy_link(struct ixgbe_hw *hw) argument
608 ixgbe_setup_internal_phy(struct ixgbe_hw *hw) argument
623 ixgbe_check_phy_link(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up) argument
638 ixgbe_setup_phy_link_speed(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
651 ixgbe_set_phy_power(struct ixgbe_hw *hw, bool on) argument
666 ixgbe_check_link(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up, bool link_up_wait_to_complete) argument
680 ixgbe_disable_tx_laser(struct ixgbe_hw *hw) argument
692 ixgbe_enable_tx_laser(struct ixgbe_hw *hw) argument
706 ixgbe_flap_tx_laser(struct ixgbe_hw *hw) argument
721 ixgbe_setup_link(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
738 ixgbe_setup_mac_link(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
754 ixgbe_get_link_capabilities(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument
768 ixgbe_led_on(struct ixgbe_hw *hw, u32 index) argument
781 ixgbe_led_off(struct ixgbe_hw *hw, u32 index) argument
794 ixgbe_blink_led_start(struct ixgbe_hw *hw, u32 index) argument
807 ixgbe_blink_led_stop(struct ixgbe_hw *hw, u32 index) argument
820 ixgbe_init_eeprom_params(struct ixgbe_hw *hw) argument
837 ixgbe_write_eeprom(struct ixgbe_hw *hw, u16 offset, u16 data) argument
854 ixgbe_write_eeprom_buffer(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument
870 ixgbe_read_eeprom(struct ixgbe_hw *hw, u16 offset, u16 *data) argument
885 ixgbe_read_eeprom_buffer(struct ixgbe_hw *hw, u16 offset, u16 words, u16 *data) argument
900 ixgbe_validate_eeprom_checksum(struct ixgbe_hw *hw, u16 *checksum_val) argument
910 ixgbe_update_eeprom_checksum(struct ixgbe_hw *hw) argument
925 ixgbe_insert_mac_addr(struct ixgbe_hw *hw, u8 *addr, u32 vmdq) argument
942 ixgbe_set_rar(struct ixgbe_hw *hw, u32 index, u8 *addr, u32 vmdq, u32 enable_addr) argument
956 ixgbe_clear_rar(struct ixgbe_hw *hw, u32 index) argument
968 ixgbe_set_vmdq(struct ixgbe_hw *hw, u32 rar, u32 vmdq) argument
980 ixgbe_set_vmdq_san_mac(struct ixgbe_hw *hw, u32 vmdq) argument
992 ixgbe_clear_vmdq(struct ixgbe_hw *hw, u32 rar, u32 vmdq) argument
1006 ixgbe_init_rx_addrs(struct ixgbe_hw *hw) argument
1016 ixgbe_get_num_rx_addrs(struct ixgbe_hw *hw) argument
1032 ixgbe_update_uc_addr_list(struct ixgbe_hw *hw, u8 *addr_list, u32 addr_count, ixgbe_mc_addr_itr func) argument
1053 ixgbe_update_mc_addr_list(struct ixgbe_hw *hw, u8 *mc_addr_list, u32 mc_addr_count, ixgbe_mc_addr_itr func, bool clear) argument
1068 ixgbe_enable_mc(struct ixgbe_hw *hw) argument
1080 ixgbe_disable_mc(struct ixgbe_hw *hw) argument
1092 ixgbe_clear_vfta(struct ixgbe_hw *hw) argument
1108 ixgbe_set_vfta(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on, bool vlvf_bypass) argument
1128 ixgbe_set_vlvf(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on, u32 *vfta_delta, u32 vfta, bool vlvf_bypass) argument
1142 ixgbe_fc_enable(struct ixgbe_hw *hw) argument
1154 ixgbe_setup_fc(struct ixgbe_hw *hw) argument
1170 ixgbe_set_fw_drv_ver(struct ixgbe_hw *hw, u8 maj, u8 min, u8 build, u8 ver, u16 len, char *driver_ver) argument
1185 ixgbe_get_thermal_sensor_data(struct ixgbe_hw *hw) argument
1197 ixgbe_init_thermal_sensor_thresh(struct ixgbe_hw *hw) argument
1210 ixgbe_dmac_config(struct ixgbe_hw *hw) argument
1222 ixgbe_dmac_update_tcs(struct ixgbe_hw *hw) argument
1235 ixgbe_dmac_config_tcs(struct ixgbe_hw *hw) argument
1251 ixgbe_setup_eee(struct ixgbe_hw *hw, bool enable_eee) argument
1263 ixgbe_set_source_address_pruning(struct ixgbe_hw *hw, bool enable, unsigned int pool) argument
1277 ixgbe_set_ethertype_anti_spoofing(struct ixgbe_hw *hw, bool enable, int vf) argument
1292 ixgbe_read_iosf_sb_reg(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u32 *phy_data) argument
1308 ixgbe_write_iosf_sb_reg(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u32 phy_data) argument
1320 ixgbe_disable_mdd(struct ixgbe_hw *hw) argument
1331 ixgbe_enable_mdd(struct ixgbe_hw *hw) argument
1343 ixgbe_mdd_event(struct ixgbe_hw *hw, u32 *vf_bitmap) argument
1356 ixgbe_restore_mdd_vf(struct ixgbe_hw *hw, u32 vf) argument
1367 ixgbe_fw_recovery_mode(struct ixgbe_hw *hw) argument
1381 ixgbe_enter_lplu(struct ixgbe_hw *hw) argument
1398 ixgbe_handle_lasi(struct ixgbe_hw *hw) argument
1412 ixgbe_bypass_rw(struct ixgbe_hw *hw, u32 cmd, u32 *status) argument
1430 ixgbe_bypass_valid_rd(struct ixgbe_hw *hw, u32 in_reg, u32 out_reg) argument
1448 ixgbe_bypass_set(struct ixgbe_hw *hw, u32 cmd, u32 event, u32 action) argument
1461 ixgbe_bypass_rd_eep(struct ixgbe_hw *hw, u32 addr, u8 *value) argument
1475 ixgbe_read_analog_reg8(struct ixgbe_hw *hw, u32 reg, u8 *val) argument
1489 ixgbe_write_analog_reg8(struct ixgbe_hw *hw, u32 reg, u8 val) argument
1502 ixgbe_init_uta_tables(struct ixgbe_hw *hw) argument
1517 ixgbe_read_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) argument
1533 ixgbe_read_i2c_byte_unlocked(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) argument
1550 ixgbe_read_link(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 *val) argument
1565 ixgbe_read_link_unlocked(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 *val) argument
1581 ixgbe_write_i2c_byte(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument
1598 ixgbe_write_i2c_byte_unlocked(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument
1615 ixgbe_write_link(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val) argument
1630 ixgbe_write_link_unlocked(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val) argument
1644 ixgbe_write_i2c_eeprom(struct ixgbe_hw *hw, u8 byte_offset, u8 eeprom_data) argument
1660 ixgbe_read_i2c_eeprom(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data) argument
1673 ixgbe_get_supported_physical_layer(struct ixgbe_hw *hw) argument
1686 ixgbe_enable_rx_dma(struct ixgbe_hw *hw, u32 regval) argument
1698 ixgbe_disable_sec_rx_path(struct ixgbe_hw *hw) argument
1710 ixgbe_enable_sec_rx_path(struct ixgbe_hw *hw) argument
1724 ixgbe_acquire_swfw_semaphore(struct ixgbe_hw *hw, u32 mask) argument
1738 ixgbe_release_swfw_semaphore(struct ixgbe_hw *hw, u32 mask) argument
1753 ixgbe_init_swfw_semaphore(struct ixgbe_hw *hw) argument
1760 ixgbe_disable_rx(struct ixgbe_hw *hw) argument
1766 ixgbe_enable_rx(struct ixgbe_hw *hw) argument
1779 ixgbe_set_rate_select_speed(struct ixgbe_hw *hw, ixgbe_link_speed speed) argument
[all...]
H A Dixgbe_82598.h38 u32 ixgbe_get_pcie_msix_count_82598(struct ixgbe_hw *hw);
39 s32 ixgbe_fc_enable_82598(struct ixgbe_hw *hw);
40 s32 ixgbe_start_hw_82598(struct ixgbe_hw *hw);
41 void ixgbe_enable_relaxed_ordering_82598(struct ixgbe_hw *hw);
42 s32 ixgbe_set_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq);
43 s32 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on,
45 s32 ixgbe_read_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 *val);
46 s32 ixgbe_write_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 val);
47 s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset,
49 u64 ixgbe_get_supported_physical_layer_82598(struct ixgbe_hw *hw);
[all...]
H A Dixgbe_82599.h38 s32 ixgbe_get_link_capabilities_82599(struct ixgbe_hw *hw,
40 enum ixgbe_media_type ixgbe_get_media_type_82599(struct ixgbe_hw *hw);
41 void ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw);
42 void ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw);
43 void ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw *hw);
44 void ixgbe_set_hard_rate_select_speed(struct ixgbe_hw *hw,
46 s32 ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw,
49 s32 ixgbe_start_mac_link_82599(struct ixgbe_hw *hw,
51 s32 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, ixgbe_link_speed speed,
53 s32 ixgbe_setup_sfp_modules_82599(struct ixgbe_hw *hw);
[all...]
H A Dixgbe_phy.c39 static void ixgbe_i2c_start(struct ixgbe_hw *hw);
40 static void ixgbe_i2c_stop(struct ixgbe_hw *hw);
41 static void ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data);
42 static s32 ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data);
43 static s32 ixgbe_get_i2c_ack(struct ixgbe_hw *hw);
44 static void ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data);
45 static s32 ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data);
46 static void ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl);
47 static void ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl);
48 static s32 ixgbe_set_i2c_data(struct ixgbe_hw *hw, u3
60 ixgbe_out_i2c_byte_ack(struct ixgbe_hw *hw, u8 byte) argument
77 ixgbe_in_i2c_byte_ack(struct ixgbe_hw *hw, u8 *byte) argument
109 ixgbe_read_i2c_combined_generic_int(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 *val, bool lock) argument
186 ixgbe_write_i2c_combined_generic_int(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val, bool lock) argument
247 ixgbe_init_phy_ops_generic(struct ixgbe_hw *hw) argument
286 ixgbe_probe_phy(struct ixgbe_hw *hw, u16 phy_addr) argument
321 ixgbe_identify_phy_generic(struct ixgbe_hw *hw) argument
374 ixgbe_check_reset_blocked(struct ixgbe_hw *hw) argument
400 ixgbe_validate_phy_addr(struct ixgbe_hw *hw, u32 phy_addr) argument
424 ixgbe_get_phy_id(struct ixgbe_hw *hw) argument
495 ixgbe_reset_phy_generic(struct ixgbe_hw *hw) argument
574 ixgbe_restart_auto_neg(struct ixgbe_hw *hw) argument
598 ixgbe_read_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 *phy_data) argument
680 ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 *phy_data) argument
706 ixgbe_write_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) argument
780 ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) argument
805 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw) argument
884 ixgbe_setup_phy_link_speed_generic(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
929 ixgbe_get_copper_speeds_supported(struct ixgbe_hw *hw) argument
969 ixgbe_get_copper_link_capabilities_generic(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *autoneg) argument
994 ixgbe_check_phy_link_tnx(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up) argument
1042 ixgbe_setup_phy_link_tnx(struct ixgbe_hw *hw) argument
1107 ixgbe_get_phy_firmware_version_tnx(struct ixgbe_hw *hw, u16 *firmware_version) argument
1126 ixgbe_get_phy_firmware_version_generic(struct ixgbe_hw *hw, u16 *firmware_version) argument
1144 ixgbe_reset_phy_nl(struct ixgbe_hw *hw) argument
1262 ixgbe_identify_module_generic(struct ixgbe_hw *hw) argument
1292 ixgbe_identify_sfp_module_generic(struct ixgbe_hw *hw) argument
1577 ixgbe_get_supported_phy_sfp_layer_generic(struct ixgbe_hw *hw) argument
1639 ixgbe_identify_qsfp_module_generic(struct ixgbe_hw *hw) argument
1838 ixgbe_get_sfp_init_sequence_offsets(struct ixgbe_hw *hw, u16 *list_offset, u16 *data_offset) argument
1932 ixgbe_read_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 *eeprom_data) argument
1950 ixgbe_read_i2c_sff8472_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 *sff8472_data) argument
1966 ixgbe_write_i2c_eeprom_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 eeprom_data) argument
1982 ixgbe_is_sfp_probe(struct ixgbe_hw *hw, u8 offset, u8 addr) argument
2002 ixgbe_read_i2c_byte_generic_int(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data, bool lock) argument
2090 ixgbe_read_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) argument
2107 ixgbe_read_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) argument
2125 ixgbe_write_i2c_byte_generic_int(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data, bool lock) argument
2196 ixgbe_write_i2c_byte_generic(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument
2213 ixgbe_write_i2c_byte_generic_unlocked(struct ixgbe_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument
2227 ixgbe_i2c_start(struct ixgbe_hw *hw) argument
2262 ixgbe_i2c_stop(struct ixgbe_hw *hw) argument
2298 ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data) argument
2319 ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data) argument
2352 ixgbe_get_i2c_ack(struct ixgbe_hw *hw) argument
2405 ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data) argument
2439 ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data) argument
2476 ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl) argument
2512 ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl) argument
2535 ixgbe_set_i2c_data(struct ixgbe_hw *hw, u32 *i2cctl, bool data) argument
2582 ixgbe_get_i2c_data(struct ixgbe_hw *hw, u32 *i2cctl) argument
2611 ixgbe_i2c_bus_clear(struct ixgbe_hw *hw) argument
2647 ixgbe_tn_check_overtemp(struct ixgbe_hw *hw) argument
2675 ixgbe_set_copper_phy_power(struct ixgbe_hw *hw, bool on) argument
[all...]
H A Dixgbe_x540.h40 s32 ixgbe_get_link_capabilities_X540(struct ixgbe_hw *hw,
42 enum ixgbe_media_type ixgbe_get_media_type_X540(struct ixgbe_hw *hw);
43 s32 ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed,
45 s32 ixgbe_reset_hw_X540(struct ixgbe_hw *hw);
46 s32 ixgbe_start_hw_X540(struct ixgbe_hw *hw);
47 u64 ixgbe_get_supported_physical_layer_X540(struct ixgbe_hw *hw);
49 s32 ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw);
50 s32 ixgbe_read_eerd_X540(struct ixgbe_hw *hw, u16 offset, u16 *data);
51 s32 ixgbe_read_eerd_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words,
53 s32 ixgbe_write_eewr_X540(struct ixgbe_hw *hw, u1
[all...]
H A Dixgbe_api.h40 void ixgbe_dcb_get_rtrup2tc(struct ixgbe_hw *hw, u8 *map);
42 s32 ixgbe_init_shared_code(struct ixgbe_hw *hw);
44 extern s32 ixgbe_init_ops_82598(struct ixgbe_hw *hw);
45 extern s32 ixgbe_init_ops_82599(struct ixgbe_hw *hw);
46 extern s32 ixgbe_init_ops_X540(struct ixgbe_hw *hw);
47 extern s32 ixgbe_init_ops_X550(struct ixgbe_hw *hw);
48 extern s32 ixgbe_init_ops_X550EM(struct ixgbe_hw *hw);
49 extern s32 ixgbe_init_ops_X550EM_x(struct ixgbe_hw *hw);
50 extern s32 ixgbe_init_ops_X550EM_a(struct ixgbe_hw *hw);
51 extern s32 ixgbe_init_ops_vf(struct ixgbe_hw *hw);
[all...]
H A Dixgbe_common.h39 #define IXGBE_WRITE_REG64(hw, reg, value) \
41 IXGBE_WRITE_REG(hw, reg, (u32) value); \
42 IXGBE_WRITE_REG(hw, reg + 4, (u32) (value >> 32)); \
50 void ixgbe_dcb_get_rtrup2tc_generic(struct ixgbe_hw *hw, u8 *map);
52 u16 ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw *hw);
53 s32 ixgbe_init_ops_generic(struct ixgbe_hw *hw);
54 s32 ixgbe_init_hw_generic(struct ixgbe_hw *hw);
55 s32 ixgbe_start_hw_generic(struct ixgbe_hw *hw);
56 void ixgbe_start_hw_gen2(struct ixgbe_hw *hw);
57 s32 ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw *hw);
[all...]
H A Dixgbe_x550.h39 s32 ixgbe_dmac_config_X550(struct ixgbe_hw *hw);
40 s32 ixgbe_dmac_config_tcs_X550(struct ixgbe_hw *hw);
41 s32 ixgbe_dmac_update_tcs_X550(struct ixgbe_hw *hw);
43 s32 ixgbe_get_bus_info_X550em(struct ixgbe_hw *hw);
44 s32 ixgbe_init_eeprom_params_X550(struct ixgbe_hw *hw);
45 s32 ixgbe_update_eeprom_checksum_X550(struct ixgbe_hw *hw);
46 s32 ixgbe_calc_eeprom_checksum_X550(struct ixgbe_hw *hw);
47 s32 ixgbe_calc_checksum_X550(struct ixgbe_hw *hw, u16 *buffer, u32 buffer_size);
48 s32 ixgbe_validate_eeprom_checksum_X550(struct ixgbe_hw *hw, u16 *checksum_val);
49 s32 ixgbe_update_flash_X550(struct ixgbe_hw *hw);
[all...]
/freebsd-current/sys/dev/igc/
H A Digc_api.c12 * @hw: pointer to the HW structure
17 s32 igc_init_mac_params(struct igc_hw *hw) argument
21 if (hw->mac.ops.init_params) {
22 ret_val = hw->mac.ops.init_params(hw);
38 * @hw: pointer to the HW structure
43 s32 igc_init_nvm_params(struct igc_hw *hw) argument
47 if (hw->nvm.ops.init_params) {
48 ret_val = hw->nvm.ops.init_params(hw);
69 igc_init_phy_params(struct igc_hw *hw) argument
97 igc_set_mac_type(struct igc_hw *hw) argument
142 igc_setup_init_funcs(struct igc_hw *hw, bool init_device) argument
212 igc_get_bus_info(struct igc_hw *hw) argument
227 igc_clear_vfta(struct igc_hw *hw) argument
242 igc_write_vfta(struct igc_hw *hw, u32 offset, u32 value) argument
257 igc_update_mc_addr_list(struct igc_hw *hw, u8 *mc_addr_list, u32 mc_addr_count) argument
273 igc_force_mac_fc(struct igc_hw *hw) argument
286 igc_check_for_link(struct igc_hw *hw) argument
301 igc_reset_hw(struct igc_hw *hw) argument
316 igc_init_hw(struct igc_hw *hw) argument
332 igc_setup_link(struct igc_hw *hw) argument
350 igc_get_speed_and_duplex(struct igc_hw *hw, u16 *speed, u16 *duplex) argument
366 igc_disable_pcie_master(struct igc_hw *hw) argument
378 igc_config_collision_dist(struct igc_hw *hw) argument
392 igc_rar_set(struct igc_hw *hw, u8 *addr, u32 index) argument
406 igc_validate_mdi_setting(struct igc_hw *hw) argument
423 igc_hash_mc_addr(struct igc_hw *hw, u8 *mc_addr) argument
435 igc_check_reset_block(struct igc_hw *hw) argument
452 igc_read_phy_reg(struct igc_hw *hw, u32 offset, u16 *data) argument
469 igc_write_phy_reg(struct igc_hw *hw, u32 offset, u16 data) argument
484 igc_release_phy(struct igc_hw *hw) argument
497 igc_acquire_phy(struct igc_hw *hw) argument
513 igc_get_phy_info(struct igc_hw *hw) argument
528 igc_phy_hw_reset(struct igc_hw *hw) argument
550 igc_set_d0_lplu_state(struct igc_hw *hw, bool active) argument
572 igc_set_d3_lplu_state(struct igc_hw *hw, bool active) argument
588 igc_read_mac_addr(struct igc_hw *hw) argument
607 igc_read_pba_string(struct igc_hw *hw, u8 *pba_num, u32 pba_num_size) argument
619 igc_validate_nvm_checksum(struct igc_hw *hw) argument
634 igc_update_nvm_checksum(struct igc_hw *hw) argument
649 igc_reload_nvm(struct igc_hw *hw) argument
665 igc_read_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *data) argument
683 igc_write_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *data) argument
698 igc_power_up_phy(struct igc_hw *hw) argument
713 igc_power_down_phy(struct igc_hw *hw) argument
[all...]
H A Digc_mac.h10 void igc_init_mac_ops_generic(struct igc_hw *hw);
11 void igc_null_mac_generic(struct igc_hw *hw);
12 s32 igc_null_ops_generic(struct igc_hw *hw);
13 s32 igc_null_link_info(struct igc_hw *hw, u16 *s, u16 *d);
14 bool igc_null_mng_mode(struct igc_hw *hw);
15 void igc_null_update_mc(struct igc_hw *hw, u8 *h, u32 a);
16 void igc_null_write_vfta(struct igc_hw *hw, u32 a, u32 b);
17 int igc_null_rar_set(struct igc_hw *hw, u8 *h, u32 a);
18 s32 igc_check_for_copper_link_generic(struct igc_hw *hw);
19 s32 igc_config_fc_after_link_up_generic(struct igc_hw *hw);
[all...]
H A Digc_api.h12 extern void igc_init_function_pointers_i225(struct igc_hw *hw);
14 s32 igc_set_mac_type(struct igc_hw *hw);
15 s32 igc_setup_init_funcs(struct igc_hw *hw, bool init_device);
16 s32 igc_init_mac_params(struct igc_hw *hw);
17 s32 igc_init_nvm_params(struct igc_hw *hw);
18 s32 igc_init_phy_params(struct igc_hw *hw);
19 s32 igc_get_bus_info(struct igc_hw *hw);
20 void igc_clear_vfta(struct igc_hw *hw);
21 void igc_write_vfta(struct igc_hw *hw, u32 offset, u32 value);
22 s32 igc_force_mac_fc(struct igc_hw *hw);
[all...]
H A Digc_mac.c10 static void igc_config_collision_dist_generic(struct igc_hw *hw);
14 * @hw: pointer to the HW structure
18 void igc_init_mac_ops_generic(struct igc_hw *hw) argument
20 struct igc_mac_info *mac = &hw->mac;
31 * @hw: pointer to the HW structure
33 s32 igc_null_ops_generic(struct igc_hw IGC_UNUSEDARG *hw) argument
41 * @hw: pointer to the HW structure
43 void igc_null_mac_generic(struct igc_hw IGC_UNUSEDARG *hw) argument
51 * @hw: pointer to the HW structure
55 s32 igc_null_link_info(struct igc_hw IGC_UNUSEDARG *hw, argument
66 igc_null_mng_mode(struct igc_hw IGC_UNUSEDARG *hw) argument
78 igc_null_update_mc(struct igc_hw IGC_UNUSEDARG *hw, u8 IGC_UNUSEDARG *h, u32 IGC_UNUSEDARG a) argument
91 igc_null_write_vfta(struct igc_hw IGC_UNUSEDARG *hw, u32 IGC_UNUSEDARG a, u32 IGC_UNUSEDARG b) argument
104 igc_null_rar_set(struct igc_hw IGC_UNUSEDARG *hw, u8 IGC_UNUSEDARG *h, u32 IGC_UNUSEDARG a) argument
117 igc_set_lan_id_single_port(struct igc_hw *hw) argument
131 igc_clear_vfta_generic(struct igc_hw *hw) argument
152 igc_write_vfta_generic(struct igc_hw *hw, u32 offset, u32 value) argument
169 igc_init_rx_addrs_generic(struct igc_hw *hw, u16 rar_count) argument
199 igc_check_alt_mac_addr_generic(struct igc_hw *hw) argument
263 igc_rar_set_generic(struct igc_hw *hw, u8 *addr, u32 index) argument
301 igc_hash_mc_addr_generic(struct igc_hw *hw, u8 *mc_addr) argument
372 igc_update_mc_addr_list_generic(struct igc_hw *hw, u8 *mc_addr_list, u32 mc_addr_count) argument
406 igc_clear_hw_cntrs_base_generic(struct igc_hw *hw) argument
459 igc_check_for_copper_link_generic(struct igc_hw *hw) argument
527 igc_setup_link_generic(struct igc_hw *hw) argument
581 igc_config_collision_dist_generic(struct igc_hw *hw) argument
604 igc_set_fc_watermarks_generic(struct igc_hw *hw) argument
643 igc_force_mac_fc_generic(struct igc_hw *hw) argument
705 igc_config_fc_after_link_up_generic(struct igc_hw *hw) argument
875 igc_get_speed_and_duplex_copper_generic(struct igc_hw *hw, u16 *speed, u16 *duplex) argument
921 igc_get_hw_semaphore_generic(struct igc_hw *hw) argument
972 igc_put_hw_semaphore_generic(struct igc_hw *hw) argument
991 igc_get_auto_rd_done_generic(struct igc_hw *hw) argument
1023 igc_disable_pcie_master_generic(struct igc_hw *hw) argument
[all...]
H A Digc_base.c15 * @hw: pointer to the HW structure
19 s32 igc_acquire_phy_base(struct igc_hw *hw) argument
25 if (hw->bus.func == IGC_FUNC_1)
28 return hw->mac.ops.acquire_swfw_sync(hw, mask);
33 * @hw: pointer to the HW structure
37 void igc_release_phy_base(struct igc_hw *hw) argument
43 if (hw->bus.func == IGC_FUNC_1)
46 hw->mac.ops.release_swfw_sync(hw, mas
55 igc_init_hw_base(struct igc_hw *hw) argument
96 igc_power_down_phy_copper_base(struct igc_hw *hw) argument
119 igc_rx_fifo_flush_base(struct igc_hw *hw) argument
[all...]
/freebsd-current/sys/dev/ice/
H A Dice_vlan_mode.h39 bool ice_is_dvm_ena(struct ice_hw *hw);
40 enum ice_status ice_set_vlan_mode(struct ice_hw *hw);
41 void ice_post_pkg_dwnld_vlan_mode_cfg(struct ice_hw *hw);
/freebsd-current/sys/dev/ixl/
H A Di40e_adminq.c42 * @hw: pointer to the hardware structure
46 static void i40e_adminq_init_regs(struct i40e_hw *hw) argument
49 if (i40e_is_vf(hw)) {
50 hw->aq.asq.tail = I40E_VF_ATQT1;
51 hw->aq.asq.head = I40E_VF_ATQH1;
52 hw->aq.asq.len = I40E_VF_ATQLEN1;
53 hw->aq.asq.bal = I40E_VF_ATQBAL1;
54 hw->aq.asq.bah = I40E_VF_ATQBAH1;
55 hw->aq.arq.tail = I40E_VF_ARQT1;
56 hw
78 i40e_alloc_adminq_asq_ring(struct i40e_hw *hw) argument
105 i40e_alloc_adminq_arq_ring(struct i40e_hw *hw) argument
125 i40e_free_adminq_asq(struct i40e_hw *hw) argument
138 i40e_free_adminq_arq(struct i40e_hw *hw) argument
147 i40e_alloc_arq_bufs(struct i40e_hw *hw) argument
214 i40e_alloc_asq_bufs(struct i40e_hw *hw) argument
254 i40e_free_arq_bufs(struct i40e_hw *hw) argument
273 i40e_free_asq_bufs(struct i40e_hw *hw) argument
298 i40e_config_asq_regs(struct i40e_hw *hw) argument
331 i40e_config_arq_regs(struct i40e_hw *hw) argument
374 i40e_init_asq(struct i40e_hw *hw) argument
437 i40e_init_arq(struct i40e_hw *hw) argument
489 i40e_shutdown_asq(struct i40e_hw *hw) argument
523 i40e_shutdown_arq(struct i40e_hw *hw) argument
555 i40e_resume_aq(struct i40e_hw *hw) argument
573 i40e_set_hw_flags(struct i40e_hw *hw) argument
644 i40e_init_adminq(struct i40e_hw *hw) argument
755 i40e_shutdown_adminq(struct i40e_hw *hw) argument
779 i40e_clean_asq(struct i40e_hw *hw) argument
821 i40e_asq_done(struct i40e_hw *hw) argument
841 i40e_asq_send_command(struct i40e_hw *hw, struct i40e_aq_desc *desc, void *buff, u16 buff_size, struct i40e_asq_cmd_details *cmd_details) argument
1066 i40e_clean_arq_element(struct i40e_hw *hw, struct i40e_arq_event_info *e, u16 *pending) argument
[all...]
/freebsd-current/sys/dev/e1000/
H A De1000_mac.h38 void e1000_init_mac_ops_generic(struct e1000_hw *hw);
40 void e1000_null_mac_generic(struct e1000_hw *hw);
41 s32 e1000_null_ops_generic(struct e1000_hw *hw);
42 s32 e1000_null_link_info(struct e1000_hw *hw, u16 *s, u16 *d);
43 bool e1000_null_mng_mode(struct e1000_hw *hw);
44 void e1000_null_update_mc(struct e1000_hw *hw, u8 *h, u32 a);
45 void e1000_null_write_vfta(struct e1000_hw *hw, u32 a, u32 b);
46 int e1000_null_rar_set(struct e1000_hw *hw, u8 *h, u32 a);
47 s32 e1000_null_set_obff_timer(struct e1000_hw *hw, u32 a);
48 s32 e1000_blink_led_generic(struct e1000_hw *hw);
[all...]
H A De1000_api.h40 extern void e1000_init_function_pointers_82542(struct e1000_hw *hw);
41 extern void e1000_init_function_pointers_82543(struct e1000_hw *hw);
42 extern void e1000_init_function_pointers_82540(struct e1000_hw *hw);
43 extern void e1000_init_function_pointers_82571(struct e1000_hw *hw);
44 extern void e1000_init_function_pointers_82541(struct e1000_hw *hw);
45 extern void e1000_init_function_pointers_80003es2lan(struct e1000_hw *hw);
46 extern void e1000_init_function_pointers_ich8lan(struct e1000_hw *hw);
47 extern void e1000_init_function_pointers_82575(struct e1000_hw *hw);
48 extern void e1000_init_function_pointers_vf(struct e1000_hw *hw);
49 extern void e1000_power_up_fiber_serdes_link(struct e1000_hw *hw);
[all...]
H A De1000_80003es2lan.c41 static s32 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw);
42 static void e1000_release_phy_80003es2lan(struct e1000_hw *hw);
43 static s32 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw);
44 static void e1000_release_nvm_80003es2lan(struct e1000_hw *hw);
45 static s32 e1000_read_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw,
48 static s32 e1000_write_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw,
51 static s32 e1000_write_nvm_80003es2lan(struct e1000_hw *hw, u16 offset,
53 static s32 e1000_get_cfg_done_80003es2lan(struct e1000_hw *hw);
54 static s32 e1000_phy_force_speed_duplex_80003es2lan(struct e1000_hw *hw);
55 static s32 e1000_get_cable_length_80003es2lan(struct e1000_hw *hw);
87 e1000_init_phy_params_80003es2lan(struct e1000_hw *hw) argument
138 e1000_init_nvm_params_80003es2lan(struct e1000_hw *hw) argument
194 e1000_init_mac_params_80003es2lan(struct e1000_hw *hw) argument
278 e1000_init_function_pointers_80003es2lan(struct e1000_hw *hw) argument
293 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw) argument
309 e1000_release_phy_80003es2lan(struct e1000_hw *hw) argument
326 e1000_acquire_mac_csr_80003es2lan(struct e1000_hw *hw) argument
343 e1000_release_mac_csr_80003es2lan(struct e1000_hw *hw) argument
360 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw) argument
384 e1000_release_nvm_80003es2lan(struct e1000_hw *hw) argument
400 e1000_read_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, u32 offset, u16 *data) argument
471 e1000_write_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, u32 offset, u16 data) argument
543 e1000_write_nvm_80003es2lan(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
558 e1000_get_cfg_done_80003es2lan(struct e1000_hw *hw) argument
589 e1000_phy_force_speed_duplex_80003es2lan(struct e1000_hw *hw) argument
684 e1000_get_cable_length_80003es2lan(struct e1000_hw *hw) argument
720 e1000_get_link_up_info_80003es2lan(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument
746 e1000_reset_hw_80003es2lan(struct e1000_hw *hw) argument
811 e1000_init_hw_80003es2lan(struct e1000_hw *hw) argument
921 e1000_initialize_hw_bits_80003es2lan(struct e1000_hw *hw) argument
968 e1000_copper_link_setup_gg82563_80003es2lan(struct e1000_hw *hw) argument
1116 e1000_setup_copper_link_80003es2lan(struct e1000_hw *hw) argument
1174 e1000_cfg_on_link_up_80003es2lan(struct e1000_hw *hw) argument
1205 e1000_cfg_kmrn_10_100_80003es2lan(struct e1000_hw *hw, u16 duplex) argument
1256 e1000_cfg_kmrn_1000_80003es2lan(struct e1000_hw *hw) argument
1307 e1000_read_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset, u16 *data) argument
1344 e1000_write_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset, u16 data) argument
1372 e1000_read_mac_addr_80003es2lan(struct e1000_hw *hw) argument
1396 e1000_power_down_phy_copper_80003es2lan(struct e1000_hw *hw) argument
1412 e1000_clear_hw_cntrs_80003es2lan(struct e1000_hw *hw) argument
[all...]
H A De1000_82543.c46 static s32 e1000_init_phy_params_82543(struct e1000_hw *hw);
47 static s32 e1000_init_nvm_params_82543(struct e1000_hw *hw);
48 static s32 e1000_init_mac_params_82543(struct e1000_hw *hw);
49 static s32 e1000_read_phy_reg_82543(struct e1000_hw *hw, u32 offset,
51 static s32 e1000_write_phy_reg_82543(struct e1000_hw *hw, u32 offset,
53 static s32 e1000_phy_force_speed_duplex_82543(struct e1000_hw *hw);
54 static s32 e1000_phy_hw_reset_82543(struct e1000_hw *hw);
55 static s32 e1000_reset_hw_82543(struct e1000_hw *hw);
56 static s32 e1000_init_hw_82543(struct e1000_hw *hw);
57 static s32 e1000_setup_link_82543(struct e1000_hw *hw);
84 e1000_init_phy_params_82543(struct e1000_hw *hw) argument
167 e1000_init_nvm_params_82543(struct e1000_hw *hw) argument
193 e1000_init_mac_params_82543(struct e1000_hw *hw) argument
269 e1000_init_function_pointers_82543(struct e1000_hw *hw) argument
285 e1000_tbi_compatibility_enabled_82543(struct e1000_hw *hw) argument
310 e1000_set_tbi_compatibility_82543(struct e1000_hw *hw, bool state) argument
337 e1000_tbi_sbp_enabled_82543(struct e1000_hw *hw) argument
362 e1000_set_tbi_sbp_82543(struct e1000_hw *hw, bool state) argument
383 e1000_init_phy_disabled_82543(struct e1000_hw *hw) argument
411 e1000_tbi_adjust_stats_82543(struct e1000_hw *hw, struct e1000_hw_stats *stats, u32 frame_len, u8 *mac_addr, u32 max_frame_size) argument
487 e1000_read_phy_reg_82543(struct e1000_hw *hw, u32 offset, u16 *data) argument
543 e1000_write_phy_reg_82543(struct e1000_hw *hw, u32 offset, u16 data) argument
590 e1000_raise_mdi_clk_82543(struct e1000_hw *hw, u32 *ctrl) argument
609 e1000_lower_mdi_clk_82543(struct e1000_hw *hw, u32 *ctrl) argument
630 e1000_shift_out_mdi_bits_82543(struct e1000_hw *hw, u32 data, u16 count) argument
682 e1000_shift_in_mdi_bits_82543(struct e1000_hw *hw) argument
741 e1000_phy_force_speed_duplex_82543(struct e1000_hw *hw) argument
767 e1000_polarity_reversal_workaround_82543(struct e1000_hw *hw) argument
861 e1000_phy_hw_reset_82543(struct e1000_hw *hw) argument
901 e1000_reset_hw_82543(struct e1000_hw *hw) argument
956 e1000_init_hw_82543(struct e1000_hw *hw) argument
1019 e1000_setup_link_82543(struct e1000_hw *hw) argument
1060 e1000_setup_copper_link_82543(struct e1000_hw *hw) argument
1148 e1000_setup_fiber_link_82543(struct e1000_hw *hw) argument
1197 e1000_check_for_copper_link_82543(struct e1000_hw *hw) argument
1333 e1000_check_for_fiber_link_82543(struct e1000_hw *hw) argument
1403 e1000_config_mac_to_phy_82543(struct e1000_hw *hw) argument
1457 e1000_write_vfta_82543(struct e1000_hw *hw, u32 offset, u32 value) argument
1480 e1000_led_on_82543(struct e1000_hw *hw) argument
1507 e1000_led_off_82543(struct e1000_hw *hw) argument
1533 e1000_clear_hw_cntrs_82543(struct e1000_hw *hw) argument
1569 e1000_read_mac_addr_82543(struct e1000_hw *hw) argument
[all...]
H A De1000_base.c43 * @hw: pointer to the HW structure
47 s32 e1000_acquire_phy_base(struct e1000_hw *hw) argument
53 if (hw->bus.func == E1000_FUNC_1)
55 else if (hw->bus.func == E1000_FUNC_2)
57 else if (hw->bus.func == E1000_FUNC_3)
60 return hw->mac.ops.acquire_swfw_sync(hw, mask);
65 * @hw: pointer to the HW structure
69 void e1000_release_phy_base(struct e1000_hw *hw) argument
75 if (hw
91 e1000_init_hw_base(struct e1000_hw *hw) argument
132 e1000_power_down_phy_copper_base(struct e1000_hw *hw) argument
153 e1000_rx_fifo_flush_base(struct e1000_hw *hw) argument
[all...]
H A De1000_mac.c37 static s32 e1000_validate_mdi_setting_generic(struct e1000_hw *hw);
38 static void e1000_set_lan_id_multi_port_pcie(struct e1000_hw *hw);
39 static void e1000_config_collision_dist_generic(struct e1000_hw *hw);
43 * @hw: pointer to the HW structure
47 void e1000_init_mac_ops_generic(struct e1000_hw *hw) argument
49 struct e1000_mac_info *mac = &hw->mac;
85 * @hw: pointer to the HW structure
87 s32 e1000_null_ops_generic(struct e1000_hw E1000_UNUSEDARG *hw) argument
95 * @hw: pointer to the HW structure
97 void e1000_null_mac_generic(struct e1000_hw E1000_UNUSEDARG *hw) argument
109 e1000_null_link_info(struct e1000_hw E1000_UNUSEDARG *hw, u16 E1000_UNUSEDARG *s, u16 E1000_UNUSEDARG *d) argument
120 e1000_null_mng_mode(struct e1000_hw E1000_UNUSEDARG *hw) argument
132 e1000_null_update_mc(struct e1000_hw E1000_UNUSEDARG *hw, u8 E1000_UNUSEDARG *h, u32 E1000_UNUSEDARG a) argument
145 e1000_null_write_vfta(struct e1000_hw E1000_UNUSEDARG *hw, u32 E1000_UNUSEDARG a, u32 E1000_UNUSEDARG b) argument
158 e1000_null_rar_set(struct e1000_hw E1000_UNUSEDARG *hw, u8 E1000_UNUSEDARG *h, u32 E1000_UNUSEDARG a) argument
169 e1000_null_set_obff_timer(struct e1000_hw E1000_UNUSEDARG *hw, u32 E1000_UNUSEDARG a) argument
184 e1000_get_bus_info_pci_generic(struct e1000_hw *hw) argument
239 e1000_get_bus_info_pcie_generic(struct e1000_hw *hw) argument
285 e1000_set_lan_id_multi_port_pcie(struct e1000_hw *hw) argument
303 e1000_set_lan_id_multi_port_pci(struct e1000_hw *hw) argument
325 e1000_set_lan_id_single_port(struct e1000_hw *hw) argument
339 e1000_clear_vfta_generic(struct e1000_hw *hw) argument
360 e1000_write_vfta_generic(struct e1000_hw *hw, u32 offset, u32 value) argument
377 e1000_init_rx_addrs_generic(struct e1000_hw *hw, u16 rar_count) argument
407 e1000_check_alt_mac_addr_generic(struct e1000_hw *hw) argument
485 e1000_rar_set_generic(struct e1000_hw *hw, u8 *addr, u32 index) argument
523 e1000_hash_mc_addr_generic(struct e1000_hw *hw, u8 *mc_addr) argument
594 e1000_update_mc_addr_list_generic(struct e1000_hw *hw, u8 *mc_addr_list, u32 mc_addr_count) argument
631 e1000_pcix_mmrbc_workaround_generic(struct e1000_hw *hw) argument
665 e1000_clear_hw_cntrs_base_generic(struct e1000_hw *hw) argument
716 e1000_check_for_copper_link_generic(struct e1000_hw *hw) argument
781 e1000_check_for_fiber_link_generic(struct e1000_hw *hw) argument
848 e1000_check_for_serdes_link_generic(struct e1000_hw *hw) argument
954 e1000_set_default_fc_generic(struct e1000_hw *hw) argument
1009 e1000_setup_link_generic(struct e1000_hw *hw) argument
1065 e1000_commit_fc_settings_generic(struct e1000_hw *hw) argument
1134 e1000_poll_fiber_serdes_link_generic(struct e1000_hw *hw) argument
1183 e1000_setup_fiber_serdes_link_generic(struct e1000_hw *hw) argument
1234 e1000_config_collision_dist_generic(struct e1000_hw *hw) argument
1257 e1000_set_fc_watermarks_generic(struct e1000_hw *hw) argument
1296 e1000_force_mac_fc_generic(struct e1000_hw *hw) argument
1358 e1000_config_fc_after_link_up_generic(struct e1000_hw *hw) argument
1666 e1000_get_speed_and_duplex_copper_generic(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument
1705 e1000_get_speed_and_duplex_fiber_serdes_generic(struct e1000_hw E1000_UNUSEDARG *hw, u16 *speed, u16 *duplex) argument
1722 e1000_get_auto_rd_done_generic(struct e1000_hw *hw) argument
1751 e1000_valid_led_default_generic(struct e1000_hw *hw, u16 *data) argument
1774 e1000_id_led_init_generic(struct e1000_hw *hw) argument
1842 e1000_setup_led_generic(struct e1000_hw *hw) argument
1874 e1000_cleanup_led_generic(struct e1000_hw *hw) argument
1888 e1000_blink_led_generic(struct e1000_hw *hw) argument
1935 e1000_led_on_generic(struct e1000_hw *hw) argument
1964 e1000_led_off_generic(struct e1000_hw *hw) argument
1994 e1000_set_pcie_no_snoop_generic(struct e1000_hw *hw, u32 no_snoop) argument
2022 e1000_disable_pcie_master_generic(struct e1000_hw *hw) argument
2059 e1000_reset_adaptive_generic(struct e1000_hw *hw) argument
2087 e1000_update_adaptive_generic(struct e1000_hw *hw) argument
2128 e1000_validate_mdi_setting_generic(struct e1000_hw *hw) argument
2148 e1000_validate_mdi_setting_crossover_generic(struct e1000_hw E1000_UNUSEDARG *hw) argument
2166 e1000_write_8bit_ctrl_reg_generic(struct e1000_hw *hw, u32 reg, u32 offset, u8 data) argument
2198 e1000_get_hw_semaphore(struct e1000_hw *hw) argument
2277 e1000_put_hw_semaphore(struct e1000_hw *hw) argument
2300 e1000_acquire_swfw_sync(struct e1000_hw *hw, u16 mask) argument
2353 e1000_release_swfw_sync(struct e1000_hw *hw, u16 mask) argument
[all...]
H A De1000_82575.c48 static s32 e1000_init_phy_params_82575(struct e1000_hw *hw);
49 static s32 e1000_init_mac_params_82575(struct e1000_hw *hw);
50 static s32 e1000_acquire_nvm_82575(struct e1000_hw *hw);
51 static void e1000_release_nvm_82575(struct e1000_hw *hw);
52 static s32 e1000_check_for_link_82575(struct e1000_hw *hw);
53 static s32 e1000_check_for_link_media_swap(struct e1000_hw *hw);
54 static s32 e1000_get_cfg_done_82575(struct e1000_hw *hw);
55 static s32 e1000_get_link_up_info_82575(struct e1000_hw *hw, u16 *speed,
57 static s32 e1000_phy_hw_reset_sgmii_82575(struct e1000_hw *hw);
58 static s32 e1000_read_phy_reg_sgmii_82575(struct e1000_hw *hw, u3
127 e1000_sgmii_uses_mdio_82575(struct e1000_hw *hw) argument
158 e1000_init_phy_params_82575(struct e1000_hw *hw) argument
323 e1000_init_mac_params_82575(struct e1000_hw *hw) argument
440 e1000_init_nvm_params_82575(struct e1000_hw *hw) argument
525 e1000_init_function_pointers_82575(struct e1000_hw *hw) argument
544 e1000_read_phy_reg_sgmii_82575(struct e1000_hw *hw, u32 offset, u16 *data) argument
577 e1000_write_phy_reg_sgmii_82575(struct e1000_hw *hw, u32 offset, u16 data) argument
608 e1000_get_phy_id_82575(struct e1000_hw *hw) argument
710 e1000_phy_hw_reset_sgmii_82575(struct e1000_hw *hw) argument
758 e1000_set_d0_lplu_state_82575(struct e1000_hw *hw, bool active) argument
844 e1000_set_d0_lplu_state_82580(struct e1000_hw *hw, bool active) argument
891 e1000_set_d3_lplu_state_82580(struct e1000_hw *hw, bool active) argument
933 e1000_acquire_nvm_82575(struct e1000_hw *hw) argument
983 e1000_release_nvm_82575(struct e1000_hw *hw) argument
1002 e1000_get_cfg_done_82575(struct e1000_hw *hw) argument
1042 e1000_get_link_up_info_82575(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument
1066 e1000_check_for_link_82575(struct e1000_hw *hw) argument
1105 e1000_check_for_link_media_swap(struct e1000_hw *hw) argument
1165 e1000_power_up_serdes_link_82575(struct e1000_hw *hw) argument
1199 e1000_get_pcs_speed_and_duplex_82575(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument
1263 e1000_shutdown_serdes_link_82575(struct e1000_hw *hw) argument
1298 e1000_reset_hw_82575(struct e1000_hw *hw) argument
1362 e1000_init_hw_82575(struct e1000_hw *hw) argument
1402 e1000_setup_copper_link_82575(struct e1000_hw *hw) argument
1494 e1000_setup_serdes_link_82575(struct e1000_hw *hw) argument
1637 e1000_get_media_type_82575(struct e1000_hw *hw) argument
1716 e1000_set_sfp_media_type_82575(struct e1000_hw *hw) argument
1786 e1000_valid_led_default_82575(struct e1000_hw *hw, u16 *data) argument
1821 e1000_sgmii_active_82575(struct e1000_hw *hw) argument
1834 e1000_reset_init_script_82575(struct e1000_hw *hw) argument
1869 e1000_read_mac_addr_82575(struct e1000_hw *hw) argument
1897 e1000_config_collision_dist_82575(struct e1000_hw *hw) argument
1918 e1000_clear_hw_cntrs_82575(struct e1000_hw *hw) argument
1987 e1000_set_pcie_completion_timeout(struct e1000_hw *hw) argument
2036 e1000_vmdq_set_anti_spoofing_pf(struct e1000_hw *hw, bool enable, int pf) argument
2074 e1000_vmdq_set_loopback_pf(struct e1000_hw *hw, bool enable) argument
2111 e1000_vmdq_set_replication_pf(struct e1000_hw *hw, bool enable) argument
2132 e1000_read_phy_reg_82580(struct e1000_hw *hw, u32 offset, u16 *data) argument
2158 e1000_write_phy_reg_82580(struct e1000_hw *hw, u32 offset, u16 data) argument
2184 e1000_reset_mdicnfg_82580(struct e1000_hw *hw) argument
2222 e1000_reset_hw_82580(struct e1000_hw *hw) argument
2341 e1000_validate_nvm_checksum_with_offset(struct e1000_hw *hw, u16 offset) argument
2378 e1000_update_nvm_checksum_with_offset(struct e1000_hw *hw, u16 offset) argument
2412 e1000_validate_nvm_checksum_82580(struct e1000_hw *hw) argument
2453 e1000_update_nvm_checksum_82580(struct e1000_hw *hw) argument
2497 e1000_validate_nvm_checksum_i350(struct e1000_hw *hw) argument
2525 e1000_update_nvm_checksum_i350(struct e1000_hw *hw) argument
2551 __e1000_access_emi_reg(struct e1000_hw *hw, u16 address, u16 *data, bool read) argument
2576 e1000_read_emi_reg(struct e1000_hw *hw, u16 addr, u16 *data) argument
2589 e1000_initialize_M88E1512_phy(struct e1000_hw *hw) argument
2678 e1000_initialize_M88E1543_phy(struct e1000_hw *hw) argument
2780 e1000_set_eee_i350(struct e1000_hw *hw, bool adv1G, bool adv100M) argument
2835 e1000_set_eee_i354(struct e1000_hw *hw, bool adv1G, bool adv100M) argument
2917 e1000_get_eee_status_i354(struct e1000_hw *hw, bool *status) argument
2956 e1000_clear_vfta_i350(struct e1000_hw *hw) argument
2980 e1000_write_vfta_i350(struct e1000_hw *hw, u32 offset, u32 value) argument
3000 e1000_set_i2c_bb(struct e1000_hw *hw) argument
3032 e1000_read_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset, u8 dev_addr, u8 *data) argument
3121 e1000_write_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset, u8 dev_addr, u8 data) argument
3190 e1000_i2c_start(struct e1000_hw *hw) argument
3221 e1000_i2c_stop(struct e1000_hw *hw) argument
3247 e1000_clock_in_i2c_byte(struct e1000_hw *hw, u8 *data) argument
3268 e1000_clock_out_i2c_byte(struct e1000_hw *hw, u8 data) argument
3301 e1000_get_i2c_ack(struct e1000_hw *hw) argument
3347 e1000_clock_in_i2c_bit(struct e1000_hw *hw, bool *data) argument
3374 e1000_clock_out_i2c_bit(struct e1000_hw *hw, bool data) argument
3408 e1000_raise_i2c_clk(struct e1000_hw *hw, u32 *i2cctl) argument
3428 e1000_lower_i2c_clk(struct e1000_hw *hw, u32 *i2cctl) argument
3450 e1000_set_i2c_data(struct e1000_hw *hw, u32 *i2cctl, bool data) argument
3505 e1000_i2c_bus_clear(struct e1000_hw *hw) argument
[all...]
H A De1000_82571.c53 static s32 e1000_acquire_nvm_82571(struct e1000_hw *hw);
54 static void e1000_release_nvm_82571(struct e1000_hw *hw);
55 static s32 e1000_write_nvm_82571(struct e1000_hw *hw, u16 offset,
57 static s32 e1000_update_nvm_checksum_82571(struct e1000_hw *hw);
58 static s32 e1000_validate_nvm_checksum_82571(struct e1000_hw *hw);
59 static s32 e1000_get_cfg_done_82571(struct e1000_hw *hw);
60 static s32 e1000_set_d0_lplu_state_82571(struct e1000_hw *hw,
62 static s32 e1000_reset_hw_82571(struct e1000_hw *hw);
63 static s32 e1000_init_hw_82571(struct e1000_hw *hw);
64 static void e1000_clear_vfta_82571(struct e1000_hw *hw);
91 e1000_init_phy_params_82571(struct e1000_hw *hw) argument
201 e1000_init_nvm_params_82571(struct e1000_hw *hw) argument
282 e1000_init_mac_params_82571(struct e1000_hw *hw) argument
444 e1000_init_function_pointers_82571(struct e1000_hw *hw) argument
460 e1000_get_phy_id_82571(struct e1000_hw *hw) argument
512 e1000_get_hw_semaphore_82574(struct e1000_hw *hw) argument
551 e1000_put_hw_semaphore_82574(struct e1000_hw *hw) argument
574 e1000_set_d0_lplu_state_82574(struct e1000_hw *hw, bool active) argument
600 e1000_set_d3_lplu_state_82574(struct e1000_hw *hw, bool active) argument
627 e1000_acquire_nvm_82571(struct e1000_hw *hw) argument
657 e1000_release_nvm_82571(struct e1000_hw *hw) argument
677 e1000_write_nvm_82571(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
710 e1000_update_nvm_checksum_82571(struct e1000_hw *hw) argument
771 e1000_validate_nvm_checksum_82571(struct e1000_hw *hw) argument
795 e1000_write_nvm_eewr_82571(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
838 e1000_get_cfg_done_82571(struct e1000_hw *hw) argument
870 e1000_set_d0_lplu_state_82571(struct e1000_hw *hw, bool active) argument
949 e1000_reset_hw_82571(struct e1000_hw *hw) argument
1069 e1000_init_hw_82571(struct e1000_hw *hw) argument
1149 e1000_initialize_hw_bits_82571(struct e1000_hw *hw) argument
1283 e1000_clear_vfta_82571(struct e1000_hw *hw) argument
1332 e1000_check_mng_mode_82574(struct e1000_hw *hw) argument
1352 e1000_led_on_82574(struct e1000_hw *hw) argument
1380 e1000_check_phy_82574(struct e1000_hw *hw) argument
1419 e1000_setup_link_82571(struct e1000_hw *hw) argument
1449 e1000_setup_copper_link_82571(struct e1000_hw *hw) argument
1487 e1000_setup_fiber_serdes_link_82571(struct e1000_hw *hw) argument
1529 e1000_check_for_serdes_link_82571(struct e1000_hw *hw) argument
1690 e1000_valid_led_default_82571(struct e1000_hw *hw, u16 *data) argument
1725 e1000_get_laa_state_82571(struct e1000_hw *hw) argument
1742 e1000_set_laa_state_82571(struct e1000_hw *hw, bool state) argument
1774 e1000_fix_nvm_checksum_82571(struct e1000_hw *hw) argument
1823 e1000_read_mac_addr_82571(struct e1000_hw *hw) argument
1849 e1000_power_down_phy_copper_82571(struct e1000_hw *hw) argument
1870 e1000_clear_hw_cntrs_82571(struct e1000_hw *hw) argument
[all...]
/freebsd-current/sys/dev/iavf/
H A Diavf_prototype.h47 enum iavf_status iavf_init_adminq(struct iavf_hw *hw);
48 enum iavf_status iavf_shutdown_adminq(struct iavf_hw *hw);
49 enum iavf_status iavf_init_asq(struct iavf_hw *hw);
50 enum iavf_status iavf_init_arq(struct iavf_hw *hw);
51 enum iavf_status iavf_alloc_adminq_asq_ring(struct iavf_hw *hw);
52 enum iavf_status iavf_alloc_adminq_arq_ring(struct iavf_hw *hw);
53 enum iavf_status iavf_shutdown_asq(struct iavf_hw *hw);
54 enum iavf_status iavf_shutdown_arq(struct iavf_hw *hw);
55 u16 iavf_clean_asq(struct iavf_hw *hw);
56 void iavf_free_adminq_asq(struct iavf_hw *hw);
[all...]
H A Diavf_adminq.c40 * @hw: pointer to the hardware structure
44 STATIC void iavf_adminq_init_regs(struct iavf_hw *hw) argument
47 hw->aq.asq.tail = IAVF_VF_ATQT1;
48 hw->aq.asq.head = IAVF_VF_ATQH1;
49 hw->aq.asq.len = IAVF_VF_ATQLEN1;
50 hw->aq.asq.bal = IAVF_VF_ATQBAL1;
51 hw->aq.asq.bah = IAVF_VF_ATQBAH1;
52 hw->aq.arq.tail = IAVF_VF_ARQT1;
53 hw->aq.arq.head = IAVF_VF_ARQH1;
54 hw
63 iavf_alloc_adminq_asq_ring(struct iavf_hw *hw) argument
90 iavf_alloc_adminq_arq_ring(struct iavf_hw *hw) argument
110 iavf_free_adminq_asq(struct iavf_hw *hw) argument
123 iavf_free_adminq_arq(struct iavf_hw *hw) argument
132 iavf_alloc_arq_bufs(struct iavf_hw *hw) argument
199 iavf_alloc_asq_bufs(struct iavf_hw *hw) argument
239 iavf_free_arq_bufs(struct iavf_hw *hw) argument
258 iavf_free_asq_bufs(struct iavf_hw *hw) argument
283 iavf_config_asq_regs(struct iavf_hw *hw) argument
312 iavf_config_arq_regs(struct iavf_hw *hw) argument
351 iavf_init_asq(struct iavf_hw *hw) argument
414 iavf_init_arq(struct iavf_hw *hw) argument
466 iavf_shutdown_asq(struct iavf_hw *hw) argument
500 iavf_shutdown_arq(struct iavf_hw *hw) argument
539 iavf_init_adminq(struct iavf_hw *hw) argument
587 iavf_shutdown_adminq(struct iavf_hw *hw) argument
608 iavf_clean_asq(struct iavf_hw *hw) argument
650 iavf_asq_done(struct iavf_hw *hw) argument
670 iavf_asq_send_command(struct iavf_hw *hw, struct iavf_aq_desc *desc, void *buff, u16 buff_size, struct iavf_asq_cmd_details *cmd_details) argument
895 iavf_clean_arq_element(struct iavf_hw *hw, struct iavf_arq_event_info *e, u16 *pending) argument
[all...]

Completed in 155 milliseconds

1234567891011>>