/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_E610(struct ixgbe_hw *hw); 52 extern s32 ixgbe_init_ops_vf(struct ixgbe_hw *hw); [all …]
|
H A D | ixgbe_e610.h | 42 s32 ixgbe_aci_send_cmd(struct ixgbe_hw *hw, struct ixgbe_aci_desc *desc, 45 s32 ixgbe_aci_get_event(struct ixgbe_hw *hw, struct ixgbe_aci_event *e, 50 s32 ixgbe_aci_get_fw_ver(struct ixgbe_hw *hw); 51 s32 ixgbe_aci_send_driver_ver(struct ixgbe_hw *hw, struct ixgbe_driver_ver *dv); 52 s32 ixgbe_aci_set_pf_context(struct ixgbe_hw *hw, u8 pf_id); 54 s32 ixgbe_acquire_res(struct ixgbe_hw *hw, enum ixgbe_aci_res_ids res, 57 s32 ixgbe_aci_list_caps(struct ixgbe_hw *hw, void *buf, u16 buf_size, 59 s32 ixgbe_discover_dev_caps(struct ixgbe_hw *hw, 61 s32 ixgbe_discover_func_caps(struct ixgbe_hw* hw, 63 s32 ixgbe_get_caps(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() 142 s32 ixgbe_set_mac_type(struct ixgbe_hw *hw) in ixgbe_set_mac_type() 144 s32 ret_val = IXGBE_SUCCESS; in ixgbe_set_mac_type() 278 s32 ixgbe_init_hw(struct ixgbe_hw *hw) in ixgbe_init_hw() 291 s32 ixgbe_reset_hw(struct ixgbe_hw *hw) in ixgbe_reset_hw() 307 s32 ixgbe_start_hw(struct ixgbe_hw *hw) in ixgbe_start_hw() 334 s32 ixgbe_clear_hw_cntrs(struct ixgbe_hw *hw) in ixgbe_clear_hw_cntrs() 362 s32 ixgbe_get_mac_addr(struct ixgbe_hw *hw, u8 *mac_addr) in ixgbe_get_mac_addr() 376 s32 ixgbe_get_san_mac_addr(struct ixgbe_hw *hw, u8 *san_mac_addr) in ixgbe_get_san_mac_addr() [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_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_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 …]
|
/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_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_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_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 …]
|
H A D | igc_nvm.h | 27 s32 igc_null_read_nvm(struct igc_hw *hw, u16 a, u16 b, u16 *c); 29 s32 igc_null_led_default(struct igc_hw *hw, u16 *data); 30 s32 igc_null_write_nvm(struct igc_hw *hw, u16 a, u16 b, u16 *c); 31 s32 igc_acquire_nvm_generic(struct igc_hw *hw); 33 s32 igc_poll_eerd_eewr_done(struct igc_hw *hw, int ee_reg); 34 s32 igc_read_mac_addr_generic(struct igc_hw *hw); 35 s32 igc_read_pba_string_generic(struct igc_hw *hw, u8 *pba_num, 37 s32 igc_read_nvm_eerd(struct igc_hw *hw, u16 offset, u16 words, 39 s32 igc_valid_led_default_generic(struct igc_hw *hw, u16 *data); 40 s32 igc_validate_nvm_checksum_generic(struct igc_hw *hw); [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/CodeGen/GlobalISel/ |
H A D | CombinerHelperVectorOps.cpp | 99 // %insert:_(<2 x s32>) = G_INSERT_VECTOR_ELT_ELT %bv(<2 x s32>), in matchExtractVectorElementWithDifferentIndices() 100 // %value(s32), %idx2(s64) %extract:_(s32) = G_EXTRACT_VECTOR_ELT %insert(<2 in matchExtractVectorElementWithDifferentIndices() 101 // x s32>), %idx1(s64) in matchExtractVectorElementWithDifferentIndices() 105 // %insert:_(<2 x s32>) = G_INSERT_VECTOR_ELT_ELT %bv(<2 x s32>), in matchExtractVectorElementWithDifferentIndices() 106 // %value(s32), %idx2(s64) %extract:_(s32) = G_EXTRACT_VECTOR_ELT %bv(<2 x in matchExtractVectorElementWithDifferentIndices() 107 // s32>), %idx1(s64) in matchExtractVectorElementWithDifferentIndices() 155 // %bv:_(<2 x s32>) = G_BUILD_VECTOR %arg1(s32), %arg2(s32) in matchExtractVectorElementWithBuildVector() 156 // %extract:_(s32) = G_EXTRACT_VECTOR_ELT %bv(<2 x s32>), %zero(s64) in matchExtractVectorElementWithBuildVector() 160 // %extract:_(32) = COPY %arg1(s32) in matchExtractVectorElementWithBuildVector() 164 // %bv:_(<2 x s32>) = G_BUILD_VECTOR %arg1(s32), %arg2(s32) in matchExtractVectorElementWithBuildVector() [all …]
|
/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() 88 // s64 = EXTEND (G_IMPLICIT_DEF s32) -> s64 = G_IMPLICIT_DEF in X86LegalizerInfo() 89 // s128 = EXTEND (G_IMPLICIT_DEF s32/s64) -> s128 = G_IMPLICIT_DEF 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() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULegalizerInfo.cpp | 181 // <4 x s8> -> s32 in getBitcastRegisterType() 285 static const LLT S32 = LLT::scalar(32); variable 335 static std::initializer_list<LLT> AllScalarTypes = {S32, S64, S96, S128, 581 /// Mutates IR (typicaly a load instruction) to use a <4 x s32> as the initial 597 // Happy path: (4 x s32) -> (s32, s32, s32, s32) -> (p8) in castBufferRsrcFromV4I32() 599 const LLT S32 = LLT::scalar(32); in castBufferRsrcFromV4I32() local 606 B.buildExtractVectorElementConstant(S32, VectorReg, I).getReg(0); in castBufferRsrcFromV4I32() 632 // Special case: p8 -> (s32, s32, s32, s32) -> (4xs32) in castBufferRsrcToV4I32() 689 S32, S64 in AMDGPULegalizerInfo() 693 S32, S64, S16 in AMDGPULegalizerInfo() [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 …]
|