HomeSort by: relevance | last modified time | path
    Searched refs:hw (Results 1 - 25 of 328) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/dev/pci/ixgbe/
ixgbe_api.c 68 * @hw: pointer to hardware structure
71 * Read the rtrup2tc HW register and resolve its content into map
73 void ixgbe_dcb_get_rtrup2tc(struct ixgbe_hw *hw, u8 *map)
75 if (hw->mac.ops.get_rtrup2tc)
76 hw->mac.ops.get_rtrup2tc(hw, map);
81 * @hw: pointer to hardware structure
87 * hw structure should be filled in prior to calling this function:
91 s32 ixgbe_init_shared_code(struct ixgbe_hw *hw)
100 ixgbe_set_mac_type(hw);
    [all...]
ixgbe_82598.h 41 u32 ixgbe_get_pcie_msix_count_82598(struct ixgbe_hw *hw);
42 s32 ixgbe_fc_enable_82598(struct ixgbe_hw *hw);
43 s32 ixgbe_start_hw_82598(struct ixgbe_hw *hw);
44 void ixgbe_enable_relaxed_ordering_82598(struct ixgbe_hw *hw);
45 s32 ixgbe_set_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq);
46 s32 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, bool vlan_on,
48 s32 ixgbe_read_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 *val);
49 s32 ixgbe_write_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 val);
50 s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset,
52 u64 ixgbe_get_supported_physical_layer_82598(struct ixgbe_hw *hw);
    [all...]
