| /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 | 162 s32 ixgbe_init_phy_ops_generic(struct ixgbe_hw *hw); 165 s32 ixgbe_get_phy_id(struct ixgbe_hw *hw); 166 s32 ixgbe_identify_phy_generic(struct ixgbe_hw *hw); 167 s32 ixgbe_reset_phy_generic(struct ixgbe_hw *hw); 169 s32 ixgbe_read_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, 171 s32 ixgbe_write_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, 173 s32 ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, 175 s32 ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, 177 s32 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw); 178 s32 ixgbe_setup_phy_link_speed_generic(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 …]
|
| 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_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() 67 static s32 e1000_null_mbx_read(struct e1000_hw E1000_UNUSEDARG *hw, in e1000_null_mbx_read() 87 s32 e1000_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id, in e1000_read_mbx() 91 s32 ret_val = -E1000_ERR_MBX; in e1000_read_mbx() 114 s32 e1000_write_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in e1000_write_mbx() 117 s32 ret_val = E1000_SUCCESS; in e1000_write_mbx() 137 s32 e1000_check_for_msg(struct e1000_hw *hw, u16 mbx_id) in e1000_check_for_msg() 140 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_msg() 157 s32 e1000_check_for_ack(struct e1000_hw *hw, u16 mbx_id) in e1000_check_for_ack() [all …]
|
| H A D | e1000_hw.h | 745 s32 (*init_params)(struct e1000_hw *); 746 s32 (*id_led_init)(struct e1000_hw *); 747 s32 (*blink_led)(struct e1000_hw *); 749 s32 (*check_for_link)(struct e1000_hw *); 750 s32 (*cleanup_led)(struct e1000_hw *); 753 s32 (*get_bus_info)(struct e1000_hw *); 755 s32 (*get_link_up_info)(struct e1000_hw *, u16 *, u16 *); 756 s32 (*led_on)(struct e1000_hw *); 757 s32 (*led_off)(struct e1000_hw *); 759 s32 (*reset_hw)(struct e1000_hw *); [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() 144 s32 igc_setup_init_funcs(struct igc_hw *hw, bool init_device) in igc_setup_init_funcs() 146 s32 ret_val; in igc_setup_init_funcs() [all …]
|
| H A D | igc_hw.h | 346 s32 (*init_params)(struct igc_hw *); 347 s32 (*check_for_link)(struct igc_hw *); 350 s32 (*get_bus_info)(struct igc_hw *); 352 s32 (*get_link_up_info)(struct igc_hw *, u16 *, u16 *); 354 s32 (*reset_hw)(struct igc_hw *); 355 s32 (*init_hw)(struct igc_hw *); 356 s32 (*setup_link)(struct igc_hw *); 357 s32 (*setup_physical_interface)(struct igc_hw *); 361 s32 (*read_mac_addr)(struct igc_hw *); 362 s32 (*validate_mdi_setting)(struct igc_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/GISel/ |
| H A D | X86LegalizerInfo.cpp | 55 const LLT s32 = LLT::scalar(32); in X86LegalizerInfo() local 59 const LLT sMaxScalar = Subtarget.is64Bit() ? s64 : s32; in X86LegalizerInfo() 92 .legalFor({p0, s1, s8, s16, s32, s64}) in X86LegalizerInfo() 96 .legalFor({p0, s8, s16, s32}) in X86LegalizerInfo() 108 .legalFor(HasSSE1 || UseX87, {s32}) in X86LegalizerInfo() 112 getActionDefinitionsBuilder(G_GET_ROUNDING).customFor({s32}); in X86LegalizerInfo() 122 .minScalar(BigTyIdx, s32) in X86LegalizerInfo() 151 .legalFor({s8, s16, s32}) in X86LegalizerInfo() 159 .clampMinNumElements(0, s32, 4) in X86LegalizerInfo() 163 .clampMaxNumElements(0, s32, HasAVX512 ? 16 : (HasAVX2 ? 8 : 4)) in X86LegalizerInfo() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86LegalizerInfo.cpp | |
| /freebsd/sys/contrib/dev/broadcom/brcm80211/brcmsmac/phy/ |
| H A D | phy_qmath.c | 28 s32 result; in qm_muls16() 32 result = ((s32) (op1) * (s32) (op2)); in qm_muls16() 42 s32 qm_add32(s32 op1, s32 op2) in qm_add32() 44 s32 result; in qm_add32() 62 s32 temp = (s32) op1 + (s32) op2; in qm_add16() 63 if (temp > (s32) 0x7fff) in qm_add16() 65 else if (temp < (s32) 0xffff8000) in qm_add16() 81 s32 temp = (s32) op1 - (s32) op2; in qm_sub16() 82 if (temp > (s32) 0x7fff) in qm_sub16() 84 else if (temp < (s32) 0xffff8000) in qm_sub16() [all …]
|
| /freebsd/sys/contrib/dev/broadcom/brcm80211/brcmfmac/ |
| H A D | fwil.h | 84 s32 brcmf_fil_cmd_data_set(struct brcmf_if *ifp, u32 cmd, void *data, u32 len); 85 s32 brcmf_fil_cmd_data_get(struct brcmf_if *ifp, u32 cmd, void *data, u32 len); 87 s32 brcmf_fil_cmd_int_set(struct brcmf_if *ifp, u32 cmd, u32 data) in brcmf_fil_cmd_int_set() 89 s32 err; in brcmf_fil_cmd_int_set() 98 s32 brcmf_fil_cmd_int_get(struct brcmf_if *ifp, u32 cmd, u32 *data) in brcmf_fil_cmd_int_get() 100 s32 err; in brcmf_fil_cmd_int_get() 110 s32 brcmf_fil_cmd_int_query(struct brcmf_if *ifp, u32 cmd, u32 *data) in brcmf_fil_cmd_int_query() 118 s32 brcmf_fil_iovar_data_set(struct brcmf_if *ifp, const char *name, 120 s32 brcmf_fil_iovar_data_get(struct brcmf_if *ifp, const char *name, void *data, 123 s32 brcmf_fil_iovar_int_set(struct brcmf_if *ifp, const char *name, u32 data) in brcmf_fil_iovar_int_set() [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 …]
|