Home
last modified time | relevance | path

Searched +full:hw +full:- +full:flow +full:- +full:ctrl (Results 1 – 25 of 48) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_mac.c3 Copyright (c) 2001-2015, Intel Corporation
37 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);
40 static int e1000_rar_set_generic(struct e1000_hw *hw, u8 *addr, u32 index);
43 * e1000_init_mac_ops_generic - Initialize MAC function pointers
44 * @hw: pointer to the HW structure
46 * Setups up the function pointers to no-op functions
48 void e1000_init_mac_ops_generic(struct e1000_hw *hw) in e1000_init_mac_ops_generic() argument
50 struct e1000_mac_info *mac = &hw->mac; in e1000_init_mac_ops_generic()
[all …]
H A De1000_82543.c3 Copyright (c) 2001-2015, Intel Corporation
46 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);
[all …]
H A De1000_82542.c3 Copyright (c) 2001-2015, Intel Corporation
41 static s32 e1000_init_phy_params_82542(struct e1000_hw *hw);
42 static s32 e1000_init_nvm_params_82542(struct e1000_hw *hw);
43 static s32 e1000_init_mac_params_82542(struct e1000_hw *hw);
44 static s32 e1000_get_bus_info_82542(struct e1000_hw *hw);
45 static s32 e1000_reset_hw_82542(struct e1000_hw *hw);
46 static s32 e1000_init_hw_82542(struct e1000_hw *hw);
47 static s32 e1000_setup_link_82542(struct e1000_hw *hw);
48 static s32 e1000_led_on_82542(struct e1000_hw *hw);
49 static s32 e1000_led_off_82542(struct e1000_hw *hw);
[all …]
H A De1000_82571.c3 Copyright (c) 2001-2015, Intel Corporation
53 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);
[all …]
H A De1000_82540.c3 Copyright (c) 2001-2015, Intel Corporation
48 static s32 e1000_init_phy_params_82540(struct e1000_hw *hw);
49 static s32 e1000_init_nvm_params_82540(struct e1000_hw *hw);
50 static s32 e1000_init_mac_params_82540(struct e1000_hw *hw);
51 static s32 e1000_adjust_serdes_amplitude_82540(struct e1000_hw *hw);
52 static void e1000_clear_hw_cntrs_82540(struct e1000_hw *hw);
53 static s32 e1000_init_hw_82540(struct e1000_hw *hw);
54 static s32 e1000_reset_hw_82540(struct e1000_hw *hw);
55 static s32 e1000_set_phy_mode_82540(struct e1000_hw *hw);
56 static s32 e1000_set_vco_speed_82540(struct e1000_hw *hw);
[all …]
H A De1000_82541.c3 Copyright (c) 2001-2015, Intel Corporation
46 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);
[all …]
H A De1000_phy.c3 Copyright (c) 2001-2015, Intel Corporation
37 static s32 e1000_wait_autoneg(struct e1000_hw *hw);
38 static s32 e1000_access_phy_wakeup_reg_bm(struct e1000_hw *hw, u32 offset,
41 static s32 e1000_access_phy_debug_regs_hv(struct e1000_hw *hw, u32 offset,
65 * e1000_init_phy_ops_generic - Initialize PHY function pointers
66 * @hw: pointer to the HW structure
68 * Setups up the function pointers to no-op functions
70 void e1000_init_phy_ops_generic(struct e1000_hw *hw) in e1000_init_phy_ops_generic() argument
72 struct e1000_phy_info *phy = &hw->phy; in e1000_init_phy_ops_generic()
76 phy->ops.init_params = e1000_null_ops_generic; in e1000_init_phy_ops_generic()
[all …]
H A De1000_82575.c3 Copyright (c) 2001-2015, Intel Corporation
48 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_phy_82575(struct e1000_hw *hw);
51 static void e1000_release_phy_82575(struct e1000_hw *hw);
52 static s32 e1000_acquire_nvm_82575(struct e1000_hw *hw);
53 static void e1000_release_nvm_82575(struct e1000_hw *hw);
54 static s32 e1000_check_for_link_82575(struct e1000_hw *hw);
55 static s32 e1000_check_for_link_media_swap(struct e1000_hw *hw);
56 static s32 e1000_get_cfg_done_82575(struct e1000_hw *hw);
[all …]
H A De1000_ich8lan.c3 Copyright (c) 2001-2015, Intel Corporation
36 * 82562G-2 10/100 Network Connection
38 * 82562GT-2 10/100 Network Connection
40 * 82562V-2 10/100 Network Connection
41 * 82566DC-2 Gigabit Network Connection
43 * 82566DM-2 Gigabit Network Connection
50 * 82567LM-2 Gigabit Network Connection
51 * 82567LF-2 Gigabit Network Connection
52 * 82567V-2 Gigabit Network Connection
53 * 82567LF-3 Gigabit Network Connection
[all …]
H A De1000_80003es2lan.c3 Copyright (c) 2001-2015, Intel Corporation
41 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);
[all …]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A De1000.c2 Etherboot - BOOTP/TFTP Bootstrap Program
4 Drivers are port from Intel's Linux driver e1000-4.3.15
10 Copyright(c) 1999 - 2003 Intel Corporation. All rights reserved.
24 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
31 Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
71 * Some member variables of the hw struct have been eliminated
88 static struct e1000_hw hw; variable
100 static int e1000_setup_link(struct e1000_hw *hw);
101 static int e1000_setup_fiber_serdes_link(struct e1000_hw *hw);
102 static int e1000_setup_copper_link(struct e1000_hw *hw);
[all …]
/illumos-gate/usr/src/uts/common/io/igc/core/
H A Digc_mac.c1 /*-
4 * SPDX-License-Identifier: BSD-3-Clause
9 static void igc_config_collision_dist_generic(struct igc_hw *hw);
12 * igc_init_mac_ops_generic - Initialize MAC function pointers
13 * @hw: pointer to the HW structure
15 * Setups up the function pointers to no-op functions
17 void igc_init_mac_ops_generic(struct igc_hw *hw) in igc_init_mac_ops_generic() argument
19 struct igc_mac_info *mac = &hw->mac; in igc_init_mac_ops_generic()
23 mac->ops.init_params = igc_null_ops_generic; in igc_init_mac_ops_generic()
24 mac->ops.config_collision_dist = igc_config_collision_dist_generic; in igc_init_mac_ops_generic()
[all …]
H A Digc_phy.c1 /*-
4 * SPDX-License-Identifier: BSD-3-Clause
9 static s32 igc_wait_autoneg(struct igc_hw *hw);
12 * igc_init_phy_ops_generic - Initialize PHY function pointers
13 * @hw: pointer to the HW structure
15 * Setups up the function pointers to no-op functions
17 void igc_init_phy_ops_generic(struct igc_hw *hw) in igc_init_phy_ops_generic() argument
19 struct igc_phy_info *phy = &hw->phy; in igc_init_phy_ops_generic()
23 phy->ops.init_params = igc_null_ops_generic; in igc_init_phy_ops_generic()
24 phy->ops.acquire = igc_null_ops_generic; in igc_init_phy_ops_generic()
[all …]
H A Digc_i225.c1 /*-
4 * SPDX-License-Identifier: BSD-3-Clause
9 static s32 igc_init_nvm_params_i225(struct igc_hw *hw);
10 static s32 igc_init_mac_params_i225(struct igc_hw *hw);
11 static s32 igc_init_phy_params_i225(struct igc_hw *hw);
12 static s32 igc_reset_hw_i225(struct igc_hw *hw);
13 static s32 igc_acquire_nvm_i225(struct igc_hw *hw);
14 static void igc_release_nvm_i225(struct igc_hw *hw);
15 static s32 igc_get_hw_semaphore_i225(struct igc_hw *hw);
16 static s32 __igc_write_nvm_srwr(struct igc_hw *hw, u16 offset, u16 words,
[all …]
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_82598.c2 SPDX-License-Identifier: BSD-3-Clause
4 Copyright (c) 2001-2017, Intel Corporation
49 static s32 ixgbe_get_link_capabilities_82598(struct ixgbe_hw *hw,
52 static enum ixgbe_media_type ixgbe_get_media_type_82598(struct ixgbe_hw *hw);
53 static s32 ixgbe_start_mac_link_82598(struct ixgbe_hw *hw,
55 static s32 ixgbe_check_mac_link_82598(struct ixgbe_hw *hw,
58 static s32 ixgbe_setup_mac_link_82598(struct ixgbe_hw *hw,
61 static s32 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw,
64 static s32 ixgbe_reset_hw_82598(struct ixgbe_hw *hw);
65 static s32 ixgbe_clear_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq);
[all …]
H A Dixgbe_x550.c3 Copyright (c) 2001-2017, Intel Corporation
42 static s32 ixgbe_setup_ixfi_x550em(struct ixgbe_hw *hw, ixgbe_link_speed *speed);
45 static s32 ixgbe_read_mng_if_sel_x550em(struct ixgbe_hw *hw);
48 * ixgbe_init_ops_X550 - Inits func ptrs and MAC type
49 * @hw: pointer to hardware structure
54 s32 ixgbe_init_ops_X550(struct ixgbe_hw *hw) in ixgbe_init_ops_X550() argument
56 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_ops_X550()
57 struct ixgbe_eeprom_info *eeprom = &hw->eeprom; in ixgbe_init_ops_X550()
62 ret_val = ixgbe_init_ops_X540(hw); in ixgbe_init_ops_X550()
63 mac->ops.dmac_config = ixgbe_dmac_config_X550; in ixgbe_init_ops_X550()
[all …]
H A Dixgbe_82599.c2 SPDX-License-Identifier: BSD-3-Clause
4 Copyright (c) 2001-2017, Intel Corporation
49 static s32 ixgbe_setup_copper_link_82599(struct ixgbe_hw *hw,
52 static s32 ixgbe_verify_fw_version_82599(struct ixgbe_hw *hw);
53 static s32 ixgbe_read_eeprom_82599(struct ixgbe_hw *hw,
55 static s32 ixgbe_read_eeprom_buffer_82599(struct ixgbe_hw *hw, u16 offset,
57 static s32 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset,
59 static s32 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset,
62 void ixgbe_init_mac_link_ops_82599(struct ixgbe_hw *hw) in ixgbe_init_mac_link_ops_82599() argument
64 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_mac_link_ops_82599()
[all …]
H A Dixgbe_common.c2 SPDX-License-Identifier: BSD-3-Clause
4 Copyright (c) 2001-2017, Intel Corporation
42 static s32 ixgbe_acquire_eeprom(struct ixgbe_hw *hw);
43 static s32 ixgbe_get_eeprom_semaphore(struct ixgbe_hw *hw);
44 static void ixgbe_release_eeprom_semaphore(struct ixgbe_hw *hw);
45 static s32 ixgbe_ready_eeprom(struct ixgbe_hw *hw);
46 static void ixgbe_standby_eeprom(struct ixgbe_hw *hw);
47 static void ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data,
49 static u16 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count);
50 static void ixgbe_raise_eeprom_clk(struct ixgbe_hw *hw, u32 *eec);
[all …]
H A Dixgbe_api.c2 SPDX-License-Identifier: BSD-3-Clause
4 Copyright (c) 2001-2017, Intel Corporation
62 * ixgbe_dcb_get_rtrup2tc - read rtrup2tc reg
63 * @hw: pointer to hardware structure
66 * Read the rtrup2tc HW register and resolve its content into map
68 void ixgbe_dcb_get_rtrup2tc(struct ixgbe_hw *hw, u8 *map) in ixgbe_dcb_get_rtrup2tc() argument
70 if (hw->mac.ops.get_rtrup2tc) in ixgbe_dcb_get_rtrup2tc()
71 hw->mac.ops.get_rtrup2tc(hw, map); in ixgbe_dcb_get_rtrup2tc()
75 * ixgbe_init_shared_code - Initialize the shared code
76 * @hw: pointer to hardware structure
[all …]
H A Dixgbe_type.h2 SPDX-License-Identifier: BSD-3-Clause
4 Copyright (c) 2001-2017, Intel Corporation
43 * - IXGBE_ERROR_INVALID_STATE
49 * - IXGBE_ERROR_POLLING
54 * - IXGBE_ERROR_CAUTION
59 * - IXGBE_ERROR_SOFTWARE
65 * - IXGBE_ERROR_ARGUMENT
70 * - IXGBE_ERROR_UNSUPPORTED
74 * (Ex: Flow control autonegotiation or an unsupported SFP+ module.)
162 #define IXGBE_BY_MAC(_hw, r) ((_hw)->mvals[IXGBE_CAT(r, _IDX)])
[all …]
/illumos-gate/usr/src/uts/intel/io/amd8111s/
H A Damd8111s_main.h10 * Copyright (c) 2001-2006 Advanced Micro Devices, Inc. All rights reserved.
40 * Import/Export/Re-Export/Use/Release/Transfer Restrictions and
43 * transfer, importation, exportation and/or re-exportation under
96 /* ((2 ^ (32 - 1)) * 8) / (10 ^ 8) >= 100 */
120 IOC_INVAL = -1, /* bad, NAK with EINVAL */
160 uint64_t tx_mib_flowctrl_packets; /* # of flow ctrl packets */
215 uint64_t rx_mib_macctrl_packets; /* # of mac ctrl packets */
216 uint64_t rx_mib_flowctrl_packets; /* # of flow ctrl packets */
294 * HW operators and parameters on attach period
296 ddi_iblock_cookie_t iblock; /* HW: interrupt block cookie */
[all …]
/illumos-gate/usr/src/uts/common/io/yge/
H A Dyge.h12 * are provided to you under the BSD-type license terms provided
17 * - Redistributions of source code must retain the above copyright
19 * - Redistributions in binary form must reproduce the above
23 * - Neither the name of Marvell nor the names of its contributors
57 * D-Link PCI vendor ID
91 * D-Link gigabit ethernet device ID
129 #define PEX_ADV_ERR_CAP_C 0x118 /* 32 bit PEX Adv. Error Cap./Ctrl */
133 #define PCI_Y2_PIG_ENA BIT(31) /* Enable Plug-in-Go (YUKON-2) */
134 #define PCI_Y2_DLL_DIS BIT(30) /* Disable PCI DLL (YUKON-2) */
135 #define PCI_Y2_PHY2_COMA BIT(29) /* Set PHY 2 to Coma Mode (YUKON-2) */
[all …]
/illumos-gate/usr/src/cmd/tip/
H A Dtip.c13 * tip - UNIX link to other systems
14 * tip [-v] [-speed] system-name
16 * cu phone-number [-s speed] [-l line] [-a acu]
34 2000000, 2500000, 3000000, 3500000, 4000000, -1
71 "usage: tip [-v] [-speed] [system-name]\n"); in main()
79 for (; argc > 1; argv++, argc--) { in main()
80 if (argv[1][0] != '-') in main()
112 if (strlen(system) > sizeof (PNbuf) - 1) { in main()
115 sizeof (PNbuf) - 1); in main()
118 (void) strncpy(PNbuf, system, sizeof (PNbuf) - 1); in main()
[all …]
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_main.c9 * Copyright(c) 1999 - 2009 Intel Corporation. All rights reserved.
303 * The 82546 chipset is a dual-port device, both the ports share one eeprom.
318 * _init - module initialization
339 * _fini - module finalization
360 e1000g_private_devi_list->next; in _fini()
362 kmem_free(devi_node->priv_dip, in _fini()
379 * _info - module information
388 * e1000g_attach - driver attach
390 * This function is the device-specific initialization entry
406 struct e1000_hw *hw; in e1000g_attach() local
[all …]
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_main.c23 * Copyright (c) 2007-2012 Intel Corporation. All rights reserved.
36 static char igb_version[] = "igb 2.3.8-ish";
424 * igb_attach - driver attach
443 struct e1000_hw *hw; in igb_attach() local
466 igb->dip = devinfo; in igb_attach()
467 igb->instance = instance; in igb_attach()
469 hw = &igb->hw; in igb_attach()
470 osdep = &igb->osdep; in igb_attach()
471 hw->back = osdep; in igb_attach()
472 osdep->igb = igb; in igb_attach()
[all …]

12