ixgbe_82599.h 41 s32 ixgbe_get_link_capabilities_82599(struct ixgbe_hw *hw,
43 enum ixgbe_media_type ixgbe_get_media_type_82599(struct ixgbe_hw *hw);
44 void ixgbe_disable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw);
45 void ixgbe_enable_tx_laser_multispeed_fiber(struct ixgbe_hw *hw);
46 void ixgbe_flap_tx_laser_multispeed_fiber(struct ixgbe_hw *hw);
47 void ixgbe_set_hard_rate_select_speed(struct ixgbe_hw *hw,
49 s32 ixgbe_setup_mac_link_smartspeed(struct ixgbe_hw *hw,
52 s32 ixgbe_start_mac_link_82599(struct ixgbe_hw *hw,
54 s32 ixgbe_setup_mac_link_82599(struct ixgbe_hw *hw, ixgbe_link_speed speed,
56 s32 ixgbe_setup_sfp_modules_82599(struct ixgbe_hw *hw);
    [all...]
ixgbe_x540.h 42 s32 ixgbe_get_link_capabilities_X540(struct ixgbe_hw *hw,
44 enum ixgbe_media_type ixgbe_get_media_type_X540(struct ixgbe_hw *hw);
45 s32 ixgbe_setup_mac_link_X540(struct ixgbe_hw *hw, ixgbe_link_speed speed,
47 s32 ixgbe_reset_hw_X540(struct ixgbe_hw *hw);
48 s32 ixgbe_start_hw_X540(struct ixgbe_hw *hw);
49 u64 ixgbe_get_supported_physical_layer_X540(struct ixgbe_hw *hw);
51 s32 ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw);
52 s32 ixgbe_read_eerd_X540(struct ixgbe_hw *hw, u16 offset, u16 *data);
53 s32 ixgbe_read_eerd_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words,
55 s32 ixgbe_write_eewr_X540(struct ixgbe_hw *hw, u16 offset, u16 data)
    [all...]
ixgbe_api.h 43 void ixgbe_dcb_get_rtrup2tc(struct ixgbe_hw *hw, u8 *map);
45 s32 ixgbe_init_shared_code(struct ixgbe_hw *hw);
47 extern s32 ixgbe_init_ops_82598(struct ixgbe_hw *hw);
48 extern s32 ixgbe_init_ops_82599(struct ixgbe_hw *hw);
49 extern s32 ixgbe_init_ops_X540(struct ixgbe_hw *hw);
50 extern s32 ixgbe_init_ops_X550(struct ixgbe_hw *hw);
51 extern s32 ixgbe_init_ops_X550EM(struct ixgbe_hw *hw);
52 extern s32 ixgbe_init_ops_X550EM_x(struct ixgbe_hw *hw);
53 extern s32 ixgbe_init_ops_X550EM_a(struct ixgbe_hw *hw);
55 s32 ixgbe_set_mac_type(struct ixgbe_hw *hw);
    [all...]
ixgbe_common.h 42 #define IXGBE_WRITE_REG64(hw, reg, value) \
44 IXGBE_WRITE_REG(hw, reg, (u32) value); \
45 IXGBE_WRITE_REG(hw, reg + 4, (u32) (value >> 32)); \
53 void ixgbe_dcb_get_rtrup2tc_generic(struct ixgbe_hw *hw, u8 *map);
55 u16 ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw *hw);
56 s32 ixgbe_init_ops_generic(struct ixgbe_hw *hw);
57 s32 ixgbe_init_hw_generic(struct ixgbe_hw *hw);
58 s32 ixgbe_start_hw_generic(struct ixgbe_hw *hw);
59 void ixgbe_start_hw_gen2(struct ixgbe_hw *hw);
60 s32 ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw *hw);
    [all...]
ixgbe_x550.h 41 s32 ixgbe_dmac_config_X550(struct ixgbe_hw *hw);
42 s32 ixgbe_dmac_config_tcs_X550(struct ixgbe_hw *hw);
43 s32 ixgbe_dmac_update_tcs_X550(struct ixgbe_hw *hw);
45 s32 ixgbe_get_bus_info_X550em(struct ixgbe_hw *hw);
46 s32 ixgbe_init_eeprom_params_X550(struct ixgbe_hw *hw);
47 s32 ixgbe_update_eeprom_checksum_X550(struct ixgbe_hw *hw);
48 s32 ixgbe_calc_eeprom_checksum_X550(struct ixgbe_hw *hw);
49 s32 ixgbe_calc_checksum_X550(struct ixgbe_hw *hw, u16 *buffer, u32 buffer_size);
50 s32 ixgbe_validate_eeprom_checksum_X550(struct ixgbe_hw *hw, u16 *checksum_val);
51 s32 ixgbe_update_flash_X550(struct ixgbe_hw *hw);
    [all...]
ixgbe_common.c 47 static s32 ixgbe_acquire_eeprom(struct ixgbe_hw *hw);
48 static s32 ixgbe_get_eeprom_semaphore(struct ixgbe_hw *hw);
49 static void ixgbe_release_eeprom_semaphore(struct ixgbe_hw *hw);
50 static s32 ixgbe_ready_eeprom(struct ixgbe_hw *hw);
51 static void ixgbe_standby_eeprom(struct ixgbe_hw *hw);
52 static void ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data,
54 static u16 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count);
55 static void ixgbe_raise_eeprom_clk(struct ixgbe_hw *hw, u32 *eec);
56 static void ixgbe_lower_eeprom_clk(struct ixgbe_hw *hw, u32 *eec);
57 static void ixgbe_release_eeprom(struct ixgbe_hw *hw);
    [all...]
ixgbe_phy.c 47 static void ixgbe_i2c_start(struct ixgbe_hw *hw);
48 static void ixgbe_i2c_stop(struct ixgbe_hw *hw);
49 static void ixgbe_clock_in_i2c_byte(struct ixgbe_hw *hw, u8 *data);
50 static s32 ixgbe_clock_out_i2c_byte(struct ixgbe_hw *hw, u8 data);
51 static s32 ixgbe_get_i2c_ack(struct ixgbe_hw *hw);
52 static void ixgbe_clock_in_i2c_bit(struct ixgbe_hw *hw, bool *data);
53 static s32 ixgbe_clock_out_i2c_bit(struct ixgbe_hw *hw, bool data);
54 static void ixgbe_raise_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl);
55 static void ixgbe_lower_i2c_clk(struct ixgbe_hw *hw, u32 *i2cctl);
56 static s32 ixgbe_set_i2c_data(struct ixgbe_hw *hw, u32 *i2cctl, bool data)
    [all...]
ixgbe_82598.c 54 static s32 ixgbe_get_link_capabilities_82598(struct ixgbe_hw *hw,
57 static enum ixgbe_media_type ixgbe_get_media_type_82598(struct ixgbe_hw *hw);
58 static s32 ixgbe_start_mac_link_82598(struct ixgbe_hw *hw,
60 static s32 ixgbe_check_mac_link_82598(struct ixgbe_hw *hw,
63 static s32 ixgbe_setup_mac_link_82598(struct ixgbe_hw *hw,
66 static s32 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw,
69 static s32 ixgbe_reset_hw_82598(struct ixgbe_hw *hw);
70 static s32 ixgbe_clear_vmdq_82598(struct ixgbe_hw *hw, u32 rar, u32 vmdq);
71 static s32 ixgbe_clear_vfta_82598(struct ixgbe_hw *hw);
72 static void ixgbe_set_rxpba_82598(struct ixgbe_hw *hw, int num_pb
    [all...]
ixgbe_82599.c 54 static s32 ixgbe_setup_copper_link_82599(struct ixgbe_hw *hw,
57 static s32 ixgbe_verify_fw_version_82599(struct ixgbe_hw *hw);
58 static s32 ixgbe_read_eeprom_82599(struct ixgbe_hw *hw,
60 static s32 ixgbe_read_eeprom_buffer_82599(struct ixgbe_hw *hw, u16 offset,
62 static s32 ixgbe_reset_pipeline_82599(struct ixgbe_hw *hw);
63 static s32 ixgbe_read_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset,
65 static s32 ixgbe_write_i2c_byte_82599(struct ixgbe_hw *hw, u8 byte_offset,
68 void ixgbe_init_mac_link_ops_82599(struct ixgbe_hw *hw)
70 struct ixgbe_mac_info *mac = &hw->mac;
78 if ((mac->ops.get_media_type(hw) == ixgbe_media_type_fiber) &
    [all...]
ixgbe_dcb_82598.c 46 * @hw: pointer to hardware structure
52 s32 ixgbe_dcb_get_tc_stats_82598(struct ixgbe_hw *hw,
66 stats->qptc[tc] += IXGBE_READ_REG(hw, IXGBE_QPTC(tc));
68 stats->qbtc[tc] += IXGBE_READ_REG(hw, IXGBE_QBTC(tc));
70 stats->qprc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRC(tc));
72 stats->qbrc[tc] += IXGBE_READ_REG(hw, IXGBE_QBRC(tc));
80 * @hw: pointer to hardware structure
86 s32 ixgbe_dcb_get_pfc_stats_82598(struct ixgbe_hw *hw,
99 stats->pxofftxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFTXC(tc));
101 stats->pxoffrxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFRXC(tc))
    [all...]
ixgbe_osdep.c 44 ixgbe_dev_from_hw(struct ixgbe_hw *hw)
46 return ((struct ixgbe_softc *)hw->back)->dev;
50 ixgbe_read_pci_cfg(struct ixgbe_hw *hw, u32 reg)
52 pci_chipset_tag_t pc = hw->back->osdep.pc;
53 pcitag_t tag = hw->back->osdep.tag;
68 ixgbe_write_pci_cfg(struct ixgbe_hw *hw, u32 reg, u16 value)
70 pci_chipset_tag_t pc = hw->back->osdep.pc;
71 pcitag_t tag = hw->back->osdep.tag;
93 ixgbe_read_reg(struct ixgbe_hw *hw, u32 reg)
95 return bus_space_read_4(((struct ixgbe_softc *)hw->back)->osdep.mem_bus_space_tag
    [all...]
ixgbe_x550.c 48 static s32 ixgbe_setup_ixfi_x550em(struct ixgbe_hw *hw, ixgbe_link_speed *speed);
49 static s32 ixgbe_setup_mac_link_sfp_x550a(struct ixgbe_hw *hw,
54 static s32 ixgbe_read_mng_if_sel_x550em(struct ixgbe_hw *hw);
58 * @hw: pointer to hardware structure
63 s32 ixgbe_init_ops_X550(struct ixgbe_hw *hw)
65 struct ixgbe_mac_info *mac = &hw->mac;
66 struct ixgbe_eeprom_info *eeprom = &hw->eeprom;
71 ret_val = ixgbe_init_ops_X540(hw);
99 switch (hw->device_id) {
101 hw->mac.ops.led_on = NULL
    [all...]
ixgbe_vf.c 54 * @hw: pointer to hardware structure
61 s32 ixgbe_init_ops_vf(struct ixgbe_hw *hw)
66 hw->mac.ops.init_hw = ixgbe_init_hw_vf;
67 hw->mac.ops.reset_hw = ixgbe_reset_hw_vf;
68 hw->mac.ops.start_hw = ixgbe_start_hw_vf;
70 hw->mac.ops.clear_hw_cntrs = NULL;
71 hw->mac.ops.get_media_type = NULL;
72 hw->mac.ops.get_mac_addr = ixgbe_get_mac_addr_vf;
73 hw->mac.ops.stop_adapter = ixgbe_stop_adapter_vf;
74 hw->mac.ops.get_bus_info = NULL
    [all...]
ixgbe_x540.c 54 static s32 ixgbe_poll_flash_update_done_X540(struct ixgbe_hw *hw);
55 static s32 ixgbe_get_swfw_sync_semaphore(struct ixgbe_hw *hw);
56 static void ixgbe_release_swfw_sync_semaphore(struct ixgbe_hw *hw);
60 * @hw: pointer to hardware structure
65 s32 ixgbe_init_ops_X540(struct ixgbe_hw *hw)
67 struct ixgbe_mac_info *mac = &hw->mac;
68 struct ixgbe_phy_info *phy = &hw->phy;
69 struct ixgbe_eeprom_info *eeprom = &hw->eeprom;
75 ret_val = ixgbe_init_phy_ops_generic(hw);
76 ret_val = ixgbe_init_ops_generic(hw);
    [all...]
ixgbe_mbx.c 45 static s32 ixgbe_poll_for_msg(struct ixgbe_hw *hw, u16 mbx_id);
46 static s32 ixgbe_poll_for_ack(struct ixgbe_hw *hw, u16 mbx_id);
50 * @hw: pointer to the HW structure
57 s32 ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id)
59 struct ixgbe_mbx_info *mbx = &hw->mbx;
72 return mbx->ops[mbx_id].read(hw, msg, size, mbx_id);
79 * @hw: pointer to the HW structure
86 s32 ixgbe_poll_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id
    [all...]
  /src/sys/dev/pci/igc/
igc_mac.c 17 * @hw: pointer to the HW structure
22 igc_init_mac_ops_generic(struct igc_hw *hw)
24 struct igc_mac_info *mac = &hw->mac;
35 * @hw: pointer to the HW structure
38 igc_null_ops_generic(struct igc_hw IGC_UNUSEDARG *hw)
46 * @hw: pointer to the HW structure
54 igc_write_vfta_generic(struct igc_hw *hw, uint32_t offset, uint32_t value
    [all...]
igc_base.c 20 * @hw: pointer to the HW structure
25 igc_acquire_phy_base(struct igc_hw *hw)
31 if (hw->bus.func == IGC_FUNC_1)
34 return hw->mac.ops.acquire_swfw_sync(hw, mask);
39 * @hw: pointer to the HW structure
44 igc_release_phy_base(struct igc_hw *hw)
50 if (hw->bus.func == IGC_FUNC_1
    [all...]
igc_api.c 17 * @hw: pointer to the HW structure
23 igc_init_mac_params(struct igc_hw *hw)
27 if (hw->mac.ops.init_params) {
28 ret_val = hw->mac.ops.init_params(hw);
43 * @hw: pointer to the HW structure
49 igc_init_nvm_params(struct igc_hw *hw)
53 if (hw->nvm.ops.init_params)
    [all...]
igc_phy.c 17 * @hw: pointer to the HW structure
22 igc_init_phy_ops_generic(struct igc_hw *hw)
24 struct igc_phy_info *phy = &hw->phy;
50 * @hw: pointer to the HW structure
54 igc_null_set_page(struct igc_hw IGC_UNUSEDARG *hw, uint16_t IGC_UNUSEDARG data)
62 * @hw: pointer to the HW structure
67 igc_null_read_reg(struct igc_hw IGC_UNUSEDARG *hw,
    [all...]
igc_i225.c 26 * @hw: pointer to the HW structure
29 igc_init_nvm_params_i225(struct igc_hw *hw)
31 struct igc_nvm_info *nvm = &hw->nvm;
32 uint32_t eecd = IGC_READ_REG(hw, IGC_EECD);
64 if (igc_get_flash_presence_i225(hw)) {
65 hw->nvm.type = igc_nvm_flash_hw;
71 hw->nvm.type = igc_nvm_invm;
82 * @hw: pointer to the HW structur
    [all...]
igc_nvm.c 16 * @hw: pointer to the HW structure
21 igc_init_nvm_ops_generic(struct igc_hw *hw)
23 struct igc_nvm_info *nvm = &hw->nvm;
39 * @hw: pointer to the HW structure
45 igc_null_read_nvm(struct igc_hw IGC_UNUSEDARG *hw, uint16_t IGC_UNUSEDARG a,
54 * @hw: pointer to the HW structure
57 igc_null_nvm_generic(struct igc_hw IGC_UNUSEDARG *hw)
    [all...]
  /src/sys/arch/hp300/stand/common/
device.h 38 short hw_id; /* HW returned id */
39 short hw_secid; /* secondary HW id (displays) */
44 #define MAXCTLRS 16 /* Size of HW table (arbitrary) */
70 #define HW_ISCTLR(hw) ((hw)->hw_type & C_FLAG)
71 #define HW_ISDIOII(hw) ((hw)->hw_type & B_DIOII)
72 #define HW_ISHPIB(hw) (((hw)->hw_type & C_MASK) == C_HPIB)
73 #define HW_ISSCSI(hw) (((hw)->hw_type & C_MASK) == C_SCSI
    [all...]
autoconf.c 148 struct hp_hw *hw; local in function:msustobdev
152 for (hw = sc_table; hw < &sc_table[MAXCTLRS]; hw++)
153 if (hw->hw_sc == sc)
157 ctlr = (int)hw->hw_pa;
196 struct hp_hw *hw; local in function:find_devs
198 hw = sc_table;
208 hw->hw_pa = 0; /* XXX used to pass back LUN from driver */
210 hw->hw_size = DIOII_SIZE(id_reg)
    [all...]

Completed in 20 milliseconds

1 2 3 4 5 6 7 8 91011>>