/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_type.h | 3900 s32 (*init_hw)(struct ixgbe_hw *); 3901 s32 (*reset_hw)(struct ixgbe_hw *); 3902 s32 (*start_hw)(struct ixgbe_hw *); 3919 s32 (*setup_sfp)(struct ixgbe_hw *); 3964 s32 (*enable_mc)(struct ixgbe_hw *); 3976 s32 (*fc_enable)(struct ixgbe_hw *); 3977 s32 (*setup_fc)(struct ixgbe_hw *); 4006 s32 (*identify)(struct ixgbe_hw *); 4008 s32 (*init)(struct ixgbe_hw *); 4009 s32 (*reset)(struct ixgbe_hw *); [all …]
|
H A D | ixgbe_common.c | 398 s32 ret_val; in ixgbe_start_hw_generic() 501 s32 status; in ixgbe_init_hw_generic() 648 s32 ret_val; in ixgbe_read_pba_string_generic() 757 s32 ret_val; in ixgbe_read_pba_num_generic() 798 s32 ret_val; in ixgbe_read_pba_raw() 866 s32 ret_val; in ixgbe_write_pba_raw() 1367 s32 status; in ixgbe_write_eeprom_buffer_bit_bang() 1448 s32 status; in ixgbe_write_eeprom_generic() 1526 s32 status; in ixgbe_read_eeprom_buffer_bit_bang() 1583 s32 status; in ixgbe_read_eeprom_bit_bang_generic() [all …]
|
H A D | ixgbe_82599.c | 253 s32 ret_val; in prot_autoc_read_82599() 327 s32 ret_val; in ixgbe_init_ops_82599() 784 s32 i, j; in ixgbe_setup_mac_link_smartspeed() 1012 s32 status; in ixgbe_setup_copper_link_82599() 1036 s32 status; in ixgbe_reset_hw_82599() 1232 s32 err; in ixgbe_reinit_fdir_tables_82599() 1882 s32 err; in ixgbe_fdir_write_perfect_filter_82599() 1971 s32 err; in ixgbe_fdir_erase_perfect_filter_82599() 2155 s32 status; in ixgbe_identify_phy_82599() 2375 s32 status; in ixgbe_verify_lesm_fw_enabled_82599() [all …]
|
H A D | ixgbe_dcb.c | 102 s32 ret_val = IXGBE_SUCCESS; in ixgbe_dcb_calculate_tc_credits_cee() 313 s32 ret_val = IXGBE_SUCCESS; in ixgbe_dcb_check_config_cee() 402 s32 ret = IXGBE_NOT_IMPLEMENTED; in ixgbe_dcb_get_tc_stats() 433 s32 ret = IXGBE_NOT_IMPLEMENTED; in ixgbe_dcb_get_pfc_stats() 463 s32 ret = IXGBE_NOT_IMPLEMENTED; in ixgbe_dcb_config_rx_arbiter_cee() 506 s32 ret = IXGBE_NOT_IMPLEMENTED; in ixgbe_dcb_config_tx_desc_arbiter_cee() 548 s32 ret = IXGBE_NOT_IMPLEMENTED; in ixgbe_dcb_config_tx_data_arbiter_cee() 593 s32 ret = IXGBE_NOT_IMPLEMENTED; in ixgbe_dcb_config_pfc_cee() 628 s32 ret = IXGBE_NOT_IMPLEMENTED; in ixgbe_dcb_config_tc_stats() 655 s32 ixgbe_dcb_hw_config_cee(struct ixgbe_hw *hw, in ixgbe_dcb_hw_config_cee() [all …]
|
H A D | ixgbe_dcb_82598.c | 49 s32 ixgbe_dcb_get_tc_stats_82598(struct ixgbe_hw *hw, in ixgbe_dcb_get_tc_stats_82598() 91 s32 ixgbe_dcb_get_pfc_stats_82598(struct ixgbe_hw *hw, in ixgbe_dcb_get_pfc_stats_82598() 121 s32 ixgbe_dcb_config_rx_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, in ixgbe_dcb_config_rx_arbiter_82598() 179 s32 ixgbe_dcb_config_tx_desc_arbiter_82598(struct ixgbe_hw *hw, in ixgbe_dcb_config_tx_desc_arbiter_82598() 226 s32 ixgbe_dcb_config_tx_data_arbiter_82598(struct ixgbe_hw *hw, in ixgbe_dcb_config_tx_data_arbiter_82598() 271 s32 ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *hw, u8 pfc_en) in ixgbe_dcb_config_pfc_82598() 323 s32 ixgbe_dcb_config_tc_stats_82598(struct ixgbe_hw *hw) in ixgbe_dcb_config_tc_stats_82598() 359 s32 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, int link_speed, in ixgbe_dcb_hw_config_82598()
|
H A D | ixgbe_dcb_82599.c | 49 s32 ixgbe_dcb_get_tc_stats_82599(struct ixgbe_hw *hw, in ixgbe_dcb_get_tc_stats_82599() 90 s32 ixgbe_dcb_get_pfc_stats_82599(struct ixgbe_hw *hw, in ixgbe_dcb_get_pfc_stats_82599() 122 s32 ixgbe_dcb_config_rx_arbiter_82599(struct ixgbe_hw *hw, u16 *refill, in ixgbe_dcb_config_rx_arbiter_82599() 184 s32 ixgbe_dcb_config_tx_desc_arbiter_82599(struct ixgbe_hw *hw, u16 *refill, in ixgbe_dcb_config_tx_desc_arbiter_82599() 233 s32 ixgbe_dcb_config_tx_data_arbiter_82599(struct ixgbe_hw *hw, u16 *refill, in ixgbe_dcb_config_tx_data_arbiter_82599() 295 s32 ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *map) in ixgbe_dcb_config_pfc_82599() 382 s32 ixgbe_dcb_config_tc_stats_82599(struct ixgbe_hw *hw, in ixgbe_dcb_config_tc_stats_82599() 508 s32 ixgbe_dcb_config_82599(struct ixgbe_hw *hw, in ixgbe_dcb_config_82599() 597 s32 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, int link_speed, in ixgbe_dcb_hw_config_82599()
|
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_mac.c | 236 s32 ret_val; in e1000_get_bus_info_pcie_generic() 403 s32 ret_val; in e1000_check_alt_mac_addr_generic() 712 s32 ret_val; in e1000_check_for_copper_link_generic() 780 s32 ret_val; in e1000_check_for_fiber_link_generic() 847 s32 ret_val; in e1000_check_for_serdes_link_generic() 949 s32 ret_val; in e1000_set_default_fc_generic() 1004 s32 ret_val; in e1000_setup_link_generic() 1131 s32 ret_val; in e1000_poll_fiber_serdes_link_generic() 1179 s32 ret_val; in e1000_setup_fiber_serdes_link_generic() 1719 s32 i = 0; in e1000_get_hw_semaphore_generic() [all …]
|
H A D | e1000_nvm.c | 444 s32 ret_val; in e1000_read_nvm_spi() 505 s32 ret_val; in e1000_read_nvm_microwire() 559 s32 ret_val = E1000_SUCCESS; in e1000_read_nvm_eerd() 687 s32 ret_val; in e1000_write_nvm_microwire() 770 s32 ret_val; in e1000_read_pba_string_generic() 884 s32 ret_val; in e1000_read_pba_length_generic() 950 s32 ret_val; in e1000_read_pba_raw() 1018 s32 ret_val; in e1000_write_pba_raw() 1077 s32 ret_val; in e1000_get_pba_block_size() 1160 s32 ret_val; in e1000_validate_nvm_checksum_generic() [all …]
|
H A D | e1000_manage.h | 40 s32 e1000_mng_enable_host_if_generic(struct e1000_hw *hw); 41 s32 e1000_mng_host_if_write_generic(struct e1000_hw *hw, u8 *buffer, 43 s32 e1000_mng_write_cmd_header_generic(struct e1000_hw *hw, 45 s32 e1000_mng_write_dhcp_info_generic(struct e1000_hw *hw, 49 s32 e1000_host_interface_command(struct e1000_hw *hw, u8 *buffer, u32 length); 50 s32 e1000_load_firmware(struct e1000_hw *hw, u8 *buffer, u32 length);
|
H A D | e1000_82575.h | 482 s32 e1000_init_nvm_params_82575(struct e1000_hw *hw); 483 s32 e1000_init_hw_82575(struct e1000_hw *hw); 497 s32 e1000_read_emi_reg(struct e1000_hw *hw, u16 addr, u16 *data); 498 s32 e1000_set_eee_i350(struct e1000_hw *hw, bool adv1G, bool adv100M); 499 s32 e1000_set_eee_i354(struct e1000_hw *hw, bool adv1G, bool adv100M); 500 s32 e1000_get_eee_status_i354(struct e1000_hw *, bool *); 501 s32 e1000_initialize_M88E1512_phy(struct e1000_hw *hw); 502 s32 e1000_initialize_M88E1543_phy(struct e1000_hw *hw); 516 s32 e1000_set_i2c_bb(struct e1000_hw *hw); 517 s32 e1000_read_i2c_byte_generic(struct e1000_hw *hw, u8 byte_offset, [all …]
|
H A D | e1000_ich8lan.h | 334 s32 e1000_configure_k1_ich8lan(struct e1000_hw *hw, bool k1_enable); 336 s32 e1000_lv_jumbo_workaround_ich8lan(struct e1000_hw *hw, bool enable); 337 s32 e1000_read_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 *data); 338 s32 e1000_write_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 data); 339 s32 e1000_set_eee_pchlan(struct e1000_hw *hw); 340 s32 e1000_enable_ulp_lpt_lp(struct e1000_hw *hw, bool to_sx); 341 s32 e1000_disable_ulp_lpt_lp(struct e1000_hw *hw, bool force);
|
H A D | e1000_manage.c | 70 s32 e1000_mng_enable_host_if_generic(struct e1000_hw *hw) in e1000_mng_enable_host_if_generic() 134 s32 ret_val, hdr_csum, csum; in e1000_enable_tx_pkt_filtering_generic() 189 s32 e1000_mng_write_cmd_header_generic(struct e1000_hw *hw, in e1000_mng_write_cmd_header_generic() 223 s32 e1000_mng_host_if_write_generic(struct e1000_hw *hw, u8 *buffer, in e1000_mng_host_if_write_generic() 295 s32 e1000_mng_write_dhcp_info_generic(struct e1000_hw *hw, u8 *buffer, in e1000_mng_write_dhcp_info_generic() 299 s32 ret_val; in e1000_mng_write_dhcp_info_generic() 366 s32 ret_val; in e1000_enable_mng_pass_thru() 394 s32 e1000_host_interface_command(struct e1000_hw *hw, u8 *buffer, u32 length) in e1000_host_interface_command() 467 s32 e1000_load_firmware(struct e1000_hw *hw, u8 *buffer, u32 length) in e1000_load_firmware()
|
/illumos-gate/usr/src/uts/common/io/igc/core/ |
H A D | igc_mac.c | 54 s32 igc_null_link_info(struct igc_hw IGC_UNUSEDARG *hw, in igc_null_link_info() 201 s32 ret_val; in igc_check_alt_mac_addr_generic() 461 s32 ret_val; in igc_check_for_copper_link_generic() 526 s32 igc_setup_link_generic(struct igc_hw *hw) in igc_setup_link_generic() 528 s32 ret_val; in igc_setup_link_generic() 642 s32 igc_force_mac_fc_generic(struct igc_hw *hw) in igc_force_mac_fc_generic() 707 s32 ret_val = IGC_SUCCESS; in igc_config_fc_after_link_up_generic() 923 s32 timeout = hw->nvm.word_size + 1; in igc_get_hw_semaphore_generic() 924 s32 i = 0; in igc_get_hw_semaphore_generic() 992 s32 i = 0; in igc_get_auto_rd_done_generic() [all …]
|
H A D | igc_nvm.c | 40 s32 igc_null_read_nvm(struct igc_hw IGC_UNUSEDARG *hw, in igc_null_read_nvm() 65 s32 igc_null_write_nvm(struct igc_hw IGC_UNUSEDARG *hw, in igc_null_write_nvm() 224 s32 igc_acquire_nvm_generic(struct igc_hw *hw) in igc_acquire_nvm_generic() 227 s32 timeout = IGC_NVM_GRANT_ATTEMPTS; in igc_acquire_nvm_generic() 323 static s32 igc_ready_nvm_eeprom(struct igc_hw *hw) in igc_ready_nvm_eeprom() 379 s32 ret_val = IGC_SUCCESS; in igc_read_nvm_eerd() 426 s32 ret_val = -IGC_ERR_NVM; in igc_write_nvm_spi() 503 s32 ret_val; in igc_read_pba_string_generic() 613 s32 igc_read_mac_addr_generic(struct igc_hw *hw) in igc_read_mac_addr_generic() 643 s32 ret_val; in igc_validate_nvm_checksum_generic() [all …]
|
H A D | igc_base.c | 18 s32 igc_acquire_phy_base(struct igc_hw *hw) in igc_acquire_phy_base() 54 s32 igc_init_hw_base(struct igc_hw *hw) in igc_init_hw_base() 57 s32 ret_val; in igc_init_hw_base()
|
H A D | igc_base.h | 11 s32 igc_init_hw_base(struct igc_hw *hw); 14 s32 igc_acquire_phy_base(struct igc_hw *hw);
|
/illumos-gate/usr/src/common/crypto/edonr/ |
H A D | edonr_byteorder.h | 123 #define aix_ld_swap32(s32, d32)\ argument 124 __asm__("lwbrx %0,0,%1" : "=r"(d32) : "r"(s32)) 125 #define aix_st_swap32(s32, d32)\ argument 126 __asm__ volatile("stwbrx %1,0,%0" : : "r"(d32), "r"(s32)) 162 #define sparc_ld_swap32(s32, d32)\ argument 163 __asm__("lda [%1]0x88,%0" : "=r"(d32) : "r"(s32)) 164 #define sparc_st_swap32(s32, d32)\ argument 165 __asm__ volatile("sta %0,[%1]0x88" : : "r"(s32), "r"(d32))
|
H A D | edonr.c | 259 s32(8); in Q256() 260 s32(9); in Q256() 261 s32(10); in Q256() 271 s32(0); in Q256() 272 s32(1); in Q256() 273 s32(2); in Q256() 274 s32(3); in Q256() 275 s32(4); in Q256() 276 s32(5); in Q256() 277 s32(6); in Q256() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/linear/ |
H A D | bool-cast.c | 3 typedef int s32; typedef 9 static _Bool fs32_i(s32 a) { return a; } in fs32_i() 10 static _Bool fs32_e(s32 a) { return (_Bool)a; } in fs32_e()
|
/illumos-gate/usr/src/uts/intel/sys/acpi/platform/ |
H A D | acmsvc.h | 223 #define ACPI_SHIFT_LEFT_64_BY_32(n_hi, n_lo, s32) \ argument 227 __asm mov ecx, s32 \ 237 #define ACPI_SHIFT_RIGHT_64_BY_32(n_hi, n_lo, s32) \ argument 241 __asm mov ecx, s32 \
|
H A D | acefi.h | 372 #define ACPI_SHIFT_LEFT_64_BY_32(n_hi, n_lo, s32) \ argument 375 UINT64 __r = LShiftU64 (__n, (s32)); \ 382 #define ACPI_SHIFT_RIGHT_64_BY_32(n_hi, n_lo, s32) \ argument 385 UINT64 __r = RShiftU64 (__n, (s32)); \
|
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_workarounds.c | 74 s32 79 s32 ret_val = E1000_SUCCESS; in e1000_fifo_workaround_82547() 196 s32 200 s32 ret_val = E1000_SUCCESS; in e1000_igp_ttl_workaround_82547()
|
/illumos-gate/usr/src/common/crypto/sha2/ |
H A D | sha2.c | 160 uint32_t a = ctx->state.s32[0]; in SHA256Transform() 161 uint32_t b = ctx->state.s32[1]; in SHA256Transform() 353 ctx->state.s32[0] += a; in SHA256Transform() 354 ctx->state.s32[1] += b; in SHA256Transform() 355 ctx->state.s32[2] += c; in SHA256Transform() 356 ctx->state.s32[3] += d; in SHA256Transform() 357 ctx->state.s32[4] += e; in SHA256Transform() 358 ctx->state.s32[5] += f; in SHA256Transform() 359 ctx->state.s32[6] += g; in SHA256Transform() 360 ctx->state.s32[7] += h; in SHA256Transform() [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/include/ |
H A D | bcmtype.h | 79 typedef s32 s32_t; 114 typedef int32_t s32; typedef 245 typedef S32 s32; typedef
|
/illumos-gate/usr/src/uts/common/io/bnx/include/ |
H A D | bcmtype.h | 61 typedef s32 s32_t; 96 typedef int32_t s32; typedef 227 typedef S32 s32; typedef
|