/illumos-gate/usr/src/tools/smatch/src/validation/linear/ |
H A D | bool-cast.c | 2 typedef unsigned int u32; typedef 11 static _Bool fu32_i(u32 a) { return a; } in fu32_i() 12 static _Bool fu32_e(u32 a) { return (_Bool)a; } in fu32_e()
|
/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_dcb.h | 68 u32 capabilities; /* DCB capabilities */ 132 u32 dcb_cfg_version; /* Not used...OS-specific? */ 133 u32 link_speed; /* For bandwidth allocation validation purpose */ 145 struct ixgbe_dcb_config *, u32, u8);
|
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_debug.c | 88 void elink_cb_dbg1(struct elink_dev * bp, char * fmt, u32 arg1) in elink_cb_dbg1() 105 void elink_cb_dbg2(struct elink_dev * bp, char * fmt, u32 arg1, u32 arg2) in elink_cb_dbg2() 122 void elink_cb_dbg3(struct elink_dev * bp, char * fmt, u32 arg1, u32 arg2, u32 arg3) in elink_cb_dbg3()
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | pcnet32.c | 61 typedef unsigned int u32; typedef 199 u32 base; 202 u32 msg_length; 203 u32 reserved; 207 u32 base; 210 u32 misc; 211 u32 reserved; 220 u32 filter[2]; 222 u32 rx_ring; 223 u32 tx_ring; [all …]
|
H A D | w89c840.c | 91 typedef unsigned int u32; typedef 146 static u32 driver_flags = CanHaveMII | HasBrokenTx; 209 u32 buffer1; 210 u32 next_desc; 275 static void decode_interrupt(u32 intr_status) in decode_interrupt() 349 static void handle_intr(u32 intr_stat) 387 u32 intr_status = readl(ioaddr + IntrStatus); in w89c840_poll() 515 w840private.tx_ring[entry].length = (DescWholePkt | (u32) s); in w89c840_transmit() 545 u32 intr_stat = 0; in w89c840_transmit() 881 u32 mc_filter[2]; /* Multicast hash filter */ in set_rx_mode() [all …]
|
H A D | davicom.c | 56 typedef unsigned int u32; typedef 169 static void phy_write_1bit(u32, u32); 170 static int phy_read_1bit(u32); 212 u32 io_dcr9; in phy_read() 256 u32 io_dcr9; in phy_write() 294 static void phy_write_1bit(u32 ee_addr, u32 phy_data) in phy_write_1bit() 308 static int phy_read_1bit(u32 ee_addr) in phy_read_1bit()
|
/illumos-gate/usr/src/uts/common/io/igc/core/ |
H A D | igc_api.c | 241 void igc_write_vfta(struct igc_hw *hw, u32 offset, u32 value) in igc_write_vfta() 257 u32 mc_addr_count) in igc_update_mc_addr_list() 391 int igc_rar_set(struct igc_hw *hw, u8 *addr, u32 index) in igc_rar_set() 422 u32 igc_hash_mc_addr(struct igc_hw *hw, u8 *mc_addr) in igc_hash_mc_addr() 451 s32 igc_read_phy_reg(struct igc_hw *hw, u32 offset, u16 *data) in igc_read_phy_reg() 468 s32 igc_write_phy_reg(struct igc_hw *hw, u32 offset, u16 data) in igc_write_phy_reg() 606 s32 igc_read_pba_string(struct igc_hw *hw, u8 *pba_num, u32 pba_num_size) in igc_read_pba_string()
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_sw.h | 258 #define IXGBE_FLAG_DCA_ENABLED (u32)(1) 259 #define IXGBE_FLAG_DCA_CAPABLE (u32)(1 << 1) 260 #define IXGBE_FLAG_DCB_ENABLED (u32)(1 << 2) 261 #define IXGBE_FLAG_DCB_CAPABLE (u32)(1 << 4) 262 #define IXGBE_FLAG_RSS_ENABLED (u32)(1 << 4) 263 #define IXGBE_FLAG_RSS_CAPABLE (u32)(1 << 5) 264 #define IXGBE_FLAG_VMDQ_CAPABLE (u32)(1 << 6) 265 #define IXGBE_FLAG_VMDQ_ENABLED (u32)(1 << 7) 266 #define IXGBE_FLAG_FAN_FAIL_CAPABLE (u32)(1 << 8) 267 #define IXGBE_FLAG_RSC_CAPABLE (u32)(1 << 9) [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_phy.c | 63 void elink_cb_dbg2(struct elink_dev *bp, _In_ char* fmt, u32 arg1, u32 arg2 ) in elink_cb_dbg2() 68 void elink_cb_dbg3(struct elink_dev *bp, _In_ char* fmt, u32 arg1, u32 arg2, u32 arg3 ) in elink_cb_dbg3() 75 u32 elink_cb_reg_read(struct elink_dev *cb, u32 reg_addr ) in elink_cb_reg_read() 80 void elink_cb_reg_write(struct elink_dev *cb, u32 reg_addr, u32 val ) in elink_cb_reg_write() 91 void elink_cb_reg_wb_read(struct elink_dev *cb, u32 offset, u32 *wb_write, u16 len ) in elink_cb_reg_wb_read() 109 u32 val=0; in elink_cb_gpio_read() 137 u32 elink_cb_fw_command(struct elink_dev *cb, u32 command, u32 param) in elink_cb_fw_command() 139 u32 fw_resp = 0; in elink_cb_fw_command() 145 void elink_cb_download_progress(struct elink_dev *cb, u32 cur, u32 total) in elink_cb_download_progress() 971 u32 phy_sel ; in lm_set_phy_selection() [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ |
H A D | ecore_sp_verbs.h | 130 u32 cid; 534 u32 cid; 798 u32 rss_key[10]; 1104 u32 cids[ECORE_MULTI_TX_COS]; 1216 u32 load_phase; 1228 u32 reset_phase; 1321 u32 drift_adjust_period; 1460 u8 cl_id, u32 cid, u8 func_id, void *rdata, 1467 u8 cl_id, u32 cid, u8 func_id, void *rdata, 1474 u8 cl_id, u32 cid, u8 func_id, void *rdata, [all …]
|
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_api.c | 626 void e1000_write_vfta(struct e1000_hw *hw, u32 offset, u32 value) in e1000_write_vfta() 642 u32 mc_addr_count) in e1000_update_mc_addr_list() 920 int e1000_rar_set(struct e1000_hw *hw, u8 *addr, u32 index) in e1000_rar_set() 951 u32 e1000_hash_mc_addr(struct e1000_hw *hw, u8 *mc_addr) in e1000_hash_mc_addr() 1023 s32 e1000_set_obff_timer(struct e1000_hw *hw, u32 itr) in e1000_set_obff_timer() 1055 s32 e1000_read_phy_reg(struct e1000_hw *hw, u32 offset, u16 *data) in e1000_read_phy_reg() 1072 s32 e1000_write_phy_reg(struct e1000_hw *hw, u32 offset, u16 data) in e1000_write_phy_reg() 1130 s32 e1000_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data) in e1000_read_kmrn_reg() 1145 s32 e1000_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data) in e1000_write_kmrn_reg() 1298 s32 e1000_read_pba_length(struct e1000_hw *hw, u32 *pba_num_size) in e1000_read_pba_length() [all …]
|
H A D | e1000_manage.h | 48 u8 e1000_calculate_checksum(u8 *buffer, u32 length); 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);
|
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | mc3.c | 46 u32 en = t1_read_reg_4(mc3->adapter, A_PL_ENABLE); in t1_mc3_intr_enable() 63 u32 pl_intr = t1_read_reg_4(mc3->adapter, A_PL_ENABLE); in t1_mc3_intr_disable() 86 u32 old_en; in t1_mc3_intr_clear() 111 u32 cause; in t1_mc3_intr_handler() 180 static int wrreg_wait(adapter_t *adapter, unsigned int addr, u32 val) in wrreg_wait() 195 u32 val; in t1_mc3_init() 326 static unsigned int __devinit mc3_calc_size(const adapter_t *adapter, u32 cfg) in mc3_calc_size()
|
/illumos-gate/usr/src/lib/iconv_modules/ja/common/ |
H A D | Unicode_TO_EUC-JIS-2004.c | 56 unsigned int u32; /* UTF-32 */ in _icv_iconv() local 81 GETU(&u32) in _icv_iconv() 83 e16 = _jfp_u32_to_euc16(u32); in _icv_iconv()
|
/illumos-gate/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_dcb.c | 48 u32 reg; in i40e_get_dcbx_status() 278 u32 ouisubtype; in i40e_parse_ieee_tlv() 447 u32 ouisubtype; in i40e_parse_cee_tlv() 505 u32 ouisubtype; in i40e_parse_org_tlv() 506 u32 oui; in i40e_parse_org_tlv() 1023 u32 ouisubtype; in i40e_add_ieee_ets_tlv() 1098 u32 ouisubtype; in i40e_add_ieee_etsrec_tlv() 1159 u32 ouisubtype; in i40e_add_ieee_pfc_tlv() 1199 u32 ouisubtype; in i40e_add_ieee_app_pri_tlv() 1348 u8 module, u32 word_offset) in _i40e_read_lldp_cfg() [all …]
|
H A D | i40e_dcb.h | 210 u32 defmaxtrafficclasses; 211 u32 defprioritytcmapping; 212 u32 deftcbandwidth; 213 u32 deftsaassignment;
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_l2t.c | 89 static inline u32 90 jhash_3words(u32 a, u32 b, u32 c, u32 initval) in jhash_3words() 101 static inline u32 102 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/bitfields/ |
H A D | tst.bitfields.c | 65 uint32_t u32; in main() local 88 u32 = (uint32_t)l; in main() 89 mumble(f, (bit0_t *)&u32, (bit1_t *)&u16); in main()
|
/illumos-gate/usr/src/uts/common/io/i40e/ |
H A D | i40e_osdep.h | 96 typedef uint32_t u32; typedef 104 #define __le32 u32 107 #define __be32 u32 138 u32 size; 187 extern void i40e_debug(void *, u32, char *, ...);
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore_l2.c | 60 u32 queues; 71 u32 i; in ecore_l2_alloc() 123 u32 i; in ecore_l2_free() 322 u32 cid = 0; in ecore_eth_queue_to_cid() 711 u32 *p_bins = (u32 *)p_params->bins; in ecore_sp_update_mcast_bin() 1544 static u32 ecore_crc32c_le(u32 seed, u8 *mac, u32 len) in ecore_crc32c_le() 1621 u32 *p_bins = (u32 *)bins; in ecore_sp_eth_filter_mcast() 1706 u32 *p_addr, u32 *p_len, in __ecore_get_vport_pstats_addrlen() 1784 u32 *p_addr, u32 *p_len, in __ecore_get_vport_ustats_addrlen() 1830 u32 *p_addr, u32 *p_len, in __ecore_get_vport_mstats_addrlen() [all …]
|
/illumos-gate/usr/src/uts/common/kiconv/kiconv_sc/ |
H A D | kiconv_sc.c | 748 uint32_t u32; in gbk_to_utf8() local 757 u32 = (gbk_val >> 24) * 12600 + in gbk_to_utf8() 761 u8array[0] = (uchar_t)(0xF0 | ((u32 & 0x1C0000) >> 18)); in gbk_to_utf8() 762 u8array[1] = (uchar_t)(0x80 | ((u32 & 0x03F000) >> 12)); in gbk_to_utf8() 763 u8array[2] = (uchar_t)(0x80 | ((u32 & 0x000FC0) >> 6)); in gbk_to_utf8() 764 u8array[3] = (uchar_t)(0x80 | (u32 & 0x00003F)); in gbk_to_utf8() 809 uint32_t u32; in utf8_to_gb18030() local 811 u32 = (((utf8 & 0x07000000) >> 6) | ((utf8 & 0x3F0000) >> 4) | in utf8_to_gb18030() 814 gbkcode = ((u32 / 12600 + 0x90) << 24) | in utf8_to_gb18030() 815 (((u32 % 12600) / 1260 + 0x30) << 16) | in utf8_to_gb18030() [all …]
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_ndd.c | 194 uint32_t u32; in mac_ndd_get_ioctl() local 250 value = (uchar_t *)&u32; in mac_ndd_get_ioctl() 265 new_value = u32 = (long)u64; in mac_ndd_get_ioctl() 278 new_value = u32; in mac_ndd_get_ioctl() 336 uint32_t u32; in mac_ndd_set_ioctl() local 391 u32 = (uint32_t)new_value; in mac_ndd_set_ioctl() 392 vp = (uchar_t *)&u32; in mac_ndd_set_ioctl()
|
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-device.c | 3050 u32 val = (u32)(XGE_HAL_SW_RESET_ALL >> 32); in __hal_device_reset() 5982 static u32 5983 __hal_calc_jhash(u8 *msg, u32 length, u32 golden_ratio, u32 init_value) in __hal_calc_jhash() 5998 a += (msg[0] + ((u32)msg[1]<<8) + ((u32)msg[2]<<16) in __hal_calc_jhash() 6000 b += (msg[4] + ((u32)msg[5]<<8) + ((u32)msg[6]<<16) in __hal_calc_jhash() 6002 c += (msg[8] + ((u32)msg[9]<<8) + ((u32)msg[10]<<16) in __hal_calc_jhash() 6377 u32 temp_src_ip = (u32)(spdm_line_arr[1] >> 32); in xge_hal_spdm_entry_remove() 6378 u32 temp_dst_ip = (u32)(spdm_line_arr[1] & 0xffffffff); in xge_hal_spdm_entry_remove() 6559 u32 *bar2 = (u32 *)hldev->bar2; in xge_hal_mask_msix() 6589 u32 *bar2 = (u32 *)hldev->bar2; in xge_hal_unmask_msix() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | attr_vector_size.c | 1 typedef unsigned int u32; typedef 2 typedef u32 __attribute__((vector_size(16))) sse128_t;
|
/illumos-gate/usr/src/uts/common/io/xge/hal/include/ |
H A D | xgehal-ring.h | 132 (u32)((Control_2 & vBIT(0xFFFFFFFF,16,32))>>16) 169 u32 host_control; 170 u32 control_3; 172 u32 control_3; 173 u32 host_control; 350 u32 rth_value;
|