Home
last modified time | relevance | path

Searched refs:u16 (Results 1 – 25 of 234) sorted by relevance

12345678910

/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_prototype.h58 u16 i40e_clean_asq(struct i40e_hw *hw);
65 u16 *events_pending);
69 u16 buff_size,
75 void *desc, void *buffer, u16 buf_len);
81 enum i40e_status_code i40e_aq_get_rss_lut(struct i40e_hw *hw, u16 seid,
82 bool pf_lut, u8 *lut, u16 lut_size);
83 enum i40e_status_code i40e_aq_set_rss_lut(struct i40e_hw *hw, u16 seid,
84 bool pf_lut, u8 *lut, u16 lut_size);
86 u16 seid,
89 u16 seid,
[all …]
H A Dvirtchnl.h234 u16 vsi_id;
235 u16 num_queue_pairs;
237 u16 qset_handle;
267 u16 num_vsis;
268 u16 num_queue_pairs;
269 u16 max_vectors;
270 u16 max_mtu;
289 u16 vsi_id;
290 u16 queue_id;
291 u16 ring_len; /* number of descriptors, multiple of 8 */
[all …]
H A Di40e_adminq.h57 u16 count; /* Number of descriptors */
58 u16 rx_buf_len; /* Admin Receive Queue buffer length */
61 u16 next_to_use;
62 u16 next_to_clean;
76 u16 flags_ena;
77 u16 flags_dis;
89 u16 msg_len;
90 u16 buf_len;
99 u16 num_arq_entries; /* receive queue depth */
100 u16 num_asq_entries; /* send queue depth */
[all …]
H A Di40e_lan_hmc.h51 u16 head;
52 u16 cpuid; /* bigger than needed, see above for reason */
54 u16 qlen;
56 u16 dbuff; /* bigger than needed, see above for reason */
58 u16 hbuff; /* bigger than needed, see above for reason */
72 u16 lrxqthresh; /* bigger than needed, see above for reason */
84 u16 head;
91 u16 thead_wb;
94 u16 qlen;
100 u16 rdylist;
[all …]
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_iov_api.h105 u16 forced_vlan;
109 u16 rel_vf_id;
115 u16 num_queues;
121 u16 req_rx_queue[ECORE_MAX_VF_CHAINS_PER_PF];
122 u16 req_tx_queue[ECORE_MAX_VF_CHAINS_PER_PF];
160 u16 rel_vf_id);
171 u16 ctrl; /* SR-IOV Control */
172 u16 total_vfs; /* total VFs associated with the PF */
173 u16 num_vfs; /* number of vfs that have been started */
174 u16 initial_vfs; /* initial VFs associated with the PF */
[all …]
H A Decore_proto_if.h50 u16 num_cons;
73 u16 num_cons;
74 u16 num_tasks;
77 u16 sq_num_pbl_pages;
79 u16 cq_num_entries;
80 u16 cmdq_num_entries;
81 u16 rq_buffer_log_size;
82 u16 mtu;
83 u16 dummy_icid;
84 u16 bdq_xoff_threshold[2];
[all …]
H A Decore_vfpf_if.h62 u16 hw_sb_id; /* aka absolute igu id, used to ack the sb */
79 u16 type;
80 u16 length;
138 u16 opaque_fid; /* ME register value */
165 u16 rss_ind_table[T_ETH_INDIRECTION_TABLE_SIZE];
189 u16 fw_major;
190 u16 fw_minor;
191 u16 fw_rev;
192 u16 fw_eng;
213 u16 db_size;
[all …]
H A Decore_roce_api.h115 u16 max_inline;
147 u16 max_srq_wr; /* Maximum number of WRs per SRQ */
257 u16 rl_max_rate; /* Maximum rate in 1.6 Mbps resolution */
258 u16 rl_r_ai; /* Active increase rate */
259 u16 rl_r_hai; /* Hyper active increase rate */
260 u16 dcqcn_g; /* Alpha update gain in 1/64K resolution */
279 u16 ooo_num_rx_bufs;
301 u16 max_mtu;
311 u16 dpi;
315 u16 wid_count;
[all …]
H A Decore_init_fw_funcs.h61 u16 num_pf_pqs,
62 u16 num_vf_pqs);
130 u16 start_pq,
131 u16 num_pf_pqs,
132 u16 num_vf_pqs,
135 u16 pf_wfq,
153 u16 pf_wfq);
184 u16 first_tx_pq_id[NUM_OF_TCS],
185 u16 vport_wfq);
220 u16 start_pq,
[all …]
H A Decore_roce.h130 u16 tcp_payload_len;
145 u16 mpa_frag_len;
146 u16 fpdu_length;
147 u16 incomplete_bytes;
160 u16 max_mtu;
161 u16 num_ooo_rx_bufs;
175 u16 max_num_partial_fpdus;
214 u16 queue_zone_base;
215 u16 max_queue_zones;
239 u16 icid;
[all …]
H A Decore_fcoe_api.h45 u16 conn_id;
64 u16 dst_mac_addr_lo;
65 u16 dst_mac_addr_mid;
66 u16 dst_mac_addr_hi;
67 u16 src_mac_addr_lo;
68 u16 src_mac_addr_mid;
69 u16 src_mac_addr_hi;
71 u16 tx_max_fc_pay_len;
72 u16 e_d_tov_timer_val;
73 u16 rec_tov_timer_val;
[all …]
H A Decore_vf.h84 u16 coalesce,
88 u16 coalesce,
103 u16 rx_coal, u16 tx_coal,
132 u16 bd_max_bytes,
135 u16 cqe_pbl_size,
153 dma_addr_t pbl_addr, u16 pbl_size,
240 u16 ecore_vf_get_igu_sb_id(struct ecore_hwfn *p_hwfn,
241 u16 sb_id);
251 u16 sb_id, struct ecore_sb_info *p_sb);
269 u16 mtu,
[all …]
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_nvm.h39 u16 word[2];
40 u16 *pba_block;
45 s32 e1000_null_read_nvm(struct e1000_hw *hw, u16 a, u16 b, u16 *c);
47 s32 e1000_null_led_default(struct e1000_hw *hw, u16 *data);
48 s32 e1000_null_write_nvm(struct e1000_hw *hw, u16 a, u16 b, u16 *c);
56 s32 e1000_read_pba_raw(struct e1000_hw *hw, u16 *eeprom_buf,
57 u32 eeprom_buf_size, u16 max_pba_block_size,
59 s32 e1000_write_pba_raw(struct e1000_hw *hw, u16 *eeprom_buf,
61 s32 e1000_get_pba_block_size(struct e1000_hw *hw, u16 *eeprom_buf,
62 u32 eeprom_buf_size, u16 *pba_block_size);
[all …]
H A De1000_vf.h95 u16 pkt_info;
97 u16 hdr_info;
103 u16 ip_id; /* IP id */
104 u16 csum; /* Packet Checksum */
110 u16 length; /* Packet length */
111 u16 vlan; /* VLAN tag */
205 s32 (*get_link_up_info)(struct e1000_hw *, u16 *, u16 *);
222 u16 mta_reg_count;
223 u16 rar_entry_count;
230 s32 (*read)(struct e1000_hw *, u32 *, u16, u16);
[all …]
H A De1000_hw.h453 #define __le16 u16
723 u16 vlan_id;
725 u16 reserved2;
748 u16 reserved1;
749 u16 reserved2;
750 u16 command_length;
777 s32 (*get_link_up_info)(struct e1000_hw *, u16 *, u16 *);
794 s32 (*acquire_swfw_sync)(struct e1000_hw *, u16);
795 void (*release_swfw_sync)(struct e1000_hw *, u16);
823 s32 (*set_page)(struct e1000_hw *, u16);
[all …]
H A De1000_phy.h39 s32 e1000_null_read_reg(struct e1000_hw *hw, u32 offset, u16 *data);
42 s32 e1000_null_write_reg(struct e1000_hw *hw, u32 offset, u16 data);
43 s32 e1000_null_set_page(struct e1000_hw *hw, u16 data);
70 void e1000_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl);
73 s32 e1000_read_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 *data);
74 s32 e1000_read_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 *data);
75 s32 e1000_set_page_igp(struct e1000_hw *hw, u16 page);
76 s32 e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data);
77 s32 e1000_read_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 *data);
78 s32 e1000_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data);
[all …]
H A De1000_nvm.c67 u16 E1000_UNUSEDARG a, u16 E1000_UNUSEDARG b, in e1000_null_read_nvm()
68 u16 E1000_UNUSEDARG *c) in e1000_null_read_nvm()
89 u16 E1000_UNUSEDARG *data) in e1000_null_led_default()
100 u16 E1000_UNUSEDARG a, u16 E1000_UNUSEDARG b, in e1000_null_write_nvm()
101 u16 E1000_UNUSEDARG *c) in e1000_null_write_nvm()
147 static void e1000_shift_out_eec_bits(struct e1000_hw *hw, u16 data, u16 count) in e1000_shift_out_eec_bits()
194 static u16 e1000_shift_in_eec_bits(struct e1000_hw *hw, u16 count) in e1000_shift_in_eec_bits()
198 u16 data; in e1000_shift_in_eec_bits()
397 u16 timeout = NVM_MAX_RETRY_SPI; in e1000_ready_nvm_eeprom()
440 s32 e1000_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) in e1000_read_nvm_spi()
[all …]
H A De1000_i210.h42 s32 e1000_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset,
43 u16 words, u16 *data);
44 s32 e1000_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset,
45 u16 words, u16 *data);
46 s32 e1000_acquire_swfw_sync_i210(struct e1000_hw *hw, u16 mask);
47 void e1000_release_swfw_sync_i210(struct e1000_hw *hw, u16 mask);
48 s32 e1000_read_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr,
49 u16 *data);
50 s32 e1000_write_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr,
51 u16 data);
[all …]
H A De1000_mbx.h95 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);
99 s32 e1000_check_for_msg(struct e1000_hw *, u16);
100 s32 e1000_check_for_ack(struct e1000_hw *, u16);
101 s32 e1000_check_for_rst(struct e1000_hw *, u16);
H A De1000_mbx.c42 u16 E1000_UNUSEDARG mbx_id) in e1000_null_mbx_check_for_flag()
55 u16 E1000_UNUSEDARG size, in e1000_null_mbx_transact()
56 u16 E1000_UNUSEDARG mbx_id) in e1000_null_mbx_transact()
72 s32 e1000_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in e1000_read_mbx()
98 s32 e1000_write_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in e1000_write_mbx()
121 s32 e1000_check_for_msg(struct e1000_hw *hw, u16 mbx_id) in e1000_check_for_msg()
141 s32 e1000_check_for_ack(struct e1000_hw *hw, u16 mbx_id) in e1000_check_for_ack()
161 s32 e1000_check_for_rst(struct e1000_hw *hw, u16 mbx_id) in e1000_check_for_rst()
181 static s32 e1000_poll_for_msg(struct e1000_hw *hw, u16 mbx_id) in e1000_poll_for_msg()
212 static s32 e1000_poll_for_ack(struct e1000_hw *hw, u16 mbx_id) in e1000_poll_for_ack()
[all …]
/illumos-gate/usr/src/uts/common/io/igc/core/
H A Digc_hw.h121 #define __le16 u16
351 s32 (*get_link_up_info)(struct igc_hw *, u16 *, u16 *);
362 s32 (*acquire_swfw_sync)(struct igc_hw *, u16);
363 void (*release_swfw_sync)(struct igc_hw *, u16);
386 s32 (*set_page)(struct igc_hw *, u16);
387 s32 (*read_reg)(struct igc_hw *, u32, u16 *);
388 s32 (*read_reg_locked)(struct igc_hw *, u32, u16 *);
389 s32 (*read_reg_page)(struct igc_hw *, u32, u16 *);
394 s32 (*write_reg)(struct igc_hw *, u32, u16);
395 s32 (*write_reg_locked)(struct igc_hw *, u32, u16);
[all …]
H A Digc_nvm.h11 s32 igc_null_read_nvm(struct igc_hw *hw, u16 a, u16 b, u16 *c);
13 s32 igc_null_led_default(struct igc_hw *hw, u16 *data);
14 s32 igc_null_write_nvm(struct igc_hw *hw, u16 a, u16 b, u16 *c);
21 s32 igc_read_nvm_eerd(struct igc_hw *hw, u16 offset, u16 words,
22 u16 *data);
23 s32 igc_valid_led_default_generic(struct igc_hw *hw, u16 *data);
25 s32 igc_write_nvm_spi(struct igc_hw *hw, u16 offset, u16 words,
26 u16 *data);
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_common.h47 u16 word[2];
48 u16 *pba_block;
54 u16 ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw *hw);
63 s32 ixgbe_read_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf,
64 u32 eeprom_buf_size, u16 max_pba_block_size,
66 s32 ixgbe_write_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf,
68 s32 ixgbe_get_pba_block_size(struct ixgbe_hw *hw, u16 *eeprom_buf,
69 u32 eeprom_buf_size, u16 *pba_block_size);
72 void ixgbe_set_pci_config_data_generic(struct ixgbe_hw *hw, u16 link_status);
81 s32 ixgbe_write_eeprom_generic(struct ixgbe_hw *hw, u16 offset, u16 data);
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/vm/
H A Dhw_channel.h114 u16 type;
115 u16 length;
219 u16 db_size;
240 u16 pf_link_speed;
262 u16 stats_stride;
281 u16 hc_rate; /* desired interrupts per sec. */
284 u16 mtu;
285 u16 buf_sz;
286 u16 flags; /* VFPF_QUEUE_FLG_X flags */
287 u16 stat_id; /* valid iff VFPF_QUEUE_FLG_STATS */
[all …]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dtlan.c79 static void TLan_EeSendStart(u16);
80 static int TLan_EeSendByte(u16, u8, int);
81 static void TLan_EeReceiveByte(u16, u8 *, int);
82 static int TLan_EeReadByte(u16 io_base, u8, u8 *);
102 static int TLan_MiiReadReg(struct nic *nic __unused, u16, u16, u16 *);
103 static void TLan_MiiSendData(u16, u32, unsigned);
104 static void TLan_MiiSync(u16);
105 static void TLan_MiiWriteReg(struct nic *nic __unused, u16, u16, u16);
130 u16 addrOfs; /* Address Offset */
188 u16 cStat;
[all …]

12345678910