/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/ |
H A D | mac_stats.h | 7 u32 rx_stat_ifhcinoctets; 8 u32 rx_stat_ifhcinbadoctets; 9 u32 rx_stat_etherstatsfragments; 10 u32 rx_stat_ifhcinucastpkts; 11 u32 rx_stat_ifhcinmulticastpkts; 12 u32 rx_stat_ifhcinbroadcastpkts; 13 u32 rx_stat_dot3statsfcserrors; 14 u32 rx_stat_dot3statsalignmenterrors; 15 u32 rx_stat_dot3statscarriersenseerrors; 16 u32 rx_stat_xonpauseframesreceived; [all …]
|
H A D | mac_drv_info.h | 11 u32 capability1; 19 u32 capability2; 27 u32 capability3; 35 u32 capability4; 43 u32 driver_version; 44 u32 unused[3]; 67 u32 mtu_size; /* MTU Size. Note : Negotiated MTU */ 68 u32 feature_flags; /* Feature_Flags. */ 78 u32 lso_max_size; /* LSO MaxOffloadSize. */ 79 u32 lso_min_seg_cnt; /* LSO MinSegmentCount. */ [all …]
|
H A D | shmem.h | 51 u32 link_status; 114 u32 port_stx; 116 u32 stat_nig_timer; 119 u32 ext_phy_fw_version; 126 u32 drv_mb_header; 204 u32 drv_mb_param; 218 u32 fw_mb_header; 288 u32 fw_mb_param; 292 u32 drv_pulse_mb; 306 u32 mcp_pulse_mb; [all …]
|
H A D | dev_info.h | 87 u32 upper; 88 u32 lower; 97 u32 config; /* 0x114 */ 162 u32 config2; /* 0x118 */ 236 u32 config_3; /* 0x11C */ 247 u32 ump_nc_si_config; /* 0x120 */ 259 u32 board; /* 0x124 */ 275 u32 wc_lane_config; /* 0x128 */ 317 u32 pci_id; 324 u32 pci_sub_id; [all …]
|
H A D | multi_thread_def.h | 75 u32 io_rsp; /* The response to write */ 89 u32 front; /* For de-queue */ 90 u32 rear; /* For queuing */ 91 u32 attributes; 98 #define THREAD_FUNC_PTR u32 102 u32 total_cpu_time; 103 u32 times_in_cpu; 104 u32 going_to_sleep_count; 105 u32 waking_up_count; 106 u32 swim_failure_cnt; [all …]
|
/illumos-gate/usr/src/uts/common/io/xge/hal/include/ |
H A D | xgehal-stats.h | 409 u32 tmac_frms; 410 u32 tmac_data_octets; 412 u32 tmac_mcst_frms; 413 u32 tmac_bcst_frms; 415 u32 tmac_ttl_octets; 416 u32 tmac_ucst_frms; 417 u32 tmac_nucst_frms; 418 u32 tmac_any_err_frms; 421 u32 tmac_vld_ip; 422 u32 tmac_drop_ip; [all …]
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | cudbg_entity.h | 155 u32 pbt_dynamic[CUDBG_PBT_DYNAMIC_ENTRIES]; 156 u32 pbt_static[CUDBG_PBT_STATIC_ENTRIES]; 157 u32 lrf_table[CUDBG_LRF_ENTRIES]; 158 u32 pbt_data[CUDBG_PBT_DATA_ENTRIES]; 171 u32 rss_pf_map; 172 u32 rss_pf_mask; 173 u32 rss_pf_config; 183 u32 filter_start; 184 u32 server_start; 185 u32 clip_start; [all …]
|
H A D | cudbg_lib_common.h | 57 u32 max_seq_no; 58 u32 max_seq_sec; 59 u32 hdr_data_len; /* Total data */ 60 u32 skip_size; /* Total size of large entities. */ 66 void update_skip_size(struct cudbg_flash_sec_info *, u32); 71 u32 signature; 72 u32 hdr_len; 75 u32 data_len; 76 u32 hdr_flags; 80 u32 reserved[8]; [all …]
|
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | tp.h | 36 u32 ipInReceive_hi; 37 u32 ipInReceive_lo; 38 u32 ipInHdrErrors_hi; 39 u32 ipInHdrErrors_lo; 40 u32 ipInAddrErrors_hi; 41 u32 ipInAddrErrors_lo; 42 u32 ipInUnknownProtos_hi; 43 u32 ipInUnknownProtos_lo; 44 u32 ipInDiscards_hi; 45 u32 ipInDiscards_lo; [all …]
|
/illumos-gate/usr/src/uts/common/io/chxge/ |
H A D | sge.h | 117 u32 AddrLow; 118 u32 GenerationBit: 1; 119 u32 BufferLength: 31; 120 u32 RespQueueSelector: 4; 121 u32 ResponseTokens: 12; 122 u32 CmdId: 8; 123 u32 Reserved: 3; 124 u32 TokenValid: 1; 125 u32 Eop: 1; 126 u32 Sop: 1; [all …]
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/hsi/ |
H A D | common_nvm.h | 51 extern void memset32(u32 *ptr, u32 val, u32 byte_cnt); 52 extern void memcpy32(u32 *ptr, u32 *src, u32 byte_cnt); 55 extern int nvm_read(u32 nvm_addr, u32 n_bytes, u32 *read_buf); 56 extern void compute_crc_from_buf(u32 *buf_p, u32 len, u32 *crc_p); 57 extern int nvm_write(u32 nvm_addr, u32 byte_cnt, u32 *buf); 58 extern int validate_dir(u32 bundle_id, u32 num_images); 59 extern void nvm_write_progress_cb(u32 byte_cnt, u32 orig_byte_cnt); 71 #define PCIR_OFFSET(f) ((u32)((int_ptr_t) &(((pci30_rom_hdr *)0)->f))) 145 u32 get_flash_size(void); 164 int allocate_nvram_for_image(struct nvm_dir *p_dir, struct image_header *p_image_header, u32 *o_nvm… [all …]
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore_user_dbg_fw_funcs.h | 139 u32 *dump_buf, 140 u32 num_dumped_dwords, 141 u32 *results_buf_size); 156 u32 *dump_buf, 157 u32 num_dumped_dwords, 159 u32 *num_errors, 160 u32 *num_warnings); 172 void ecore_dbg_mcp_trace_set_meta_data(u32 *data, 173 u32 size); 188 u32 *dump_buf, [all …]
|
H A D | ecore_mcp_api.h | 43 u32 advertised_speeds; /* bitmask of DRV_SPEED_CAPABILITY */ 44 u32 forced_speed; /* In Mb/s */ 61 u32 tx_lpi_timer; 75 u32 loopback_mode; /* in PMM_LOOPBACK values */ 80 u32 speed_capabilities; 82 u32 default_speed; /* In Mb/s */ 84 u32 eee_lpi_timer; 90 u32 line_speed; /* In Mb/s */ 91 u32 min_pf_rate; /* In Mb/s */ 92 u32 speed; /* In Mb/s */ [all …]
|
H A D | ecore_phy_api.h | 53 u32 port, u32 addr, u32 data_lo, u32 data_hi, 68 u32 port, u32 addr, char *p_phy_result_buf); 85 u32 port, u32 lane, u32 addr, u32 data_lo, 86 u32 data_hi, char *p_phy_result_buf); 101 u32 port, u32 lane, u32 addr, char *p_phy_result_buf); 114 u32 port, char *p_phy_result_buf); 143 u32 port, u32 addr, u32 offset, u32 size, 144 u32 val, char *p_phy_result_buf); 160 u32 port, u32 addr, u32 offset, u32 size, 174 u32 port, char *p_phy_result_buf); [all …]
|
H A D | ecore_dbg_fw_funcs.h | 58 enum dbg_status ecore_dbg_set_app_ver(u32 ver); 65 u32 ecore_dbg_get_fw_func_ver(void); 172 u32 dest_addr_lo32, 261 u32 tick_len); 314 u32 cid); 383 u32 post_cycles, 467 u32 data, 468 u32 data_mask, 519 u32 *buf_size); 541 u32 *dump_buf, [all …]
|
H A D | ecore_iscsi_api.h | 50 u32 icid; 51 u32 fw_cid; 56 u32 initial_ack; 74 u32 remote_ip[4]; 75 u32 local_ip[4]; 78 u32 rcv_next; 79 u32 snd_una; 80 u32 snd_next; 81 u32 snd_max; 82 u32 snd_wnd; [all …]
|
/illumos-gate/usr/src/lib/iconv_modules/ja/common/ |
H A D | jfp_iconv_unicode.h | 88 unsigned int u32; /* resulted UTF-32 */ in read_unicode() local 96 u32 = 0U; in read_unicode() 97 u32 |= (unsigned int)ic1 << 24; in read_unicode() 98 u32 |= (unsigned int)ic2 << 16; in read_unicode() 99 u32 |= (unsigned int)ic3 << 8; in read_unicode() 100 u32 |= (unsigned int)ic4 << 0; in read_unicode() 101 if (u32 == BOM) { in read_unicode() 107 } else if (u32 == BSBOM32) { in read_unicode() 119 u32 = 0U; in read_unicode() 120 u32 |= (unsigned int)ic1 << 0; in read_unicode() [all …]
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/hsi/mcp/ |
H A D | mcp_public.h | 56 typedef u32 offsize_t; /* In DWORDS !!! */ 77 u32 speed; /* 0 = autoneg, 1000/10000/20000/25000/40000/50000/100000 */ 81 u32 pause; /* bitmask */ 87 u32 adv_speed; /* Default should be the speed_cap_mask */ 88 u32 loopback_mode; 100 u32 eee_cfg; 111 u32 link_modes; /* Additional link modes */ 117 u32 dynamic_cfg; /* device control channel */ 122 u32 reserved[1]; 271 u32 config; [all …]
|
H A D | bdn.h | 56 typedef u32 bdn_cfg; 134 u32 version; /* Version of Codec */ 164 u32 link_config; 210 u32 optional_bitmap; 250 u32 hdr; 251 u32 num_of_npiv; 266 u32 optional_bitmap; 279 u32 optional_bitmap; 284 u32 lun; 286 u32 tcp_port; [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/optim/ |
H A D | binops-same-args.c | 1 typedef unsigned int u32; typedef 4 u32 usub(u32 a) { return a - a; } in usub() 7 u32 udiv(u32 a) { return a / a; } in udiv() 9 u32 umod(u32 a) { return a % a; } in umod() 18 u32 ueq(u32 a) { return a == a; } in ueq() 19 u32 une(u32 a) { return a != a; } in une() 20 u32 ult(u32 a) { return a < a; } in ult() 21 u32 ugt(u32 a) { return a > a; } in ugt() 22 u32 ule(u32 a) { return a <= a; } in ule() 23 u32 uge(u32 a) { return a >= a; } in uge() [all …]
|
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_vf.h | 92 u32 data; 101 u32 rss; /* RSS Hash */ 109 u32 status_error; /* ext status/error */ 123 u32 cmd_type_len; 124 u32 olinfo_status; 128 u32 nxtseq_seed; 129 u32 status; 146 u32 vlan_macip_lens; 147 u32 seqnum_seed; 148 u32 type_tucmd_mlhl; [all …]
|
/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_common.h | 42 IXGBE_WRITE_REG(hw, reg, (u32) value); \ 43 IXGBE_WRITE_REG(hw, reg + 4, (u32) (value >> 32)); \ 60 s32 ixgbe_read_pba_num_generic(struct ixgbe_hw *hw, u32 *pba_num); 62 u32 pba_num_size); 64 u32 eeprom_buf_size, u16 max_pba_block_size, 67 u32 eeprom_buf_size, struct ixgbe_pba *pba); 69 u32 eeprom_buf_size, u16 *pba_block_size); 76 s32 ixgbe_led_on_generic(struct ixgbe_hw *hw, u32 index); 77 s32 ixgbe_led_off_generic(struct ixgbe_hw *hw, u32 index); 98 s32 ixgbe_poll_eerd_eewr_done(struct ixgbe_hw *hw, u32 ee_reg); [all …]
|
H A D | ixgbe_api.h | 62 u32 ixgbe_get_num_of_tx_queues(struct ixgbe_hw *hw); 63 u32 ixgbe_get_num_of_rx_queues(struct ixgbe_hw *hw); 65 s32 ixgbe_read_pba_num(struct ixgbe_hw *hw, u32 *pba_num); 66 s32 ixgbe_read_pba_string(struct ixgbe_hw *hw, u8 *pba_num, u32 pba_num_size); 70 s32 ixgbe_read_phy_reg(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, 72 s32 ixgbe_write_phy_reg(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, 95 s32 ixgbe_led_on(struct ixgbe_hw *hw, u32 index); 96 s32 ixgbe_led_off(struct ixgbe_hw *hw, u32 index); 97 s32 ixgbe_blink_led_start(struct ixgbe_hw *hw, u32 index); 98 s32 ixgbe_blink_led_stop(struct ixgbe_hw *hw, u32 index); [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/hw/include/ |
H A D | clc.h | 24 extern u32 elink_cb_reg_read(struct elink_dev *cb, u32 reg_addr); 25 extern void elink_cb_reg_write(struct elink_dev *cb, u32 reg_addr, u32 val); 27 extern void elink_cb_reg_wb_write(struct elink_dev *cb, u32 offset, 28 u32 *wb_write, u16 len); 29 extern void elink_cb_reg_wb_read(struct elink_dev *cb, u32 offset, 30 u32 *wb_write, u16 len); 40 extern u32 elink_cb_gpio_read(struct elink_dev *cb, u16 gpio_num, u8 port); 45 extern u32 elink_cb_fw_command(struct elink_dev *cb, u32 command, u32 param); 48 extern void elink_cb_udelay(struct elink_dev *cb, u32 microsecond); 52 extern void elink_cb_download_progress(struct elink_dev *cb, u32 cur, u32 total); [all …]
|
/illumos-gate/usr/src/uts/sun/sys/dada/impl/ |
H A D | udcd.h | 69 #define udcd_cmd32toudcd_cmd(u32, ucmd) \ argument 70 ucmd->udcd_error_reg = u32->udcd_error_reg; \ 71 ucmd->udcd_status_reg = u32->udcd_status_reg; \ 72 ucmd->udcd_status = u32->udcd_status; \ 73 ucmd->udcd_timeout = u32->udcd_timeout; \ 74 ucmd->udcd_flags = u32->udcd_flags; \ 75 ucmd->udcd_resid = u32->udcd_resid; \ 76 ucmd->udcd_buflen = u32->udcd_buflen; \ 77 ucmd->udcd_bufaddr = (caddr_t)(uintptr_t)u32->udcd_bufaddr; \ 78 ucmd->udcd_cmd = (struct dcd_cmd *)(uintptr_t)u32->udcd_cmd; \ [all …]
|