/illumos-gate/usr/src/uts/common/io/bnxe/577xx/common/ |
H A D | bnxe_clc.c | 346 static u32 elink_bits_en(struct elink_dev *cb, u32 reg, u32 bits) in elink_bits_en() 355 static u32 elink_bits_dis(struct elink_dev *cb, u32 reg, u32 bits) in elink_bits_dis() 552 static u32 elink_get_cfg_pin(struct elink_dev *cb, u32 pin_cfg, u32 *val) in elink_get_cfg_pin() 1672 u32 val; in elink_emac_init() 1728 u32 val; in elink_set_umac_rxtx() 1747 u32 val; in elink_umac_enable() 1910 u32 val; in elink_set_xmac_rxtx() 7797 u32 spirom_ver, u32 ver_addr) in elink_save_spirom_version() 14790 u32 ext_phy_type, u32 chip_id) in elink_ext_phy_common_init() 14947 u32 shmem2_base_path[], u32 chip_id, in elink_common_init_phy() [all …]
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore_spq.h | 195 u32 unlimited_pending_count; 196 u32 normal_count; 197 u32 high_count; 198 u32 comp_sent_count; 199 u32 comp_count; 201 u32 cid; 332 u32 ecore_spq_get_cid(struct ecore_hwfn *p_hwfn);
|
H A D | ecore_proto_if.h | 60 u32 num_arfs_filters; 103 u32 two_msl_timer; 148 u32 min_dpis; /* number of requested DPIs */ 149 u32 num_qps; /* number of requested Queue Pairs */ 150 u32 num_srqs; /* number of requested SRQ */
|
H A D | ecore_utils.h | 43 #define PTR_LO(x) ((u32)(((osal_uintptr_t)(x)) & 0xffffffff)) 44 #define PTR_HI(x) ((u32)((((osal_uintptr_t)(x)) >> 16) >> 16)) 46 #define DMA_LO(x) ((u32)(((dma_addr_t)(x)) & 0xffffffff)) 47 #define DMA_HI(x) ((u32)(((dma_addr_t)(x)) >> 32))
|
H A D | ecore_ll2_api.h | 117 u32 opaque_data_0; /* src_mac_addr_hi */ 118 u32 opaque_data_1; /* src_mac_addr_lo */ 121 u32 gid_dst[4]; 155 u32 opaque_data_0, 156 u32 opaque_data_1);
|
/illumos-gate/usr/src/common/crypto/chacha/ |
H A D | chacha.c | 13 typedef unsigned int u32; typedef 20 #define U32V(v) ((u32)(v) & U32C(0xFFFFFFFF)) 26 (((u32)((p)[0]) ) | \ 27 ((u32)((p)[1]) << 8) | \ 28 ((u32)((p)[2]) << 16) | \ 29 ((u32)((p)[3]) << 24)) 54 chacha_keysetup(chacha_ctx_t *x, const u8 *k, u32 kbits, u32 ivbits __unused) in chacha_keysetup() 88 chacha_encrypt_bytes(chacha_ctx_t *x, const u8 *m, u8 *c, u32 bytes) in chacha_encrypt_bytes() 90 u32 x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15; in chacha_encrypt_bytes() 91 u32 j0, j1, j2, j3, j4, j5, j6, j7, j8, j9, j10, j11, j12, j13, j14, j15; in chacha_encrypt_bytes()
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | forcedeth.c | 287 u32 PacketBuffer; 314 u32 linkspeed; 320 u32 orig_mac[2]; 321 u32 irqmask; 397 u32 reg; in mii_rw() 548 u32 newls; in update_linkspeed() 604 u32 addr[2]; in set_multicast() 605 u32 mask[2]; in set_multicast() 606 u32 pff; in set_multicast() 608 u32 alwaysOn[2]; in set_multicast() [all …]
|
H A D | tlan.h | 47 typedef unsigned int u32; typedef 99 u32 flags; 416 inline u32 TLan_DioRead32(u16 base_addr, u16 internal_addr) in TLan_DioRead32() 446 inline void TLan_DioWrite32(u16 base_addr, u16 internal_addr, u32 data) in TLan_DioWrite32() 485 inline u32 TLan_HashFunc(u8 * a) in TLan_HashFunc() 501 inline u32 xor(u32 a, u32 b) in xor() 509 inline u32 TLan_HashFunc(u8 * a) in TLan_HashFunc() 511 u32 hash; in TLan_HashFunc()
|
/illumos-gate/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_hmc.c | 52 u32 sd_index, in i40e_add_sd_table_entry() 145 u32 pd_index, in i40e_add_pd_table_entry() 153 u32 sd_idx, rel_pd_idx; in i40e_add_pd_table_entry() 226 u32 idx) in i40e_remove_pd_bp() 232 u32 sd_idx, rel_pd_idx; in i40e_remove_pd_bp() 281 u32 idx) in i40e_prep_remove_sd_bp() 310 u32 idx, bool is_pf) in i40e_remove_sd_bp_new() 330 u32 idx) in i40e_prep_remove_pd_page() 359 u32 idx, bool is_pf) in i40e_remove_pd_page_new()
|
H A D | i40e_nvm.c | 51 u32 fla, gens; in i40e_init_nvm() 150 u32 total_delay = 0; in i40e_release_nvm() 210 u32 sr_reg; in i40e_read_nvm_word_srctl() 670 u32 i = 0; in __i40e_write_nvm_buffer() 1327 u32 gtime; in i40e_nvmupd_state_writing() 1530 u32 aq_desc_len; in i40e_nvmupd_exec_aq() 1531 u32 aq_data_len; in i40e_nvmupd_exec_aq() 1610 u32 aq_total_len; in i40e_nvmupd_get_aq_result() 1611 u32 aq_desc_len; in i40e_nvmupd_get_aq_result() 1679 u32 aq_total_len; in i40e_nvmupd_get_aq_event() [all …]
|
H A D | i40e_common.c | 5934 u32 reg_addr0, u32 reg_val0, in i40e_aq_alternate_write() 5935 u32 reg_addr1, u32 reg_val1) in i40e_aq_alternate_write() 6007 u32 reg_addr0, u32 *reg_val0, in i40e_aq_alternate_read() 6008 u32 reg_addr1, u32 *reg_val1) in i40e_aq_alternate_read() 6354 u32 *max_bw, u32 *min_bw, in i40e_read_bw_from_alt_ram() 6741 u32 time, u32 interval) in i40e_blink_phy_link_led() 7159 u32 reg_addr, u32 *reg_val, in i40e_aq_rx_ctl_read_register() 7225 u32 reg_addr, u32 reg_val, in i40e_aq_rx_ctl_write_register() 7318 u32 reg_addr, u32 reg_val, in i40e_aq_set_phy_register_ext() 7364 u32 reg_addr, u32 *reg_val, in i40e_aq_get_phy_register_ext() [all …]
|
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_80003es2lan.c | 404 u32 swfw_sync; in e1000_acquire_swfw_sync_80003es2lan() 451 u32 swfw_sync; in e1000_release_swfw_sync_80003es2lan() 821 u32 ctrl; in e1000_reset_hw_80003es2lan() 887 u32 reg_data; in e1000_init_hw_80003es2lan() 996 u32 reg; in e1000_initialize_hw_bits_80003es2lan() 1045 u32 reg; in e1000_copper_link_setup_gg82563_80003es2lan() 1191 u32 ctrl; in e1000_setup_copper_link_80003es2lan() 1282 u32 tipg; in e1000_cfg_kmrn_10_100_80003es2lan() 1283 u32 i = 0; in e1000_cfg_kmrn_10_100_80003es2lan() 1334 u32 tipg; in e1000_cfg_kmrn_1000_80003es2lan() [all …]
|
H A D | e1000_nvm.h | 54 u32 pba_num_size); 55 s32 e1000_read_pba_length_generic(struct e1000_hw *hw, u32 *pba_num_size); 57 u32 eeprom_buf_size, u16 max_pba_block_size, 60 u32 eeprom_buf_size, struct e1000_pba *pba); 62 u32 eeprom_buf_size, u16 *pba_block_size);
|
H A D | e1000_mbx.h | 95 s32 e1000_read_mbx(struct e1000_hw *, u32 *, u16, u16); 96 s32 e1000_write_mbx(struct e1000_hw *, u32 *, u16, u16); 97 s32 e1000_read_posted_mbx(struct e1000_hw *, u32 *, u16, u16); 98 s32 e1000_write_posted_mbx(struct e1000_hw *, u32 *, u16, u16);
|
H A D | e1000_82571.c | 516 u32 swsm; in e1000_get_hw_semaphore_82571() 577 u32 swsm; in e1000_put_hw_semaphore_82571() 828 u32 eecd; in e1000_update_nvm_checksum_82571() 1272 u32 reg; in e1000_initialize_hw_bits_82571() 1475 u32 ctrl; in e1000_led_on_82574() 1476 u32 i; in e1000_led_on_82574() 1572 u32 ctrl; in e1000_setup_copper_link_82571() 1653 u32 rxcw; in e1000_check_for_serdes_link_82571() 1654 u32 ctrl; in e1000_check_for_serdes_link_82571() 1656 u32 txcw; in e1000_check_for_serdes_link_82571() [all …]
|
H A D | e1000_i210.c | 90 u32 swfw_sync; in e1000_acquire_swfw_sync_i210() 91 u32 swmask = mask; in e1000_acquire_swfw_sync_i210() 92 u32 fwmask = mask << 16; in e1000_acquire_swfw_sync_i210() 142 u32 swfw_sync; in e1000_release_swfw_sync_i210() 164 u32 swsm; in e1000_get_hw_semaphore_i210() 325 u32 i, k, eewr = 0; in e1000_write_nvm_srwr() 326 u32 attempts = 100000; in e1000_write_nvm_srwr() 379 u32 invm_dword; in e1000_read_invm_word_i210() 598 u32 eec = 0; in e1000_get_flash_presence_i210() 619 u32 flup; in e1000_update_flash_i210() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | shift-undef.c | 96 typedef unsigned int u32; typedef 98 extern void hw_w32x2(u32 hi, u32 lo); 102 hw_w32x2(val >> 32, (u32) val); in hw_w64() 105 void hw_write(u32 val) in hw_write()
|
H A D | builtin-bswap-variable.c | 2 typedef unsigned int u32; typedef 10 static u32 swap32v(u64 a) in swap32v() 15 static u64 swap64v(u32 a) in swap64v()
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | fastlz_api.c | 102 write_to_buf(void *out_buf, u32 out_buf_size, u32 *offset, void *in_buf, in write_to_buf() 103 u32 in_buf_size) in write_to_buf() 120 read_from_buf(void *in_buf, u32 in_buf_size, u32 *offset, void *out_buf, in read_from_buf() 121 u32 out_buf_size) in read_from_buf() 217 (u32)strlen(shown_name)+1); in write_compression_hdr() 259 if ((chunk_size > 62000) && (cudbg_hdr->reserved[7] < (u32) in compress_buff() 261 cudbg_hdr->reserved[7] = (u32) chunk_size; in compress_buff() 382 u32 decompressed_size = 0; in decompress_buffer() 429 decompressed_size = (u32)readU32(buffer); in decompress_buffer()
|
/illumos-gate/usr/src/uts/common/io/qede/ |
H A D | qede.h | 410 u32 ncookies; 411 u32 offset; 414 u32 pad; 429 u32 index; 434 u32 ref_cnt; 442 u32 num_entries; 453 u32 bufs_per_page; 455 u32 inactive; 456 u32 buf_upstream; 540 u32 loopback_mode; [all …]
|
/illumos-gate/usr/src/uts/common/io/igc/core/ |
H A D | igc_phy.c | 62 u32 IGC_UNUSEDARG offset, u16 IGC_UNUSEDARG *data) in igc_null_read_reg() 113 u32 manc; in igc_check_reset_block_generic() 145 phy->id = (u32)(phy_id << 16); in igc_get_phy_id() 151 phy->id |= (u32)(phy_id & PHY_REVISION_MASK); in igc_get_phy_id() 152 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); in igc_get_phy_id() 169 u32 i, mdic = 0; in igc_read_phy_reg_mdic() 228 u32 i, mdic = 0; in igc_write_phy_reg_mdic() 241 mdic = (((u32)data) | in igc_write_phy_reg_mdic() 593 u32 ctrl; in igc_phy_force_speed_duplex_setup() 801 u32 usec_interval, bool *success) in igc_phy_has_link_generic() [all …]
|
/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_x540.h | 62 s32 ixgbe_acquire_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask); 63 void ixgbe_release_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask); 66 s32 ixgbe_blink_led_start_X540(struct ixgbe_hw *hw, u32 index); 67 s32 ixgbe_blink_led_stop_X540(struct ixgbe_hw *hw, u32 index);
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/ |
H A D | bdn.h | 63 typedef u32 bdn_cfg; 104 u32 link_config; 156 u32 size; 157 u32 uuid; // Unique identifer of the slot/chassis of the blade 165 u32 crc;
|
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | mc4.c | 49 u32 mc4_cfg = t1_read_reg_4(adapter, A_MC4_CFG); in mc4_calc_size() 62 static int wrreg_wait(adapter_t *adapter, unsigned int addr, u32 val) in wrreg_wait() 84 u32 val; in t1_mc4_init() 212 u32 pl_intr; in t1_mc4_intr_enable() 225 u32 pl_intr; in t1_mc4_intr_disable() 247 u32 cause = t1_read_reg_4(adapter, A_MC4_INT_CAUSE); in t1_mc4_intr_handler() 297 u32 *buf) in t1_mc4_bd_read() 307 u32 val; in t1_mc4_bd_read()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pstack.c | 194 ucontext32_t u32; in load_uclist() local 196 if (Pread(P, &u32, sizeof (u32), addr) != sizeof (u32)) in load_uclist() 198 uc.uc_link = (ucontext_t *)(uintptr_t)u32.uc_link; in load_uclist()
|