Searched refs:u16 (Results 1 - 25 of 698) sorted by relevance

1234567891011>>

/freebsd-13-stable/sys/dev/ice/
H A Dice_resmgr.h80 u16 num_res;
99 int ice_resmgr_init(struct ice_resmgr *resmgr, u16 num_res);
100 int ice_resmgr_init_contig_only(struct ice_resmgr *resmgr, u16 num_res);
104 int ice_resmgr_assign_contiguous(struct ice_resmgr *resmgr, u16 *idx, u16 num_res);
105 int ice_resmgr_assign_scattered(struct ice_resmgr *resmgr, u16 *idx, u16 num_res);
108 void ice_resmgr_release_map(struct ice_resmgr *resmgr, u16 *idx, u16 num_res);
H A Dice_sriov.h47 enum ice_status v_retval, u8 *msg, u16 msglen,
50 ice_aq_send_msg_to_vf(struct ice_hw *hw, u16 vfid, u32 v_opcode, u32 v_retval,
51 u8 *msg, u16 msglen, struct ice_sq_cd *cd);
53 u32 ice_conv_link_speed_to_virtchnl(bool adv_link_support, u16 link_speed);
56 u16 vf_id, bool *is_mal_vf);
59 u16 bitmap_len, u16 vf_id);
60 enum ice_status ice_mbx_init_snapshot(struct ice_hw *hw, u16 vf_count);
64 u16 bitmap_len, u16 vf_i
[all...]
H A Dice_switch.h70 u16 vsi_num;
71 u16 vsis_allocd;
72 u16 vsis_unallocated;
73 u16 flags;
78 u16 num_lan_q_entries[ICE_MAX_TRAFFIC_CLASS];
84 u16 vsi_idx; /* VSI index */
123 u16 fltr_rule_id;
124 u16 flag;
127 u16 src;
136 u16 vlan_i
[all...]
H A Dice_controlq.h46 (u16)((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
79 u16 count; /* Number of descriptors */
82 u16 next_to_use;
83 u16 next_to_clean;
107 u16 msg_len;
108 u16 buf_len;
119 u16 num_rq_entries; /* receive queue depth */
120 u16 num_sq_entries; /* send queue depth */
121 u16 rq_buf_size; /* receive queue buffer size */
122 u16 sq_buf_siz
[all...]
H A Dice_bitops.h56 static inline bool ice_is_bit_set_internal(u16 nr, const ice_bitmap_t *bitmap)
74 static inline void ice_clear_bit_internal(u16 nr, ice_bitmap_t *bitmap)
79 static inline void ice_set_bit_internal(u16 nr, ice_bitmap_t *bitmap)
84 static inline bool ice_test_and_clear_bit_internal(u16 nr,
94 static inline bool ice_test_and_set_bit_internal(u16 nr, ice_bitmap_t *bitmap)
111 static inline bool ice_is_bit_set(const ice_bitmap_t *bitmap, u16 nr)
125 static inline void ice_clear_bit(u16 nr, ice_bitmap_t *bitmap)
138 static inline void ice_set_bit(u16 nr, ice_bitmap_t *bitmap)
152 ice_test_and_clear_bit(u16 nr, ice_bitmap_t *bitmap)
167 ice_test_and_set_bit(u16 n
[all...]
H A Dvirtchnl.h327 u16 vsi_id;
328 u16 num_queue_pairs;
330 u16 qset_handle;
372 u16 num_vsis;
373 u16 num_queue_pairs;
374 u16 max_vectors;
375 u16 max_mtu;
394 u16 vsi_id;
395 u16 queue_id;
396 u16 ring_le
[all...]
H A Dice_nvm.h79 u16 size; /* size of ice_nvm_features structure */
129 ice_aq_read_nvm(struct ice_hw *hw, u16 module_typeid, u32 offset, u16 length,
136 ice_get_pfa_module_tlv(struct ice_hw *hw, u16 *module_tlv, u16 *module_tlv_len,
137 u16 module_type);
151 enum ice_status ice_read_sr_word(struct ice_hw *hw, u16 offset, u16 *data);
152 enum ice_status ice_read_sr_word_aq(struct ice_hw *hw, u16 offset, u16 *dat
[all...]
/freebsd-13-stable/sys/dev/qlnx/qlnxe/
H A Decore_proto_if.h45 u16 num_cons;
68 u16 num_cons;
69 u16 num_tasks;
72 u16 sq_num_pbl_pages;
74 u16 cq_num_entries;
75 u16 cmdq_num_entries;
76 u16 rq_buffer_log_size;
77 u16 mtu;
78 u16 dummy_icid;
79 u16 bdq_xoff_threshol
[all...]
H A Decore_hsi_init_func.h64 u16 weight /* An arbitration weight. Valid only if use_wfq is set. */;
81 u16 lb_mac_rate /* Global MAC+LB RL rate (in Mbps). If set to 0, the RL will be disabled. */;
82 u16 lb_rate /* Global LB RL rate (in Mbps). If set to 0, the RL will be disabled. */;
84 u16 tc_rate[NUM_OF_PHYS_TCS] /* RL rate per physical TC (in Mbps). If set to 0, the RL will be disabled. */;
111 u16 num_pbf_cmd_lines /* number of PBF command lines that can be used by this port */;
112 u16 num_btb_blocks /* number of BTB blocks that can be used by this port */;
113 u16 reserved;
133 u16 vport_wfq /* WFQ weight. A value of 0 means dont configure. ignored if VPORT WFQ is globally disabled. */;
134 u16 first_tx_pq_id[NUM_OF_TCS] /* the first Tx PQ ID associated with this VPORT for each TC. */;
H A Decore_tcp_ip.h64 u16 h_proto; /* packet type ID field */
71 u16 tot_len;
72 u16 id;
73 u16 frag_off;
76 u16 check;
85 u16 h_vlan_proto;
86 u16 h_vlan_TCI;
87 u16 h_vlan_encapsulated_proto;
93 u16 u6_addr16[8];
103 u16 payload_le
[all...]
H A Decore_l2.h47 u16 queue_id;
82 u16 sb_igu_id;
86 u16 opaque_fid;
120 ecore_eth_queue_to_cid(struct ecore_hwfn *p_hwfn, u16 opaque_fid,
144 u16 bd_max_bytes,
147 u16 cqe_pbl_size);
163 dma_addr_t pbl_addr, u16 pbl_size,
164 u16 pq_id);
170 u16 coalesce,
175 u16 coalesc
[all...]
H A Decore_init_fw_funcs.h54 u16 num_pf_pqs,
55 u16 num_vf_pqs);
125 u16 start_pq,
126 u16 num_pf_pqs,
127 u16 num_vf_pqs,
130 u16 pf_wfq,
149 u16 pf_wfq);
180 u16 first_tx_pq_id[NUM_OF_TCS],
181 u16 vport_wfq);
218 u16 start_p
[all...]
/freebsd-13-stable/sys/dev/e1000/
H A De1000_nvm.h40 u16 word[2];
41 u16 *pba_block;
46 s32 e1000_null_read_nvm(struct e1000_hw *hw, u16 a, u16 b, u16 *c);
48 s32 e1000_null_led_default(struct e1000_hw *hw, u16 *data);
49 s32 e1000_null_write_nvm(struct e1000_hw *hw, u16 a, u16 b, u16 *c);
57 s32 e1000_read_pba_raw(struct e1000_hw *hw, u16 *eeprom_bu
[all...]
H A De1000_mbx.h96 s32 e1000_read_mbx(struct e1000_hw *, u32 *, u16, u16);
97 s32 e1000_write_mbx(struct e1000_hw *, u32 *, u16, u16);
98 s32 e1000_read_posted_mbx(struct e1000_hw *, u32 *, u16, u16);
99 s32 e1000_write_posted_mbx(struct e1000_hw *, u32 *, u16, u16);
100 s32 e1000_check_for_msg(struct e1000_hw *, u16);
101 s32 e1000_check_for_ack(struct e1000_hw *, u16);
[all...]
H A De1000_i210.h43 s32 e1000_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset,
44 u16 words, u16 *data);
45 s32 e1000_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset,
46 u16 words, u16 *data);
47 s32 e1000_read_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr,
48 u16 *data);
49 s32 e1000_write_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr,
50 u16 dat
[all...]
/freebsd-13-stable/sys/crypto/rijndael/
H A Drijndael_local.h6 typedef uint16_t u16; typedef
/freebsd-13-stable/sys/dev/ixl/
H A Dixl_pf_qmgr.h64 u16 num_queues;
78 u16 qidx[IXL_MAX_SCATTERED_QUEUES];
79 u16 first_qidx;
81 u16 num_allocated;
82 u16 num_active;
86 int ixl_pf_qmgr_init(struct ixl_pf_qmgr *qmgr, u16 num_queues);
90 int ixl_pf_qmgr_get_first_free(struct ixl_pf_qmgr *qmgr, u16 start);
94 int ixl_pf_qmgr_alloc_scattered(struct ixl_pf_qmgr *qmgr, u16 num, struct ixl_pf_qtag *qtag);
96 int ixl_pf_qmgr_alloc_contiguous(struct ixl_pf_qmgr *qmgr, u16 num, struct ixl_pf_qtag *qtag);
102 void ixl_pf_qmgr_mark_queue_enabled(struct ixl_pf_qtag *qtag, u16 vsi_qid
[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_entrie
[all...]
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 sei
[all...]
/freebsd-13-stable/contrib/sendmail/libsm/
H A Dinet6_ntop.c39 SM_UINT16 *u16; local
42 u16 = (SM_UINT16 *)ipv6;
45 , htons(u16[0])
46 , htons(u16[1])
47 , htons(u16[2])
48 , htons(u16[3])
49 , htons(u16[4])
50 , htons(u16[5])
51 , htons(u16[6])
52 , htons(u16[
[all...]
/freebsd-13-stable/contrib/wpa/src/common/
H A Dgas.h15 struct wpabuf * gas_build_initial_resp(u8 dialog_token, u16 status_code,
16 u16 comeback_delay, size_t size);
18 gas_build_comeback_resp(u8 dialog_token, u16 status_code, u8 frag_id, u8 more,
19 u16 comeback_delay, size_t size);
21 struct wpabuf * gas_anqp_build_initial_resp(u8 dialog_token, u16 status_code,
22 u16 comeback_delay, size_t size);
24 u16 status_code,
25 u16 comeback_delay,
27 struct wpabuf * gas_anqp_build_comeback_resp(u8 dialog_token, u16 status_code,
29 u16 comeback_dela
[all...]
/freebsd-13-stable/sys/dev/ixgbe/
H A Dixgbe_x540.h51 s32 ixgbe_read_eerd_X540(struct ixgbe_hw *hw, u16 offset, u16 *data);
52 s32 ixgbe_read_eerd_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words,
53 u16 *data);
54 s32 ixgbe_write_eewr_X540(struct ixgbe_hw *hw, u16 offset, u16 data);
55 s32 ixgbe_write_eewr_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words,
56 u16 *dat
[all...]
/freebsd-13-stable/contrib/wpa/src/wps/
H A Dwps_attr_parse.h73 u16 manufacturer_len;
74 u16 model_name_len;
75 u16 model_number_len;
76 u16 serial_number_len;
77 u16 dev_name_len;
78 u16 public_key_len;
79 u16 encr_settings_len;
80 u16 ssid_len;
81 u16 network_key_len;
82 u16 authorized_macs_le
[all...]
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dchecksum.h40 inline u16 computeBSDChecksum(u16 Sum, uptr Data) {
42 Sum = static_cast<u16>((Sum >> 1) | ((Sum & 1) << 15));
43 Sum = static_cast<u16>(Sum + (Data & 0xff));
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/sync/
H A Dall_sync_ops_linkable.c46 volatile uint16_t u16 = 0; variable
59 __sync_add_and_fetch_2(&u16, 1);
66 __sync_bool_compare_and_swap_2(&u16, 1, 2);
73 __sync_fetch_and_add_2(&u16, 1);
80 __sync_fetch_and_and_2(&u16, 0x80);
88 __sync_fetch_and_nand_2(&u16, 0x80);
96 __sync_fetch_and_or_2(&u16, 0x80);
103 __sync_fetch_and_sub_2(&u16, 0x80);
110 __sync_fetch_and_xor_2(&u16, 0x80);
117 __sync_lock_release_2(&u16);
[all...]

Completed in 222 milliseconds

1234567891011>>