Home
last modified time | relevance | path

Searched refs:u8_t (Results 1 – 25 of 84) sorted by relevance

1234

/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/fw/
H A D5710_hsi.h11 u8_t status_block_id /* status block id */;
12 u8_t reserved0 /* resreved for padding */;
70 u8_t __aux1_th /* Aux1 threhsold for the decision */;
71 u8_t __aux1_val /* Aux1 aggregation value */;
75 u8_t __aux1_val /* Aux1 aggregation value */;
76 u8_t __aux1_th /* Aux1 threhsold for the decision */;
88 u8_t __reserved62 /* Mask value for the decision algorithm of the general flags */;
89 u8_t __reserved61 /* General flags */;
90 u8_t __reserved60 /* ORQ consumer updated by the completor */;
91 u8_t __reserved59 /* ORQ ULP Rx consumer */;
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/
H A Dncsi_cmds.h113 u8_t DestAddr[SIZEOF_MAC_ADDRESS]; /* 6 */
114 u8_t SrcAddr[SIZEOF_MAC_ADDRESS]; /* 12 */
119 u8_t McId;
122 u8_t HeaderRevNum; /* 16 ids */
123 u8_t Reserved0;
124 u8_t InstanceId; /* 18 ids order of pkts */
127 u8_t TypeCode; /* 19 ids specific command */
161 u8_t ChannelId; /* 20 ids specific bcm5706 */
170 u8_t DestAddr[SIZEOF_MAC_ADDRESS+2]; /* 6 + 2 padding */
171 u8_t SrcAddr[SIZEOF_MAC_ADDRESS-2];
[all …]
H A Dncsi_basic_types.h79 typedef u8_t* pu8_t;
133 u8_t Major;
134 u8_t Minor;
135 u8_t Update;
136 u8_t Alpha1;
137 u8_t Reserved0;
138 u8_t Reserved1;
139 u8_t Reserved2;
140 u8_t Alpha2;
144 u8_t Alpha1;
[all …]
H A Dnvm_map.h78 u8_t iscsi_cfg[4][0x800];
79 u8_t fcoe_cfg[4][0x400];
197 u8_t spare_part_num[MAX_SPARE_NUM_LENGTH];
241 u8_t data[MAX_VPD_R_LENGTH];
246 u8_t data[MAX_VPD_W_LENGTH];
271u8_t hwkey_mac[MAC_ADDRESS_ALIGNED_BYTE_CNT]; /* Phony MAC address for HW key
273 u8_t oem_opaque[OEM_OPAQUE_DATA_BYTE_CNT]; /* Used via BMAPI */
286 u8_t shared_secret[SHARED_SECRET_BYTE_CNT]; /* Customer dependent */
290 u8_t oem_opaque[OEM_OPAQUE_DATA_BYTE_CNT]; /* Used via BMAPI */
354 u8_t vendor_oui[SFF_VENDOR_OUI_LEN];
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/common/
H A Dlm_vf_common.h12 u8_t lm_vf_is_function_after_flr(struct _lm_device_t * pdev);
14 lm_status_t lm_vf_setup_alloc_resc(struct _lm_device_t *pdev, u8_t b_is_alloc);
34 lm_vf_get_bar_offset(struct _lm_device_t *pdev, u8_t bar_num, lm_address_t * bar_addr);
61 void lm_pf_fl_vf_reset_set_inprogress(struct _lm_device_t * pdev, u8_t abs_vf_id);
62 void lm_pf_fl_vf_reset_clear_inprogress(struct _lm_device_t *pdev, u8_t abs_vf_id);
63 u8_t lm_pf_fl_vf_reset_is_inprogress(struct _lm_device_t *pdev, u8_t abs_vf_id);
108 u8_t pci_bus_num;
109 u8_t pci_device_num;
110 u8_t pci_function_num;
111 u8_t pad[3];
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm.h117u8_t mask [LM_NWUF_PATTERN_MASK_SIZE]; // 16 bytes --> (128 bits - each bit represents patter…
118 u8_t pattern [LM_NWUF_PATTERN_SIZE]; // 128 bytes --> (1024 bits)
280 void lm_reset_path(struct _lm_device_t *pdev, const u8_t b_with_nig );
299 u8_t lm_is_mcp_detected(
331 u8_t lm_fl_reset_is_inprogress(struct _lm_device_t *pdev);
346 u8_t lm_pm_reset_is_inprogress(struct _lm_device_t *pdev);
353 u8_t lm_reset_is_inprogress(struct _lm_device_t *pdev);
358 void lm_set_func_en(struct _lm_device_t *pdev, const u8_t b_enable);
363 u8_t lm_get_func_en(struct _lm_device_t *pdev, const u8_t pfunc_abs);
393 const u8_t b_block);
[all …]
H A Dlm5710.h226 u8_t cmd;
227 u8_t flags;
464 #define OFFSETOF(_s, _m) ((u32_t) PTR_SUB(&((_s *) 0)->_m, (u8_t *) 0))
483 u32_t upper_align_power_of_2(IN const u16_t num, IN const u8_t num_bits_supported);
546 u8_t *mem_virt;
557 u8_t attributes;
580 u8_t span_pages;
581 u8_t _pad1;
582 u8_t hdr_nbds;
597 u8_t qidx; // VBD mapping to RSS queue.
[all …]
H A Dcommand.h27 u8_t idx;
82 u8_t command, in lm_sq_post_fill_entry()
85 u8_t release_mem_flag) in lm_sq_post_fill_entry()
126 u8_t priority);
137 u8_t command,
138 u8_t priority,
157 void lm_sq_complete(struct _lm_device_t *pdev, u8_t priority,
158 u8_t command, u16_t type, u32_t cid );
179 u8_t command, in lm_command_post()
180 u8_t priority, in lm_command_post()
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/include/
H A Dl4states.h105 u8_t src_addr[8];
112 u8_t dst_addr[8];
131 u8_t ip_version;
135 u8_t _pad[3];
184 u8_t snd_seg_scale:4; /* 0 if win scaling is disabled */
185 u8_t rcv_seg_scale:4; /* 0 if win scaling is disabled */
186 u8_t _pad[3];
204 u8_t ttl_or_hop_limit;
205 u8_t tos_or_traffic_class;
206 u8_t ka_probe_cnt;
[all …]
H A Dlicense.h58 u8_t digest[HASH_VALUE_SIZE];
63 u8_t key_type;
66 u8_t version;
68 u8_t dword_length; /* Not including the digest */
69 u8_t oem_id;
120 u8_t digest[HASH_VALUE_SIZE];
125 u8_t oem_id;
128 u8_t dword_length; /* Not including the digest */
129 u8_t version;
131 u8_t key_type;
H A Dlm_defs.h69 #define SIG(_p) (*((u32_t *) ((u8_t *) (_p) - sizeof(u32_t))))
70 #define END_SIG(_p, _size) (*((u32_t *) ((u8_t *) (_p) + (_size))))
81 (((((u8_t *) (_p) - (u8_t *) 0) + ((_a) - 1)) & ~((_a) - 1)) - \
82 ((u8_t *) (_p) - (u8_t *) 0))
87 ((u8_t *) (_p) + ALIGN_DELTA_TO_BOUNDARY(_p, _a))
427 u8_t lso_tcp_flags;
428 u8_t tcp_nonce_sum_bit;
431 u8_t dst_mac_addr[8];
433 u8_t src_mac_addr[8];
434 u8_t _unused1;
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/include/
H A Dlm_l4st.h29 u8_t * pattern_buf;
116 u8_t stale;
117 u8_t _pad[3];
162 u8_t * start; /* Start of the memory block */
163 u8_t * free; /* Pointer to the start of the remaining free space of the block */
166 u8_t flags; /* virt-memblock-pool member or not */
174 u8_t * start; /* Start of the memory block */
175 u8_t * free; /* Pointer to the start of the remaining free space of the block */
216 u8_t current_isle_number;
217 u8_t max_number_of_isles;
[all …]
H A Dlm_l4if.h13 lm_status_t lm_tcp_init_resc(struct _lm_device_t *pdev, u8_t b_is_init );
247 u8_t lm_tcp_is_tcp_dead(
250 u8_t op
282 u8_t lm_toe_is_tx_completion(struct _lm_device_t *pdev, u8_t drv_toe_rss_id);
283 u8_t lm_toe_is_rx_completion(struct _lm_device_t *pdev, u8_t drv_toe_rss_id);
284 u8_t lm_toe_is_rcq_suspended(struct _lm_device_t *pdev, u8_t drv_toe_rss_id);
285 void lm_toe_service_tx_intr(struct _lm_device_t *pdev, u8_t drv_toe_rss_id);
286 void lm_toe_service_rx_intr(struct _lm_device_t *pdev, u8_t drv_toe_rss_id);
310 lm_status_t lm_tcp_update_rss(struct _lm_device_t * pdev, u8_t * chain_indirection_table,
311 u32_t table_size, u8_t enable);
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_dcbx_mp.c67 STATIC u8_t
93 u8_t
98 u8_t cos = ETH_MP_MAX_COS_SUPPORTED; in lm_mp_cos_from_chain()
130 const u8_t cos = lm_mp_cos_from_chain(pdev, chain); in lm_mp_get_chain_type()
153 STATIC u8_t
155 IN const u8_t cos) in lm_mp_get_eth_chain_cosx_start_offset()
157 u8_t cosx_start_offset = 0; in lm_mp_get_eth_chain_cosx_start_offset()
191 const u8_t cos = lm_mp_cos_from_chain(pdev, chain); in lm_mp_get_reg_chain_from_chain()
192 u8_t cosx_start_offset = 0; in lm_mp_get_reg_chain_from_chain()
215 u8_t
[all …]
H A Dbd_chain_st.h13 u8_t reserved[8] /* keeps same size as other eth tx bd types */;
30u8_t bd_size; /* currently 8 and 16 bytes are supported. ("next_bd" is always…
31u8_t bds_skip_eop; /* num bds to skip at the end of the page due to the 'next poin…
32 u8_t reserved[2];
39 u8_t b_is_chain_mode; /* indicate if using bd_chain interface or pbl interface */
40u8_t num_bd_to_sub; /* Number of bds to subtract when checking if end of page was r…
41 u8_t reserved1[2];
47 u8_t hc_sb;
48 u8_t hc_index_value;
H A Dlm_pf.c69 lm_vf_info_t * lm_pf_find_vf_info_by_abs_id(struct _lm_device_t *pdev, u8_t abs_vf_id) in lm_pf_find_vf_info_by_abs_id()
77 relative_vf_id = abs_vf_id - (u8_t)pdev->hw_info.sriov_info.first_vf_in_pf; in lm_pf_find_vf_info_by_abs_id()
118 …mm_memcpy((u8_t*)vf_info->pf_vf_response.request_virt_addr + vf_info->pf_vf_response.request_offse… in lm_pf_download_standard_request()
126 …vf_info->pf_vf_response.response_virt_addr = (u8_t*)vf_info->pf_vf_response.request_virt_addr + re… in lm_pf_download_standard_request()
176 …mm_memcpy(virt_buffer, (u8_t*)vf_info->pf_vf_response.response_virt_addr + vf_info->pf_vf_response… in lm_pf_upload_standard_response()
203 u8_t mm_cli_idx = 0; in lm_pf_allocate_vfs()
294 u8_t * mem_virt; in lm_pf_init_vfs()
319 pdev->vfs_set.vfs_array[vf_idx].relative_vf_id = (u8_t)vf_idx; in lm_pf_init_vfs()
320 …pdev->vfs_set.vfs_array[vf_idx].abs_vf_id = (u8_t)(vf_idx + pdev->hw_info.sriov_info.first_vf_in_p… in lm_pf_init_vfs()
416 u8_t base_fw_stats_id) in lm_pf_set_vf_stat_id()
[all …]
H A Dlm_sb.c126 lm_status_t lm_set_interrupt_moderation(struct _lm_device_t *pdev, u8_t is_enable) in lm_set_interrupt_moderation()
129 u8_t sb_id = 0 ; in lm_set_interrupt_moderation()
159 void lm_set_igu_tmode(struct _lm_device_t *pdev, u8_t tmode) in lm_set_igu_tmode()
164 u8_t lm_get_igu_tmode(struct _lm_device_t *pdev) in lm_get_igu_tmode()
180 u8_t lm_get_num_fp_msix_messages(struct _lm_device_t *pdev) in lm_get_num_fp_msix_messages()
193 u8_t lm_get_base_msix_msg(struct _lm_device_t *pdev) in lm_get_base_msix_msg()
202 u8_t lm_has_sp_msix_vector(struct _lm_device_t *pdev) in lm_has_sp_msix_vector()
211 lm_status_t lm_set_hc_flag(struct _lm_device_t *pdev, u8_t sb_id, u8_t idx, u8_t is_enable) in lm_set_hc_flag()
215 u8_t fw_sb_id; in lm_set_hc_flag()
216 u8_t notify_fw = FALSE; in lm_set_hc_flag()
[all …]
H A Dlm_dcbx.c50 u8_t num_of_dif_pri;
51 u8_t pg;
58 u8_t num_of_pg;
65 u8_t num_entries;
91 u8_t s_pri;
92 u8_t b_pausable;
98 u8_t num_of_cos;
112 STATIC u8_t
126 IN const u8_t set_priority_app_size,
127 IN const u8_t mcp_pri_pg_tbl_size);
[all …]
H A Dlm_dmae.h235 u8_t main_channel;
240 u8_t executer_channel;
242 u8_t change_endianity;
300 u8_t b_replicate_source;
302 u8_t le32_swap;
306 u8_t b_sync;
315 u8_t next_free_block;
411 IN const u8_t channel_idx,
413 IN const u8_t change_endianity);
431 IN const u8_t loader_channel_idx,
[all …]
H A Dbd_chain.h71 __inline static u8_t lm_bd_chain_is_empty(lm_bd_chain_t* bd_chain) in lm_bd_chain_is_empty()
77 __inline static u8_t lm_bd_chain_is_full(lm_bd_chain_t* bd_chain) in lm_bd_chain_is_full()
83 __inline static lm_address_t lm_bd_chain_phys_addr(lm_bd_chain_t* bd_chain, u8_t page_idx) in lm_bd_chain_phys_addr()
86 u8_t idx; in lm_bd_chain_phys_addr()
118 u8_t *start_mem_virt; in lm_bd_chain_set_next_ptrs()
119 u8_t *mem_virt; in lm_bd_chain_set_next_ptrs()
173 *((u8_t **) next_bd->reserved) = mem_virt + LM_PAGE_SIZE; in lm_bd_chain_set_next_ptrs()
182 *((u8_t **) next_bd->reserved) = start_mem_virt; in lm_bd_chain_set_next_ptrs()
196 u8_t bd_size, /* currently only 8 and 16 bytes are possible */ in lm_bd_chain_add_page()
197 u8_t is_chain_mode) /* Is the next pointer the last entry*/ in lm_bd_chain_add_page()
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/l4/
H A Dmm_l4if.h40 void MM_ACQUIRE_TOE_GRQ_LOCK(struct _lm_device_t *_pdev, u8_t idx);
41 void MM_RELEASE_TOE_GRQ_LOCK(struct _lm_device_t *_pdev, u8_t idx);
42 void MM_ACQUIRE_TOE_GRQ_LOCK_DPC(struct _lm_device_t *_pdev, u8_t idx);
43 void MM_RELEASE_TOE_GRQ_LOCK_DPC(struct _lm_device_t *_pdev, u8_t idx);
67 #define MM_INIT_TCP_LOCK_HANDLE() u8_t __ql_hdl[SIZEOF_QL_HDL] = {0}
89 void MM_ACQUIRE_TOE_GRQ_LOCK(lm_device_t *_pdev, u8_t idx);
90 void MM_RELEASE_TOE_GRQ_LOCK(lm_device_t *_pdev, u8_t idx);
91 void MM_ACQUIRE_TOE_GRQ_LOCK_DPC(lm_device_t *_pdev, u8_t idx);
92 void MM_RELEASE_TOE_GRQ_LOCK_DPC(lm_device_t *_pdev, u8_t idx);
137 void MM_ACQUIRE_TOE_GRQ_LOCK(lm_device_t *_pdev, u8_t idx);
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Dmm_linux.h97 …LM_BAR_WR32_ADDRESS((PDEV), ((u8_t *)PFDEV(PDEV)->context_info->array[VF_TO_PF_CID((PDEV),(CID))].…
147 void MM_ACQUIRE_SB_LOCK_IMP(struct _lm_device_t *_pdev, u8_t _sb_idx);
148 void MM_RELEASE_SB_LOCK_IMP(struct _lm_device_t *_pdev, u8_t _sb_idx);
179 u8_t barn,
183 u8_t bar_num,
190 u8_t bar_num,
196 u8_t bar,
198 u8_t * ret
204 u8_t bar,
211 u8_t bar,
[all …]
H A Dmm.h57 const u8_t b_fw_access,
58 const u8_t b_queue_for_fw);
232 u8_t bar);
256 u8_t bar,
276 u8_t cli_idx);
284 u8_t mem_type,
287 u8_t cli_idx);
296 u8_t cli_idx);
305 u8_t mem_type,
308 u8_t cli_idx ) ;
[all …]
H A Dmm_solaris.h84 …LM_BAR_WR32_ADDRESS((PDEV), ((u8_t *)PFDEV(PDEV)->context_info->array[VF_TO_PF_CID((PDEV),(CID))].…
137 void MM_ACQUIRE_SB_LOCK_IMP(struct _lm_device_t * pDev, u8_t sb_idx);
138 void MM_RELEASE_SB_LOCK_IMP(struct _lm_device_t * pDev, u8_t sb_idx);
202 u8_t bar,
204 u8_t *ret);
207 u8_t bar,
212 u8_t bar,
217 u8_t bar,
222 u8_t bar,
224 u8_t val);
[all …]
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/basic_vf/
H A Dlm_vf.c8 u8_t lm_vf_is_function_after_flr(struct _lm_device_t * pdev) in lm_vf_is_function_after_flr()
10 u8_t res = 0; in lm_vf_is_function_after_flr()
19 static u8_t lm_vf_get_free_sbs(struct _lm_device_t * pf_dev, u8_t num_rss) in lm_vf_get_free_sbs()
21 u8_t free_sb = 0xff; in lm_vf_get_free_sbs()
22 u8_t max_num = pf_dev->params.base_fw_ndsb + MAX_RSS_CHAINS / pf_dev->params.vnics_per_port; in lm_vf_get_free_sbs()
32 static u8_t lm_vf_get_free_clients(struct _lm_device_t * pf_dev, u8_t num_rss) in lm_vf_get_free_clients()
34 u8_t free_cli = 0xff; in lm_vf_get_free_clients()
35u8_t max_num = pf_dev->params.base_fw_client_id + MAX_RSS_CHAINS / pf_dev->params.vnics_per_port; in lm_vf_get_free_clients()
45 static u8_t lm_vf_get_free_stats(struct _lm_device_t * pf_dev) in lm_vf_get_free_stats()
47 u8_t free_st_id = 0xff; in lm_vf_get_free_stats()
[all …]

1234