Searched defs:hw (Results 26 - 50 of 91) sorted by relevance

1234

/illumos-gate/usr/src/cmd/mdb/intel/mdb/
H A Dproc_ia32dep.c391 uint32_t hw = FP_NO; local
432 if (mdb_tgt_readsym(t, MDB_TGT_AS_VIRT, &hw,
433 sizeof (hw), "libc.so", "_fp_hw") < 0 &&
434 mdb_tgt_readsym(t, MDB_TGT_AS_VIRT, &hw,
435 sizeof (hw), MDB_TGT_OBJ_EXEC, "_fp_hw") < 0)
444 mdb_printf("_fp_hw 0x%02x (", hw);
445 switch (hw) {
466 if (!(hw & FP_HW))
/illumos-gate/usr/src/uts/common/os/
H A Dcpu_pm.c755 pghw_type_t hw; local
761 hw = PGHW_POW_ACTIVE;
771 if ((hwset = pghw_set_lookup(hw)) == NULL)
H A Dpghw.c107 static group_t *pg_hw; /* top level pg hw group */
226 pghw_init(pghw_t *pg, cpu_t *cp, pghw_type_t hw) argument
230 if ((hwset = pghw_set_lookup(hw)) == NULL) {
234 hwset = pghw_set_create(hw);
238 pg->pghw_hw = hw;
241 pg_plat_hw_instance_id(cp, hw);
313 pghw_place_cpu(cpu_t *cp, pghw_type_t hw) argument
317 if ((hwset = pghw_set_lookup(hw)) == NULL) {
325 * Find the pg representing the hw sharing relationship in which
329 pghw_find_pg(cpu_t *cp, pghw_type_t hw) argument
347 pghw_find_by_instance(id_t id, pghw_type_t hw) argument
396 pghw_set_create(pghw_type_t hw) argument
429 pghw_set_lookup(pghw_type_t hw) argument
465 pghw_type_string(pghw_type_t hw) argument
[all...]
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-mgmtaux.c255 xge_hal_mgmt_hw_stats_t hw; local
257 status = xge_hal_mgmt_hw_stats(devh, &hw,
263 __HAL_AUX_ENTRY("tmac_data_octets", hw.tmac_data_octets, "%u");
264 __HAL_AUX_ENTRY("tmac_frms", hw.tmac_frms, "%u");
266 hw.tmac_drop_frms, "%llu");
267 __HAL_AUX_ENTRY("tmac_bcst_frms", hw.tmac_bcst_frms, "%u");
268 __HAL_AUX_ENTRY("tmac_mcst_frms", hw.tmac_mcst_frms, "%u");
270 hw.tmac_pause_ctrl_frms, "%llu");
271 __HAL_AUX_ENTRY("tmac_ucst_frms", hw.tmac_ucst_frms, "%u");
272 __HAL_AUX_ENTRY("tmac_ttl_octets", hw
396 xge_hal_mgmt_hw_stats_t hw; local
692 xge_hal_mgmt_hw_stats_t hw; local
818 xge_hal_mgmt_hw_stats_t hw; local
[all...]
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_debug.c166 struct e1000_hw *hw = &Adapter->shared; local
174 if (ret = e1000_read_nvm(hw, 0x12, 1, &size_field)) {
204 if (ret = e1000_read_nvm(hw, offset, WPL, eeprom)) {
229 struct e1000_hw *hw = &Adapter->shared; local
245 stat = e1000_read_phy_reg(hw, offset[i], &value);
259 e1000_read_reg(struct e1000_hw *hw, uint32_t offset) argument
261 return (ddi_get32(((struct e1000g_osdep *)(hw)->back)->reg_handle,
262 (uint32_t *)((uintptr_t)(hw)->hw_addr + offset)));
273 struct e1000_hw *hw = &Adapter->shared; local
364 e1000_read_reg(hw, macre
[all...]
H A De1000g_rx.c147 struct e1000_hw *hw; local
161 hw = &Adapter->shared;
232 if (hw->mac.type >= e1000_82540) {
245 E1000_WRITE_REG(hw, E1000_RDLEN(0), size);
246 size = E1000_READ_REG(hw, E1000_RDLEN(0));
253 E1000_WRITE_REG(hw, E1000_RDBAH(0), buf_high);
254 E1000_WRITE_REG(hw, E1000_RDBAL(0), buf_low);
259 E1000_WRITE_REG(hw, E1000_RDT(0),
261 E1000_WRITE_REG(hw, E1000_RDH(0), 0);
273 (hw
436 struct e1000_hw *hw; local
917 struct e1000_hw *hw = &Adapter->shared; local
[all...]
/illumos-gate/usr/src/uts/common/io/e1000api/
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);
89 e1000_init_phy_params_80003es2lan(struct e1000_hw *hw) argument
140 e1000_init_nvm_params_80003es2lan(struct e1000_hw *hw) argument
196 e1000_init_mac_params_80003es2lan(struct e1000_hw *hw) argument
280 e1000_init_function_pointers_80003es2lan(struct e1000_hw *hw) argument
295 e1000_acquire_phy_80003es2lan(struct e1000_hw *hw) argument
311 e1000_release_phy_80003es2lan(struct e1000_hw *hw) argument
328 e1000_acquire_mac_csr_80003es2lan(struct e1000_hw *hw) argument
345 e1000_release_mac_csr_80003es2lan(struct e1000_hw *hw) argument
362 e1000_acquire_nvm_80003es2lan(struct e1000_hw *hw) argument
386 e1000_release_nvm_80003es2lan(struct e1000_hw *hw) argument
402 e1000_acquire_swfw_sync_80003es2lan(struct e1000_hw *hw, u16 mask) argument
449 e1000_release_swfw_sync_80003es2lan(struct e1000_hw *hw, u16 mask) argument
473 e1000_read_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, u32 offset, u16 *data) argument
544 e1000_write_phy_reg_gg82563_80003es2lan(struct e1000_hw *hw, u32 offset, u16 data) argument
616 e1000_write_nvm_80003es2lan(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
631 e1000_get_cfg_done_80003es2lan(struct e1000_hw *hw) argument
662 e1000_phy_force_speed_duplex_80003es2lan(struct e1000_hw *hw) argument
757 e1000_get_cable_length_80003es2lan(struct e1000_hw *hw) argument
793 e1000_get_link_up_info_80003es2lan(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument
819 e1000_reset_hw_80003es2lan(struct e1000_hw *hw) argument
884 e1000_init_hw_80003es2lan(struct e1000_hw *hw) argument
994 e1000_initialize_hw_bits_80003es2lan(struct e1000_hw *hw) argument
1041 e1000_copper_link_setup_gg82563_80003es2lan(struct e1000_hw *hw) argument
1189 e1000_setup_copper_link_80003es2lan(struct e1000_hw *hw) argument
1248 e1000_cfg_on_link_up_80003es2lan(struct e1000_hw *hw) argument
1279 e1000_cfg_kmrn_10_100_80003es2lan(struct e1000_hw *hw, u16 duplex) argument
1330 e1000_cfg_kmrn_1000_80003es2lan(struct e1000_hw *hw) argument
1381 e1000_read_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset, u16 *data) argument
1418 e1000_write_kmrn_reg_80003es2lan(struct e1000_hw *hw, u32 offset, u16 data) argument
1446 e1000_read_mac_addr_80003es2lan(struct e1000_hw *hw) argument
1470 e1000_power_down_phy_copper_80003es2lan(struct e1000_hw *hw) argument
1486 e1000_clear_hw_cntrs_80003es2lan(struct e1000_hw *hw) argument
[all...]
H A De1000_82541.c46 static s32 e1000_init_phy_params_82541(struct e1000_hw *hw);
47 static s32 e1000_init_nvm_params_82541(struct e1000_hw *hw);
48 static s32 e1000_init_mac_params_82541(struct e1000_hw *hw);
49 static s32 e1000_reset_hw_82541(struct e1000_hw *hw);
50 static s32 e1000_init_hw_82541(struct e1000_hw *hw);
51 static s32 e1000_get_link_up_info_82541(struct e1000_hw *hw, u16 *speed,
53 static s32 e1000_phy_hw_reset_82541(struct e1000_hw *hw);
54 static s32 e1000_setup_copper_link_82541(struct e1000_hw *hw);
55 static s32 e1000_check_for_link_82541(struct e1000_hw *hw);
56 static s32 e1000_get_cable_length_igp_82541(struct e1000_hw *hw);
85 e1000_init_phy_params_82541(struct e1000_hw *hw) argument
128 e1000_init_nvm_params_82541(struct e1000_hw *hw) argument
219 e1000_init_mac_params_82541(struct e1000_hw *hw) argument
281 e1000_init_function_pointers_82541(struct e1000_hw *hw) argument
296 e1000_reset_hw_82541(struct e1000_hw *hw) argument
374 e1000_init_hw_82541(struct e1000_hw *hw) argument
444 e1000_get_link_up_info_82541(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument
499 e1000_phy_hw_reset_82541(struct e1000_hw *hw) argument
533 e1000_setup_copper_link_82541(struct e1000_hw *hw) argument
584 e1000_check_for_link_82541(struct e1000_hw *hw) argument
668 e1000_config_dsp_after_link_change_82541(struct e1000_hw *hw, bool link_up) argument
872 e1000_get_cable_length_igp_82541(struct e1000_hw *hw) argument
945 e1000_set_d3_lplu_state_82541(struct e1000_hw *hw, bool active) argument
1036 e1000_setup_led_82541(struct e1000_hw *hw) argument
1067 e1000_cleanup_led_82541(struct e1000_hw *hw) argument
1091 e1000_phy_init_script_82541(struct e1000_hw *hw) argument
1204 e1000_init_script_state_82541(struct e1000_hw *hw, bool state) argument
1228 e1000_power_down_phy_copper_82541(struct e1000_hw *hw) argument
1243 e1000_clear_hw_cntrs_82541(struct e1000_hw *hw) argument
1280 e1000_read_mac_addr_82541(struct e1000_hw *hw) argument
[all...]
H A De1000_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_i210.c38 static s32 e1000_acquire_nvm_i210(struct e1000_hw *hw);
39 static void e1000_release_nvm_i210(struct e1000_hw *hw);
40 static s32 e1000_get_hw_semaphore_i210(struct e1000_hw *hw);
41 static s32 e1000_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words,
43 static s32 e1000_pool_flash_update_done_i210(struct e1000_hw *hw);
44 static s32 e1000_valid_led_default_i210(struct e1000_hw *hw, u16 *data);
48 * @hw: pointer to the HW structure
55 static s32 e1000_acquire_nvm_i210(struct e1000_hw *hw) argument
61 ret_val = e1000_acquire_swfw_sync_i210(hw, E1000_SWFW_EEP_SM);
68 * @hw
73 e1000_release_nvm_i210(struct e1000_hw *hw) argument
88 e1000_acquire_swfw_sync_i210(struct e1000_hw *hw, u16 mask) argument
140 e1000_release_swfw_sync_i210(struct e1000_hw *hw, u16 mask) argument
162 e1000_get_hw_semaphore_i210(struct e1000_hw *hw) argument
235 e1000_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
280 e1000_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
321 e1000_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
376 e1000_read_invm_word_i210(struct e1000_hw *hw, u8 address, u16 *data) argument
418 e1000_read_invm_i210(struct e1000_hw *hw, u16 offset, u16 E1000_UNUSEDARG words, u16 *data) argument
498 e1000_validate_nvm_checksum_i210(struct e1000_hw *hw) argument
537 e1000_update_nvm_checksum_i210(struct e1000_hw *hw) argument
596 e1000_get_flash_presence_i210(struct e1000_hw *hw) argument
616 e1000_update_flash_i210(struct e1000_hw *hw) argument
647 e1000_pool_flash_update_done_i210(struct e1000_hw *hw) argument
672 e1000_init_nvm_params_i210(struct e1000_hw *hw) argument
705 e1000_init_function_pointers_i210(struct e1000_hw *hw) argument
721 e1000_valid_led_default_i210(struct e1000_hw *hw, u16 *data) argument
756 __e1000_access_xmdio_reg(struct e1000_hw *hw, u16 address, u8 dev_addr, u16 *data, bool read) argument
798 e1000_read_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr, u16 *data) argument
812 e1000_write_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr, u16 data) argument
826 e1000_pll_workaround_i210(struct e1000_hw *hw) argument
895 e1000_get_cfg_done_i210(struct e1000_hw *hw) argument
920 e1000_init_hw_i210(struct e1000_hw *hw) argument
[all...]
H A De1000_vf.c39 static s32 e1000_init_phy_params_vf(struct e1000_hw *hw);
40 static s32 e1000_init_nvm_params_vf(struct e1000_hw *hw);
41 static void e1000_release_vf(struct e1000_hw *hw);
42 static s32 e1000_acquire_vf(struct e1000_hw *hw);
43 static s32 e1000_setup_link_vf(struct e1000_hw *hw);
44 static s32 e1000_get_bus_info_pcie_vf(struct e1000_hw *hw);
45 static s32 e1000_init_mac_params_vf(struct e1000_hw *hw);
46 static s32 e1000_check_for_link_vf(struct e1000_hw *hw);
47 static s32 e1000_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed,
49 static s32 e1000_init_hw_vf(struct e1000_hw *hw);
61 e1000_init_phy_params_vf(struct e1000_hw *hw) argument
77 e1000_init_nvm_params_vf(struct e1000_hw *hw) argument
91 e1000_init_mac_params_vf(struct e1000_hw *hw) argument
144 e1000_init_function_pointers_vf(struct e1000_hw *hw) argument
162 e1000_acquire_vf(struct e1000_hw E1000_UNUSEDARG *hw) argument
175 e1000_release_vf(struct e1000_hw E1000_UNUSEDARG *hw) argument
186 e1000_setup_link_vf(struct e1000_hw E1000_UNUSEDARG *hw) argument
199 e1000_get_bus_info_pcie_vf(struct e1000_hw *hw) argument
221 e1000_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument
258 e1000_reset_hw_vf(struct e1000_hw *hw) argument
307 e1000_init_hw_vf(struct e1000_hw *hw) argument
323 e1000_rar_set_vf(struct e1000_hw *hw, u8 *addr, u32 E1000_UNUSEDARG index) argument
357 e1000_hash_mc_addr_vf(struct e1000_hw *hw, u8 *mc_addr) argument
380 e1000_write_msg_read_ack(struct e1000_hw *hw, u32 *msg, u16 size) argument
400 e1000_update_mc_addr_list_vf(struct e1000_hw *hw, u8 *mc_addr_list, u32 mc_addr_count) argument
445 e1000_vfta_set_vf(struct e1000_hw *hw, u16 vid, bool set) argument
462 e1000_rlpml_set_vf(struct e1000_hw *hw, u16 max_size) argument
478 e1000_promisc_set_vf(struct e1000_hw *hw, enum e1000_promisc_type type) argument
513 e1000_read_mac_addr_vf(struct e1000_hw *hw) argument
531 e1000_check_for_link_vf(struct e1000_hw *hw) argument
[all...]
H A De1000_mbx.c39 * @hw: pointer to the HW structure
41 static s32 e1000_null_mbx_check_for_flag(struct e1000_hw E1000_UNUSEDARG *hw, argument
51 * @hw: pointer to the HW structure
53 static s32 e1000_null_mbx_transact(struct e1000_hw E1000_UNUSEDARG *hw, argument
65 * @hw: pointer to the HW structure
72 s32 e1000_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
74 struct e1000_mbx_info *mbx = &hw->mbx;
84 ret_val = mbx->ops.read(hw, msg, size, mbx_id);
91 * @hw: pointer to the HW structure
98 s32 e1000_write_mbx(struct e1000_hw *hw, u3 argument
121 e1000_check_for_msg(struct e1000_hw *hw, u16 mbx_id) argument
141 e1000_check_for_ack(struct e1000_hw *hw, u16 mbx_id) argument
161 e1000_check_for_rst(struct e1000_hw *hw, u16 mbx_id) argument
181 e1000_poll_for_msg(struct e1000_hw *hw, u16 mbx_id) argument
212 e1000_poll_for_ack(struct e1000_hw *hw, u16 mbx_id) argument
246 e1000_read_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
275 e1000_write_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
302 e1000_init_mbx_ops_generic(struct e1000_hw *hw) argument
322 e1000_read_v2p_mailbox(struct e1000_hw *hw) argument
340 e1000_check_for_bit_vf(struct e1000_hw *hw, u32 mask) argument
360 e1000_check_for_msg_vf(struct e1000_hw *hw, u16 E1000_UNUSEDARG mbx_id) argument
382 e1000_check_for_ack_vf(struct e1000_hw *hw, u16 E1000_UNUSEDARG mbx_id) argument
404 e1000_check_for_rst_vf(struct e1000_hw *hw, u16 E1000_UNUSEDARG mbx_id) argument
426 e1000_obtain_mbx_lock_vf(struct e1000_hw *hw) argument
457 e1000_write_mbx_vf(struct e1000_hw *hw, u32 *msg, u16 size, u16 E1000_UNUSEDARG mbx_id) argument
498 e1000_read_mbx_vf(struct e1000_hw *hw, u32 *msg, u16 size, u16 E1000_UNUSEDARG mbx_id) argument
531 e1000_init_mbx_params_vf(struct e1000_hw *hw) argument
559 e1000_check_for_bit_pf(struct e1000_hw *hw, u32 mask) argument
579 e1000_check_for_msg_pf(struct e1000_hw *hw, u16 vf_number) argument
600 e1000_check_for_ack_pf(struct e1000_hw *hw, u16 vf_number) argument
621 e1000_check_for_rst_pf(struct e1000_hw *hw, u16 vf_number) argument
644 e1000_obtain_mbx_lock_pf(struct e1000_hw *hw, u16 vf_number) argument
679 e1000_write_mbx_pf(struct e1000_hw *hw, u32 *msg, u16 size, u16 vf_number) argument
722 e1000_read_mbx_pf(struct e1000_hw *hw, u32 *msg, u16 size, u16 vf_number) argument
755 e1000_init_mbx_params_pf(struct e1000_hw *hw) argument
[all...]
H A De1000_nvm.c37 static void e1000_reload_nvm_generic(struct e1000_hw *hw);
41 * @hw: pointer to the HW structure
45 void e1000_init_nvm_ops_generic(struct e1000_hw *hw) argument
47 struct e1000_nvm_info *nvm = &hw->nvm;
64 * @hw: pointer to the HW structure
66 s32 e1000_null_read_nvm(struct e1000_hw E1000_UNUSEDARG *hw, argument
76 * @hw: pointer to the HW structure
78 void e1000_null_nvm_generic(struct e1000_hw E1000_UNUSEDARG *hw) argument
86 * @hw: pointer to the HW structure
88 s32 e1000_null_led_default(struct e1000_hw E1000_UNUSEDARG *hw, argument
99 e1000_null_write_nvm(struct e1000_hw E1000_UNUSEDARG *hw, u16 E1000_UNUSEDARG a, u16 E1000_UNUSEDARG b, u16 E1000_UNUSEDARG *c) argument
114 e1000_raise_eec_clk(struct e1000_hw *hw, u32 *eecd) argument
129 e1000_lower_eec_clk(struct e1000_hw *hw, u32 *eecd) argument
147 e1000_shift_out_eec_bits(struct e1000_hw *hw, u16 data, u16 count) argument
194 e1000_shift_in_eec_bits(struct e1000_hw *hw, u16 count) argument
231 e1000_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg) argument
261 e1000_acquire_nvm_generic(struct e1000_hw *hw) argument
295 e1000_standby_nvm(struct e1000_hw *hw) argument
336 e1000_stop_nvm(struct e1000_hw *hw) argument
362 e1000_release_nvm_generic(struct e1000_hw *hw) argument
381 e1000_ready_nvm_eeprom(struct e1000_hw *hw) argument
440 e1000_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
500 e1000_read_nvm_microwire(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
555 e1000_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
603 e1000_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
683 e1000_write_nvm_microwire(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) argument
767 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num, u32 pba_num_size) argument
882 e1000_read_pba_length_generic(struct e1000_hw *hw, u32 *pba_num_size) argument
946 e1000_read_pba_raw(struct e1000_hw *hw, u16 *eeprom_buf, u32 eeprom_buf_size, u16 max_pba_block_size, struct e1000_pba *pba) argument
1015 e1000_write_pba_raw(struct e1000_hw *hw, u16 *eeprom_buf, u32 eeprom_buf_size, struct e1000_pba *pba) argument
1074 e1000_get_pba_block_size(struct e1000_hw *hw, u16 *eeprom_buf, u32 eeprom_buf_size, u16 *pba_block_size) argument
1130 e1000_read_mac_addr_generic(struct e1000_hw *hw) argument
1158 e1000_validate_nvm_checksum_generic(struct e1000_hw *hw) argument
1191 e1000_update_nvm_checksum_generic(struct e1000_hw *hw) argument
1222 e1000_reload_nvm_generic(struct e1000_hw *hw) argument
[all...]
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_adminq.c53 * @hw: pointer to the hardware structure
57 static void i40e_adminq_init_regs(struct i40e_hw *hw) argument
60 if (i40e_is_vf(hw)) {
61 hw->aq.asq.tail = I40E_VF_ATQT1;
62 hw->aq.asq.head = I40E_VF_ATQH1;
63 hw->aq.asq.len = I40E_VF_ATQLEN1;
64 hw->aq.asq.bal = I40E_VF_ATQBAL1;
65 hw->aq.asq.bah = I40E_VF_ATQBAH1;
66 hw->aq.arq.tail = I40E_VF_ARQT1;
67 hw
89 i40e_alloc_adminq_asq_ring(struct i40e_hw *hw) argument
116 i40e_alloc_adminq_arq_ring(struct i40e_hw *hw) argument
136 i40e_free_adminq_asq(struct i40e_hw *hw) argument
148 i40e_free_adminq_arq(struct i40e_hw *hw) argument
157 i40e_alloc_arq_bufs(struct i40e_hw *hw) argument
224 i40e_alloc_asq_bufs(struct i40e_hw *hw) argument
264 i40e_free_arq_bufs(struct i40e_hw *hw) argument
283 i40e_free_asq_bufs(struct i40e_hw *hw) argument
308 i40e_config_asq_regs(struct i40e_hw *hw) argument
341 i40e_config_arq_regs(struct i40e_hw *hw) argument
384 i40e_init_asq(struct i40e_hw *hw) argument
443 i40e_init_arq(struct i40e_hw *hw) argument
495 i40e_shutdown_asq(struct i40e_hw *hw) argument
528 i40e_shutdown_arq(struct i40e_hw *hw) argument
566 i40e_init_adminq(struct i40e_hw *hw) argument
673 i40e_shutdown_adminq(struct i40e_hw *hw) argument
699 i40e_clean_asq(struct i40e_hw *hw) argument
742 i40e_asq_done(struct i40e_hw *hw) argument
762 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
982 i40e_clean_arq_element(struct i40e_hw *hw, struct i40e_arq_event_info *e, u16 *pending) argument
1089 i40e_resume_aq(struct i40e_hw *hw) argument
[all...]
H A Di40e_nvm.c37 enum i40e_status_code i40e_read_nvm_word_srctl(struct i40e_hw *hw, u16 offset,
39 enum i40e_status_code i40e_read_nvm_word_aq(struct i40e_hw *hw, u16 offset,
41 enum i40e_status_code i40e_read_nvm_buffer_srctl(struct i40e_hw *hw, u16 offset,
43 enum i40e_status_code i40e_read_nvm_buffer_aq(struct i40e_hw *hw, u16 offset,
45 enum i40e_status_code i40e_read_nvm_aq(struct i40e_hw *hw, u8 module_pointer,
51 * @hw: pointer to the HW structure
59 enum i40e_status_code i40e_init_nvm(struct i40e_hw *hw) argument
61 struct i40e_nvm_info *nvm = &hw->nvm;
71 gens = rd32(hw, I40E_GLNVM_GENS);
78 fla = rd32(hw, I40E_GLNVM_FL
100 i40e_acquire_nvm(struct i40e_hw *hw, enum i40e_aq_resource_access_type access) argument
159 i40e_release_nvm(struct i40e_hw *hw) argument
189 i40e_poll_sr_srctl_done_bit(struct i40e_hw *hw) argument
218 i40e_read_nvm_word(struct i40e_hw *hw, u16 offset, u16 *data) argument
236 i40e_read_nvm_word_srctl(struct i40e_hw *hw, u16 offset, u16 *data) argument
286 i40e_read_nvm_word_aq(struct i40e_hw *hw, u16 offset, u16 *data) argument
310 i40e_read_nvm_buffer(struct i40e_hw *hw, u16 offset, u16 *words, u16 *data) argument
331 i40e_read_nvm_buffer_srctl(struct i40e_hw *hw, u16 offset, u16 *words, u16 *data) argument
364 i40e_read_nvm_buffer_aq(struct i40e_hw *hw, u16 offset, u16 *words, u16 *data) argument
423 i40e_read_nvm_aq(struct i40e_hw *hw, u8 module_pointer, u32 offset, u16 words, void *data, bool last_command) argument
475 i40e_write_nvm_aq(struct i40e_hw *hw, u8 module_pointer, u32 offset, u16 words, void *data, bool last_command) argument
521 i40e_write_nvm_word(struct i40e_hw *hw, u32 offset, void *data) argument
545 i40e_write_nvm_buffer(struct i40e_hw *hw, u8 module_pointer, u32 offset, u16 words, void *data) argument
575 i40e_calc_nvm_checksum(struct i40e_hw *hw, u16 *checksum) argument
657 i40e_update_nvm_checksum(struct i40e_hw *hw) argument
682 i40e_validate_nvm_checksum(struct i40e_hw *hw, u16 *checksum) argument
[all...]
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_intr.c187 i40e_hw_t *hw = &i40e->i40e_hw_space; local
198 I40E_WRITE_REG(hw, I40E_PFINT_ITR0(itr), val);
203 I40E_WRITE_REG(hw, I40E_PFINT_ITRN(itr, i - 1), val);
216 i40e_hw_t *hw = &i40e->i40e_hw_space; local
222 I40E_WRITE_REG(hw, I40E_PFINT_DYN_CTL0, reg);
223 i40e_flush(hw);
229 i40e_hw_t *hw = &i40e->i40e_hw_space; local
233 I40E_WRITE_REG(hw, I40E_PFINT_DYN_CTL0, reg);
240 i40e_hw_t *hw = &i40e->i40e_hw_space; local
245 I40E_WRITE_REG(hw, I40E_PFINT_DYN_CTL
252 i40e_hw_t *hw = &i40e->i40e_hw_space; local
274 i40e_hw_t *hw = &i40e->i40e_hw_space; local
302 i40e_hw_t *hw = &i40e->i40e_hw_space; local
325 i40e_hw_t *hw = &i40e->i40e_hw_space; local
361 i40e_hw_t *hw = &i40e->i40e_hw_space; local
389 i40e_hw_t *hw = &i40e->i40e_hw_space; local
429 i40e_hw_t *hw = &i40e->i40e_hw_space; local
465 i40e_hw_t *hw = &i40e->i40e_hw_space; local
485 i40e_hw_t *hw = &i40e->i40e_hw_space; local
505 i40e_hw_t *hw = &i40e->i40e_hw_space; local
563 struct i40e_hw *hw = &i40e->i40e_hw_space; local
637 struct i40e_hw *hw = &i40e->i40e_hw_space; local
699 i40e_hw_t *hw = &i40e->i40e_hw_space; local
[all...]
H A Di40e_stats.c113 i40e_hw_t *hw = &i40e->i40e_hw_space; local
119 (uint64_t *)((uintptr_t)hw->hw_addr + reg));
144 i40e_hw_t *hw = &i40e->i40e_hw_space; local
150 (uint32_t *)((uintptr_t)hw->hw_addr + reg));
701 i40e_hw_t *hw = &i40e->i40e_hw_space; local
888 switch (hw->phy.media_type) {
913 switch (hw->phy.link_info.phy_type) {
1046 *val = (hw->phy.link_info.an_info & I40E_AQ_LP_AN_ABILITY) != 0;
1081 *val = (hw->phy.link_info.an_info & I40E_AQ_LINK_PAUSE_RX) != 0;
1085 *val = (hw
[all...]
H A Di40e_gld.c43 struct i40e_hw *hw = &i40e->i40e_hw_space; local
76 if (i40e_aq_remove_macvlan(hw, iua->iua_vsi, &filt, 1, NULL) !=
110 struct i40e_hw *hw = &i40e->i40e_hw_space; local
147 if ((ret = i40e_aq_add_macvlan(hw, i40e->i40e_vsi_id, &filt, 1,
219 struct i40e_hw *hw = &i40e->i40e_hw_space; local
229 ret = i40e_aq_set_vsi_unicast_promiscuous(hw, i40e->i40e_vsi_id,
248 ret = i40e_aq_set_vsi_multicast_promiscuous(hw, i40e->i40e_vsi_id,
259 ret = i40e_aq_set_vsi_unicast_promiscuous(hw, i40e->i40e_vsi_id,
284 struct i40e_hw *hw = &i40e->i40e_hw_space; local
295 ret = i40e_aq_set_vsi_multicast_promiscuous(hw,
337 struct i40e_hw *hw = &i40e->i40e_hw_space; local
1073 struct i40e_hw *hw = &i40e->i40e_hw_space; local
[all...]
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_dcb.c65 /* Find out the hw credits for each TC */
88 s32 ixgbe_dcb_calculate_tc_credits_cee(struct ixgbe_hw *hw, argument
178 && (hw->mac.type == ixgbe_mac_82598EB))
386 * @hw: pointer to hardware structure
392 s32 ixgbe_dcb_get_tc_stats(struct ixgbe_hw *hw, struct ixgbe_hw_stats *stats, argument
396 switch (hw->mac.type) {
398 ret = ixgbe_dcb_get_tc_stats_82598(hw, stats, tc_count);
405 ret = ixgbe_dcb_get_tc_stats_82599(hw, stats, tc_count);
416 * @hw: pointer to hardware structure
422 s32 ixgbe_dcb_get_pfc_stats(struct ixgbe_hw *hw, struc argument
451 ixgbe_dcb_config_rx_arbiter_cee(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
493 ixgbe_dcb_config_tx_desc_arbiter_cee(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
534 ixgbe_dcb_config_tx_data_arbiter_cee(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
578 ixgbe_dcb_config_pfc_cee(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
613 ixgbe_dcb_config_tc_stats(struct ixgbe_hw *hw) argument
641 ixgbe_dcb_hw_config_cee(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config) argument
693 ixgbe_dcb_config_pfc(struct ixgbe_hw *hw, u8 pfc_en, u8 *map) argument
715 ixgbe_dcb_hw_config(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *tsa, u8 *map) argument
[all...]
H A Dixgbe_mbx.c40 * @hw: pointer to the HW structure
47 s32 ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
49 struct ixgbe_mbx_info *mbx = &hw->mbx;
59 ret_val = mbx->ops.read(hw, msg, size, mbx_id);
66 * @hw: pointer to the HW structure
73 s32 ixgbe_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
75 struct ixgbe_mbx_info *mbx = &hw->mbx;
85 ret_val = mbx->ops.write(hw, msg, size, mbx_id);
92 * @hw: pointer to the HW structure
97 s32 ixgbe_check_for_msg(struct ixgbe_hw *hw, u1 argument
117 ixgbe_check_for_ack(struct ixgbe_hw *hw, u16 mbx_id) argument
137 ixgbe_check_for_rst(struct ixgbe_hw *hw, u16 mbx_id) argument
157 ixgbe_poll_for_msg(struct ixgbe_hw *hw, u16 mbx_id) argument
189 ixgbe_poll_for_ack(struct ixgbe_hw *hw, u16 mbx_id) argument
224 ixgbe_read_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
253 ixgbe_write_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
281 ixgbe_init_mbx_ops_generic(struct ixgbe_hw *hw) argument
296 ixgbe_read_v2p_mailbox(struct ixgbe_hw *hw) argument
314 ixgbe_check_for_bit_vf(struct ixgbe_hw *hw, u32 mask) argument
334 ixgbe_check_for_msg_vf(struct ixgbe_hw *hw, u16 mbx_id) argument
356 ixgbe_check_for_ack_vf(struct ixgbe_hw *hw, u16 mbx_id) argument
378 ixgbe_check_for_rst_vf(struct ixgbe_hw *hw, u16 mbx_id) argument
400 ixgbe_obtain_mbx_lock_vf(struct ixgbe_hw *hw) argument
425 ixgbe_write_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
467 ixgbe_read_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
501 ixgbe_init_mbx_params_vf(struct ixgbe_hw *hw) argument
527 ixgbe_check_for_bit_pf(struct ixgbe_hw *hw, u32 mask, s32 index) argument
547 ixgbe_check_for_msg_pf(struct ixgbe_hw *hw, u16 vf_number) argument
571 ixgbe_check_for_ack_pf(struct ixgbe_hw *hw, u16 vf_number) argument
595 ixgbe_check_for_rst_pf(struct ixgbe_hw *hw, u16 vf_number) argument
633 ixgbe_obtain_mbx_lock_pf(struct ixgbe_hw *hw, u16 vf_number) argument
664 ixgbe_write_mbx_pf(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 vf_number) argument
707 ixgbe_read_mbx_pf(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 vf_number) argument
740 ixgbe_init_mbx_params_pf(struct ixgbe_hw *hw) argument
[all...]
H A Dixgbe_vf.c49 * @hw: pointer to hardware structure
56 s32 ixgbe_init_ops_vf(struct ixgbe_hw *hw) argument
59 hw->mac.ops.init_hw = ixgbe_init_hw_vf;
60 hw->mac.ops.reset_hw = ixgbe_reset_hw_vf;
61 hw->mac.ops.start_hw = ixgbe_start_hw_vf;
63 hw->mac.ops.clear_hw_cntrs = NULL;
64 hw->mac.ops.get_media_type = NULL;
65 hw->mac.ops.get_mac_addr = ixgbe_get_mac_addr_vf;
66 hw->mac.ops.stop_adapter = ixgbe_stop_adapter_vf;
67 hw
95 ixgbe_virt_clr_reg(struct ixgbe_hw *hw) argument
144 ixgbe_start_hw_vf(struct ixgbe_hw *hw) argument
159 ixgbe_init_hw_vf(struct ixgbe_hw *hw) argument
175 ixgbe_reset_hw_vf(struct ixgbe_hw *hw) argument
247 ixgbe_stop_adapter_vf(struct ixgbe_hw *hw) argument
296 ixgbe_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr) argument
324 ixgbevf_write_msg_read_ack(struct ixgbe_hw *hw, u32 *msg, u16 size) argument
343 ixgbe_set_rar_vf(struct ixgbe_hw *hw, u32 index, u8 *addr, u32 vmdq, u32 enable_addr) argument
379 ixgbe_update_mc_addr_list_vf(struct ixgbe_hw *hw, u8 *mc_addr_list, u32 mc_addr_count, ixgbe_mc_addr_itr next, bool clear) argument
425 ixgbe_set_vfta_vf(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on) argument
453 ixgbe_get_num_of_tx_queues_vf(struct ixgbe_hw *hw) argument
465 ixgbe_get_num_of_rx_queues_vf(struct ixgbe_hw *hw) argument
475 ixgbe_get_mac_addr_vf(struct ixgbe_hw *hw, u8 *mac_addr) argument
485 ixgbevf_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr) argument
526 ixgbe_setup_mac_link_vf(struct ixgbe_hw *hw, ixgbe_link_speed speed, bool autoneg_wait_to_complete) argument
542 ixgbe_check_mac_link_vf(struct ixgbe_hw *hw, ixgbe_link_speed *speed, bool *link_up, bool autoneg_wait_to_complete) argument
625 ixgbevf_rlpml_set_vf(struct ixgbe_hw *hw, u16 max_size) argument
639 ixgbevf_negotiate_api_version(struct ixgbe_hw *hw, int api) argument
668 ixgbevf_get_queues(struct ixgbe_hw *hw, unsigned int *num_tcs, unsigned int *default_tc) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_gld.c103 struct ixgbe_hw *hw = &ixgbe->hw; local
111 reg_val = IXGBE_READ_REG(hw, IXGBE_FCTRL);
118 IXGBE_WRITE_REG(&ixgbe->hw, IXGBE_FCTRL, reg_val);
294 struct ixgbe_hw *hw = &ixgbe->hw; local
310 * hw->phy.speeds_supported, therefore we fall back to use the recorded
314 speeds = hw->phy.speeds_supported;
334 if (hw->phy.media_type == ixgbe_media_type_copper &&
343 if (hw
478 struct ixgbe_hw *hw = &ixgbe->hw; local
603 struct ixgbe_hw *hw = &ixgbe->hw; local
782 struct ixgbe_hw *hw = &ixgbe->hw; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/libfirewire/
H A Dfirewire.c60 struct crom_chunk hw; member in struct:crom_src_buf
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_gld.c39 struct e1000_hw *hw = &igb->hw; local
58 igb->stat_mprc += E1000_READ_REG(hw, E1000_MPRC);
63 igb->stat_bprc += E1000_READ_REG(hw, E1000_BPRC);
68 igb->stat_mptc += E1000_READ_REG(hw, E1000_MPTC);
73 igb->stat_bptc += E1000_READ_REG(hw, E1000_BPTC);
78 igb->stat_rnbc += E1000_READ_REG(hw, E1000_RNBC);
83 igb->stat_rxerrc += E1000_READ_REG(hw, E1000_RXERRC);
84 igb->stat_algnerrc += E1000_READ_REG(hw, E1000_ALGNERRC);
86 E1000_READ_REG(hw, E1000_RLE
612 struct e1000_hw *hw = &igb->hw; local
676 struct e1000_hw *hw = &igb->hw; local
715 struct e1000_hw *hw = &igb->hw; local
743 struct e1000_hw *hw = &igb->hw; local
965 struct e1000_hw *hw = &igb->hw; local
1139 struct e1000_hw *hw = &igb->hw; local
1233 struct e1000_hw *hw = &igb->hw; local
1359 struct e1000_hw *hw = &igb->hw; local
[all...]
H A Digb_tx.c859 struct e1000_hw *hw = &tx_ring->igb->hw; local
981 if (hw->mac.type >= e1000_82576) {
1033 E1000_WRITE_REG(hw, E1000_TDT(tx_ring->index), index);

Completed in 130 milliseconds

1234