/freebsd/sys/dev/ixgbe/ |
H A D | ixgbe_api.h | 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); 53 s32 ixgbe_set_mac_type(struct ixgbe_hw *hw); [all …]
|
H A D | ixgbe_common.h | 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); 57 s32 ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw *hw); 58 s32 ixgbe_read_pba_num_generic(struct ixgbe_hw *hw, u32 *pba_num); 59 s32 ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num, 61 s32 ixgbe_read_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf, 64 s32 ixgbe_write_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf, 66 s32 ixgbe_get_pba_block_size(struct ixgbe_hw *hw, u16 *eeprom_buf, 68 s32 ixgbe_get_mac_addr_generic(struct ixgbe_hw *hw, u8 *mac_addr); [all …]
|
H A D | ixgbe_x550.h | 39 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 …]
|
H A D | ixgbe_phy.h | 159 s32 ixgbe_init_phy_ops_generic(struct ixgbe_hw *hw); 162 s32 ixgbe_get_phy_id(struct ixgbe_hw *hw); 163 s32 ixgbe_identify_phy_generic(struct ixgbe_hw *hw); 164 s32 ixgbe_reset_phy_generic(struct ixgbe_hw *hw); 166 s32 ixgbe_read_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, 168 s32 ixgbe_write_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, 170 s32 ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, 172 s32 ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, 174 s32 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw); 175 s32 ixgbe_setup_phy_link_speed_generic(struct ixgbe_hw *hw, [all …]
|
H A D | ixgbe_x540.h | 40 s32 ixgbe_get_link_capabilities_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); 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, u16 offset, u16 data); 54 s32 ixgbe_write_eewr_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words, 56 s32 ixgbe_update_eeprom_checksum_X540(struct ixgbe_hw *hw); [all …]
|
H A D | ixgbe_api.c | 85 s32 ixgbe_init_shared_code(struct ixgbe_hw *hw) in ixgbe_init_shared_code() 87 s32 status; in ixgbe_init_shared_code() 138 s32 ixgbe_set_mac_type(struct ixgbe_hw *hw) in ixgbe_set_mac_type() 140 s32 ret_val = IXGBE_SUCCESS; in ixgbe_set_mac_type() 262 s32 ixgbe_init_hw(struct ixgbe_hw *hw) in ixgbe_init_hw() 275 s32 ixgbe_reset_hw(struct ixgbe_hw *hw) in ixgbe_reset_hw() 291 s32 ixgbe_start_hw(struct ixgbe_hw *hw) in ixgbe_start_hw() 318 s32 ixgbe_clear_hw_cntrs(struct ixgbe_hw *hw) in ixgbe_clear_hw_cntrs() 346 s32 ixgbe_get_mac_addr(struct ixgbe_hw *hw, u8 *mac_addr) in ixgbe_get_mac_addr() 360 s32 ixgbe_get_san_mac_addr(struct ixgbe_hw *hw, u8 *san_mac_addr) in ixgbe_get_san_mac_addr() [all …]
|
H A D | ixgbe_82599.h | 38 s32 ixgbe_get_link_capabilities_82599(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); 55 s32 ixgbe_reset_hw_82599(struct ixgbe_hw *hw); 56 s32 ixgbe_read_analog_reg8_82599(struct ixgbe_hw *hw, u32 reg, u8 *val); 57 s32 ixgbe_write_analog_reg8_82599(struct ixgbe_hw *hw, u32 reg, u8 val); 58 s32 ixgbe_start_hw_82599(struct ixgbe_hw *hw); 59 s32 ixgbe_identify_phy_82599(struct ixgbe_hw *hw); [all …]
|
/freebsd/sys/dev/e1000/ |
H A D | e1000_phy.h | 39 s32 e1000_null_read_reg(struct e1000_hw *hw, u32 offset, u16 *data); 41 s32 e1000_null_lplu_state(struct e1000_hw *hw, bool active); 42 s32 e1000_null_write_reg(struct e1000_hw *hw, u32 offset, u16 data); 43 s32 e1000_null_set_page(struct e1000_hw *hw, u16 data); 44 s32 e1000_read_i2c_byte_null(struct e1000_hw *hw, u8 byte_offset, 46 s32 e1000_write_i2c_byte_null(struct e1000_hw *hw, u8 byte_offset, 48 s32 e1000_check_downshift_generic(struct e1000_hw *hw); 49 s32 e1000_check_polarity_m88(struct e1000_hw *hw); 50 s32 e1000_check_polarity_igp(struct e1000_hw *hw); 51 s32 e1000_check_polarity_ife(struct e1000_hw *hw); [all …]
|
H A D | e1000_api.h | 53 s32 e1000_set_obff_timer(struct e1000_hw *hw, u32 itr); 54 s32 e1000_set_mac_type(struct e1000_hw *hw); 55 s32 e1000_setup_init_funcs(struct e1000_hw *hw, bool init_device); 56 s32 e1000_init_mac_params(struct e1000_hw *hw); 57 s32 e1000_init_nvm_params(struct e1000_hw *hw); 58 s32 e1000_init_phy_params(struct e1000_hw *hw); 59 s32 e1000_init_mbx_params(struct e1000_hw *hw); 60 s32 e1000_get_bus_info(struct e1000_hw *hw); 63 s32 e1000_force_mac_fc(struct e1000_hw *hw); 64 s32 e1000_check_for_link(struct e1000_hw *hw); [all …]
|
H A D | e1000_mac.h | 41 s32 e1000_null_ops_generic(struct e1000_hw *hw); 42 s32 e1000_null_link_info(struct e1000_hw *hw, u16 *s, u16 *d); 47 s32 e1000_null_set_obff_timer(struct e1000_hw *hw, u32 a); 48 s32 e1000_blink_led_generic(struct e1000_hw *hw); 49 s32 e1000_check_for_copper_link_generic(struct e1000_hw *hw); 50 s32 e1000_check_for_fiber_link_generic(struct e1000_hw *hw); 51 s32 e1000_check_for_serdes_link_generic(struct e1000_hw *hw); 52 s32 e1000_cleanup_led_generic(struct e1000_hw *hw); 53 s32 e1000_commit_fc_settings_generic(struct e1000_hw *hw); 54 s32 e1000_poll_fiber_serdes_link_generic(struct e1000_hw *hw); [all …]
|
H A D | e1000_nvm.h | 61 s32 e1000_null_read_nvm(struct e1000_hw *hw, u16 a, u16 b, u16 *c); 63 s32 e1000_null_led_default(struct e1000_hw *hw, u16 *data); 64 s32 e1000_null_write_nvm(struct e1000_hw *hw, u16 a, u16 b, u16 *c); 65 s32 e1000_acquire_nvm_generic(struct e1000_hw *hw); 67 s32 e1000_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg); 68 s32 e1000_read_mac_addr_generic(struct e1000_hw *hw); 69 s32 e1000_read_pba_num_generic(struct e1000_hw *hw, u32 *pba_num); 70 s32 e1000_read_pba_string_generic(struct e1000_hw *hw, u8 *pba_num, 72 s32 e1000_read_pba_length_generic(struct e1000_hw *hw, u32 *pba_num_size); 73 s32 e1000_read_pba_raw(struct e1000_hw *hw, u16 *eeprom_buf, [all …]
|
H A D | e1000_mbx.c | 42 static s32 e1000_null_mbx_check_for_flag(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_mbx_check_for_flag() 57 static s32 e1000_null_mbx_transact(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_mbx_transact() 76 s32 e1000_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in e1000_read_mbx() 79 s32 ret_val = -E1000_ERR_MBX; in e1000_read_mbx() 102 s32 e1000_write_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in e1000_write_mbx() 105 s32 ret_val = E1000_SUCCESS; in e1000_write_mbx() 125 s32 e1000_check_for_msg(struct e1000_hw *hw, u16 mbx_id) in e1000_check_for_msg() 128 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_msg() 145 s32 e1000_check_for_ack(struct e1000_hw *hw, u16 mbx_id) in e1000_check_for_ack() 148 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_ack() [all …]
|
H A D | e1000_hw.h | 740 s32 (*init_params)(struct e1000_hw *); 741 s32 (*id_led_init)(struct e1000_hw *); 742 s32 (*blink_led)(struct e1000_hw *); 744 s32 (*check_for_link)(struct e1000_hw *); 745 s32 (*cleanup_led)(struct e1000_hw *); 748 s32 (*get_bus_info)(struct e1000_hw *); 750 s32 (*get_link_up_info)(struct e1000_hw *, u16 *, u16 *); 751 s32 (*led_on)(struct e1000_hw *); 752 s32 (*led_off)(struct e1000_hw *); 754 s32 (*reset_hw)(struct e1000_hw *); [all …]
|
H A D | e1000_api.c | 44 s32 e1000_init_mac_params(struct e1000_hw *hw) in e1000_init_mac_params() 46 s32 ret_val = E1000_SUCCESS; in e1000_init_mac_params() 70 s32 e1000_init_nvm_params(struct e1000_hw *hw) in e1000_init_nvm_params() 72 s32 ret_val = E1000_SUCCESS; in e1000_init_nvm_params() 96 s32 e1000_init_phy_params(struct e1000_hw *hw) in e1000_init_phy_params() 98 s32 ret_val = E1000_SUCCESS; in e1000_init_phy_params() 122 s32 e1000_init_mbx_params(struct e1000_hw *hw) in e1000_init_mbx_params() 124 s32 ret_val = E1000_SUCCESS; in e1000_init_mbx_params() 150 s32 e1000_set_mac_type(struct e1000_hw *hw) in e1000_set_mac_type() 153 s32 ret_val = E1000_SUCCESS; in e1000_set_mac_type() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsLegalizerInfo.cpp | 74 const LLT s32 = LLT::scalar(32); in MipsLegalizerInfo() local 84 if (CheckTyN(0, Query, {s32})) in MipsLegalizerInfo() 90 .clampScalar(0, s32, s32); in MipsLegalizerInfo() 93 .lowerFor({{s32, s1}}); in MipsLegalizerInfo() 96 .legalFor({s32}) in MipsLegalizerInfo() 97 .maxScalar(0, s32); in MipsLegalizerInfo() 109 Query, {{s32, p0, 8, NoAlignRequirements}, in MipsLegalizerInfo() 110 {s32, p0, 16, ST.systemSupportsUnalignedAccess()}, in MipsLegalizerInfo() 111 {s32, p0, 32, NoAlignRequirements}, in MipsLegalizerInfo() 150 .minScalar(0, s32) in MipsLegalizerInfo() [all …]
|
/freebsd/sys/dev/igc/ |
H A D | igc_api.h | 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); 22 s32 igc_force_mac_fc(struct igc_hw *hw); 23 s32 igc_check_for_link(struct igc_hw *hw); 24 s32 igc_reset_hw(struct igc_hw *hw); 25 s32 igc_init_hw(struct igc_hw *hw); [all …]
|
H A D | igc_phy.h | 11 s32 igc_null_read_reg(struct igc_hw *hw, u32 offset, u16 *data); 13 s32 igc_null_lplu_state(struct igc_hw *hw, bool active); 14 s32 igc_null_write_reg(struct igc_hw *hw, u32 offset, u16 data); 15 s32 igc_null_set_page(struct igc_hw *hw, u16 data); 16 s32 igc_check_downshift_generic(struct igc_hw *hw); 17 s32 igc_check_reset_block_generic(struct igc_hw *hw); 18 s32 igc_get_phy_id(struct igc_hw *hw); 20 s32 igc_phy_hw_reset_generic(struct igc_hw *hw); 21 s32 igc_phy_reset_dsp_generic(struct igc_hw *hw); 22 s32 igc_set_d3_lplu_state_generic(struct igc_hw *hw, bool active); [all …]
|
H A D | igc_api.c | 17 s32 igc_init_mac_params(struct igc_hw *hw) in igc_init_mac_params() 19 s32 ret_val = IGC_SUCCESS; in igc_init_mac_params() 43 s32 igc_init_nvm_params(struct igc_hw *hw) in igc_init_nvm_params() 45 s32 ret_val = IGC_SUCCESS; in igc_init_nvm_params() 69 s32 igc_init_phy_params(struct igc_hw *hw) in igc_init_phy_params() 71 s32 ret_val = IGC_SUCCESS; in igc_init_phy_params() 97 s32 igc_set_mac_type(struct igc_hw *hw) in igc_set_mac_type() 100 s32 ret_val = IGC_SUCCESS; in igc_set_mac_type() 142 s32 igc_setup_init_funcs(struct igc_hw *hw, bool init_device) in igc_setup_init_funcs() 144 s32 ret_val; in igc_setup_init_funcs() [all …]
|
H A D | igc_hw.h | 345 s32 (*init_params)(struct igc_hw *); 346 s32 (*check_for_link)(struct igc_hw *); 349 s32 (*get_bus_info)(struct igc_hw *); 351 s32 (*get_link_up_info)(struct igc_hw *, u16 *, u16 *); 353 s32 (*reset_hw)(struct igc_hw *); 354 s32 (*init_hw)(struct igc_hw *); 355 s32 (*setup_link)(struct igc_hw *); 356 s32 (*setup_physical_interface)(struct igc_hw *); 360 s32 (*read_mac_addr)(struct igc_hw *); 361 s32 (*validate_mdi_setting)(struct igc_hw *); [all …]
|
H A D | igc_mac.h | 12 s32 igc_null_ops_generic(struct igc_hw *hw); 13 s32 igc_null_link_info(struct igc_hw *hw, u16 *s, u16 *d); 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); 20 s32 igc_disable_pcie_master_generic(struct igc_hw *hw); 21 s32 igc_force_mac_fc_generic(struct igc_hw *hw); 22 s32 igc_get_auto_rd_done_generic(struct igc_hw *hw); 23 s32 igc_get_bus_info_pcie_generic(struct igc_hw *hw); 25 s32 igc_get_hw_semaphore_generic(struct igc_hw *hw); 26 s32 igc_get_speed_and_duplex_copper_generic(struct igc_hw *hw, u16 *speed, [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMLegalizerInfo.cpp | 40 const LLT s32 = LLT::scalar(32); in ARMLegalizerInfo() local 52 .legalForCartesianProduct({s8, s16, s32}, {s1, s8, s16}); in ARMLegalizerInfo() 57 .legalFor({s32}) in ARMLegalizerInfo() 58 .clampScalar(0, s32, s32); in ARMLegalizerInfo() 62 .legalFor({s32, s64}) in ARMLegalizerInfo() 63 .minScalar(0, s32); in ARMLegalizerInfo() 66 .legalFor({s32}) in ARMLegalizerInfo() 67 .minScalar(0, s32); in ARMLegalizerInfo() 70 .legalFor({{s32, s32}}) in ARMLegalizerInfo() 71 .minScalar(0, s32) in ARMLegalizerInfo() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86LegalizerInfo.cpp |
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/ |
H A D | X86LegalizerInfo.cpp | 51 const LLT s32 = LLT::scalar(32); in X86LegalizerInfo() local 55 const LLT sMaxScalar = Subtarget.is64Bit() ? s64 : s32; in X86LegalizerInfo() 90 return typeInSet(0, {p0, s1, s8, s16, s32, s64})(Query) || in X86LegalizerInfo() 96 return typeInSet(0, {p0, s8, s16, s32})(Query) || in X86LegalizerInfo() 110 .minScalar(BigTyIdx, s32) in X86LegalizerInfo() 140 if (typeInSet(0, {s8, s16, s32})(Query)) in X86LegalizerInfo() 156 .clampMinNumElements(0, s32, 4) in X86LegalizerInfo() 160 .clampMaxNumElements(0, s32, HasAVX512 ? 16 : (HasAVX2 ? 8 : 4)) in X86LegalizerInfo() 168 return typePairInSet(0, 1, {{s8, s1}, {s16, s1}, {s32, s1}})(Query) || in X86LegalizerInfo() 179 if (typeInSet(0, {s8, s16, s32})(Query)) in X86LegalizerInfo() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/GISel/ |
H A D | M68kLegalizerInfo.cpp | 26 const LLT s32 = LLT::scalar(32); in M68kLegalizerInfo() local 30 .legalFor({s8, s16, s32}) in M68kLegalizerInfo() 31 .clampScalar(0, s8, s32) in M68kLegalizerInfo() 35 .legalFor({s32, p0}) in M68kLegalizerInfo() 36 .clampScalar(0, s32, s32); in M68kLegalizerInfo() 41 .legalForTypesWithMemDesc({{s32, p0, s32, 4}, in M68kLegalizerInfo() 42 {s32, p0, s16, 4}, in M68kLegalizerInfo() 43 {s32, p0, s8, 4}, in M68kLegalizerInfo() 46 {p0, p0, s32, 4}}) in M68kLegalizerInfo() 47 .clampScalar(0, s8, s32); in M68kLegalizerInfo() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
H A D | AArch64LegalizerInfo.cpp | 49 const LLT s32 = LLT::scalar(32); in AArch64LegalizerInfo() local 66 const LLT nxv4s32 = LLT::scalable_vector(4, s32); in AArch64LegalizerInfo() 75 std::initializer_list<LLT> ScalarAndPtrTypesList = {s8, s16, s32, s64, p0}; in AArch64LegalizerInfo() 90 const LLT &MinFPScalar = HasFP16 ? s16 : s32; in AArch64LegalizerInfo() 97 .legalFor({p0, s8, s16, s32, s64}) in AArch64LegalizerInfo() 109 .legalFor({p0, s16, s32, s64}) in AArch64LegalizerInfo() 116 .clampMaxNumElements(0, s32, 4) in AArch64LegalizerInfo() 121 .legalFor({s32, s64, v4s16, v8s16, v2s32, v4s32, v2s64}) in AArch64LegalizerInfo() 123 .clampScalar(0, s32, s64) in AArch64LegalizerInfo() 130 .legalFor({s32, s64, v2s32, v2s64, v4s32, v4s16, v8s16, v16s8, v8s8}) in AArch64LegalizerInfo() [all …]
|