crypto/heimdal/lib/hdb/hdb-mitdb.c
218
uint16_t u16, num_keys, num_tl;
crypto/heimdal/lib/hdb/hdb-mitdb.c
246
CHECK(ret = krb5_ret_uint16(sp, &u16));
crypto/heimdal/lib/hdb/hdb-mitdb.c
247
if (u16 != KDB_V1_BASE_LENGTH) { ret = EINVAL; goto out; }
crypto/heimdal/lib/hdb/hdb-mitdb.c
283
CHECK(ret = krb5_ret_uint16(sp, &u16));
crypto/heimdal/lib/hdb/hdb-mitdb.c
284
num_tl = u16;
crypto/heimdal/lib/hdb/hdb-mitdb.c
286
CHECK(ret = krb5_ret_uint16(sp, &u16));
crypto/heimdal/lib/hdb/hdb-mitdb.c
287
num_keys = u16;
crypto/heimdal/lib/hdb/hdb-mitdb.c
289
CHECK(ret = krb5_ret_uint16(sp, &u16));
crypto/heimdal/lib/hdb/hdb-mitdb.c
296
p = malloc(u16 + 1);
crypto/heimdal/lib/hdb/hdb-mitdb.c
301
sz = krb5_storage_read(sp, p, u16);
crypto/heimdal/lib/hdb/hdb-mitdb.c
302
if (sz != u16) {
crypto/heimdal/lib/hdb/hdb-mitdb.c
306
p[u16] = '\0';
crypto/heimdal/lib/hdb/hdb-mitdb.c
320
CHECK(ret = krb5_ret_uint16(sp, &u16));
crypto/heimdal/lib/hdb/hdb-mitdb.c
321
tl_type = u16;
crypto/heimdal/lib/hdb/hdb-mitdb.c
323
CHECK(ret = krb5_ret_uint16(sp, &u16));
crypto/heimdal/lib/hdb/hdb-mitdb.c
336
if (u16 < 5) {
crypto/heimdal/lib/hdb/hdb-mitdb.c
341
p = malloc(u16 - 4 + 1);
crypto/heimdal/lib/hdb/hdb-mitdb.c
346
p[u16 - 4] = '\0';
crypto/heimdal/lib/hdb/hdb-mitdb.c
347
sz = krb5_storage_read(sp, p, u16 - 4);
crypto/heimdal/lib/hdb/hdb-mitdb.c
348
if (sz != u16 - 4) {
crypto/heimdal/lib/hdb/hdb-mitdb.c
358
krb5_storage_seek(sp, u16, SEEK_CUR);
crypto/heimdal/lib/hdb/hdb-mitdb.c
380
CHECK(ret = krb5_ret_uint16(sp, &u16));
crypto/heimdal/lib/hdb/hdb-mitdb.c
381
version = u16;
crypto/heimdal/lib/hdb/hdb-mitdb.c
382
CHECK(ret = krb5_ret_uint16(sp, &u16));
crypto/heimdal/lib/hdb/hdb-mitdb.c
388
if ((entry->kvno < u16) && (kvno == 0 || kvno == u16)) {
crypto/heimdal/lib/hdb/hdb-mitdb.c
390
entry->kvno = u16;
crypto/heimdal/lib/hdb/hdb-mitdb.c
404
} else if (entry->kvno == u16)
crypto/heimdal/lib/hdb/hdb-mitdb.c
434
CHECK(ret = krb5_ret_uint16(sp, &u16));
crypto/heimdal/lib/hdb/hdb-mitdb.c
438
if (u16 < 2) {
crypto/heimdal/lib/hdb/hdb-mitdb.c
452
k->key.keyvalue.length = u16 - 2; /* adjust cipher len */
crypto/heimdal/lib/hdb/hdb-mitdb.c
464
if (u16 != 0) {
crypto/heimdal/lib/hdb/hdb-mitdb.c
465
k->salt->salt.data = malloc(u16);
crypto/heimdal/lib/hdb/hdb-mitdb.c
470
k->salt->salt.length = u16;
crypto/heimdal/lib/hdb/hdb-mitdb.c
482
krb5_storage_seek(sp, u16, SEEK_CUR);
crypto/heimdal/lib/hdb/hdb-mitdb.c
492
CHECK(ret = krb5_ret_uint16(sp, &u16));
crypto/heimdal/lib/hdb/hdb-mitdb.c
494
CHECK(ret = krb5_ret_uint16(sp, &u16));
crypto/heimdal/lib/hdb/hdb-mitdb.c
495
krb5_storage_seek(sp, u16, SEEK_CUR);
crypto/libecc/include/libecc/curves/aff_pt.h
117
u16 pt_buf_len, ec_montgomery_crv_src_t crv);
crypto/libecc/include/libecc/curves/aff_pt.h
50
u16 pt_buf_len, ec_shortw_crv_src_t crv);
crypto/libecc/include/libecc/curves/aff_pt.h
76
u16 pt_buf_len, ec_edwards_crv_src_t crv);
crypto/libecc/include/libecc/curves/prj_pt.h
68
u16 pt_buf_len, ec_shortw_crv_src_t crv);
crypto/libecc/include/libecc/curves/prj_pt.h
71
u16 pt_buf_len, ec_shortw_crv_src_t crv);
crypto/libecc/include/libecc/external_deps/rand.h
20
ATTRIBUTE_WARN_UNUSED_RET int get_random(unsigned char *buf, u16 len);
crypto/libecc/include/libecc/fp/fp.h
84
ATTRIBUTE_WARN_UNUSED_RET int fp_init_from_buf(fp_t A, fp_ctx_src_t fpctx, const u8 *buf, u16 buflen);
crypto/libecc/include/libecc/fp/fp.h
95
ATTRIBUTE_WARN_UNUSED_RET int fp_import_from_buf(fp_t out_fp, const u8 *buf, u16 buflen);
crypto/libecc/include/libecc/fp/fp.h
96
ATTRIBUTE_WARN_UNUSED_RET int fp_export_to_buf(u8 *buf, u16 buflen, fp_src_t in_fp);
crypto/libecc/include/libecc/nn/nn.h
82
ATTRIBUTE_WARN_UNUSED_RET int nn_init(nn_t A, u16 len);
crypto/libecc/include/libecc/nn/nn.h
83
ATTRIBUTE_WARN_UNUSED_RET int nn_init_from_buf(nn_t A, const u8 *buf, u16 buflen);
crypto/libecc/include/libecc/nn/nn.h
93
ATTRIBUTE_WARN_UNUSED_RET int nn_export_to_buf(u8 *buf, u16 buflen, nn_src_t in_nn);
crypto/libecc/include/libecc/nn/nn_rand.h
20
ATTRIBUTE_WARN_UNUSED_RET int nn_get_random_len(nn_t out, u16 len);
crypto/libecc/include/libecc/nn/nn_rand.h
21
ATTRIBUTE_WARN_UNUSED_RET int nn_get_random_maxlen(nn_t out, u16 max_len);
crypto/libecc/include/libecc/sig/bign.h
22
ATTRIBUTE_WARN_UNUSED_RET int bign_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen);
crypto/libecc/include/libecc/sig/bign_common.h
57
int bign_get_oid_from_adata(const u8 *adata, u16 adata_len, const u8 **oid_ptr, u16 *oid_len);
crypto/libecc/include/libecc/sig/bign_common.h
59
int bign_get_t_from_adata(const u8 *adata, u16 adata_len, const u8 **t_ptr, u16 *t_len);
crypto/libecc/include/libecc/sig/bign_common.h
61
int bign_set_adata(u8 *adata, u16 adata_len, const u8 *oid, u16 oid_len, const u8 *t, u16 t_len);
crypto/libecc/include/libecc/sig/bign_common.h
73
ATTRIBUTE_WARN_UNUSED_RET int __bign_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen);
crypto/libecc/include/libecc/sig/bip0340.h
44
ATTRIBUTE_WARN_UNUSED_RET int bip0340_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize,
crypto/libecc/include/libecc/sig/bip0340.h
50
const u8 *adata, u16 adata_len);
crypto/libecc/include/libecc/sig/bip0340.h
69
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
crypto/libecc/include/libecc/sig/dbign.h
22
ATTRIBUTE_WARN_UNUSED_RET int dbign_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen);
crypto/libecc/include/libecc/sig/decdsa.h
27
ATTRIBUTE_WARN_UNUSED_RET int decdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen);
crypto/libecc/include/libecc/sig/ecdsa.h
27
ATTRIBUTE_WARN_UNUSED_RET int ecdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen);
crypto/libecc/include/libecc/sig/ecdsa_common.h
57
ATTRIBUTE_WARN_UNUSED_RET int __ecdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen);
crypto/libecc/include/libecc/sig/ecfsdsa.h
59
ATTRIBUTE_WARN_UNUSED_RET int ecfsdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize,
crypto/libecc/include/libecc/sig/ecfsdsa.h
89
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
crypto/libecc/include/libecc/sig/ecgdsa.h
50
ATTRIBUTE_WARN_UNUSED_RET int ecgdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize,
crypto/libecc/include/libecc/sig/eckcdsa.h
49
ATTRIBUTE_WARN_UNUSED_RET int eckcdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize,
crypto/libecc/include/libecc/sig/ecosdsa.h
50
ATTRIBUTE_WARN_UNUSED_RET int ecosdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize,
crypto/libecc/include/libecc/sig/ecrdsa.h
50
ATTRIBUTE_WARN_UNUSED_RET int ecrdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize,
crypto/libecc/include/libecc/sig/ecsdsa.h
49
ATTRIBUTE_WARN_UNUSED_RET int ecsdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize,
crypto/libecc/include/libecc/sig/ecsdsa_common.h
34
ATTRIBUTE_WARN_UNUSED_RET int __ecsdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize,
crypto/libecc/include/libecc/sig/eddsa.h
116
ATTRIBUTE_WARN_UNUSED_RET int eddsa_import_priv_key(ec_priv_key *priv_key, const u8 *buf, u16 buflen,
crypto/libecc/include/libecc/sig/eddsa.h
119
ATTRIBUTE_WARN_UNUSED_RET int eddsa_import_pub_key(ec_pub_key *out_pub, const u8 *buf, u16 buflen,
crypto/libecc/include/libecc/sig/eddsa.h
122
ATTRIBUTE_WARN_UNUSED_RET int eddsa_export_pub_key(const ec_pub_key *in_pub, u8 *buf, u16 buflen);
crypto/libecc/include/libecc/sig/eddsa.h
124
const u8 *buf, u16 buflen,
crypto/libecc/include/libecc/sig/eddsa.h
130
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
crypto/libecc/include/libecc/sig/eddsa.h
81
ATTRIBUTE_WARN_UNUSED_RET int eddsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen);
crypto/libecc/include/libecc/sig/eddsa.h
94
const u8 *adata, u16 adata_len);
crypto/libecc/include/libecc/sig/sig_algs.h
53
const u8 *adata, u16 adata_len);
crypto/libecc/include/libecc/sig/sig_algs.h
57
const u8 *adata, u16 adata_len);
crypto/libecc/include/libecc/sig/sig_algs.h
67
const u8 *adata, u16 adata_len);
crypto/libecc/include/libecc/sig/sig_algs.h
72
const u8 *adata, u16 adata_len);
crypto/libecc/include/libecc/sig/sig_algs.h
78
hash_alg_type hash_type, const u8 *adata, u16 adata_len);
crypto/libecc/include/libecc/sig/sig_algs.h
88
const u8 *adata, u16 adata_len);
crypto/libecc/include/libecc/sig/sig_algs.h
92
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
crypto/libecc/include/libecc/sig/sig_algs_internal.h
168
u16 adata_len;
crypto/libecc/include/libecc/sig/sig_algs_internal.h
226
u16 adata_len;
crypto/libecc/include/libecc/sig/sig_algs_internal.h
241
ec_alg_type sig_type, hash_alg_type hash_type, const u8 *adata, u16 adata_len);
crypto/libecc/include/libecc/sig/sig_algs_internal.h
244
hash_alg_type hash_type, const u8 *adata, u16 adata_len);
crypto/libecc/include/libecc/sig/sig_algs_internal.h
271
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
crypto/libecc/include/libecc/sig/sig_algs_internal.h
55
ATTRIBUTE_WARN_UNUSED_RET int (*siglen) (u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen);
crypto/libecc/include/libecc/sig/sig_algs_internal.h
68
const u8 *adata, u16 adata_len);
crypto/libecc/include/libecc/sig/sig_algs_internal.h
77
hash_alg_type hash_type, const u8 *adata, u16 adata_len);
crypto/libecc/include/libecc/sig/sig_algs_internal.h
80
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
crypto/libecc/include/libecc/sig/sm2.h
56
ATTRIBUTE_WARN_UNUSED_RET int sm2_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen);
crypto/libecc/include/libecc/utils/print_buf.h
16
void buf_print(const char *msg, const u8 *buf, u16 buflen);
crypto/libecc/include/libecc/utils/utils.h
182
const u16 val = 0x0102;
crypto/libecc/include/libecc/utils/utils_rand.h
20
ATTRIBUTE_WARN_UNUSED_RET int get_unsafe_random(unsigned char *buf, u16 len);
crypto/libecc/include/libecc/words/words.h
71
typedef u16 bitcnt_t;
crypto/libecc/src/curves/aff_pt.c
274
u16 pt_buf_len, ec_shortw_crv_src_t crv)
crypto/libecc/src/curves/aff_pt.c
277
u16 coord_len;
crypto/libecc/src/curves/aff_pt.c
285
coord_len = (u16)BYTECEIL(ctx->p_bitlen);
crypto/libecc/src/curves/aff_pt.c
327
u16 coord_len;
crypto/libecc/src/curves/aff_pt.c
337
coord_len = (u16)BYTECEIL(pt->crv->a.ctx->p_bitlen);
crypto/libecc/src/curves/aff_pt_edwards.c
227
u16 pt_buf_len, ec_edwards_crv_src_t crv)
crypto/libecc/src/curves/aff_pt_edwards.c
230
u16 coord_len;
crypto/libecc/src/curves/aff_pt_edwards.c
237
coord_len = (u16)BYTECEIL(ctx->p_bitlen);
crypto/libecc/src/curves/aff_pt_edwards.c
276
u16 coord_len;
crypto/libecc/src/curves/aff_pt_edwards.c
287
coord_len = (u16)BYTECEIL(ctx->p_bitlen);
crypto/libecc/src/curves/aff_pt_montgomery.c
213
u16 pt_buf_len, ec_montgomery_crv_src_t crv)
crypto/libecc/src/curves/aff_pt_montgomery.c
216
u16 coord_len;
crypto/libecc/src/curves/aff_pt_montgomery.c
223
coord_len = (u16)BYTECEIL(ctx->p_bitlen);
crypto/libecc/src/curves/aff_pt_montgomery.c
261
u16 coord_len;
crypto/libecc/src/curves/aff_pt_montgomery.c
272
coord_len = (u16)BYTECEIL(ctx->p_bitlen);
crypto/libecc/src/curves/ec_params.c
101
ret = nn_init(&(out_params->ec_gen_order), (u16)(tmp_order.wlen * WORD_BYTES)); EG(ret, err);
crypto/libecc/src/curves/ec_params.c
113
(u16)(tmp_cofactor.wlen * WORD_BYTES)); EG(ret, err);
crypto/libecc/src/curves/prj_pt.c
1631
ret = nn_get_random_len(&r, (u16)(m_msb_fixed.wlen * WORD_BYTES)); EG(ret, err);
crypto/libecc/src/curves/prj_pt.c
464
u16 pt_buf_len, ec_shortw_crv_src_t crv)
crypto/libecc/src/curves/prj_pt.c
468
u16 coord_len;
crypto/libecc/src/curves/prj_pt.c
474
coord_len = (u16)BYTECEIL(ctx->p_bitlen);
crypto/libecc/src/curves/prj_pt.c
513
u16 pt_buf_len, ec_shortw_crv_src_t crv)
crypto/libecc/src/curves/prj_pt.c
517
u16 coord_len;
crypto/libecc/src/curves/prj_pt.c
523
coord_len = (u16)BYTECEIL(ctx->p_bitlen);
crypto/libecc/src/curves/prj_pt.c
565
u16 coord_len;
crypto/libecc/src/curves/prj_pt.c
577
coord_len = (u16)BYTECEIL(ctx->p_bitlen);
crypto/libecc/src/examples/basic/curve_ecdh.c
200
(u16)(2 * BYTECEIL(curve_params.ec_fp.p_bitlen)),
crypto/libecc/src/examples/basic/fp_square_residue.c
44
(&p, (u16)((NN_MAX_BIT_LEN / 3) / 8)); EG(ret, err);
crypto/libecc/src/examples/hash/gostr34_11_94.c
221
u16 B[16];
crypto/libecc/src/examples/hash/gostr34_11_94.c
248
g_->B[15] = (u16)((g->B[0]) ^ (g->B[1]) ^ (g->B[2]) ^ (g->B[3]) ^ (g->B[12]) ^ (g->B[15]));
crypto/libecc/src/examples/hash/gostr34_11_94.c
42
const u16 val = 0x0102;
crypto/libecc/src/examples/hash/gostr34_11_94.c
451
u16 fill;
crypto/libecc/src/examples/hash/gostr34_11_94.c
466
fill = (u16)(GOSTR34_11_94_BLOCK_SIZE - left);
crypto/libecc/src/examples/hash/md2.c
108
u16 fill;
crypto/libecc/src/examples/hash/md2.c
123
fill = (u16)(MD2_BLOCK_SIZE - left);
crypto/libecc/src/examples/hash/md4.c
124
u16 fill;
crypto/libecc/src/examples/hash/md4.c
139
fill = (u16)(MD4_BLOCK_SIZE - left);
crypto/libecc/src/examples/hash/md5.c
125
u16 fill;
crypto/libecc/src/examples/hash/md5.c
140
fill = (u16)(MD5_BLOCK_SIZE - left);
crypto/libecc/src/examples/hash/mdc2.c
117
u16 fill;
crypto/libecc/src/examples/hash/mdc2.c
132
fill = (u16)(MDC2_BLOCK_SIZE - left);
crypto/libecc/src/examples/hash/sha0.c
123
u16 fill;
crypto/libecc/src/examples/hash/sha0.c
138
fill = (u16)(SHA0_BLOCK_SIZE - left);
crypto/libecc/src/examples/hash/sha1.c
123
u16 fill;
crypto/libecc/src/examples/hash/sha1.c
138
fill = (u16)(SHA1_BLOCK_SIZE - left);
crypto/libecc/src/examples/sig/common/common.h
31
ATTRIBUTE_WARN_UNUSED_RET static inline int _os2ip(nn_t x, const u8 *buf, u16 buflen)
crypto/libecc/src/examples/sig/common/common.h
48
ATTRIBUTE_WARN_UNUSED_RET static inline int _reverse_endianness(u8 *buf, u16 buf_size)
crypto/libecc/src/examples/sig/common/common.h
50
u16 i;
crypto/libecc/src/examples/sig/common/common.h
9
ATTRIBUTE_WARN_UNUSED_RET static inline int _i2osp(nn_src_t x, u8 *buf, u16 buflen)
crypto/libecc/src/examples/sig/dsa/dsa.c
195
const u8 *nonce, u16 noncelen,
crypto/libecc/src/examples/sig/dsa/dsa.c
196
u8 *sig, u16 siglen, gen_hash_alg_type dsa_hash)
crypto/libecc/src/examples/sig/dsa/dsa.c
353
const u8 *sig, u16 siglen, gen_hash_alg_type dsa_hash)
crypto/libecc/src/examples/sig/dsa/dsa.c
53
int dsa_import_priv_key(dsa_priv_key *priv, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/dsa/dsa.c
54
const u8 *q, u16 qlen,
crypto/libecc/src/examples/sig/dsa/dsa.c
55
const u8 *g, u16 glen,
crypto/libecc/src/examples/sig/dsa/dsa.c
56
const u8 *x, u16 xlen)
crypto/libecc/src/examples/sig/dsa/dsa.c
89
int dsa_import_pub_key(dsa_pub_key *pub, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/dsa/dsa.c
90
const u8 *q, u16 qlen,
crypto/libecc/src/examples/sig/dsa/dsa.c
91
const u8 *g, u16 glen,
crypto/libecc/src/examples/sig/dsa/dsa.c
92
const u8 *y, u16 ylen)
crypto/libecc/src/examples/sig/dsa/dsa.h
55
ATTRIBUTE_WARN_UNUSED_RET int dsa_import_priv_key(dsa_priv_key *priv, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/dsa/dsa.h
56
const u8 *q, u16 qlen,
crypto/libecc/src/examples/sig/dsa/dsa.h
57
const u8 *g, u16 glen,
crypto/libecc/src/examples/sig/dsa/dsa.h
58
const u8 *x, u16 xlen);
crypto/libecc/src/examples/sig/dsa/dsa.h
60
ATTRIBUTE_WARN_UNUSED_RET int dsa_import_pub_key(dsa_pub_key *pub, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/dsa/dsa.h
61
const u8 *q, u16 qlen,
crypto/libecc/src/examples/sig/dsa/dsa.h
62
const u8 *g, u16 glen,
crypto/libecc/src/examples/sig/dsa/dsa.h
63
const u8 *y, u16 ylen);
crypto/libecc/src/examples/sig/dsa/dsa.h
69
const u8 *nonce, u16 noncelen,
crypto/libecc/src/examples/sig/dsa/dsa.h
70
u8 *sig, u16 siglen, gen_hash_alg_type dsa_hash);
crypto/libecc/src/examples/sig/dsa/dsa.h
73
const u8 *sig, u16 siglen, gen_hash_alg_type dsa_hash);
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.c
251
const u8 *sig, u16 siglen, gen_hash_alg_type gostr34_10_94_hash)
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.c
56
int gostr34_10_94_import_priv_key(gostr34_10_94_priv_key *priv, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.c
57
const u8 *q, u16 qlen,
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.c
58
const u8 *g, u16 glen,
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.c
59
const u8 *x, u16 xlen)
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.c
65
int gostr34_10_94_import_pub_key(gostr34_10_94_pub_key *pub, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.c
66
const u8 *q, u16 qlen,
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.c
67
const u8 *g, u16 glen,
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.c
68
const u8 *y, u16 ylen)
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.c
87
const u8 *nonce, u16 noncelen,
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.c
88
u8 *sig, u16 siglen, gen_hash_alg_type gostr34_10_94_hash)
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.h
52
ATTRIBUTE_WARN_UNUSED_RET int gostr34_10_94_import_priv_key(gostr34_10_94_priv_key *priv, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.h
53
const u8 *q, u16 qlen,
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.h
54
const u8 *g, u16 glen,
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.h
55
const u8 *x, u16 xlen);
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.h
57
ATTRIBUTE_WARN_UNUSED_RET int gostr34_10_94_import_pub_key(gostr34_10_94_pub_key *pub, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.h
58
const u8 *q, u16 qlen,
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.h
59
const u8 *g, u16 glen,
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.h
60
const u8 *y, u16 ylen);
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.h
66
const u8 *nonce, u16 noncelen,
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.h
67
u8 *sig, u16 siglen, gen_hash_alg_type gostr34_10_94_hash);
crypto/libecc/src/examples/sig/gostr34_10_94/gostr34_10_94.h
70
const u8 *sig, u16 siglen, gen_hash_alg_type gostr34_10_94_hash);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
100
ATTRIBUTE_WARN_UNUSED_RET static int buf_lshift(u8 *buf, u16 buflen, u16 shift)
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
102
u16 i;
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
130
const u8 *nonce, u16 noncelen,
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
131
u8 *sig, u16 siglen, gen_hash_alg_type kcdsa_hash)
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
134
u16 curr_rlen, curr_siglen;
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
193
if(hlen <= (u16)BYTECEIL(beta)){
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
197
curr_rlen = (u16)BYTECEIL(beta);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
199
curr_siglen = (u16)(curr_rlen + BYTECEIL(beta));
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
231
MUST_HAVE((sizeof(pi_buf) >= (u16)BYTECEIL(alpha)), ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
232
ret = _i2osp(pi, pi_buf, (u16)BYTECEIL(alpha)); EG(ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
234
if(hlen <= (u16)BYTECEIL(beta)){
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
238
ret = gen_hash_update(&hash_ctx, pi_buf, (u16)BYTECEIL(alpha), kcdsa_hash); EG(ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
242
MUST_HAVE((block_size <= (u16)BYTECEIL(alpha)), ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
243
ret = _i2osp(y, pi_buf, (u16)BYTECEIL(alpha)); EG(ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
244
ret = buf_lshift(pi_buf, (u16)BYTECEIL(alpha), (u16)(BYTECEIL(alpha) - block_size)); EG(ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
258
ret = gen_hash_update(&hash_ctx, pi_buf, (u16)BYTECEIL(alpha), kcdsa_hash); EG(ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
262
ret = buf_lshift(hash, hlen, (u16)(hlen - BYTECEIL(beta))); EG(ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
263
ret = local_memcpy(sig, hash, (u16)BYTECEIL(beta)); EG(ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
265
MUST_HAVE((block_size <= (u16)BYTECEIL(alpha)), ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
266
ret = _i2osp(y, pi_buf, (u16)BYTECEIL(alpha)); EG(ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
267
ret = buf_lshift(pi_buf, (u16)BYTECEIL(alpha), (u16)(BYTECEIL(alpha) - block_size)); EG(ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
273
ret = buf_lshift(hash, hlen, (u16)(hlen - BYTECEIL(beta))); EG(ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
274
for(i = 0; i < (u16)BYTECEIL(beta); i++){
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
277
ret = _os2ip(&s, hash, (u16)BYTECEIL(beta)); EG(ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
314
ret = _i2osp(&s, sig + curr_rlen, (u16)BYTECEIL(beta));
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
346
const u8 *sig, u16 siglen, gen_hash_alg_type kcdsa_hash)
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
349
u16 curr_rlen, curr_siglen;
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
399
if(hlen <= (u16)BYTECEIL(beta)){
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
403
curr_rlen = (u16)BYTECEIL(beta);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
405
curr_siglen = (u16)(curr_rlen + BYTECEIL(beta));
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
409
ret = _os2ip(&s, sig + curr_rlen, (u16)(siglen - curr_rlen)); EG(ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
423
if(hlen <= (u16)BYTECEIL(beta)){
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
426
MUST_HAVE((block_size <= (u16)BYTECEIL(alpha)), ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
427
ret = _i2osp(y, pi_buf, (u16)BYTECEIL(alpha)); EG(ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
428
ret = buf_lshift(pi_buf, (u16)BYTECEIL(alpha), (u16)(BYTECEIL(alpha) - block_size)); EG(ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
441
MUST_HAVE((block_size <= (u16)BYTECEIL(alpha)), ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
442
ret = _i2osp(y, pi_buf, (u16)BYTECEIL(alpha)); EG(ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
443
ret = buf_lshift(pi_buf, (u16)BYTECEIL(alpha), (u16)(BYTECEIL(alpha) - block_size)); EG(ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
449
ret = buf_lshift(hash, hlen, (u16)(hlen - BYTECEIL(beta))); EG(ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
450
for(i = 0; i < (u16)BYTECEIL(beta); i++){
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
453
ret = _os2ip(&v, hash, (u16)BYTECEIL(beta)); EG(ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
471
MUST_HAVE((sizeof(pi_buf) >= (u16)BYTECEIL(alpha)), ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
472
ret = _i2osp(&pi, pi_buf, (u16)BYTECEIL(alpha)); EG(ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
474
if(hlen <= (u16)BYTECEIL(beta)){
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
477
ret = gen_hash_update(&hash_ctx, pi_buf, (u16)BYTECEIL(alpha), kcdsa_hash); EG(ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
484
ret = gen_hash_update(&hash_ctx, pi_buf, (u16)BYTECEIL(alpha), kcdsa_hash); EG(ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
488
ret = buf_lshift(hash, hlen, (u16)(hlen - BYTECEIL(beta))); EG(ret, err);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
56
int kcdsa_import_priv_key(kcdsa_priv_key *priv, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
57
const u8 *q, u16 qlen,
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
58
const u8 *g, u16 glen,
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
59
const u8 *x, u16 xlen)
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
65
int kcdsa_import_pub_key(kcdsa_pub_key *pub, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
66
const u8 *q, u16 qlen,
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
67
const u8 *g, u16 glen,
crypto/libecc/src/examples/sig/kcdsa/kcdsa.c
68
const u8 *y, u16 ylen)
crypto/libecc/src/examples/sig/kcdsa/kcdsa.h
52
ATTRIBUTE_WARN_UNUSED_RET int kcdsa_import_priv_key(kcdsa_priv_key *priv, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/kcdsa/kcdsa.h
53
const u8 *q, u16 qlen,
crypto/libecc/src/examples/sig/kcdsa/kcdsa.h
54
const u8 *g, u16 glen,
crypto/libecc/src/examples/sig/kcdsa/kcdsa.h
55
const u8 *x, u16 xlen);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.h
57
ATTRIBUTE_WARN_UNUSED_RET int kcdsa_import_pub_key(kcdsa_pub_key *pub, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/kcdsa/kcdsa.h
58
const u8 *q, u16 qlen,
crypto/libecc/src/examples/sig/kcdsa/kcdsa.h
59
const u8 *g, u16 glen,
crypto/libecc/src/examples/sig/kcdsa/kcdsa.h
60
const u8 *y, u16 ylen);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.h
66
const u8 *nonce, u16 noncelen,
crypto/libecc/src/examples/sig/kcdsa/kcdsa.h
67
u8 *sig, u16 siglen, gen_hash_alg_type kcdsa_hash);
crypto/libecc/src/examples/sig/kcdsa/kcdsa.h
70
const u8 *sig, u16 siglen, gen_hash_alg_type kcdsa_hash);
crypto/libecc/src/examples/sig/rsa/rsa.c
1003
_emlen = ((embits % 8) == 0) ? (u16)(embits / 8) : (u16)((embits / 8) + 1);
crypto/libecc/src/examples/sig/rsa/rsa.c
101
const u8 *n, u16 nlen, const u8 *d, u16 dlen,
crypto/libecc/src/examples/sig/rsa/rsa.c
102
const u8 *p, u16 plen, const u8 *q, u16 qlen)
crypto/libecc/src/examples/sig/rsa/rsa.c
1025
MUST_HAVE(((u16)dblen <= sizeof(dbmask)), ret, err); /* sanity check for overflow */
crypto/libecc/src/examples/sig/rsa/rsa.c
1029
for(i = 0; i < (u16)dblen; i++){
crypto/libecc/src/examples/sig/rsa/rsa.c
1041
for(i = 0; i < (u16)(dblen - saltlen - 1); i++){
crypto/libecc/src/examples/sig/rsa/rsa.c
1077
int emsa_pkcs1_v1_5_encode(const u8 *m, u32 mlen, u8 *em, u16 emlen,
crypto/libecc/src/examples/sig/rsa/rsa.c
1181
ret = rsa_os2ip(&m_, em, (u16)k); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
1185
ret = rsa_i2osp(&c_, c, (u16)k); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
1186
(*clen) = (u16)k;
crypto/libecc/src/examples/sig/rsa/rsa.c
1233
ret = rsa_i2osp(&m_, em, (u16)k); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
1267
(*mlen) = (u16)(k - pos);
crypto/libecc/src/examples/sig/rsa/rsa.c
133
const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/rsa/rsa.c
134
const u8 *q, u16 qlen,
crypto/libecc/src/examples/sig/rsa/rsa.c
135
const u8 *dP, u16 dPlen,
crypto/libecc/src/examples/sig/rsa/rsa.c
136
const u8 *dQ, u16 dQlen,
crypto/libecc/src/examples/sig/rsa/rsa.c
137
const u8 *qInv, u16 qInvlen,
crypto/libecc/src/examples/sig/rsa/rsa.c
138
const u8 **coeffs, u16 *coeffslens, u8 u)
crypto/libecc/src/examples/sig/rsa/rsa.c
1386
ret = _mgf1(maskeddb, (u16)khlen, seedmask, hlen, mgf_hash_type); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
1397
ret = rsa_os2ip(&m_, em, (u16)k); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
1401
ret = rsa_i2osp(&c_, c, (u16)k); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
1402
(*clen) = (u16)k;
crypto/libecc/src/examples/sig/rsa/rsa.c
1470
ret = rsa_i2osp(&m_, em, (u16)k); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
1488
ret = _mgf1(maskeddb, (u16)khlen, seedmask, hlen, mgf_hash_type); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
1539
(*mlen) = (u16)(k - hlen - 1 - pos);
crypto/libecc/src/examples/sig/rsa/rsa.c
1578
u8 *s, u16 *slen, u32 modbits, gen_hash_alg_type gen_hash_type)
crypto/libecc/src/examples/sig/rsa/rsa.c
1597
ret = emsa_pkcs1_v1_5_encode(m, mlen, em, (u16)k, gen_hash_type); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
1600
ret = rsa_os2ip(&m_, em, (u16)k); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
1609
ret = rsa_i2osp(&s_, s, (u16)k);
crypto/libecc/src/examples/sig/rsa/rsa.c
1610
(*slen) = (u16)k;
crypto/libecc/src/examples/sig/rsa/rsa.c
1627
u8 *s, u16 *slen, u32 modbits, gen_hash_alg_type gen_hash_type)
crypto/libecc/src/examples/sig/rsa/rsa.c
1636
u8 *s, u16 *slen, u32 modbits, gen_hash_alg_type gen_hash_type)
crypto/libecc/src/examples/sig/rsa/rsa.c
1645
const u8 *s, u16 slen, u32 modbits, gen_hash_alg_type gen_hash_type)
crypto/libecc/src/examples/sig/rsa/rsa.c
1669
MUST_HAVE(((u16)k == slen), ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
1680
ret = emsa_pkcs1_v1_5_encode(m, mlen, em_, (u16)k, gen_hash_type); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
1683
ret = are_equal(em, em_, (u16)k, &cmp); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
1698
u8 *s, u16 *slen, u32 modbits,
crypto/libecc/src/examples/sig/rsa/rsa.c
1704
u16 emsize;
crypto/libecc/src/examples/sig/rsa/rsa.c
1727
ret = rsa_os2ip(&m_, em, (u16)emsize); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
1737
ret = rsa_i2osp(&s_, s, (u16)k);
crypto/libecc/src/examples/sig/rsa/rsa.c
1738
(*slen) = (u16)k;
crypto/libecc/src/examples/sig/rsa/rsa.c
1755
u8 *s, u16 *slen, u32 modbits,
crypto/libecc/src/examples/sig/rsa/rsa.c
1766
u8 *s, u16 *slen, u32 modbits,
crypto/libecc/src/examples/sig/rsa/rsa.c
1778
const u8 *s, u16 slen, u32 modbits,
crypto/libecc/src/examples/sig/rsa/rsa.c
1788
u16 emlen;
crypto/libecc/src/examples/sig/rsa/rsa.c
1806
emlen = (((modbits - 1) % 8) == 0) ? (u16)((modbits - 1) / 8) : (u16)(((modbits - 1) / 8) + 1);
crypto/libecc/src/examples/sig/rsa/rsa.c
1813
ret = rsa_i2osp(&m_, em, (u16)emlen); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
1836
const u8 *m, u32 mlen, u32 *m1len, u32 *m2len, u8 *s, u16 *slen,
crypto/libecc/src/examples/sig/rsa/rsa.c
188
ret = _i2osp(x, buf, (u16)buflen);
crypto/libecc/src/examples/sig/rsa/rsa.c
1896
ret = rsa_i2osp(&s_, s, (u16)k);
crypto/libecc/src/examples/sig/rsa/rsa.c
1897
(*slen) = (u16)k;
crypto/libecc/src/examples/sig/rsa/rsa.c
1917
u32 *m2len, u8 *s, u16 *slen,
crypto/libecc/src/examples/sig/rsa/rsa.c
1927
const u8 *m, u32 mlen, u32 *m1len, u32 *m2len, u8 *s, u16 *slen,
crypto/libecc/src/examples/sig/rsa/rsa.c
1945
const u8 *s, u16 slen, u32 modbits, gen_hash_alg_type gen_hash_type)
crypto/libecc/src/examples/sig/rsa/rsa.c
1976
MUST_HAVE(((u16)k == slen), ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
2006
ret = are_equal(H, &X[1 + m1len_], (u16)hlen, &cmp); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
203
ret = _os2ip(x, buf, (u16)buflen);
crypto/libecc/src/examples/sig/rsa/rsa.c
786
ATTRIBUTE_WARN_UNUSED_RET static int _mgf1(const u8 *z, u16 zlen,
crypto/libecc/src/examples/sig/rsa/rsa.c
82
u16 nlen, const u8 *e, u16 elen)
crypto/libecc/src/examples/sig/rsa/rsa.c
835
u16 *eminlen, gen_hash_alg_type gen_hash_type, gen_hash_alg_type mgf_hash_type,
crypto/libecc/src/examples/sig/rsa/rsa.c
902
ret = get_random(salt, (u16)saltlen); EG(ret, err);
crypto/libecc/src/examples/sig/rsa/rsa.c
946
(*eminlen) = (u16)emlen;
crypto/libecc/src/examples/sig/rsa/rsa.c
956
u32 embits, u16 emlen,
crypto/libecc/src/examples/sig/rsa/rsa.c
969
u16 _emlen;
crypto/libecc/src/examples/sig/rsa/rsa.h
108
u16 nlen, const u8 *e, u16 elen);
crypto/libecc/src/examples/sig/rsa/rsa.h
110
const u8 *n, u16 nlen, const u8 *d,
crypto/libecc/src/examples/sig/rsa/rsa.h
111
u16 dlen, const u8 *p, u16 plen, const u8 *q, u16 qlen);
crypto/libecc/src/examples/sig/rsa/rsa.h
113
const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/rsa/rsa.h
114
const u8 *q, u16 qlen,
crypto/libecc/src/examples/sig/rsa/rsa.h
115
const u8 *dP, u16 dPlen,
crypto/libecc/src/examples/sig/rsa/rsa.h
116
const u8 *dQ, u16 dQlen,
crypto/libecc/src/examples/sig/rsa/rsa.h
117
const u8 *qInv, u16 qInvlen,
crypto/libecc/src/examples/sig/rsa/rsa.h
118
const u8 **coeffs, u16 *coeffslens, u8 u);
crypto/libecc/src/examples/sig/rsa/rsa.h
128
ATTRIBUTE_WARN_UNUSED_RET int emsa_pkcs1_v1_5_encode(const u8 *m, u32 mlen, u8 *em, u16 emlen,
crypto/libecc/src/examples/sig/rsa/rsa.h
131
u16 *eminlen,
crypto/libecc/src/examples/sig/rsa/rsa.h
135
u32 embits, u16 emlen,
crypto/libecc/src/examples/sig/rsa/rsa.h
159
u8 *s, u16 *slen, u32 modbits, gen_hash_alg_type rsa_hash_type);
crypto/libecc/src/examples/sig/rsa/rsa.h
161
u8 *s, u16 *slen, u32 modbits, gen_hash_alg_type rsa_hash_type);
crypto/libecc/src/examples/sig/rsa/rsa.h
163
const u8 *s, u16 slen, u32 modbits, gen_hash_alg_type rsa_hash_type);
crypto/libecc/src/examples/sig/rsa/rsa.h
166
u8 *s, u16 *slen, u32 modbits,
crypto/libecc/src/examples/sig/rsa/rsa.h
170
u8 *s, u16 *slen, u32 modbits,
crypto/libecc/src/examples/sig/rsa/rsa.h
174
const u8 *s, u16 slen, u32 modbits,
crypto/libecc/src/examples/sig/rsa/rsa.h
179
u32 *m2len, u8 *s, u16 *slen,
crypto/libecc/src/examples/sig/rsa/rsa.h
183
const u8 *m, u32 mlen, u32 *m1len, u32 *m2len, u8 *s, u16 *slen,
crypto/libecc/src/examples/sig/rsa/rsa.h
186
const u8 *s, u16 slen, u32 modbits, gen_hash_alg_type gen_hash_type);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
145
u16 siglen = sizeof(sig);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
147
ret = rsassa_pkcs1_v1_5_verify(&pub, t->m, t->mlen, t->res, (u16)(t->reslen), modbits, t->hash); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
168
ret = rsassa_pss_verify(&pub, t->m, t->mlen, t->res, (u16)(t->reslen), modbits, t->hash, t->hash, digestsize); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
172
ret = rsassa_pss_verify(&pub, t->m, t->mlen, t->res, (u16)(t->reslen), modbits, t->hash, t->hash, t->saltlen); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
177
u16 siglen = sizeof(sig);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
181
MUST_HAVE((siglen == (u16)(t->reslen)), ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
187
MUST_HAVE((siglen == (u16)(t->reslen)), ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
30
u16 nlen;
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
32
u16 dlen;
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
34
u16 elen;
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
36
u16 plen;
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
38
u16 qlen;
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
40
u16 dPlen;
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
42
u16 dQlen;
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
44
u16 qInvlen;
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
67
ret = rsa_import_pub_key(&pub, t->n, (u16)t->nlen, t->e, (u16)t->elen); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
75
ret = rsa_import_simple_priv_key(&priv, t->n, (u16)t->nlen, t->d, (u16)t->dlen, NULL, 0, NULL, 0); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
77
ret = rsa_import_simple_priv_key(&priv_pq, t->n, (u16)t->nlen, t->d, (u16)t->dlen, t_->p, (u16)t_->plen, t_->q, (u16)t_->qlen); EG(ret, err1);
crypto/libecc/src/examples/sig/rsa/rsa_tests.h
81
ret = rsa_import_crt_priv_key(&priv, t->p, (u16)t->plen, t->q, (u16)t->qlen, t->dP, (u16)t->dPlen, t->dQ, (u16)t->dQlen, t->qInv, (u16)t->qInvlen, NULL, NULL, 0); EG(ret, err1);
crypto/libecc/src/examples/sig/sdsa/sdsa.c
172
ret = _i2osp(pi, pi_buf, (u16)BYTECEIL(alpha)); EG(ret, err);
crypto/libecc/src/examples/sig/sdsa/sdsa.c
176
ret = gen_hash_update(&hash_ctx, pi_buf, (u16)BYTECEIL(alpha), sdsa_hash); EG(ret, err);
crypto/libecc/src/examples/sig/sdsa/sdsa.c
223
ret = _i2osp(&s, sig + hlen, (u16)(siglen - hlen)); EG(ret, err);
crypto/libecc/src/examples/sig/sdsa/sdsa.c
253
const u8 *sig, u16 siglen, gen_hash_alg_type sdsa_hash)
crypto/libecc/src/examples/sig/sdsa/sdsa.c
306
ret = _os2ip(&s, sig + hlen, (u16)(siglen - hlen)); EG(ret, err);
crypto/libecc/src/examples/sig/sdsa/sdsa.c
338
ret = _i2osp(&pi, pi_buf, (u16)BYTECEIL(alpha)); EG(ret, err);
crypto/libecc/src/examples/sig/sdsa/sdsa.c
341
ret = gen_hash_update(&hash_ctx, pi_buf, (u16)BYTECEIL(alpha), sdsa_hash); EG(ret, err);
crypto/libecc/src/examples/sig/sdsa/sdsa.c
58
int sdsa_import_priv_key(sdsa_priv_key *priv, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/sdsa/sdsa.c
59
const u8 *q, u16 qlen,
crypto/libecc/src/examples/sig/sdsa/sdsa.c
60
const u8 *g, u16 glen,
crypto/libecc/src/examples/sig/sdsa/sdsa.c
61
const u8 *x, u16 xlen)
crypto/libecc/src/examples/sig/sdsa/sdsa.c
67
int sdsa_import_pub_key(sdsa_pub_key *pub, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/sdsa/sdsa.c
68
const u8 *q, u16 qlen,
crypto/libecc/src/examples/sig/sdsa/sdsa.c
69
const u8 *g, u16 glen,
crypto/libecc/src/examples/sig/sdsa/sdsa.c
70
const u8 *y, u16 ylen)
crypto/libecc/src/examples/sig/sdsa/sdsa.c
89
const u8 *nonce, u16 noncelen,
crypto/libecc/src/examples/sig/sdsa/sdsa.c
90
u8 *sig, u16 siglen, gen_hash_alg_type sdsa_hash)
crypto/libecc/src/examples/sig/sdsa/sdsa.h
52
ATTRIBUTE_WARN_UNUSED_RET int sdsa_import_priv_key(sdsa_priv_key *priv, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/sdsa/sdsa.h
53
const u8 *q, u16 qlen,
crypto/libecc/src/examples/sig/sdsa/sdsa.h
54
const u8 *g, u16 glen,
crypto/libecc/src/examples/sig/sdsa/sdsa.h
55
const u8 *x, u16 xlen);
crypto/libecc/src/examples/sig/sdsa/sdsa.h
57
ATTRIBUTE_WARN_UNUSED_RET int sdsa_import_pub_key(sdsa_pub_key *pub, const u8 *p, u16 plen,
crypto/libecc/src/examples/sig/sdsa/sdsa.h
58
const u8 *q, u16 qlen,
crypto/libecc/src/examples/sig/sdsa/sdsa.h
59
const u8 *g, u16 glen,
crypto/libecc/src/examples/sig/sdsa/sdsa.h
60
const u8 *y, u16 ylen);
crypto/libecc/src/examples/sig/sdsa/sdsa.h
66
const u8 *nonce, u16 noncelen,
crypto/libecc/src/examples/sig/sdsa/sdsa.h
67
u8 *sig, u16 siglen, gen_hash_alg_type sdsa_hash);
crypto/libecc/src/examples/sig/sdsa/sdsa.h
70
const u8 *sig, u16 siglen, gen_hash_alg_type sdsa_hash);
crypto/libecc/src/examples/sss/sss.c
125
ATTRIBUTE_WARN_UNUSED_RET static int _sss_raw_generate(sss_share *shares, u16 k, u16 n, sss_secret *secret, boolean input_secret)
crypto/libecc/src/examples/sss/sss.c
133
u16 idx_shift, num_shares;
crypto/libecc/src/examples/sss/sss.c
144
MUST_HAVE((n <= (u16)(0xffff - 1)), ret, err);
crypto/libecc/src/examples/sss/sss.c
216
u16 curr_idx = (u16)(idx_shift + i);
crypto/libecc/src/examples/sss/sss.c
232
ret = _sss_derive_seed(&a, secret_seed, (u16)j); EG(ret, err);
crypto/libecc/src/examples/sss/sss.c
289
ATTRIBUTE_WARN_UNUSED_RET static int _sss_raw_lagrange(const sss_share *shares, u16 k, sss_secret *secret, u16 val)
crypto/libecc/src/examples/sss/sss.c
340
u16 curr_idx;
crypto/libecc/src/examples/sss/sss.c
410
ATTRIBUTE_WARN_UNUSED_RET static int _sss_raw_combine(const sss_share *shares, u16 k, sss_secret *secret)
crypto/libecc/src/examples/sss/sss.c
50
(n) = (u16)( ((u16) (b)[(i) ]) << 8 ) \
crypto/libecc/src/examples/sss/sss.c
51
| (u16)( ((u16) (b)[(i) + 1]) ); \
crypto/libecc/src/examples/sss/sss.c
544
u16 max_idx, num_shares;
crypto/libecc/src/examples/sss/sss.c
549
MUST_HAVE((n <= (u16)(0xffff - 1)), ret, err);
crypto/libecc/src/examples/sss/sss.c
598
u16 curr_idx;
crypto/libecc/src/examples/sss/sss.c
612
u16 curr_idx;
crypto/libecc/src/examples/sss/sss.c
621
curr_idx = (u16)(max_idx + (u16)(i - k + 1));
crypto/libecc/src/examples/sss/sss.c
85
ATTRIBUTE_WARN_UNUSED_RET static int _sss_derive_seed(fp_t out, const u8 seed[SSS_SECRET_SIZE], u16 idx)
crypto/libecc/src/external_deps/rand.c
35
ATTRIBUTE_WARN_UNUSED_RET static int fimport(unsigned char *buf, u16 buflen,
crypto/libecc/src/external_deps/rand.c
38
u16 rem = buflen, copied = 0;
crypto/libecc/src/external_deps/rand.c
59
rem = (u16)(rem - ret);
crypto/libecc/src/external_deps/rand.c
60
copied = (u16)(copied + ret);
crypto/libecc/src/external_deps/rand.c
76
int get_random(unsigned char *buf, u16 len)
crypto/libecc/src/external_deps/rand.c
86
int get_random(unsigned char *buf, u16 len)
crypto/libecc/src/fp/fp.c
157
ret = nn_init(&(in->fp_val), (u16)((fpctx->p.wlen) * WORD_BYTES)); EG(ret, err);
crypto/libecc/src/fp/fp.c
171
int fp_init_from_buf(fp_t in, fp_ctx_src_t fpctx, const u8 *buf, u16 buflen)
crypto/libecc/src/fp/fp.c
444
int fp_import_from_buf(fp_t out_fp, const u8 *buf, u16 buflen)
crypto/libecc/src/fp/fp.c
461
int fp_export_to_buf(u8 *buf, u16 buflen, fp_src_t in_fp)
crypto/libecc/src/hash/bash.c
61
u16 fill;
crypto/libecc/src/hash/bash.c
78
fill = (u16)(ctx->bash_block_size - left);
crypto/libecc/src/hash/belt-hash.c
336
u16 fill;
crypto/libecc/src/hash/belt-hash.c
351
fill = (u16)(BELT_HASH_BLOCK_SIZE - left);
crypto/libecc/src/hash/ripemd160.c
210
u16 fill;
crypto/libecc/src/hash/ripemd160.c
225
fill = (u16)(RIPEMD160_BLOCK_SIZE - left);
crypto/libecc/src/hash/sha224.c
100
u16 fill;
crypto/libecc/src/hash/sha224.c
115
fill = (u16)(SHA224_BLOCK_SIZE - left);
crypto/libecc/src/hash/sha256.c
100
u16 fill;
crypto/libecc/src/hash/sha256.c
115
fill = (u16)(SHA256_BLOCK_SIZE - left);
crypto/libecc/src/hash/sha512_core.c
72
u16 fill;
crypto/libecc/src/hash/sha512_core.c
86
fill = (u16)(SHA512_CORE_BLOCK_SIZE - left);
crypto/libecc/src/hash/sm3.c
219
u16 fill;
crypto/libecc/src/hash/sm3.c
234
fill = (u16)(SM3_BLOCK_SIZE - left);
crypto/libecc/src/hash/streebog.c
60
u16 fill;
crypto/libecc/src/hash/streebog.c
74
fill = (u16)(STREEBOG_BLOCK_SIZE - left);
crypto/libecc/src/nn/nn.c
490
int nn_init_from_buf(nn_t out_nn, const u8 *buf, u16 buflen)
crypto/libecc/src/nn/nn.c
493
u16 wpos;
crypto/libecc/src/nn/nn.c
505
u16 buf_pos = (u16)((NN_MAX_WORD_LEN - wpos - 1) * WORD_BYTES);
crypto/libecc/src/nn/nn.c
522
int nn_export_to_buf(u8 *buf, u16 buflen, nn_src_t in_nn)
crypto/libecc/src/nn/nn.c
526
u16 remain = buflen;
crypto/libecc/src/nn/nn.c
545
u16 copylen = (remain > wb) ? wb : remain;
crypto/libecc/src/nn/nn.c
556
remain = (u16)(remain - copylen);
crypto/libecc/src/nn/nn.c
84
int nn_init(nn_t A, u16 len)
crypto/libecc/src/nn/nn_add.c
190
ret = nn_init(out, (u16)(n_wlen * WORD_BYTES)); EG(ret, err);
crypto/libecc/src/nn/nn_add.c
263
ret = nn_init(out, (u16)(loop_wlen * WORD_BYTES)); EG(ret, err);
crypto/libecc/src/nn/nn_add.c
75
ret = nn_init(out, (u16)(loop_wlen * WORD_BYTES)); EG(ret, err);
crypto/libecc/src/nn/nn_div.c
432
ret = nn_init(&a_shift, (u16)(new_wlen * WORD_BYTES)); EG(ret, err);
crypto/libecc/src/nn/nn_div.c
904
ret = nn_init(&b_normalized, (u16)((ptr->wlen) * WORD_BYTES)); EG(ret, err);
crypto/libecc/src/nn/nn_modinv.c
58
ret = nn_init(&a, (u16)(m->wlen * WORD_BYTES)); EG(ret, err);
crypto/libecc/src/nn/nn_modinv.c
59
ret = nn_init(&b, (u16)(m->wlen * WORD_BYTES)); EG(ret, err);
crypto/libecc/src/nn/nn_modinv.c
60
ret = nn_init(&u, (u16)(m->wlen * WORD_BYTES)); EG(ret, err);
crypto/libecc/src/nn/nn_modinv.c
61
ret = nn_init(&mp1d2, (u16)(m->wlen * WORD_BYTES)); EG(ret, err);
crypto/libecc/src/nn/nn_modinv.c
65
ret = nn_init(&tmp, (u16)(m->wlen * WORD_BYTES)); EG(ret, err);
crypto/libecc/src/nn/nn_mul.c
54
ret = nn_init(out, (u16)(wlimit * WORD_BYTES)); EG(ret, err);
crypto/libecc/src/nn/nn_rand.c
116
ret = nn_init(&tmp_rand, (u16)(2 * q_len)); EG(ret, err);
crypto/libecc/src/nn/nn_rand.c
117
ret = get_random((u8 *)tmp_rand.val, (u16)(2 * q_len)); EG(ret, err);
crypto/libecc/src/nn/nn_rand.c
120
ret = nn_init(out, (u16)q_len); EG(ret, err);
crypto/libecc/src/nn/nn_rand.c
31
int nn_get_random_len(nn_t out, u16 len)
crypto/libecc/src/nn/nn_rand.c
56
int nn_get_random_maxlen(nn_t out, u16 max_len)
crypto/libecc/src/nn/nn_rand.c
58
u16 len;
crypto/libecc/src/nn/nn_rand.c
65
len = (u16)(len % (max_len + 1));
crypto/libecc/src/sig/bign.c
36
int bign_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen)
crypto/libecc/src/sig/bign_common.c
100
u16 t_len;
crypto/libecc/src/sig/bign_common.c
105
(*oid_len) = (u16)(((u16)adata[0] << 8) | adata[1]);
crypto/libecc/src/sig/bign_common.c
106
t_len = (u16)(((u16)adata[2] << 8) | adata[3]);
crypto/libecc/src/sig/bign_common.c
123
int bign_get_t_from_adata(const u8 *adata, u16 adata_len, const u8 **t_ptr, u16 *t_len)
crypto/libecc/src/sig/bign_common.c
126
u16 oid_len;
crypto/libecc/src/sig/bign_common.c
131
oid_len = (u16)(((u16)adata[0] << 8) | adata[1]);
crypto/libecc/src/sig/bign_common.c
132
(*t_len) = (u16)(((u16)adata[2] << 8) | adata[3]);
crypto/libecc/src/sig/bign_common.c
149
int bign_set_adata(u8 *adata, u16 adata_len, const u8 *oid, u16 oid_len, const u8 *t, u16 t_len)
crypto/libecc/src/sig/bign_common.c
201
nn_src_t x, const u8 *adata, u16 adata_len,
crypto/libecc/src/sig/bign_common.c
212
u16 r_bar_len;
crypto/libecc/src/sig/bign_common.c
217
u16 oid_len = 0, t_len = 0;
crypto/libecc/src/sig/bign_common.c
316
r_bar_len = (u16)(n * BELT_BLOCK_LEN);
crypto/libecc/src/sig/bign_common.c
376
int __bign_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen)
crypto/libecc/src/sig/bign_common.c
484
u16 oid_len = 0;
crypto/libecc/src/sig/bign_common.c
689
ret = nn_export_to_buf(&sig[l], (u16)BIGN_S1_LEN(q_bit_len), &s1); EG(ret, err);
crypto/libecc/src/sig/bign_common.c
690
ret = _reverse_endianness(&sig[l], (u16)BIGN_S1_LEN(q_bit_len));
crypto/libecc/src/sig/bign_common.c
73
ATTRIBUTE_WARN_UNUSED_RET static inline int _reverse_endianness(u8 *buf, u16 buf_size)
crypto/libecc/src/sig/bign_common.c
75
u16 i;
crypto/libecc/src/sig/bign_common.c
791
ret = _reverse_endianness(&TMP[0], (u16)BIGN_S1_LEN(q_bit_len)); EG(ret, err);
crypto/libecc/src/sig/bign_common.c
861
u16 oid_len = 0;
crypto/libecc/src/sig/bign_common.c
97
int bign_get_oid_from_adata(const u8 *adata, u16 adata_len, const u8 **oid_ptr, u16 *oid_len)
crypto/libecc/src/sig/bip0340.c
1029
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
crypto/libecc/src/sig/bip0340.c
1049
u16 hsize;
crypto/libecc/src/sig/bip0340.c
1298
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
crypto/libecc/src/sig/bip0340.c
135
int bip0340_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize,
crypto/libecc/src/sig/bip0340.c
164
const u8 *adata, u16 adata_len)
crypto/libecc/src/sig/bip0340.c
810
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len)
crypto/libecc/src/sig/bip0340.c
829
u16 hsize;
crypto/libecc/src/sig/dbign.c
41
int dbign_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen)
crypto/libecc/src/sig/decdsa.c
41
int decdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen)
crypto/libecc/src/sig/ecdsa.c
36
int ecdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen)
crypto/libecc/src/sig/ecdsa_common.c
203
int __ecdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen)
crypto/libecc/src/sig/ecfsdsa.c
1007
ret = prj_pt_import_from_aff_buf(W, &sig[0], (u16)(2 * p_len), shortw_curve); EG(ret, err);
crypto/libecc/src/sig/ecfsdsa.c
1059
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
crypto/libecc/src/sig/ecfsdsa.c
61
int ecfsdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen)
crypto/libecc/src/sig/ecfsdsa.c
659
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len)
crypto/libecc/src/sig/ecfsdsa.c
676
u16 hsize;
crypto/libecc/src/sig/ecfsdsa.c
795
ret = prj_pt_import_from_aff_buf(W, &sig[0], (u16)(2 * p_len), shortw_curve); EG(ret, err);
crypto/libecc/src/sig/ecfsdsa.c
841
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
crypto/libecc/src/sig/ecfsdsa.c
859
u16 hsize;
crypto/libecc/src/sig/ecgdsa.c
69
int ecgdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen)
crypto/libecc/src/sig/eckcdsa.c
208
u16 z_len;
crypto/libecc/src/sig/eckcdsa.c
82
int eckcdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize,
crypto/libecc/src/sig/ecosdsa.c
43
int ecosdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize,
crypto/libecc/src/sig/ecrdsa.c
101
int ecrdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen)
crypto/libecc/src/sig/ecrdsa.c
49
ATTRIBUTE_WARN_UNUSED_RET static inline int _reverse_endianness(u8 *buf, u16 buf_size)
crypto/libecc/src/sig/ecrdsa.c
51
u16 i;
crypto/libecc/src/sig/ecsdsa.c
43
int ecsdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize,
crypto/libecc/src/sig/ecsdsa_common.c
71
int __ecsdsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize,
crypto/libecc/src/sig/eddsa.c
102
ATTRIBUTE_WARN_UNUSED_RET static inline int dom2(u16 x, const u8 *y, u16 olen_y, const hash_mapping *h,
crypto/libecc/src/sig/eddsa.c
1032
const u8 *buf, u16 buflen,
crypto/libecc/src/sig/eddsa.c
1085
int eddsa_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen)
crypto/libecc/src/sig/eddsa.c
118
ATTRIBUTE_WARN_UNUSED_RET static inline int dom4(u16 x, const u8 *y, u16 olen_y, const hash_mapping *h,
crypto/libecc/src/sig/eddsa.c
1243
u16 use_message_pre_hash_hsize = 0;
crypto/libecc/src/sig/eddsa.c
1560
const u8 *adata, u16 adata_len)
crypto/libecc/src/sig/eddsa.c
1570
u16 use_message_pre_hash_hsize = 0;
crypto/libecc/src/sig/eddsa.c
1926
u16 hsize;
crypto/libecc/src/sig/eddsa.c
2134
u16 hsize;
crypto/libecc/src/sig/eddsa.c
2140
u16 use_message_pre_hash_hsize = 0;
crypto/libecc/src/sig/eddsa.c
2283
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len)
crypto/libecc/src/sig/eddsa.c
2293
u16 hsize;
crypto/libecc/src/sig/eddsa.c
2304
u16 use_message_pre_hash_hsize = 0;
crypto/libecc/src/sig/eddsa.c
232
ATTRIBUTE_WARN_UNUSED_RET static int eddsa_decode_integer(nn_t nn_out, const u8 *buf, u16 buf_size)
crypto/libecc/src/sig/eddsa.c
234
u16 i;
crypto/libecc/src/sig/eddsa.c
2585
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
crypto/libecc/src/sig/eddsa.c
2595
u16 hsize;
crypto/libecc/src/sig/eddsa.c
2606
u16 use_message_pre_hash_hsize = 0;
crypto/libecc/src/sig/eddsa.c
261
ATTRIBUTE_WARN_UNUSED_RET static int eddsa_encode_integer(nn_src_t nn_in, u8 *buf, u16 buf_size)
crypto/libecc/src/sig/eddsa.c
263
u16 i;
crypto/libecc/src/sig/eddsa.c
2909
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
crypto/libecc/src/sig/eddsa.c
294
ATTRIBUTE_WARN_UNUSED_RET static int eddsa_compute_s(nn_t s, const u8 *digest, u16 digest_size)
crypto/libecc/src/sig/eddsa.c
335
u8 *buf, u16 buflen,
crypto/libecc/src/sig/eddsa.c
428
fp_src_t alpha_edwards, const u8 *buf, u16 buflen,
crypto/libecc/src/sig/eddsa.c
435
u16 i;
crypto/libecc/src/sig/eddsa.c
574
u8 *buf, u16 buflen)
crypto/libecc/src/sig/eddsa.c
60
ATTRIBUTE_WARN_UNUSED_RET static inline int dom(u16 x, const u8 *y, u16 olen_y, const hash_mapping *h,
crypto/libecc/src/sig/eddsa.c
740
int eddsa_import_priv_key(ec_priv_key *priv_key, const u8 *buf, u16 buflen,
crypto/libecc/src/sig/eddsa.c
865
int eddsa_import_pub_key(ec_pub_key *pub_key, const u8 *buf, u16 buflen,
crypto/libecc/src/sig/eddsa.c
973
int eddsa_export_pub_key(const ec_pub_key *in_pub, u8 *buf, u16 buflen)
crypto/libecc/src/sig/fuzzing_ecrdsa.c
55
ATTRIBUTE_WARN_UNUSED_RET static inline int _reverse_endianness(u8 *buf, u16 buf_size)
crypto/libecc/src/sig/fuzzing_ecrdsa.c
57
u16 i;
crypto/libecc/src/sig/sig_algs.c
298
const u8 *adata, u16 adata_len)
crypto/libecc/src/sig/sig_algs.c
390
const u8 *adata, u16 adata_len)
crypto/libecc/src/sig/sig_algs.c
458
const u8 *adata, u16 adata_len)
crypto/libecc/src/sig/sig_algs.c
477
const u8 *adata, u16 adata_len)
crypto/libecc/src/sig/sig_algs.c
500
const u8 *adata, u16 adata_len)
crypto/libecc/src/sig/sig_algs.c
514
const u8 *adata, u16 adata_len)
crypto/libecc/src/sig/sig_algs.c
641
const u8 *adata, u16 adata_len)
crypto/libecc/src/sig/sig_algs.c
658
const u8 *adata, u16 adata_len)
crypto/libecc/src/sig/sig_algs.c
677
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
crypto/libecc/src/sig/sig_algs.c
852
hash_alg_type hash_type, const u8 **adata, const u16 *adata_len,
crypto/libecc/src/sig/sm2.c
136
ATTRIBUTE_WARN_UNUSED_RET static int sm2_compute_Z(u8 *Z, u16 *Zlen, const u8 *id, u16 id_len,
crypto/libecc/src/sig/sm2.c
139
u16 hsize, entlen, p_len;
crypto/libecc/src/sig/sm2.c
166
entlen = (u16)(id_len * 8);
crypto/libecc/src/sig/sm2.c
251
u16 Zlen;
crypto/libecc/src/sig/sm2.c
527
u16 Zlen;
crypto/libecc/src/sig/sm2.c
96
int sm2_siglen(u16 p_bit_len, u16 q_bit_len, u8 hsize, u8 blocksize, u8 *siglen)
crypto/libecc/src/tests/ec_self_tests_core.c
126
ec_alg_type sig_type, hash_alg_type hash_type, const u8 *adata, u16 adata_len)
crypto/libecc/src/tests/ec_self_tests_core.c
1410
ret = get_random((u8 *)rand_adata, (u16)(rand_len % sizeof(rand_adata))); EG(ret, err);
crypto/libecc/src/tests/ec_self_tests_core.c
1428
u16 oid_len = 0;
crypto/libecc/src/tests/ec_self_tests_core.c
1429
u16 t_len = 0;
crypto/libecc/src/tests/ec_self_tests_core.c
1614
u16 msglen;
crypto/libecc/src/tests/ec_self_tests_core.c
1648
msglen = (u16)(msglen % hash_block_size);
crypto/libecc/src/tests/ec_self_tests_core.c
1711
u16 adatas_len[PERF_BATCH_VERIFICATION];
crypto/libecc/src/tests/ec_self_tests_core.c
175
ec_alg_type sig_type, hash_alg_type hash_type, const u8 *adata, u16 adata_len)
crypto/libecc/src/tests/ec_self_tests_core.c
1842
ret = get_random((u8 *)rand_adata, (u16)(rand_len % sizeof(rand_adata))); EG(ret, err);
crypto/libecc/src/tests/ec_self_tests_core.c
1860
u16 oid_len = 0;
crypto/libecc/src/tests/ec_self_tests_core.c
1861
u16 t_len = 0;
crypto/libecc/src/tests/ec_self_tests_core.c
261
u16 msglen;
crypto/libecc/src/tests/ec_self_tests_core.c
381
const u16 adatas_len[] = { c->adata_len };
crypto/libecc/src/tests/ec_self_tests_core.c
519
u16 msglen;
crypto/libecc/src/tests/ec_self_tests_core.c
530
u16 adata_len[MAX_BATCH_SIG_SIZE];
crypto/libecc/src/tests/ec_self_tests_core.c
711
const u16 adatas_len[] = { c->adata_len };
crypto/libecc/src/tests/ec_self_tests_core.c
915
ret = nn_export_to_buf(nonce, (u16)BYTECEIL(q_bit_len), &n_nonce); EG(ret, err);
crypto/libecc/src/tests/ec_self_tests_core.h
50
u16 adata_len;
crypto/libecc/src/tests/ec_utils.c
1010
const char *in_key_fname, const char *in_sig_fname, const char *adata, u16 adata_len)
crypto/libecc/src/tests/ec_utils.c
1393
u16 coord_len;
crypto/libecc/src/tests/ec_utils.c
1445
ret = nn_init_from_buf(&d, buf, (u16)buf_len); EG(ret, err);
crypto/libecc/src/tests/ec_utils.c
1476
if(prj_pt_import_from_buf(&Q, buf, (u16)buf_len, &(curve_params.ec_curve))){
crypto/libecc/src/tests/ec_utils.c
1494
coord_len = (u16)(3 * BYTECEIL((Q.crv)->a.ctx->p_bitlen));
crypto/libecc/src/tests/ec_utils.c
1597
u16 adata_len = 0;
crypto/libecc/src/tests/ec_utils.c
1678
adata_len = (u16)len;
crypto/libecc/src/tests/ec_utils.c
1726
adata_len = (u16)len;
crypto/libecc/src/tests/ec_utils.c
1780
adata_len = (u16)len;
crypto/libecc/src/tests/ec_utils.c
1826
adata_len = (u16)len;
crypto/libecc/src/tests/ec_utils.c
235
const u16 fname_len = sizeof(fname);
crypto/libecc/src/tests/ec_utils.c
236
const u16 kname_len = sizeof(kname);
crypto/libecc/src/tests/ec_utils.c
237
u16 prefix_len;
crypto/libecc/src/tests/ec_utils.c
275
prefix_len = (u16)len;
crypto/libecc/src/tests/ec_utils.c
649
const char *version, const char *adata, u16 adata_len)
crypto/libecc/src/utils/print_buf.c
15
void buf_print(const char *msg, const u8 *buf, u16 buflen)
crypto/libecc/src/utils/utils_rand.c
18
int get_unsafe_random(unsigned char *buf, u16 len)
crypto/libecc/src/utils/utils_rand.c
22
u16 i, j;
crypto/libecc/src/utils/utils_rand.c
44
i = (u16)(i + sizeof(seed));
crypto/libecc/src/utils/utils_rand.h
20
ATTRIBUTE_WARN_UNUSED_RET int get_unsafe_random(unsigned char *buf, u16 len);
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c
45
u_int16_t u16;
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_getput_fuzz.c
53
sshbuf_get_u16(p1, &u16);
crypto/openssl/test/byteorder_test.c
13
uint16_t u16;
crypto/openssl/test/byteorder_test.c
18
restin = OPENSSL_load_u16_le(&u16, in);
crypto/openssl/test/byteorder_test.c
19
restout = OPENSSL_store_u16_le(out, u16);
crypto/openssl/test/byteorder_test.c
20
if (!TEST_true(u16 == 0x0100U
crypto/openssl/test/byteorder_test.c
29
restin = OPENSSL_load_u16_be(&u16, in);
crypto/openssl/test/byteorder_test.c
30
restout = OPENSSL_store_u16_be(out, u16);
crypto/openssl/test/byteorder_test.c
31
if (!TEST_true(u16 == 0x0001U
lib/libiconv_modules/UTF7/citrus_utf7.c
154
uint16_t * __restrict u16, char ** __restrict s, size_t n,
lib/libiconv_modules/UTF7/citrus_utf7.c
182
*u16 = (uint16_t)psenc->ch[i];
lib/libiconv_modules/UTF7/citrus_utf7.c
189
*u16 = (uint16_t)BASE64_IN;
lib/libiconv_modules/UTF7/citrus_utf7.c
202
*u16 = (uint16_t)psenc->ch[i];
lib/libiconv_modules/UTF7/citrus_utf7.c
217
*u16 = (psenc->cache >> psenc->bits) &
lib/libiconv_modules/UTF7/citrus_utf7.c
231
*nresult = (size_t)((*u16 == 0) ? 0 : s0 - *s);
lib/libiconv_modules/UTF7/citrus_utf7.c
299
char * __restrict s, size_t n __unused, uint16_t u16,
lib/libiconv_modules/UTF7/citrus_utf7.c
307
if (ISSAFE(ei, u16)) {
lib/libiconv_modules/UTF7/citrus_utf7.c
315
if (u16 == BASE64_OUT || FINDLEN(ei, u16) >= 0)
lib/libiconv_modules/UTF7/citrus_utf7.c
321
psenc->ch[psenc->chlen++] = (char)u16;
lib/libiconv_modules/UTF7/citrus_utf7.c
322
if (u16 == BASE64_IN)
lib/libiconv_modules/UTF7/citrus_utf7.c
331
psenc->cache = (psenc->cache << UTF16_BIT) | u16;
lib/libiconv_modules/UTF7/citrus_utf7.c
352
uint16_t u16[2];
lib/libiconv_modules/UTF7/citrus_utf7.c
358
u16[0] = (uint16_t)u32;
lib/libiconv_modules/UTF7/citrus_utf7.c
362
u16[0] = (u32 >> 10) + HISRG_MIN;
lib/libiconv_modules/UTF7/citrus_utf7.c
363
u16[1] = ((uint16_t)(u32 & UINT32_C(0x3ff))) + LOSRG_MIN;
lib/libiconv_modules/UTF7/citrus_utf7.c
371
err = _citrus_UTF7_utf16tomb(ei, s, n, u16[i], psenc, &nr);
sbin/hastd/lzf.c
165
&& *(const u16 *)ref == *(const u16 *)ip
sbin/ipfw/ipfw2.c
1747
print_newports(bp, insntoc(cmd, u16), state->proto,
sbin/ipfw/ipfw2.c
1765
print_newports(bp, insntoc(cmd, u16),
sbin/ipfw/ipfw2.c
1863
print_newports(bp, insntoc(cmd, u16), 0,
sbin/ipfw/ipfw2.c
1976
print_newports(bp, insntoc(cmd, u16),
sbin/ipfw/ipfw2.c
2120
insntoc(cmd, u16)->ports[0]);
sbin/ipfw/ipfw2.c
4406
insntod(action, u16)->ports[0] = mtu;
stand/efi/libefi/env.c
621
UINT16 *u16 = (UINT16 *)data;
stand/efi/libefi/env.c
625
printf(" %u", u16[i]);
sys/compat/linuxkpi/common/include/asm/atomic.h
177
u16 u16[0]; \
sys/compat/linuxkpi/common/include/asm/atomic.h
198
while (!atomic_fcmpset_16((volatile u16 *)(ptr), \
sys/compat/linuxkpi/common/include/asm/atomic.h
199
__ret.u16, __new.u16[0]) && __ret.val == (old)) \
sys/compat/linuxkpi/common/include/asm/atomic.h
226
u16 u16[0]; \
sys/compat/linuxkpi/common/include/asm/atomic.h
249
while (!atomic_fcmpset_16((volatile u16 *)(ptr), \
sys/compat/linuxkpi/common/include/asm/atomic.h
250
__ret.u16, __new.u16[0])) \
sys/compat/linuxkpi/common/include/linux/hdmi.h
200
u16 x, y;
sys/compat/linuxkpi/common/include/linux/hdmi.h
203
u16 x, y;
sys/compat/linuxkpi/common/include/linux/hdmi.h
205
u16 max_display_mastering_luminance;
sys/compat/linuxkpi/common/include/linux/hdmi.h
206
u16 min_display_mastering_luminance;
sys/compat/linuxkpi/common/include/linux/hdmi.h
207
u16 max_cll;
sys/compat/linuxkpi/common/include/linux/hdmi.h
208
u16 max_fall;
sys/compat/linuxkpi/common/include/linux/net_dim.h
337
net_dim_sample(u16 event_ctr,
sys/compat/linuxkpi/common/include/linux/net_dim.h
377
u16 nevents;
sys/compat/linuxkpi/common/include/linux/net_dim.h
383
nevents = BIT_GAP(BITS_PER_TYPE(u16),
sys/compat/linuxkpi/common/include/linux/net_dim.h
47
u16 usec;
sys/compat/linuxkpi/common/include/linux/net_dim.h
48
u16 pkts;
sys/compat/linuxkpi/common/include/linux/net_dim.h
56
u16 event_ctr;
sys/compat/linuxkpi/common/include/linux/net_dim.h
70
u16 event_ctr;
sys/compat/linuxkpi/common/include/linux/pci.h
1056
pcie_capability_read_word(struct pci_dev *dev, int pos, u16 *dst)
sys/compat/linuxkpi/common/include/linux/pci.h
1069
pcie_capability_write_word(struct pci_dev *dev, int pos, u16 val)
sys/compat/linuxkpi/common/include/linux/pci.h
1387
pci_bus_read_config_word(struct pci_bus *bus, unsigned int devfn, int pos, u16 *val)
sys/compat/linuxkpi/common/include/linux/pci.h
1393
*val = (u16)tmp;
sys/compat/linuxkpi/common/include/linux/pci.h
1534
u16 ctl;
sys/compat/linuxkpi/common/include/linux/pci.h
704
pci_read_config_word(const struct pci_dev *pdev, int where, u16 *val)
sys/compat/linuxkpi/common/include/linux/pci.h
707
*val = (u16)pci_read_config(pdev->dev.bsddev, where, 2);
sys/compat/linuxkpi/common/include/linux/pci.h
728
pci_write_config_word(const struct pci_dev *pdev, int where, u16 val)
sys/compat/linuxkpi/common/include/linux/pci.h
951
static inline u16 pcie_flags_reg(struct pci_dev *dev)
sys/compat/linuxkpi/common/include/linux/pci.h
954
u16 reg16;
sys/compat/linuxkpi/common/include/linux/printk.h
36
#define GID_PRINT_ARGS(gid_raw) htons(((u16 *)gid_raw)[0]), htons(((u16 *)gid_raw)[1]),\
sys/compat/linuxkpi/common/include/linux/printk.h
37
htons(((u16 *)gid_raw)[2]), htons(((u16 *)gid_raw)[3]),\
sys/compat/linuxkpi/common/include/linux/printk.h
38
htons(((u16 *)gid_raw)[4]), htons(((u16 *)gid_raw)[5]),\
sys/compat/linuxkpi/common/include/linux/printk.h
39
htons(((u16 *)gid_raw)[6]), htons(((u16 *)gid_raw)[7])
sys/compat/linuxkpi/common/include/net/mac80211.h
1000
void (*allow_buffered_frames)(struct ieee80211_hw *, struct ieee80211_sta *, u16, int, enum ieee80211_frame_release_type, bool);
sys/compat/linuxkpi/common/include/net/mac80211.h
1001
void (*release_buffered_frames)(struct ieee80211_hw *, struct ieee80211_sta *, u16, int, enum ieee80211_frame_release_type, bool);
sys/compat/linuxkpi/common/include/net/mac80211.h
1065
void (*update_tkip_key)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_key_conf *, struct ieee80211_sta *, u32, u16 *);
sys/compat/linuxkpi/common/include/net/mac80211.h
1098
int (*change_vif_links)(struct ieee80211_hw *, struct ieee80211_vif *, u16, u16, struct ieee80211_bss_conf *[IEEE80211_MLD_MAX_NUM_LINKS]);
sys/compat/linuxkpi/common/include/net/mac80211.h
1099
int (*change_sta_links)(struct ieee80211_hw *, struct ieee80211_vif *, struct ieee80211_sta *, u16, u16);
sys/compat/linuxkpi/common/include/net/mac80211.h
1100
bool (*can_activate_links)(struct ieee80211_hw *, struct ieee80211_vif *, u16);
sys/compat/linuxkpi/common/include/net/mac80211.h
2443
const u8 *addr, uint32_t iv32, u16 *p1k)
sys/compat/linuxkpi/common/include/net/mac80211.h
984
int (*conf_tx)(struct ieee80211_hw *, struct ieee80211_vif *, u32, u16, const struct ieee80211_tx_queue_params *);
sys/dev/bce/if_bce.c
10329
bce_dump_tx_chain(struct bce_softc *sc, u16 tx_prod, int count)
sys/dev/bce/if_bce.c
10370
bce_dump_rx_bd_chain(struct bce_softc *sc, u16 rx_prod, int count)
sys/dev/bce/if_bce.c
10413
bce_dump_pg_chain(struct bce_softc *sc, u16 pg_prod, int count)
sys/dev/bce/if_bce.c
10452
sblk->status_rx_quick_consumer_index##arg, (u16) \
sys/dev/bce/if_bce.c
10459
sblk->status_tx_quick_consumer_index##arg, (u16) \
sys/dev/bce/if_bce.c
10698
"index\n", sc->tx_prod, (u16) TX_CHAIN_IDX(sc->tx_prod));
sys/dev/bce/if_bce.c
10701
"index\n", sc->tx_cons, (u16) TX_CHAIN_IDX(sc->tx_cons));
sys/dev/bce/if_bce.c
10716
"index\n", sc->rx_prod, (u16) RX_CHAIN_IDX(sc->rx_prod));
sys/dev/bce/if_bce.c
10719
"index\n", sc->rx_cons, (u16) RX_CHAIN_IDX(sc->rx_cons));
sys/dev/bce/if_bce.c
10735
"index\n", sc->pg_prod, (u16) PG_CHAIN_IDX(sc->pg_prod));
sys/dev/bce/if_bce.c
10738
"index\n", sc->pg_cons, (u16) PG_CHAIN_IDX(sc->pg_cons));
sys/dev/bce/if_bce.c
1610
bce_reg_wr16(struct bce_softc *sc, u32 offset, u16 val)
sys/dev/bce/if_bce.c
326
static void bce_reg_wr16 (struct bce_softc *, u32, u16);
sys/dev/bce/if_bce.c
330
static void bce_dump_tx_mbuf_chain (struct bce_softc *, u16, int);
sys/dev/bce/if_bce.c
331
static void bce_dump_rx_mbuf_chain (struct bce_softc *, u16, int);
sys/dev/bce/if_bce.c
332
static void bce_dump_pg_mbuf_chain (struct bce_softc *, u16, int);
sys/dev/bce/if_bce.c
341
static void bce_dump_ctx (struct bce_softc *, u16);
sys/dev/bce/if_bce.c
343
static void bce_dump_tx_chain (struct bce_softc *, u16, int);
sys/dev/bce/if_bce.c
344
static void bce_dump_rx_bd_chain (struct bce_softc *, u16, int);
sys/dev/bce/if_bce.c
345
static void bce_dump_pg_chain (struct bce_softc *, u16, int);
sys/dev/bce/if_bce.c
441
static int bce_get_rx_buf (struct bce_softc *, u16, u16, u32 *);
sys/dev/bce/if_bce.c
446
static int bce_get_pg_buf (struct bce_softc *, u16, u16);
sys/dev/bce/if_bce.c
452
struct mbuf **, u16 *);
sys/dev/bce/if_bce.c
471
static inline u16 bce_get_hw_rx_cons (struct bce_softc *);
sys/dev/bce/if_bce.c
5251
bce_get_rx_buf(struct bce_softc *sc, u16 prod, u16 chain_prod, u32 *prod_bseq)
sys/dev/bce/if_bce.c
5258
u16 debug_chain_prod = chain_prod;
sys/dev/bce/if_bce.c
5267
chain_prod, (u16)MAX_RX_BD_ALLOC));
sys/dev/bce/if_bce.c
5365
bce_get_pg_buf(struct bce_softc *sc, u16 prod, u16 prod_idx)
sys/dev/bce/if_bce.c
5372
u16 debug_prod_idx = prod_idx;
sys/dev/bce/if_bce.c
5381
prod_idx, (u16)MAX_PG_BD_ALLOC));
sys/dev/bce/if_bce.c
5756
u16 prod, prod_idx;
sys/dev/bce/if_bce.c
5924
u16 prod, prod_idx;
sys/dev/bce/if_bce.c
6376
static inline u16
sys/dev/bce/if_bce.c
6379
u16 hw_cons;
sys/dev/bce/if_bce.c
6402
u16 sw_rx_cons, sw_rx_cons_idx, hw_rx_cons;
sys/dev/bce/if_bce.c
6405
u16 sw_pg_cons, sw_pg_cons_idx;
sys/dev/bce/if_bce.c
674
u16 vid = 0, did = 0, svid = 0, sdid = 0;
sys/dev/bce/if_bce.c
6746
static inline u16
sys/dev/bce/if_bce.c
6749
u16 hw_cons;
sys/dev/bce/if_bce.c
6769
u16 hw_tx_cons, sw_tx_cons, sw_tx_chain_cons;
sys/dev/bce/if_bce.c
7093
bce_tso_setup(struct bce_softc *sc, struct mbuf **m_head, u16 *flags)
sys/dev/bce/if_bce.c
7099
u16 etype;
sys/dev/bce/if_bce.c
7219
u16 prod, chain_prod, mss = 0, vlan_tag = 0, flags = 0;
sys/dev/bce/if_bce.c
7223
u16 debug_prod;
sys/dev/bce/if_bce.c
7413
u16 tx_prod, tx_chain_prod __unused;
sys/dev/bce/if_bce.c
7766
u16 hw_rx_cons, hw_tx_cons;
sys/dev/bce/if_bce.c
823
u16 link_status = pci_read_config(dev, reg + 0x12, 2);
sys/dev/bce/if_bce.c
8797
u16 val;
sys/dev/bce/if_bce.c
9537
u16 etype;
sys/dev/bce/if_bce.c
9697
bce_dump_tx_mbuf_chain(struct bce_softc *sc, u16 chain_prod, int count)
sys/dev/bce/if_bce.c
9726
bce_dump_rx_mbuf_chain(struct bce_softc *sc, u16 chain_prod, int count)
sys/dev/bce/if_bce.c
9755
bce_dump_pg_mbuf_chain(struct bce_softc *sc, u16 chain_prod, int count)
sys/dev/bce/if_bce.c
9964
bce_dump_ctx(struct bce_softc *sc, u16 cid)
sys/dev/bce/if_bcereg.h
1103
u16 tx_bd_flags;
sys/dev/bce/if_bcereg.h
1116
u16 tx_bd_vlan_tag;
sys/dev/bce/if_bcereg.h
1170
u16 status_tx_quick_consumer_index0;
sys/dev/bce/if_bcereg.h
1171
u16 status_tx_quick_consumer_index1;
sys/dev/bce/if_bcereg.h
1172
u16 status_tx_quick_consumer_index2;
sys/dev/bce/if_bcereg.h
1173
u16 status_tx_quick_consumer_index3;
sys/dev/bce/if_bcereg.h
1174
u16 status_rx_quick_consumer_index0;
sys/dev/bce/if_bcereg.h
1175
u16 status_rx_quick_consumer_index1;
sys/dev/bce/if_bcereg.h
1176
u16 status_rx_quick_consumer_index2;
sys/dev/bce/if_bcereg.h
1177
u16 status_rx_quick_consumer_index3;
sys/dev/bce/if_bcereg.h
1178
u16 status_rx_quick_consumer_index4;
sys/dev/bce/if_bcereg.h
1179
u16 status_rx_quick_consumer_index5;
sys/dev/bce/if_bcereg.h
1180
u16 status_rx_quick_consumer_index6;
sys/dev/bce/if_bcereg.h
1181
u16 status_rx_quick_consumer_index7;
sys/dev/bce/if_bcereg.h
1182
u16 status_rx_quick_consumer_index8;
sys/dev/bce/if_bcereg.h
1183
u16 status_rx_quick_consumer_index9;
sys/dev/bce/if_bcereg.h
1184
u16 status_rx_quick_consumer_index10;
sys/dev/bce/if_bcereg.h
1185
u16 status_rx_quick_consumer_index11;
sys/dev/bce/if_bcereg.h
1186
u16 status_rx_quick_consumer_index12;
sys/dev/bce/if_bcereg.h
1187
u16 status_rx_quick_consumer_index13;
sys/dev/bce/if_bcereg.h
1188
u16 status_rx_quick_consumer_index14;
sys/dev/bce/if_bcereg.h
1189
u16 status_rx_quick_consumer_index15;
sys/dev/bce/if_bcereg.h
1190
u16 status_completion_producer_index;
sys/dev/bce/if_bcereg.h
1191
u16 status_cmd_consumer_index;
sys/dev/bce/if_bcereg.h
1192
u16 status_idx;
sys/dev/bce/if_bcereg.h
1193
u16 status_unused;
sys/dev/bce/if_bcereg.h
1195
u16 status_tx_quick_consumer_index1;
sys/dev/bce/if_bcereg.h
1196
u16 status_tx_quick_consumer_index0;
sys/dev/bce/if_bcereg.h
1197
u16 status_tx_quick_consumer_index3;
sys/dev/bce/if_bcereg.h
1198
u16 status_tx_quick_consumer_index2;
sys/dev/bce/if_bcereg.h
1199
u16 status_rx_quick_consumer_index1;
sys/dev/bce/if_bcereg.h
1200
u16 status_rx_quick_consumer_index0;
sys/dev/bce/if_bcereg.h
1201
u16 status_rx_quick_consumer_index3;
sys/dev/bce/if_bcereg.h
1202
u16 status_rx_quick_consumer_index2;
sys/dev/bce/if_bcereg.h
1203
u16 status_rx_quick_consumer_index5;
sys/dev/bce/if_bcereg.h
1204
u16 status_rx_quick_consumer_index4;
sys/dev/bce/if_bcereg.h
1205
u16 status_rx_quick_consumer_index7;
sys/dev/bce/if_bcereg.h
1206
u16 status_rx_quick_consumer_index6;
sys/dev/bce/if_bcereg.h
1207
u16 status_rx_quick_consumer_index9;
sys/dev/bce/if_bcereg.h
1208
u16 status_rx_quick_consumer_index8;
sys/dev/bce/if_bcereg.h
1209
u16 status_rx_quick_consumer_index11;
sys/dev/bce/if_bcereg.h
1210
u16 status_rx_quick_consumer_index10;
sys/dev/bce/if_bcereg.h
1211
u16 status_rx_quick_consumer_index13;
sys/dev/bce/if_bcereg.h
1212
u16 status_rx_quick_consumer_index12;
sys/dev/bce/if_bcereg.h
1213
u16 status_rx_quick_consumer_index15;
sys/dev/bce/if_bcereg.h
1214
u16 status_rx_quick_consumer_index14;
sys/dev/bce/if_bcereg.h
1215
u16 status_cmd_consumer_index;
sys/dev/bce/if_bcereg.h
1216
u16 status_completion_producer_index;
sys/dev/bce/if_bcereg.h
1217
u16 status_unused;
sys/dev/bce/if_bcereg.h
1218
u16 status_idx;
sys/dev/bce/if_bcereg.h
1336
u16 l2_fhdr_pkt_len;
sys/dev/bce/if_bcereg.h
1337
u16 l2_fhdr_vlan_tag;
sys/dev/bce/if_bcereg.h
1338
u16 l2_fhdr_ip_xsum;
sys/dev/bce/if_bcereg.h
1339
u16 l2_fhdr_tcp_udp_xsum;
sys/dev/bce/if_bcereg.h
1341
u16 l2_fhdr_vlan_tag;
sys/dev/bce/if_bcereg.h
1342
u16 l2_fhdr_pkt_len;
sys/dev/bce/if_bcereg.h
1343
u16 l2_fhdr_tcp_udp_xsum;
sys/dev/bce/if_bcereg.h
1344
u16 l2_fhdr_ip_xsum;
sys/dev/bce/if_bcereg.h
433
__FUNCTION__, phy, (u16) reg & 0xffff, (u16) val & 0xffff, \
sys/dev/bce/if_bcereg.h
437
__FUNCTION__, phy, (u16) reg & 0xffff, (u16) val & 0xffff, \
sys/dev/bce/if_bcereg.h
441
__FUNCTION__, phy, (u16) reg & 0xffff, (u16) val & 0xffff, \
sys/dev/bce/if_bcereg.h
445
__FUNCTION__, phy, (u16) reg & 0xffff, (u16) val & 0xffff, \
sys/dev/bce/if_bcereg.h
449
__FUNCTION__, phy, (u16) reg & 0xffff, (u16) val & 0xffff, \
sys/dev/bce/if_bcereg.h
453
__FUNCTION__, phy, (u16) reg & 0xffff, (u16) val & 0xffff, \
sys/dev/bce/if_bcereg.h
457
__FUNCTION__, phy, (u16) reg & 0xffff, (u16) val & 0xffff, \
sys/dev/bce/if_bcereg.h
461
__FUNCTION__, phy, (u16) reg & 0xffff, (u16) val & 0xffff, \
sys/dev/bce/if_bcereg.h
465
__FUNCTION__, phy, (u16) reg & 0xffff, (u16) val & 0xffff); \
sys/dev/bce/if_bcereg.h
6373
u16 bus_speed_mhz;
sys/dev/bce/if_bcereg.h
6376
u16 link_width;
sys/dev/bce/if_bcereg.h
6379
u16 link_speed;
sys/dev/bce/if_bcereg.h
6403
u16 bce_fw_timed_out;
sys/dev/bce/if_bcereg.h
6409
u16 bce_fw_wr_seq;
sys/dev/bce/if_bcereg.h
6416
u16 bce_fw_drv_pulse_wr_seq;
sys/dev/bce/if_bcereg.h
6419
u16 bce_drv_cardiac_arrest;
sys/dev/bce/if_bcereg.h
6429
u16 bce_tx_quick_cons_trip_int;
sys/dev/bce/if_bcereg.h
6430
u16 bce_tx_quick_cons_trip;
sys/dev/bce/if_bcereg.h
6431
u16 bce_rx_quick_cons_trip_int;
sys/dev/bce/if_bcereg.h
6432
u16 bce_rx_quick_cons_trip;
sys/dev/bce/if_bcereg.h
6433
u16 bce_tx_ticks_int;
sys/dev/bce/if_bcereg.h
6434
u16 bce_tx_ticks;
sys/dev/bce/if_bcereg.h
6435
u16 bce_rx_ticks_int;
sys/dev/bce/if_bcereg.h
6436
u16 bce_rx_ticks;
sys/dev/bce/if_bcereg.h
6446
u16 rx_prod;
sys/dev/bce/if_bcereg.h
6447
u16 rx_cons;
sys/dev/bce/if_bcereg.h
6453
u16 tx_prod;
sys/dev/bce/if_bcereg.h
6454
u16 tx_cons;
sys/dev/bce/if_bcereg.h
6460
u16 pg_prod;
sys/dev/bce/if_bcereg.h
6461
u16 pg_cons;
sys/dev/bce/if_bcereg.h
6509
u16 last_status_idx;
sys/dev/bce/if_bcereg.h
6510
u16 hw_rx_cons;
sys/dev/bce/if_bcereg.h
6511
u16 hw_tx_cons;
sys/dev/bce/if_bcereg.h
6546
u16 free_rx_bd;
sys/dev/bce/if_bcereg.h
6547
u16 max_rx_bd;
sys/dev/bce/if_bcereg.h
6548
u16 used_tx_bd;
sys/dev/bce/if_bcereg.h
6549
u16 max_tx_bd;
sys/dev/bce/if_bcereg.h
6550
u16 free_pg_bd;
sys/dev/bce/if_bcereg.h
6551
u16 max_pg_bd;
sys/dev/bce/if_bcereg.h
6648
u16 rx_low_watermark;
sys/dev/bce/if_bcereg.h
6654
u16 pg_low_watermark;
sys/dev/bce/if_bcereg.h
6660
u16 tx_hi_watermark;
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
628
BCM_READ_HDR_VAR(BCM_NVRAM_CFG0_SDRAM_INIT, u16, le16toh);
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
629
BCM_READ_HDR_VAR(BCM_NVRAM_CFG1_SDRAM_CFG, u16, le16toh);
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
630
BCM_READ_HDR_VAR(BCM_NVRAM_CFG1_SDRAM_REFRESH, u16, le16toh);
sys/dev/bhnd/nvram/bhnd_nvram_data_bcmvar.h
39
uint16_t u16;
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom.c
1020
NV_PARSE_INT(uint32_t, u16, le16toh);
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom.c
940
NV_WRITE_INT(uint32_t, u16, htole16);
sys/dev/bhnd/nvram/bhnd_nvram_data_spromvar.h
161
uint16_t u16[BHND_SPROM_ARRAY_MAXLEN];
sys/dev/bhnd/nvram/bhnd_nvram_value.c
1818
NV_STORE_INLINE(uint16_t, u16);
sys/dev/bhnd/nvram/bhnd_nvram_value.c
1843
NV_COPY_ARRRAY_INLINE(uint16_t, u16);
sys/dev/bhnd/nvram/bhnd_nvram_value.h
227
uint16_t u16[4]; /**< 16-bit unsigned data */
sys/dev/bhnd/nvram/bhnd_nvram_value_fmts.c
394
uint16_t u16;
sys/dev/bhnd/nvram/bhnd_nvram_value_fmts.c
464
strval.u16 = ival;
sys/dev/bhnd/nvram/bhnd_nvram_value_prf.c
621
uint16_t u16;
sys/dev/bnxt/bnxt_en/bnxt.h
1336
u16 fw_reset_min_dsecs;
sys/dev/bnxt/bnxt_en/bnxt.h
1338
u16 fw_reset_max_dsecs;
sys/dev/bnxt/bnxt_en/bnxt.h
777
u16 type;
sys/dev/bnxt/bnxt_en/bnxt.h
778
u16 entry_size;
sys/dev/bnxt/bnxt_en/bnxt.h
784
u16 init_offset;
sys/dev/bnxt/bnxt_en/bnxt.h
833
#define BNXT_CTX_INV ((u16)-1)
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1004
static const u16 bnxt_async_events_arr[] = {
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
1066
u16 event_id = bnxt_async_events_arr[i];
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
356
u16 type;
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
397
u16 type;
sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
474
u16 init_mask;
sys/dev/bnxt/bnxt_en/bnxt_ulp.c
340
u16 event_id = le16_to_cpu(cmpl->event_id);
sys/dev/bnxt/bnxt_en/bnxt_ulp.c
371
unsigned long *events_bmap, u16 max_id)
sys/dev/bnxt/bnxt_en/bnxt_ulp.h
121
u16 hw_ring_stats_size;
sys/dev/bnxt/bnxt_en/bnxt_ulp.h
122
u16 pf_port_id;
sys/dev/bnxt/bnxt_en/bnxt_ulp.h
144
unsigned long *, u16);
sys/dev/bnxt/bnxt_en/bnxt_ulp.h
74
u16 max_async_event_id;
sys/dev/bnxt/bnxt_en/bnxt_ulp.h
75
u16 msix_requested;
sys/dev/bnxt/bnxt_en/bnxt_ulp.h
76
u16 msix_base;
sys/dev/bnxt/bnxt_en/if_bnxt.c
1087
u16 type;
sys/dev/bnxt/bnxt_en/if_bnxt.c
1118
u16 last_type = BNXT_CTX_INV;
sys/dev/bnxt/bnxt_en/if_bnxt.c
1120
u16 type;
sys/dev/bnxt/bnxt_en/if_bnxt.c
1701
u16 val = 0;
sys/dev/bnxt/bnxt_en/if_bnxt.c
2138
u16 val;
sys/dev/bnxt/bnxt_en/if_bnxt.c
4363
add_media(struct bnxt_softc *softc, u8 media_type, u16 supported_NRZ_speeds,
sys/dev/bnxt/bnxt_en/if_bnxt.c
4364
u16 supported_pam4_speeds, u16 supported_speeds2)
sys/dev/bnxt/bnxt_en/if_bnxt.c
4773
bnxt_fw_to_ethtool_speed(u16 fw_link_speed)
sys/dev/bnxt/bnxt_en/if_bnxt.c
880
u16 offset = ctxm->init_offset;
sys/dev/bnxt/bnxt_re/bnxt_re.h
1048
u16 nq_id, u32 throttle);
sys/dev/bnxt/bnxt_re/bnxt_re.h
1051
u16 target_id);
sys/dev/bnxt/bnxt_re/bnxt_re.h
178
u16 flags;
sys/dev/bnxt/bnxt_re/bnxt_re.h
369
u16 nq_id[16];
sys/dev/bnxt/bnxt_re/bnxt_re.h
515
u16 worker_30s;
sys/dev/bnxt/bnxt_re/bnxt_re.h
531
u16 cosq[2];
sys/dev/bnxt/bnxt_re/bnxt_re.h
665
struct bnxt_re_dscp2pri *d2p, u16 count,
sys/dev/bnxt/bnxt_re/bnxt_re.h
666
u16 target_id);
sys/dev/bnxt/bnxt_re/bnxt_re.h
668
struct bnxt_re_dscp2pri *d2p, u16 *count,
sys/dev/bnxt/bnxt_re/bnxt_re.h
669
u16 target_id);
sys/dev/bnxt/bnxt_re/bnxt_re.h
671
struct bnxt_re_tc_rec *cnprec, u16 tid);
sys/dev/bnxt/bnxt_re/bnxt_re.h
672
int bnxt_re_hwrm_cos2bw_qcfg(struct bnxt_re_dev *rdev, u16 target_id,
sys/dev/bnxt/bnxt_re/bnxt_re.h
674
int bnxt_re_hwrm_cos2bw_cfg(struct bnxt_re_dev *rdev, u16 target_id,
sys/dev/bnxt/bnxt_re/bnxt_re.h
677
u16 target_id, u16 port_id,
sys/dev/bnxt/bnxt_re/bnxt_re.h
941
u16 target_id,
sys/dev/bnxt/bnxt_re/bnxt_re.h
967
struct input *hdr, u16 opcd,
sys/dev/bnxt/bnxt_re/bnxt_re.h
968
u16 crid, u16 trid)
sys/dev/bnxt/bnxt_re/ib_verbs.c
1169
static u16 _max_rwqe_sz(int nsge)
sys/dev/bnxt/bnxt_re/ib_verbs.c
1174
static u16 bnxt_re_get_rwqe_size(struct bnxt_qplib_qp *qplqp,
sys/dev/bnxt/bnxt_re/ib_verbs.c
1635
static u16 _get_swqe_sz(int nsge)
sys/dev/bnxt/bnxt_re/ib_verbs.c
1642
u16 wqe_size, calc_ils;
sys/dev/bnxt/bnxt_re/ib_verbs.c
2534
static u16 get_source_port(struct bnxt_re_dev *rdev,
sys/dev/bnxt/bnxt_re/ib_verbs.c
2538
u16 crc = 0, buf_len = 0, i;
sys/dev/bnxt/bnxt_re/ib_verbs.c
2577
u16 type;
sys/dev/bnxt/bnxt_re/ib_verbs.c
3013
u16 vlan_id;
sys/dev/bnxt/bnxt_re/ib_verbs.c
4028
int bnxt_re_modify_cq(struct ib_cq *ib_cq, u16 cq_count, u16 cq_period)
sys/dev/bnxt/bnxt_re/ib_verbs.c
4312
static int bnxt_re_check_packet_type(u16 raweth_qp1_flags, u16 raweth_qp1_flags2)
sys/dev/bnxt/bnxt_re/ib_verbs.c
4343
u16 eth_type;
sys/dev/bnxt/bnxt_re/ib_verbs.c
4376
u16 eth_type;
sys/dev/bnxt/bnxt_re/ib_verbs.c
438
u16 index, u16 *pkey)
sys/dev/bnxt/bnxt_re/ib_verbs.c
4538
u16 *vid, u8 *sl)
sys/dev/bnxt/bnxt_re/ib_verbs.c
4541
u16 tpid;
sys/dev/bnxt/bnxt_re/ib_verbs.c
4572
u16 vlan_id;
sys/dev/bnxt/bnxt_re/ib_verbs.c
4612
u16 vlan_id = 0;
sys/dev/bnxt/bnxt_re/ib_verbs.c
470
u16 vlan_id = 0xFFFF;
sys/dev/bnxt/bnxt_re/ib_verbs.c
535
u16 vlan_id = 0xFFFF;
sys/dev/bnxt/bnxt_re/ib_verbs.c
5575
u16 *out_mad_pkey_index)
sys/dev/bnxt/bnxt_re/ib_verbs.h
133
bnxt_re_check_if_vlan_valid(struct bnxt_re_dev *rdev, u16 vlan_id);
sys/dev/bnxt/bnxt_re/ib_verbs.h
189
u16 s_port;
sys/dev/bnxt/bnxt_re/ib_verbs.h
191
u16 d_port;
sys/dev/bnxt/bnxt_re/ib_verbs.h
219
u16 cq_count;
sys/dev/bnxt/bnxt_re/ib_verbs.h
220
u16 cq_period;
sys/dev/bnxt/bnxt_re/ib_verbs.h
275
u16 vlan_tag;
sys/dev/bnxt/bnxt_re/ib_verbs.h
297
u16 index, u16 *pkey);
sys/dev/bnxt/bnxt_re/ib_verbs.h
344
int bnxt_re_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period);
sys/dev/bnxt/bnxt_re/ib_verbs.h
372
u16 *out_mad_pkey_index);
sys/dev/bnxt/bnxt_re/ib_verbs.h
584
return (*(u16 *)a ^ *(u16 *)b) | (a32[0] ^ b32[0]) |
sys/dev/bnxt/bnxt_re/ib_verbs.h
646
u16 vlan_id)
sys/dev/bnxt/bnxt_re/main.c
1554
static u16 bnxt_re_get_rtype(struct bnxt_re_dev *rdev) {
sys/dev/bnxt/bnxt_re/main.c
1560
static int bnxt_re_net_ring_free(struct bnxt_re_dev *rdev, u16 fw_ring_id)
sys/dev/bnxt/bnxt_re/main.c
1601
u16 *fw_ring_id)
sys/dev/bnxt/bnxt_re/main.c
1649
u32 fw_stats_ctx_id, u16 tid)
sys/dev/bnxt/bnxt_re/main.c
1681
static int bnxt_re_net_stats_ctx_alloc(struct bnxt_re_dev *rdev, u16 tid)
sys/dev/bnxt/bnxt_re/main.c
2646
u16 gid_idx, index;
sys/dev/bnxt/bnxt_re/main.c
2752
struct bnxt_re_dscp2pri *d2p, u16 *count,
sys/dev/bnxt/bnxt_re/main.c
2753
u16 target_id)
sys/dev/bnxt/bnxt_re/main.c
2760
u16 in_count = *count;
sys/dev/bnxt/bnxt_re/main.c
2763
u16 data_len;
sys/dev/bnxt/bnxt_re/main.c
2815
struct bnxt_re_dscp2pri *d2p, u16 count,
sys/dev/bnxt/bnxt_re/main.c
2816
u16 target_id)
sys/dev/bnxt/bnxt_re/main.c
2861
struct bnxt_re_tc_rec *tc_rec, u16 tid)
sys/dev/bnxt/bnxt_re/main.c
2922
int bnxt_re_hwrm_cos2bw_qcfg(struct bnxt_re_dev *rdev, u16 target_id,
sys/dev/bnxt/bnxt_re/main.c
2954
int bnxt_re_hwrm_cos2bw_cfg(struct bnxt_re_dev *rdev, u16 target_id,
sys/dev/bnxt/bnxt_re/main.c
3042
u16 tid = 0xffff;
sys/dev/bnxt/bnxt_re/main.c
3062
u16 tid = 0xffff;
sys/dev/bnxt/bnxt_re/main.c
3148
u16 vec;
sys/dev/bnxt/bnxt_re/main.c
498
u16 *nql_ptr;
sys/dev/bnxt/bnxt_re/main.c
520
u16 nq_id = *nql_ptr;
sys/dev/bnxt/bnxt_re/main.c
596
int bnxt_re_set_dbq_throttling_reg(struct bnxt_re_dev *rdev, u16 nq_id, u32 throttle)
sys/dev/bnxt/bnxt_re/main.c
636
u16 nq_id = nq_list->nq_id[i];
sys/dev/bnxt/bnxt_re/main.c
722
u16 event_id;
sys/dev/bnxt/bnxt_re/qplib_fp.c
1052
u16 indx_pad = 0;
sys/dev/bnxt/bnxt_re/qplib_fp.c
1082
u16 nsge;
sys/dev/bnxt/bnxt_re/qplib_fp.c
1742
u16 start_idx;
sys/dev/bnxt/bnxt_re/qplib_fp.c
1754
(u16)
sys/dev/bnxt/bnxt_re/qplib_fp.c
1801
static u16 _calc_ilsize(struct bnxt_qplib_swqe *wqe)
sys/dev/bnxt/bnxt_re/qplib_fp.c
1803
u16 size = 0;
sys/dev/bnxt/bnxt_re/qplib_fp.c
1876
static u16 _calculate_wqe_byte(struct bnxt_qplib_qp *qp,
sys/dev/bnxt/bnxt_re/qplib_fp.c
1877
struct bnxt_qplib_swqe *wqe, u16 *wqe_byte)
sys/dev/bnxt/bnxt_re/qplib_fp.c
1879
u16 wqe_size;
sys/dev/bnxt/bnxt_re/qplib_fp.c
1881
u16 nsge;
sys/dev/bnxt/bnxt_re/qplib_fp.c
1899
static u16 _translate_q_full_delta(struct bnxt_qplib_q *que, u16 wqe_bytes)
sys/dev/bnxt/bnxt_re/qplib_fp.c
1950
u16 slots_needed;
sys/dev/bnxt/bnxt_re/qplib_fp.c
1955
u16 qfd_slots;
sys/dev/bnxt/bnxt_re/qplib_fp.c
1957
u16 wqe_size;
sys/dev/bnxt/bnxt_re/qplib_fp.c
2517
u16 count = -1;
sys/dev/bnxt/bnxt_re/qplib_fp.c
2610
u16 total_cnq_events;
sys/dev/bnxt/bnxt_re/qplib_fp.c
307
static void __wait_for_all_nqes(struct bnxt_qplib_cq *cq, u16 cnq_events)
sys/dev/bnxt/bnxt_re/qplib_fp.c
310
u16 total_events;
sys/dev/bnxt/bnxt_re/qplib_fp.c
3145
u16 *smac;
sys/dev/bnxt/bnxt_re/qplib_fp.c
3170
smac = (u16 *)cqe->smac;
sys/dev/bnxt/bnxt_re/qplib_fp.c
653
u16 pg_sz_lvl = 0;
sys/dev/bnxt/bnxt_re/qplib_fp.c
654
u16 srq_size;
sys/dev/bnxt/bnxt_re/qplib_fp.h
221
u16 avid;
sys/dev/bnxt/bnxt_re/qplib_fp.h
226
u16 lflags;
sys/dev/bnxt/bnxt_re/qplib_fp.h
227
u16 cfa_action;
sys/dev/bnxt/bnxt_re/qplib_fp.h
275
u16 page_list_len;
sys/dev/bnxt/bnxt_re/qplib_fp.h
304
u16 max_sge;
sys/dev/bnxt/bnxt_re/qplib_fp.h
305
u16 wqe_size;
sys/dev/bnxt/bnxt_re/qplib_fp.h
306
u16 q_full_delta;
sys/dev/bnxt/bnxt_re/qplib_fp.h
346
u16 pkey_index;
sys/dev/bnxt/bnxt_re/qplib_fp.h
359
u16 vlan_id;
sys/dev/bnxt/bnxt_re/qplib_fp.h
361
u16 port_id;
sys/dev/bnxt/bnxt_re/qplib_fp.h
393
u16 dev_cap_flags;
sys/dev/bnxt/bnxt_re/qplib_fp.h
436
u16 flags;
sys/dev/bnxt/bnxt_re/qplib_fp.h
439
u16 raweth_qp1_flags;
sys/dev/bnxt/bnxt_re/qplib_fp.h
440
u16 raweth_qp1_errors;
sys/dev/bnxt/bnxt_re/qplib_fp.h
441
u16 raweth_qp1_cfa_code;
sys/dev/bnxt/bnxt_re/qplib_fp.h
445
u16 pkey_index;
sys/dev/bnxt/bnxt_re/qplib_fp.h
461
u16 count;
sys/dev/bnxt/bnxt_re/qplib_fp.h
462
u16 period;
sys/dev/bnxt/bnxt_re/qplib_fp.h
472
u16 cnq_events;
sys/dev/bnxt/bnxt_re/qplib_fp.h
525
u16 ring_id;
sys/dev/bnxt/bnxt_re/qplib_fp.h
87
u16 wqe_size;
sys/dev/bnxt/bnxt_re/qplib_fp.h
94
u16 eventq_hw_ring_id;
sys/dev/bnxt/bnxt_re/qplib_rcfw.c
130
static int __wait_for_resp(struct bnxt_qplib_rcfw *rcfw, u16 cookie)
sys/dev/bnxt/bnxt_re/qplib_rcfw.c
187
static int __block_for_resp(struct bnxt_qplib_rcfw *rcfw, u16 cookie)
sys/dev/bnxt/bnxt_re/qplib_rcfw.c
246
u16 cookie;
sys/dev/bnxt/bnxt_re/qplib_rcfw.c
297
u16 cookie;
sys/dev/bnxt/bnxt_re/qplib_rcfw.c
411
static int __poll_for_resp(struct bnxt_qplib_rcfw *rcfw, u16 cookie)
sys/dev/bnxt/bnxt_re/qplib_rcfw.c
518
u16 cookie;
sys/dev/bnxt/bnxt_re/qplib_rcfw.c
687
u16 cookie, blocked = 0;
sys/dev/bnxt/bnxt_re/qplib_rcfw.c
98
static int bnxt_re_is_fw_stalled(struct bnxt_qplib_rcfw *rcfw, u16 cookie)
sys/dev/bnxt/bnxt_re/qplib_rcfw.h
264
u16 ring_id;
sys/dev/bnxt/bnxt_re/qplib_rcfw.h
305
u16 max_timeout;
sys/dev/bnxt/bnxt_re/qplib_res.c
1219
u16 ctl2;
sys/dev/bnxt/bnxt_re/qplib_res.c
711
static int bnxt_qplib_alloc_sgid_tbl(struct bnxt_qplib_res *res, u16 max)
sys/dev/bnxt/bnxt_re/qplib_res.c
756
memset(sgid_tbl->hw_id, -1, sizeof(u16) * sgid_tbl->max);
sys/dev/bnxt/bnxt_re/qplib_res.c
768
memset(sgid_tbl->hw_id, -1, sizeof(u16) * sgid_tbl->max);
sys/dev/bnxt/bnxt_re/qplib_res.h
105
u16 hw_stats_size;
sys/dev/bnxt/bnxt_re/qplib_res.h
106
u16 hwrm_cmd_max_timeout;
sys/dev/bnxt/bnxt_re/qplib_res.h
109
static inline bool _is_chip_num_p7(u16 chip_num)
sys/dev/bnxt/bnxt_re/qplib_res.h
263
u16 element_size; /* Size of each entry */
sys/dev/bnxt/bnxt_re/qplib_res.h
264
u16 qe_ppg; /* queue entry per page */
sys/dev/bnxt/bnxt_re/qplib_res.h
310
u16 *hw_id;
sys/dev/bnxt/bnxt_re/qplib_res.h
311
u16 max;
sys/dev/bnxt/bnxt_re/qplib_res.h
312
u16 active;
sys/dev/bnxt/bnxt_re/qplib_res.h
335
u16 max;
sys/dev/bnxt/bnxt_re/qplib_res.h
336
u16 avail_ppp;
sys/dev/bnxt/bnxt_re/qplib_res.h
596
static inline bool _is_ext_stats_supported(u16 dev_cap_flags)
sys/dev/bnxt/bnxt_re/qplib_res.h
603
u16 flags, bool virtfn)
sys/dev/bnxt/bnxt_re/qplib_res.h
609
static inline bool _is_hw_retx_supported(u16 dev_cap_flags)
sys/dev/bnxt/bnxt_re/qplib_res.h
619
static inline bool _is_host_msn_table(u16 dev_cap_ext_flags2)
sys/dev/bnxt/bnxt_re/qplib_res.h
625
static inline bool _is_cqe_v2_supported(u16 dev_cap_flags)
sys/dev/bnxt/bnxt_re/qplib_res.h
97
u16 chip_num;
sys/dev/bnxt/bnxt_re/qplib_sp.c
1007
u16 cmd_flags = 0;
sys/dev/bnxt/bnxt_re/qplib_sp.c
1139
req.stat_ctx_id[1] = cpu_to_le16((u16)(stats_fw_id));
sys/dev/bnxt/bnxt_re/qplib_sp.c
249
struct bnxt_qplib_gid *gid, u16 gid_idx, const u8 *smac)
sys/dev/bnxt/bnxt_re/qplib_sp.c
273
req.src_mac[0] = cpu_to_be16(((u16 *)smac)[0]);
sys/dev/bnxt/bnxt_re/qplib_sp.c
274
req.src_mac[1] = cpu_to_be16(((u16 *)smac)[1]);
sys/dev/bnxt/bnxt_re/qplib_sp.c
275
req.src_mac[2] = cpu_to_be16(((u16 *)smac)[2]);
sys/dev/bnxt/bnxt_re/qplib_sp.c
306
u16 vlan_id, bool update)
sys/dev/bnxt/bnxt_re/qplib_sp.c
362
sgid_tbl->hw_id[index] = (u16)-1;
sys/dev/bnxt/bnxt_re/qplib_sp.c
368
const union ib_gid *gid, const u8 *smac, u16 vlan_id,
sys/dev/bnxt/bnxt_re/qplib_sp.c
433
req.src_mac[0] = cpu_to_be16(((u16 *)smac)[0]);
sys/dev/bnxt/bnxt_re/qplib_sp.c
434
req.src_mac[1] = cpu_to_be16(((u16 *)smac)[1]);
sys/dev/bnxt/bnxt_re/qplib_sp.c
435
req.src_mac[2] = cpu_to_be16(((u16 *)smac)[2]);
sys/dev/bnxt/bnxt_re/qplib_sp.c
469
u16 temp16[3];
sys/dev/bnxt/bnxt_re/qplib_sp.c
51
u16 pcie_ctl2 = 0;
sys/dev/bnxt/bnxt_re/qplib_sp.c
644
u16 level;
sys/dev/bnxt/bnxt_re/qplib_sp.c
645
u16 flags;
sys/dev/bnxt/bnxt_re/qplib_sp.c
750
int bnxt_qplib_map_tc2cos(struct bnxt_qplib_res *res, u16 *cids)
sys/dev/bnxt/bnxt_re/qplib_sp.h
105
u16 vlan_id;
sys/dev/bnxt/bnxt_re/qplib_sp.h
139
u16 inact_th_hi;
sys/dev/bnxt/bnxt_re/qplib_sp.h
140
u16 min_delta_cnp;
sys/dev/bnxt/bnxt_re/qplib_sp.h
141
u16 init_cp;
sys/dev/bnxt/bnxt_re/qplib_sp.h
146
u16 rr_rtt_th;
sys/dev/bnxt/bnxt_re/qplib_sp.h
147
u16 ar_cr_th;
sys/dev/bnxt/bnxt_re/qplib_sp.h
148
u16 cr_min_th;
sys/dev/bnxt/bnxt_re/qplib_sp.h
151
u16 cr_th_max_cp;
sys/dev/bnxt/bnxt_re/qplib_sp.h
156
u16 bytes_per_usec;
sys/dev/bnxt/bnxt_re/qplib_sp.h
157
u16 cc_cr_reset_th;
sys/dev/bnxt/bnxt_re/qplib_sp.h
162
u16 tr_lb;
sys/dev/bnxt/bnxt_re/qplib_sp.h
165
u16 fair_cr_th;
sys/dev/bnxt/bnxt_re/qplib_sp.h
168
u16 ai_ext_rtt;
sys/dev/bnxt/bnxt_re/qplib_sp.h
171
u16 cpcr_update_th;
sys/dev/bnxt/bnxt_re/qplib_sp.h
172
u16 ai_rtt_th1;
sys/dev/bnxt/bnxt_re/qplib_sp.h
173
u16 ai_rtt_th2;
sys/dev/bnxt/bnxt_re/qplib_sp.h
174
u16 cf_rtt_th;
sys/dev/bnxt/bnxt_re/qplib_sp.h
175
u16 sc_cr_th1; /* severe congestion cr threshold 1 */
sys/dev/bnxt/bnxt_re/qplib_sp.h
176
u16 sc_cr_th2; /* severe congestion cr threshold 2 */
sys/dev/bnxt/bnxt_re/qplib_sp.h
179
u16 reduce_cf_rtt_th;
sys/dev/bnxt/bnxt_re/qplib_sp.h
184
u16 alt_tos_dscp;
sys/dev/bnxt/bnxt_re/qplib_sp.h
190
u16 inact_th;
sys/dev/bnxt/bnxt_re/qplib_sp.h
191
u16 init_cr;
sys/dev/bnxt/bnxt_re/qplib_sp.h
192
u16 init_tr;
sys/dev/bnxt/bnxt_re/qplib_sp.h
193
u16 rtt;
sys/dev/bnxt/bnxt_re/qplib_sp.h
201
u16 tcp_cp;
sys/dev/bnxt/bnxt_re/qplib_sp.h
215
u16 prev_alt_tos_dscp;
sys/dev/bnxt/bnxt_re/qplib_sp.h
352
struct bnxt_qplib_gid *gid, u16 vlan_id, bool update);
sys/dev/bnxt/bnxt_re/qplib_sp.h
354
const union ib_gid *gid, const u8 *mac, u16 vlan_id,
sys/dev/bnxt/bnxt_re/qplib_sp.h
357
struct bnxt_qplib_gid *gid, u16 gid_idx, const u8 *smac);
sys/dev/bnxt/bnxt_re/qplib_sp.h
376
int bnxt_qplib_map_tc2cos(struct bnxt_qplib_res *res, u16 *cids);
sys/dev/bnxt/bnxt_re/qplib_sp.h
391
static inline void bnxt_re_set_max_gid(u16 *max_sgid);
sys/dev/bnxt/bnxt_re/qplib_sp.h
43
u16 max_sgid;
sys/dev/bnxt/bnxt_re/qplib_sp.h
435
static inline void bnxt_re_set_max_gid(u16 *max_sgid)
sys/dev/bnxt/bnxt_re/qplib_sp.h
44
u16 max_mrw;
sys/dev/bnxt/bnxt_re/qplib_sp.h
75
u16 dev_cap_ext_flags2;
sys/dev/bnxt/bnxt_re/qplib_sp.h
76
u16 dev_cap_flags;
sys/dev/bnxt/bnxt_re/qplib_sp.h
91
u16 vlan_id;
sys/dev/bnxt/bnxt_re/stats.c
42
u16 target_id;
sys/dev/cxgb/common/cxgb_ael1002.c
1451
static u16 twinax_edc[] = {
sys/dev/cxgb/common/cxgb_ael1002.c
532
static u16 sr_edc[] = {
sys/dev/cxgb/common/cxgb_ael1002.c
832
static u16 twinax_edc[] = {
sys/dev/cxgb/common/cxgb_common.h
417
u16 sport;
sys/dev/cxgb/common/cxgb_common.h
418
u16 sport_mask;
sys/dev/cxgb/common/cxgb_common.h
419
u16 dport;
sys/dev/cxgb/common/cxgb_common.h
420
u16 dport_mask;
sys/dev/cxgb/common/cxgb_common.h
740
const u16 *rspq);
sys/dev/cxgb/common/cxgb_common.h
741
int t3_read_rss(adapter_t *adapter, u8 *lkup, u16 *map);
sys/dev/cxgb/common/cxgb_ctl_defs.h
67
u16 vlan_tag;
sys/dev/cxgb/common/cxgb_t3_hw.c
1375
if (le16_to_cpu(*(u16*)header->signature) != BOOT_SIGNATURE) {
sys/dev/cxgb/common/cxgb_t3_hw.c
2954
const u16 *rspq)
sys/dev/cxgb/common/cxgb_t3_hw.c
2989
int t3_read_rss(adapter_t *adapter, u8 *lkup, u16 *map)
sys/dev/cxgb/common/cxgb_t3_hw.c
3012
*map++ = (u16)val;
sys/dev/cxgb/common/cxgb_t3_hw.c
4067
static const u16 ack_lat[4][6] = {
sys/dev/cxgb/common/cxgb_t3_hw.c
4073
static const u16 rpl_tmr[4][6] = {
sys/dev/cxgb/common/cxgb_t3_hw.c
4080
u16 val, devid;
sys/dev/cxgb/common/cxgb_t3_hw.c
4235
u16 val;
sys/dev/cxgb/common/cxgb_t3_hw.c
4318
u16 devid;
sys/dev/cxgb/common/cxgb_t3_hw.c
657
u16 val;
sys/dev/cxgb/common/cxgb_t3_hw.c
664
t3_os_pci_write_config_2(adapter, base + PCI_VPD_ADDR, (u16)addr);
sys/dev/cxgb/common/cxgb_t3_hw.c
690
u16 val;
sys/dev/cxgb/common/cxgb_t3_hw.c
700
(u16)addr | PCI_VPD_ADDR_F);
sys/dev/cxgb/cxgb_main.c
282
u16 sport;
sys/dev/cxgb/cxgb_main.c
283
u16 dport;
sys/dev/cxgbe/common/common.h
1031
u16 vlan);
sys/dev/cxgbe/common/common.h
367
u16 mps_rplc_size;
sys/dev/cxgbe/common/common.h
368
u16 vfcount;
sys/dev/cxgbe/common/common.h
370
u16 mps_tcam_size;
sys/dev/cxgbe/common/common.h
371
u16 rss_nentries;
sys/dev/cxgbe/common/common.h
372
u16 cim_la_size;
sys/dev/cxgbe/common/common.h
736
void t4_set_trace_rss_control(struct adapter *adap, u8 chan, u16 qid);
sys/dev/cxgbe/common/common.h
738
int start, int n, const u16 *rspq, unsigned int nrspq);
sys/dev/cxgbe/common/common.h
744
int t4_read_rss(struct adapter *adapter, u16 *entries);
sys/dev/cxgbe/common/common.h
764
void t4_read_cimq_cfg_core(struct adapter *adap, u8 coreid, u16 *base,
sys/dev/cxgbe/common/common.h
765
u16 *size, u16 *thres);
sys/dev/cxgbe/common/common.h
782
static inline void t4_read_cimq_cfg(struct adapter *adap, u16 *base, u16 *size,
sys/dev/cxgbe/common/common.h
783
u16 *thres)
sys/dev/cxgbe/common/common.h
845
void t4_read_mtu_tbl(struct adapter *adap, u16 *mtus, u8 *mtu_log);
sys/dev/cxgbe/common/common.h
846
void t4_read_cong_tbl(struct adapter *adap, u16 incr[NMTUS][NCCTRL_WIN]);
sys/dev/cxgbe/common/common.h
917
unsigned int nmac, u8 *mac, u16 *rss_size,
sys/dev/cxgbe/common/common.h
922
u16 *rss_size, uint8_t *vfvld, uint16_t *vin);
sys/dev/cxgbe/common/common.h
930
bool free, unsigned int naddr, const u8 **addr, u16 *idx,
sys/dev/cxgbe/common/t4_hw.c
10041
const u8 **addr, u16 *idx, u64 *hash, bool sleep_ok)
sys/dev/cxgbe/common/t4_hw.c
10087
u16 index = G_FW_VI_MAC_CMD_IDX(
sys/dev/cxgbe/common/t4_hw.c
10256
u16 index = G_FW_VI_MAC_CMD_IDX(
sys/dev/cxgbe/common/t4_hw.c
10898
u16 val;
sys/dev/cxgbe/common/t4_hw.c
11056
u16 val;
sys/dev/cxgbe/common/t4_hw.c
11888
u16 *base, u16 *size, u16 *thres)
sys/dev/cxgbe/common/t4_hw.c
11914
u16 *base, u16 *size)
sys/dev/cxgbe/common/t4_hw.c
11948
void t4_read_cimq_cfg_core(struct adapter *adap, u8 coreid, u16 *base,
sys/dev/cxgbe/common/t4_hw.c
11949
u16 *size, u16 *thres)
sys/dev/cxgbe/common/t4_hw.c
12006
u16 i, addr, nwords;
sys/dev/cxgbe/common/t4_hw.c
12013
addr >>= sizeof(u16);
sys/dev/cxgbe/common/t4_hw.c
12014
nwords >>= sizeof(u16);
sys/dev/cxgbe/common/t4_hw.c
12066
u16 i, addr, nwords;
sys/dev/cxgbe/common/t4_hw.c
12073
addr >>= sizeof(u16);
sys/dev/cxgbe/common/t4_hw.c
12074
nwords >>= sizeof(u16);
sys/dev/cxgbe/common/t4_hw.c
12689
le16_to_cpu(*(u16*)header->pcir_offset)];
sys/dev/cxgbe/common/t4_hw.c
12705
*(u16*) pcir_header->device_id = device_id;
sys/dev/cxgbe/common/t4_hw.c
12730
*(u16*) pcir_header->device_id = device_id;
sys/dev/cxgbe/common/t4_hw.c
12799
pcir_offset = le16_to_cpu(*(u16 *)header->pcir_offset);
sys/dev/cxgbe/common/t4_hw.c
12817
if (le16_to_cpu(*(u16*)header->signature) != BOOT_SIGNATURE ) {
sys/dev/cxgbe/common/t4_hw.c
12833
if (le16_to_cpu(*(u16*)pcir_header->vendor_id) != VENDOR_ID) {
sys/dev/cxgbe/common/t4_hw.c
12849
if (le16_to_cpu(*(u16*)pcir_header->device_id) != device_id) {
sys/dev/cxgbe/common/t4_hw.c
13512
u16 vlan)
sys/dev/cxgbe/common/t4_hw.c
3448
u16 val;
sys/dev/cxgbe/common/t4_hw.c
3510
t4_os_pci_write_cfg2(adapter, base + PCI_VPD_ADDR, (u16)addr);
sys/dev/cxgbe/common/t4_hw.c
3570
(u16)addr | PCI_VPD_ADDR_F);
sys/dev/cxgbe/common/t4_hw.c
3655
len = (u16)vpdr->vpdr_len[0] + ((u16)vpdr->vpdr_len[1] << 8);
sys/dev/cxgbe/common/t4_hw.c
3661
len = (u16)vpdr->vpdr_len[0] + ((u16)vpdr->vpdr_len[1] << 8);
sys/dev/cxgbe/common/t4_hw.c
7251
int start, int n, const u16 *rspq, unsigned int nrspq)
sys/dev/cxgbe/common/t4_hw.c
7254
const u16 *rsp = rspq;
sys/dev/cxgbe/common/t4_hw.c
7255
const u16 *rsp_end = rspq + nrspq;
sys/dev/cxgbe/common/t4_hw.c
7300
u16 qbuf[3];
sys/dev/cxgbe/common/t4_hw.c
7301
u16 *qbp = qbuf;
sys/dev/cxgbe/common/t4_hw.c
7412
int t4_read_rss(struct adapter *adapter, u16 *map)
sys/dev/cxgbe/common/t4_hw.c
8028
void t4_read_mtu_tbl(struct adapter *adap, u16 *mtus, u8 *mtu_log)
sys/dev/cxgbe/common/t4_hw.c
8051
void t4_read_cong_tbl(struct adapter *adap, u16 incr[NMTUS][NCCTRL_WIN])
sys/dev/cxgbe/common/t4_hw.c
8059
incr[mtu][w] = (u16)t4_read_reg(adap,
sys/dev/cxgbe/common/t4_hw.c
8468
void t4_set_trace_rss_control(struct adapter *adap, u8 chan, u16 qid)
sys/dev/cxgbe/common/t4_hw.c
9763
unsigned int nmac, u8 *mac, u16 *rss_size,
sys/dev/cxgbe/common/t4_hw.c
9833
u16 *rss_size, uint8_t *vfvld, uint16_t *vin)
sys/dev/cxgbe/common/t4_hw.h
334
u16 start_sec;
sys/dev/cxgbe/common/t4_hw.h
335
u16 nsecs;
sys/dev/cxgbe/cudbg/cudbg.h
315
u16 init_struct_size;
sys/dev/cxgbe/cudbg/cudbg.h
334
u16 param_type;
sys/dev/cxgbe/cudbg/cudbg.h
335
u16 reserved;
sys/dev/cxgbe/cudbg/cudbg.h
344
u16 mbox_cmds;
sys/dev/cxgbe/cudbg/cudbg_entity.h
115
u16 size_mc0;
sys/dev/cxgbe/cudbg/cudbg_entity.h
116
u16 size_mc1;
sys/dev/cxgbe/cudbg/cudbg_entity.h
117
u16 size_edc0;
sys/dev/cxgbe/cudbg/cudbg_entity.h
118
u16 size_edc1;
sys/dev/cxgbe/cudbg/cudbg_entity.h
119
u16 mem_flag;
sys/dev/cxgbe/cudbg/cudbg_entity.h
120
u16 res;
sys/dev/cxgbe/cudbg/cudbg_entity.h
180
u16 ivlan;
sys/dev/cxgbe/cudbg/cudbg_entity.h
267
u16 base[CIM_NUM_IBQ + CIM_NUM_OBQ_T5];
sys/dev/cxgbe/cudbg/cudbg_entity.h
268
u16 size[CIM_NUM_IBQ + CIM_NUM_OBQ_T5];
sys/dev/cxgbe/cudbg/cudbg_entity.h
269
u16 thres[CIM_NUM_IBQ];
sys/dev/cxgbe/cudbg/cudbg_entity.h
743
u16 fw_major;
sys/dev/cxgbe/cudbg/cudbg_entity.h
744
u16 fw_minor;
sys/dev/cxgbe/cudbg/cudbg_entity.h
745
u16 fw_micro;
sys/dev/cxgbe/cudbg/cudbg_entity.h
746
u16 fw_build;
sys/dev/cxgbe/cudbg/cudbg_lib.c
1566
size = NMTUS * sizeof(u16);
sys/dev/cxgbe/cudbg/cudbg_lib.c
1572
t4_read_mtu_tbl(padap, (u16 *)scratch_buff.data, NULL);
sys/dev/cxgbe/cudbg/cudbg_lib.c
2560
u16 get_payload_flag;
sys/dev/cxgbe/cudbg/cudbg_lib.c
2681
mem_info->size_mc0 = (u16)value; /* size in MB */
sys/dev/cxgbe/cudbg/cudbg_lib.c
2690
mem_info->size_mc0 = (u16)value;
sys/dev/cxgbe/cudbg/cudbg_lib.c
2694
mem_info->size_mc1 = (u16)value;
sys/dev/cxgbe/cudbg/cudbg_lib.c
2705
mem_info->size_edc0 = (u16)value;
sys/dev/cxgbe/cudbg/cudbg_lib.c
2709
mem_info->size_edc1 = (u16)value;
sys/dev/cxgbe/cudbg/cudbg_lib.c
2924
size = sizeof(u16) * NMTUS * NCCTRL_WIN;
sys/dev/cxgbe/cudbg/cudbg_lib.c
3078
u16 mbox_cmds;
sys/dev/cxgbe/cudbg/cudbg_lib.c
578
size = padap->chip_params->rss_nentries * sizeof(u16);
sys/dev/cxgbe/cudbg/cudbg_lib.c
583
rc = t4_read_rss(padap, (u16 *)scratch_buff.data);
sys/dev/cxgbe/cudbg/cudbg_lib_common.h
68
u16 major_ver;
sys/dev/cxgbe/cudbg/cudbg_lib_common.h
69
u16 minor_ver;
sys/dev/cxgbe/cudbg/cudbg_lib_common.h
72
u16 max_entities;
sys/dev/cxgbe/cudbg/cudbg_lib_common.h
94
u16 revision;
sys/dev/cxgbe/cudbg/cudbg_lib_common.h
95
u16 size;
sys/dev/cxgbe/iw_cxgbe/cm.c
1389
mpa_v2_params.ird = htons((u16)ep->ird);
sys/dev/cxgbe/iw_cxgbe/cm.c
1390
mpa_v2_params.ord = htons((u16)ep->ord);
sys/dev/cxgbe/iw_cxgbe/cm.c
1485
mpa_v2_params.ird = htons(((u16)ep->ird) |
sys/dev/cxgbe/iw_cxgbe/cm.c
1488
mpa_v2_params.ord = htons(((u16)ep->ord) | (peer2peer ?
sys/dev/cxgbe/iw_cxgbe/cm.c
1556
mpa_v2_params.ird = htons((u16)ep->ird);
sys/dev/cxgbe/iw_cxgbe/cm.c
1557
mpa_v2_params.ord = htons((u16)ep->ord);
sys/dev/cxgbe/iw_cxgbe/cm.c
1858
u16 plen;
sys/dev/cxgbe/iw_cxgbe/cm.c
1859
u16 resp_ird, resp_ord;
sys/dev/cxgbe/iw_cxgbe/cm.c
2207
u16 plen;
sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h
470
u16 sq_db_inc;
sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h
471
u16 rq_db_inc;
sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h
865
u16 mss;
sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h
866
u16 plen;
sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h
867
u16 rss_qid;
sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h
868
u16 txq_idx;
sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h
869
u16 ctrlq_idx;
sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h
971
u16 c4iw_rqes_posted(struct c4iw_qp *qhp);
sys/dev/cxgbe/iw_cxgbe/provider.c
261
c4iw_query_pkey(struct ib_device *ibdev, u8 port, u16 index, u16 *pkey)
sys/dev/cxgbe/iw_cxgbe/provider.c
70
static int c4iw_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
sys/dev/cxgbe/iw_cxgbe/provider.c
75
static int c4iw_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
sys/dev/cxgbe/iw_cxgbe/provider.c
87
u16 *out_mad_pkey_index)
sys/dev/cxgbe/iw_cxgbe/qp.c
173
wq->rq.rqt_size = roundup_pow_of_two(max_t(u16, wq->rq.size, 16));
sys/dev/cxgbe/iw_cxgbe/qp.c
786
u16 idx = 0;
sys/dev/cxgbe/iw_cxgbe/qp.c
925
u16 idx = 0;
sys/dev/cxgbe/iw_cxgbe/t4.h
130
static inline void init_wr_hdr(union t4_wr *wqe, u16 wrid,
sys/dev/cxgbe/iw_cxgbe/t4.h
195
u16 nada2;
sys/dev/cxgbe/iw_cxgbe/t4.h
196
u16 cidx;
sys/dev/cxgbe/iw_cxgbe/t4.h
292
u16 idx;
sys/dev/cxgbe/iw_cxgbe/t4.h
323
u16 in_use;
sys/dev/cxgbe/iw_cxgbe/t4.h
324
u16 size;
sys/dev/cxgbe/iw_cxgbe/t4.h
325
u16 cidx;
sys/dev/cxgbe/iw_cxgbe/t4.h
326
u16 pidx;
sys/dev/cxgbe/iw_cxgbe/t4.h
327
u16 wq_pidx;
sys/dev/cxgbe/iw_cxgbe/t4.h
328
u16 wq_pidx_inc;
sys/dev/cxgbe/iw_cxgbe/t4.h
329
u16 flags;
sys/dev/cxgbe/iw_cxgbe/t4.h
350
u16 rqt_size;
sys/dev/cxgbe/iw_cxgbe/t4.h
351
u16 in_use;
sys/dev/cxgbe/iw_cxgbe/t4.h
352
u16 size;
sys/dev/cxgbe/iw_cxgbe/t4.h
353
u16 cidx;
sys/dev/cxgbe/iw_cxgbe/t4.h
354
u16 pidx;
sys/dev/cxgbe/iw_cxgbe/t4.h
355
u16 wq_pidx;
sys/dev/cxgbe/iw_cxgbe/t4.h
356
u16 wq_pidx_inc;
sys/dev/cxgbe/iw_cxgbe/t4.h
404
static inline u16 t4_rq_host_wq_pidx(struct t4_wq *wq)
sys/dev/cxgbe/iw_cxgbe/t4.h
409
static inline u16 t4_rq_wq_size(struct t4_wq *wq)
sys/dev/cxgbe/iw_cxgbe/t4.h
454
static inline u16 t4_sq_host_wq_pidx(struct t4_wq *wq)
sys/dev/cxgbe/iw_cxgbe/t4.h
459
static inline u16 t4_sq_wq_size(struct t4_wq *wq)
sys/dev/cxgbe/iw_cxgbe/t4.h
481
t4_ring_sq_db(struct t4_wq *wq, u16 inc, union t4_wr *wqe, u8 wc)
sys/dev/cxgbe/iw_cxgbe/t4.h
506
t4_ring_rq_db(struct t4_wq *wq, u16 inc, union t4_recv_wr *wqe, u8 wc)
sys/dev/cxgbe/iw_cxgbe/t4.h
557
u16 size; /* including status page */
sys/dev/cxgbe/iw_cxgbe/t4.h
558
u16 cidx;
sys/dev/cxgbe/iw_cxgbe/t4.h
559
u16 sw_pidx;
sys/dev/cxgbe/iw_cxgbe/t4.h
560
u16 sw_cidx;
sys/dev/cxgbe/iw_cxgbe/t4.h
561
u16 sw_in_use;
sys/dev/cxgbe/iw_cxgbe/t4.h
562
u16 cidx_inc;
sys/dev/cxgbe/iw_cxgbe/t4.h
647
u16 prev_cidx;
sys/dev/cxgbe/iw_cxgbe/t4.h
709
u16 pad2;
sys/dev/cxgbe/iw_cxgbe/t4.h
79
u16 host_wq_pidx;
sys/dev/cxgbe/iw_cxgbe/t4.h
80
u16 host_cidx;
sys/dev/cxgbe/iw_cxgbe/t4.h
81
u16 host_pidx;
sys/dev/drm2/drm_crtc.h
335
void (*gamma_set)(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b,
sys/dev/drm2/drm_dp_helper.h
313
u16 address;
sys/dev/drm2/drm_dp_iic_helper.c
138
u16 len;
sys/dev/drm2/drm_dp_iic_helper.c
56
iic_dp_aux_address(device_t idev, u16 address, bool reading)
sys/dev/drm2/drm_fb_helper.c
571
static int setcolreg(struct drm_crtc *crtc, u16 red, u16 green,
sys/dev/drm2/drm_fb_helper.c
572
u16 blue, u16 regno, struct fb_info *info)
sys/dev/drm2/drm_fb_helper.c
611
u16 r, g, b;
sys/dev/drm2/drm_fb_helper.c
639
u16 *red, *green, *blue, *transp;
sys/dev/drm2/drm_fb_helper.c
655
u16 hred, hgreen, hblue, htransp = 0xffff;
sys/dev/drm2/drm_fb_helper.h
50
void (*gamma_set)(struct drm_crtc *crtc, u16 red, u16 green,
sys/dev/drm2/drm_fb_helper.h
51
u16 blue, int regno);
sys/dev/drm2/drm_fb_helper.h
52
void (*gamma_get)(struct drm_crtc *crtc, u16 *red, u16 *green,
sys/dev/drm2/drm_fb_helper.h
53
u16 *blue, int regno);
sys/dev/e1000/e1000_80003es2lan.c
1120
u16 reg_data;
sys/dev/e1000/e1000_80003es2lan.c
1177
u16 speed;
sys/dev/e1000/e1000_80003es2lan.c
1178
u16 duplex;
sys/dev/e1000/e1000_80003es2lan.c
1205
static s32 e1000_cfg_kmrn_10_100_80003es2lan(struct e1000_hw *hw, u16 duplex)
sys/dev/e1000/e1000_80003es2lan.c
1210
u16 reg_data, reg_data2;
sys/dev/e1000/e1000_80003es2lan.c
1259
u16 reg_data, reg_data2;
sys/dev/e1000/e1000_80003es2lan.c
1308
u16 *data)
sys/dev/e1000/e1000_80003es2lan.c
1327
*data = (u16)kmrnctrlsta;
sys/dev/e1000/e1000_80003es2lan.c
1345
u16 data)
sys/dev/e1000/e1000_80003es2lan.c
142
u16 size;
sys/dev/e1000/e1000_80003es2lan.c
165
size = (u16)((eecd & E1000_EECD_SIZE_EX_MASK) >>
sys/dev/e1000/e1000_80003es2lan.c
295
u16 mask;
sys/dev/e1000/e1000_80003es2lan.c
311
u16 mask;
sys/dev/e1000/e1000_80003es2lan.c
328
u16 mask;
sys/dev/e1000/e1000_80003es2lan.c
345
u16 mask;
sys/dev/e1000/e1000_80003es2lan.c
401
u32 offset, u16 *data)
sys/dev/e1000/e1000_80003es2lan.c
405
u16 temp;
sys/dev/e1000/e1000_80003es2lan.c
423
temp = (u16)((u16)offset >> GG82563_PAGE_SHIFT);
sys/dev/e1000/e1000_80003es2lan.c
440
if (((u16)offset >> GG82563_PAGE_SHIFT) != temp) {
sys/dev/e1000/e1000_80003es2lan.c
47
u16 *data);
sys/dev/e1000/e1000_80003es2lan.c
472
u32 offset, u16 data)
sys/dev/e1000/e1000_80003es2lan.c
476
u16 temp;
sys/dev/e1000/e1000_80003es2lan.c
494
temp = (u16)((u16)offset >> GG82563_PAGE_SHIFT);
sys/dev/e1000/e1000_80003es2lan.c
50
u16 data);
sys/dev/e1000/e1000_80003es2lan.c
51
static s32 e1000_write_nvm_80003es2lan(struct e1000_hw *hw, u16 offset,
sys/dev/e1000/e1000_80003es2lan.c
511
if (((u16)offset >> GG82563_PAGE_SHIFT) != temp) {
sys/dev/e1000/e1000_80003es2lan.c
52
u16 words, u16 *data);
sys/dev/e1000/e1000_80003es2lan.c
543
static s32 e1000_write_nvm_80003es2lan(struct e1000_hw *hw, u16 offset,
sys/dev/e1000/e1000_80003es2lan.c
544
u16 words, u16 *data)
sys/dev/e1000/e1000_80003es2lan.c
56
static s32 e1000_get_link_up_info_80003es2lan(struct e1000_hw *hw, u16 *speed,
sys/dev/e1000/e1000_80003es2lan.c
57
u16 *duplex);
sys/dev/e1000/e1000_80003es2lan.c
592
u16 phy_data;
sys/dev/e1000/e1000_80003es2lan.c
62
static s32 e1000_cfg_kmrn_10_100_80003es2lan(struct e1000_hw *hw, u16 duplex);
sys/dev/e1000/e1000_80003es2lan.c
66
u16 *data);
sys/dev/e1000/e1000_80003es2lan.c
68
u16 data);
sys/dev/e1000/e1000_80003es2lan.c
688
u16 phy_data, index;
sys/dev/e1000/e1000_80003es2lan.c
720
static s32 e1000_get_link_up_info_80003es2lan(struct e1000_hw *hw, u16 *speed,
sys/dev/e1000/e1000_80003es2lan.c
721
u16 *duplex)
sys/dev/e1000/e1000_80003es2lan.c
750
u16 kum_reg_data;
sys/dev/e1000/e1000_80003es2lan.c
77
static const u16 e1000_gg82563_cable_length_table[] = {
sys/dev/e1000/e1000_80003es2lan.c
816
u16 kum_reg_data;
sys/dev/e1000/e1000_80003es2lan.c
817
u16 i;
sys/dev/e1000/e1000_80003es2lan.c
973
u16 data;
sys/dev/e1000/e1000_82540.c
333
u16 i;
sys/dev/e1000/e1000_82540.c
415
u16 data;
sys/dev/e1000/e1000_82540.c
502
u16 nvm_data;
sys/dev/e1000/e1000_82540.c
532
u16 default_page = 0;
sys/dev/e1000/e1000_82540.c
533
u16 phy_data;
sys/dev/e1000/e1000_82540.c
591
u16 nvm_data;
sys/dev/e1000/e1000_82540.c
694
u16 offset, nvm_data, i;
sys/dev/e1000/e1000_82541.c
1049
(u16)(dev_spec->spd_default &
sys/dev/e1000/e1000_82541.c
1095
u16 phy_saved_data;
sys/dev/e1000/e1000_82541.c
1159
u16 fused, fine, coarse;
sys/dev/e1000/e1000_82541.c
1283
u16 offset, nvm_data, i;
sys/dev/e1000/e1000_82541.c
133
u16 size;
sys/dev/e1000/e1000_82541.c
444
static s32 e1000_get_link_up_info_82541(struct e1000_hw *hw, u16 *speed,
sys/dev/e1000/e1000_82541.c
445
u16 *duplex)
sys/dev/e1000/e1000_82541.c
449
u16 data;
sys/dev/e1000/e1000_82541.c
51
static s32 e1000_get_link_up_info_82541(struct e1000_hw *hw, u16 *speed,
sys/dev/e1000/e1000_82541.c
52
u16 *duplex);
sys/dev/e1000/e1000_82541.c
675
u16 phy_data, phy_saved_data, speed, duplex, i;
sys/dev/e1000/e1000_82541.c
676
u16 ffe_idle_err_timeout = FFE_IDLE_ERR_COUNT_TIMEOUT_20;
sys/dev/e1000/e1000_82541.c
677
u16 dsp_reg_array[IGP01E1000_PHY_CHANNEL_NUM] = {
sys/dev/e1000/e1000_82541.c
68
static const u16 e1000_igp_cable_length_table[] = {
sys/dev/e1000/e1000_82541.c
876
u16 i, data;
sys/dev/e1000/e1000_82541.c
877
u16 cur_agc_value, agc_value = 0;
sys/dev/e1000/e1000_82541.c
878
u16 min_agc_value = IGP01E1000_AGC_LENGTH_TABLE_SIZE;
sys/dev/e1000/e1000_82541.c
879
u16 agc_reg_array[IGP01E1000_PHY_CHANNEL_NUM] = {IGP01E1000_PHY_AGC_A,
sys/dev/e1000/e1000_82541.c
949
u16 data;
sys/dev/e1000/e1000_82542.c
249
u16 i;
sys/dev/e1000/e1000_82542.c
571
u16 offset, nvm_data, i;
sys/dev/e1000/e1000_82543.c
1023
u16 data;
sys/dev/e1000/e1000_82543.c
1202
u16 speed, duplex;
sys/dev/e1000/e1000_82543.c
1407
u16 phy_data;
sys/dev/e1000/e1000_82543.c
1572
u16 offset, nvm_data, i;
sys/dev/e1000/e1000_82543.c
487
static s32 e1000_read_phy_reg_82543(struct e1000_hw *hw, u32 offset, u16 *data)
sys/dev/e1000/e1000_82543.c
50
u16 *data);
sys/dev/e1000/e1000_82543.c
52
u16 data);
sys/dev/e1000/e1000_82543.c
543
static s32 e1000_write_phy_reg_82543(struct e1000_hw *hw, u32 offset, u16 data)
sys/dev/e1000/e1000_82543.c
631
u16 count)
sys/dev/e1000/e1000_82543.c
682
static u16 e1000_shift_in_mdi_bits_82543(struct e1000_hw *hw)
sys/dev/e1000/e1000_82543.c
685
u16 data = 0;
sys/dev/e1000/e1000_82543.c
72
static u16 e1000_shift_in_mdi_bits_82543(struct e1000_hw *hw);
sys/dev/e1000/e1000_82543.c
74
u16 count);
sys/dev/e1000/e1000_82543.c
770
u16 mii_status_reg;
sys/dev/e1000/e1000_82543.c
771
u16 i;
sys/dev/e1000/e1000_82543.c
962
u16 i;
sys/dev/e1000/e1000_82571.c
1074
u16 i, rar_count = mac->rar_entry_count;
sys/dev/e1000/e1000_82571.c
1335
u16 data;
sys/dev/e1000/e1000_82571.c
1383
u16 status_1kbt = 0;
sys/dev/e1000/e1000_82571.c
1384
u16 receive_errors = 0;
sys/dev/e1000/e1000_82571.c
1691
static s32 e1000_valid_led_default_82571(struct e1000_hw *hw, u16 *data)
sys/dev/e1000/e1000_82571.c
1779
u16 data;
sys/dev/e1000/e1000_82571.c
205
u16 size;
sys/dev/e1000/e1000_82571.c
243
size = (u16)((eecd & E1000_EECD_SIZE_EX_MASK) >>
sys/dev/e1000/e1000_82571.c
464
u16 phy_id = 0;
sys/dev/e1000/e1000_82571.c
55
static s32 e1000_write_nvm_82571(struct e1000_hw *hw, u16 offset,
sys/dev/e1000/e1000_82571.c
56
u16 words, u16 *data);
sys/dev/e1000/e1000_82571.c
677
static s32 e1000_write_nvm_82571(struct e1000_hw *hw, u16 offset, u16 words,
sys/dev/e1000/e1000_82571.c
678
u16 *data)
sys/dev/e1000/e1000_82571.c
71
static s32 e1000_valid_led_default_82571(struct e1000_hw *hw, u16 *data);
sys/dev/e1000/e1000_82571.c
714
u16 i;
sys/dev/e1000/e1000_82571.c
795
static s32 e1000_write_nvm_eewr_82571(struct e1000_hw *hw, u16 offset,
sys/dev/e1000/e1000_82571.c
796
u16 words, u16 *data)
sys/dev/e1000/e1000_82571.c
82
static s32 e1000_write_nvm_eewr_82571(struct e1000_hw *hw, u16 offset,
sys/dev/e1000/e1000_82571.c
83
u16 words, u16 *data);
sys/dev/e1000/e1000_82571.c
874
u16 data;
sys/dev/e1000/e1000_82575.c
1042
static s32 e1000_get_link_up_info_82575(struct e1000_hw *hw, u16 *speed,
sys/dev/e1000/e1000_82575.c
1043
u16 *duplex)
sys/dev/e1000/e1000_82575.c
1069
u16 speed, duplex;
sys/dev/e1000/e1000_82575.c
1109
u16 data;
sys/dev/e1000/e1000_82575.c
113
static const u16 e1000_82580_rxpbs_table[] = {
sys/dev/e1000/e1000_82575.c
1200
u16 *speed, u16 *duplex)
sys/dev/e1000/e1000_82575.c
1499
u16 data;
sys/dev/e1000/e1000_82575.c
1788
static s32 e1000_valid_led_default_82575(struct e1000_hw *hw, u16 *data)
sys/dev/e1000/e1000_82575.c
1993
u16 pcie_devctl2;
sys/dev/e1000/e1000_82575.c
2134
static s32 e1000_read_phy_reg_82580(struct e1000_hw *hw, u32 offset, u16 *data)
sys/dev/e1000/e1000_82575.c
2160
static s32 e1000_write_phy_reg_82580(struct e1000_hw *hw, u32 offset, u16 data)
sys/dev/e1000/e1000_82575.c
2190
u16 nvm_data = 0;
sys/dev/e1000/e1000_82575.c
2228
u16 swmbsw_mask = E1000_SW_SYNCH_MB;
sys/dev/e1000/e1000_82575.c
2324
u16 e1000_rxpbs_adjust_82580(u32 data)
sys/dev/e1000/e1000_82575.c
2326
u16 ret_val = 0;
sys/dev/e1000/e1000_82575.c
2343
s32 e1000_validate_nvm_checksum_with_offset(struct e1000_hw *hw, u16 offset)
sys/dev/e1000/e1000_82575.c
2346
u16 checksum = 0;
sys/dev/e1000/e1000_82575.c
2347
u16 i, nvm_data;
sys/dev/e1000/e1000_82575.c
2360
if (checksum != (u16) NVM_SUM) {
sys/dev/e1000/e1000_82575.c
2380
s32 e1000_update_nvm_checksum_with_offset(struct e1000_hw *hw, u16 offset)
sys/dev/e1000/e1000_82575.c
2383
u16 checksum = 0;
sys/dev/e1000/e1000_82575.c
2384
u16 i, nvm_data;
sys/dev/e1000/e1000_82575.c
2396
checksum = (u16) NVM_SUM - checksum;
sys/dev/e1000/e1000_82575.c
2417
u16 eeprom_regions_count = 1;
sys/dev/e1000/e1000_82575.c
2418
u16 j, nvm_data;
sys/dev/e1000/e1000_82575.c
2419
u16 nvm_offset;
sys/dev/e1000/e1000_82575.c
2458
u16 j, nvm_data;
sys/dev/e1000/e1000_82575.c
2459
u16 nvm_offset;
sys/dev/e1000/e1000_82575.c
2502
u16 j;
sys/dev/e1000/e1000_82575.c
2503
u16 nvm_offset;
sys/dev/e1000/e1000_82575.c
2530
u16 j;
sys/dev/e1000/e1000_82575.c
2531
u16 nvm_offset;
sys/dev/e1000/e1000_82575.c
2553
static s32 __e1000_access_emi_reg(struct e1000_hw *hw, u16 address,
sys/dev/e1000/e1000_82575.c
2554
u16 *data, bool read)
sys/dev/e1000/e1000_82575.c
2578
s32 e1000_read_emi_reg(struct e1000_hw *hw, u16 addr, u16 *data)
sys/dev/e1000/e1000_82575.c
283
u16 data;
sys/dev/e1000/e1000_82575.c
2841
u16 phy_data;
sys/dev/e1000/e1000_82575.c
2923
u16 phy_data;
sys/dev/e1000/e1000_82575.c
3040
u16 swfw_mask = 0;
sys/dev/e1000/e1000_82575.c
3129
u16 swfw_mask = 0;
sys/dev/e1000/e1000_82575.c
444
u16 size;
sys/dev/e1000/e1000_82575.c
448
size = (u16)((eecd & E1000_EECD_SIZE_EX_MASK) >>
sys/dev/e1000/e1000_82575.c
545
u16 *data)
sys/dev/e1000/e1000_82575.c
55
static s32 e1000_get_link_up_info_82575(struct e1000_hw *hw, u16 *speed,
sys/dev/e1000/e1000_82575.c
56
u16 *duplex);
sys/dev/e1000/e1000_82575.c
578
u16 data)
sys/dev/e1000/e1000_82575.c
59
u16 *data);
sys/dev/e1000/e1000_82575.c
612
u16 phy_id;
sys/dev/e1000/e1000_82575.c
64
u32 offset, u16 *data);
sys/dev/e1000/e1000_82575.c
66
u32 offset, u16 data);
sys/dev/e1000/e1000_82575.c
762
u16 data;
sys/dev/e1000/e1000_82575.c
77
static s32 e1000_valid_led_default_82575(struct e1000_hw *hw, u16 *data);
sys/dev/e1000/e1000_82575.c
79
u32 offset, u16 data);
sys/dev/e1000/e1000_82575.c
82
u16 *speed, u16 *duplex);
sys/dev/e1000/e1000_82575.c
94
u16 offset);
sys/dev/e1000/e1000_82575.c
96
u16 offset);
sys/dev/e1000/e1000_82575.h
405
void e1000_vfta_set_vf(struct e1000_hw *, u16, bool);
sys/dev/e1000/e1000_82575.h
406
void e1000_rlpml_set_vf(struct e1000_hw *, u16);
sys/dev/e1000/e1000_82575.h
409
u16 e1000_rxpbs_adjust_82580(u32 data);
sys/dev/e1000/e1000_82575.h
410
s32 e1000_read_emi_reg(struct e1000_hw *hw, u16 addr, u16 *data);
sys/dev/e1000/e1000_api.c
1042
s32 e1000_read_phy_reg(struct e1000_hw *hw, u32 offset, u16 *data)
sys/dev/e1000/e1000_api.c
1059
s32 e1000_write_phy_reg(struct e1000_hw *hw, u32 offset, u16 data)
sys/dev/e1000/e1000_api.c
1117
s32 e1000_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data)
sys/dev/e1000/e1000_api.c
1132
s32 e1000_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data)
sys/dev/e1000/e1000_api.c
1358
s32 e1000_read_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data)
sys/dev/e1000/e1000_api.c
1376
s32 e1000_write_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data)
sys/dev/e1000/e1000_api.c
688
s32 e1000_mng_write_dhcp_info(struct e1000_hw *hw, u8 *buffer, u16 length)
sys/dev/e1000/e1000_api.c
749
s32 e1000_get_speed_and_duplex(struct e1000_hw *hw, u16 *speed, u16 *duplex)
sys/dev/e1000/e1000_api.c
969
s32 e1000_mng_host_if_write(struct e1000_hw *hw, u8 *buffer, u16 length,
sys/dev/e1000/e1000_api.c
970
u16 offset, u8 *sum)
sys/dev/e1000/e1000_api.h
105
s32 e1000_read_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
sys/dev/e1000/e1000_api.h
106
s32 e1000_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data);
sys/dev/e1000/e1000_api.h
107
s32 e1000_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data);
sys/dev/e1000/e1000_api.h
108
s32 e1000_write_nvm(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
sys/dev/e1000/e1000_api.h
114
s32 e1000_mng_host_if_write(struct e1000_hw *hw, u8 *buffer, u16 length,
sys/dev/e1000/e1000_api.h
115
u16 offset, u8 *sum);
sys/dev/e1000/e1000_api.h
118
s32 e1000_mng_write_dhcp_info(struct e1000_hw *hw, u8 *buffer, u16 length);
sys/dev/e1000/e1000_api.h
68
s32 e1000_get_speed_and_duplex(struct e1000_hw *hw, u16 *speed, u16 *duplex);
sys/dev/e1000/e1000_api.h
86
s32 e1000_read_phy_reg(struct e1000_hw *hw, u32 offset, u16 *data);
sys/dev/e1000/e1000_api.h
87
s32 e1000_write_phy_reg(struct e1000_hw *hw, u32 offset, u16 data);
sys/dev/e1000/e1000_base.c
49
u16 mask = E1000_SWFW_PHY0_SM;
sys/dev/e1000/e1000_base.c
71
u16 mask = E1000_SWFW_PHY0_SM;
sys/dev/e1000/e1000_base.c
95
u16 i, rar_count = mac->rar_entry_count;
sys/dev/e1000/e1000_hw.h
1013
u16 eee_lp_ability;
sys/dev/e1000/e1000_hw.h
1063
u16 device_id;
sys/dev/e1000/e1000_hw.h
1064
u16 subsystem_vendor_id;
sys/dev/e1000/e1000_hw.h
1065
u16 subsystem_device_id;
sys/dev/e1000/e1000_hw.h
1066
u16 vendor_id;
sys/dev/e1000/e1000_hw.h
1083
s32 e1000_read_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value);
sys/dev/e1000/e1000_hw.h
1084
s32 e1000_write_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value);
sys/dev/e1000/e1000_hw.h
1085
void e1000_read_pci_cfg(struct e1000_hw *hw, u32 reg, u16 *value);
sys/dev/e1000/e1000_hw.h
1086
void e1000_write_pci_cfg(struct e1000_hw *hw, u32 reg, u16 *value);
sys/dev/e1000/e1000_hw.h
426
#define __le16 u16
sys/dev/e1000/e1000_hw.h
696
u16 vlan_id;
sys/dev/e1000/e1000_hw.h
698
u16 reserved2;
sys/dev/e1000/e1000_hw.h
721
u16 reserved1;
sys/dev/e1000/e1000_hw.h
722
u16 reserved2;
sys/dev/e1000/e1000_hw.h
723
u16 command_length;
sys/dev/e1000/e1000_hw.h
750
s32 (*get_link_up_info)(struct e1000_hw *, u16 *, u16 *);
sys/dev/e1000/e1000_hw.h
767
s32 (*acquire_swfw_sync)(struct e1000_hw *, u16);
sys/dev/e1000/e1000_hw.h
768
void (*release_swfw_sync)(struct e1000_hw *, u16);
sys/dev/e1000/e1000_hw.h
796
s32 (*set_page)(struct e1000_hw *, u16);
sys/dev/e1000/e1000_hw.h
797
s32 (*read_reg)(struct e1000_hw *, u32, u16 *);
sys/dev/e1000/e1000_hw.h
798
s32 (*read_reg_locked)(struct e1000_hw *, u32, u16 *);
sys/dev/e1000/e1000_hw.h
799
s32 (*read_reg_page)(struct e1000_hw *, u32, u16 *);
sys/dev/e1000/e1000_hw.h
804
s32 (*write_reg)(struct e1000_hw *, u32, u16);
sys/dev/e1000/e1000_hw.h
805
s32 (*write_reg_locked)(struct e1000_hw *, u32, u16);
sys/dev/e1000/e1000_hw.h
806
s32 (*write_reg_page)(struct e1000_hw *, u32, u16);
sys/dev/e1000/e1000_hw.h
817
s32 (*read)(struct e1000_hw *, u16, u16, u16 *);
sys/dev/e1000/e1000_hw.h
821
s32 (*valid_led_default)(struct e1000_hw *, u16 *);
sys/dev/e1000/e1000_hw.h
823
s32 (*write)(struct e1000_hw *, u16, u16, u16 *);
sys/dev/e1000/e1000_hw.h
841
u16 current_ifs_val;
sys/dev/e1000/e1000_hw.h
842
u16 ifs_max_val;
sys/dev/e1000/e1000_hw.h
843
u16 ifs_min_val;
sys/dev/e1000/e1000_hw.h
844
u16 ifs_ratio;
sys/dev/e1000/e1000_hw.h
845
u16 ifs_step_size;
sys/dev/e1000/e1000_hw.h
846
u16 mta_reg_count;
sys/dev/e1000/e1000_hw.h
847
u16 uta_reg_count;
sys/dev/e1000/e1000_hw.h
852
u16 rar_entry_count;
sys/dev/e1000/e1000_hw.h
889
u16 autoneg_advertised;
sys/dev/e1000/e1000_hw.h
890
u16 autoneg_mask;
sys/dev/e1000/e1000_hw.h
891
u16 cable_length;
sys/dev/e1000/e1000_hw.h
892
u16 max_cable_length;
sys/dev/e1000/e1000_hw.h
893
u16 min_cable_length;
sys/dev/e1000/e1000_hw.h
912
u16 word_size;
sys/dev/e1000/e1000_hw.h
913
u16 delay_usec;
sys/dev/e1000/e1000_hw.h
914
u16 address_bits;
sys/dev/e1000/e1000_hw.h
915
u16 opcode_bits;
sys/dev/e1000/e1000_hw.h
916
u16 page_size;
sys/dev/e1000/e1000_hw.h
924
u16 func;
sys/dev/e1000/e1000_hw.h
925
u16 pci_cmd_word;
sys/dev/e1000/e1000_hw.h
931
u16 pause_time; /* Flow control pause timer */
sys/dev/e1000/e1000_hw.h
932
u16 refresh_time; /* Flow control refresh timer */
sys/dev/e1000/e1000_hw.h
941
s32 (*read)(struct e1000_hw *, u32 *, u16, u16);
sys/dev/e1000/e1000_hw.h
942
s32 (*write)(struct e1000_hw *, u32 *, u16, u16);
sys/dev/e1000/e1000_hw.h
943
s32 (*read_posted)(struct e1000_hw *, u32 *, u16, u16);
sys/dev/e1000/e1000_hw.h
944
s32 (*write_posted)(struct e1000_hw *, u32 *, u16, u16);
sys/dev/e1000/e1000_hw.h
945
s32 (*check_for_msg)(struct e1000_hw *, u16);
sys/dev/e1000/e1000_hw.h
946
s32 (*check_for_ack)(struct e1000_hw *, u16);
sys/dev/e1000/e1000_hw.h
947
s32 (*check_for_rst)(struct e1000_hw *, u16);
sys/dev/e1000/e1000_hw.h
964
u16 size;
sys/dev/e1000/e1000_hw.h
970
u16 spd_default;
sys/dev/e1000/e1000_hw.h
994
u16 value;
sys/dev/e1000/e1000_i210.c
134
s32 e1000_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset, u16 words,
sys/dev/e1000/e1000_i210.c
135
u16 *data)
sys/dev/e1000/e1000_i210.c
138
u16 i, count;
sys/dev/e1000/e1000_i210.c
175
static s32 e1000_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words,
sys/dev/e1000/e1000_i210.c
176
u16 *data)
sys/dev/e1000/e1000_i210.c
232
static s32 e1000_read_invm_word_i210(struct e1000_hw *hw, u8 address, u16 *data)
sys/dev/e1000/e1000_i210.c
236
u16 i;
sys/dev/e1000/e1000_i210.c
274
static s32 e1000_read_invm_i210(struct e1000_hw *hw, u16 offset,
sys/dev/e1000/e1000_i210.c
275
u16 E1000_UNUSEDARG words, u16 *data)
sys/dev/e1000/e1000_i210.c
365
u16 nvm_version = 0;
sys/dev/e1000/e1000_i210.c
40
static s32 e1000_write_nvm_srwr(struct e1000_hw *hw, u16 offset, u16 words,
sys/dev/e1000/e1000_i210.c
41
u16 *data);
sys/dev/e1000/e1000_i210.c
43
static s32 e1000_valid_led_default_i210(struct e1000_hw *hw, u16 *data);
sys/dev/e1000/e1000_i210.c
456
s32 (*read_op_ptr)(struct e1000_hw *, u16, u16, u16 *);
sys/dev/e1000/e1000_i210.c
495
u16 checksum = 0;
sys/dev/e1000/e1000_i210.c
496
u16 i, nvm_data;
sys/dev/e1000/e1000_i210.c
527
checksum = (u16) NVM_SUM - checksum;
sys/dev/e1000/e1000_i210.c
674
static s32 e1000_valid_led_default_i210(struct e1000_hw *hw, u16 *data)
sys/dev/e1000/e1000_i210.c
712
u16 nvm_word, phy_word, pci_word, tmp_nvm;
sys/dev/e1000/e1000_i210.c
89
s32 e1000_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset, u16 words,
sys/dev/e1000/e1000_i210.c
90
u16 *data)
sys/dev/e1000/e1000_i210.c
93
u16 i, count;
sys/dev/e1000/e1000_i210.h
42
s32 e1000_write_nvm_srwr_i210(struct e1000_hw *hw, u16 offset,
sys/dev/e1000/e1000_i210.h
43
u16 words, u16 *data);
sys/dev/e1000/e1000_i210.h
44
s32 e1000_read_nvm_srrd_i210(struct e1000_hw *hw, u16 offset,
sys/dev/e1000/e1000_i210.h
45
u16 words, u16 *data);
sys/dev/e1000/e1000_i210.h
58
(u16)(((invm_dword) & 0xFFFF0000) >> 16)
sys/dev/e1000/e1000_ich8lan.c
1026
u16 reg;
sys/dev/e1000/e1000_ich8lan.c
104
u16 *data);
sys/dev/e1000/e1000_ich8lan.c
1100
static u64 e1000_ltr2ns(u16 ltr)
sys/dev/e1000/e1000_ich8lan.c
113
u16 *speed, u16 *duplex);
sys/dev/e1000/e1000_ich8lan.c
1134
u16 lat_enc = 0; /* latency encoded */
sys/dev/e1000/e1000_ich8lan.c
1140
u16 speed, duplex, scale = 0;
sys/dev/e1000/e1000_ich8lan.c
1141
u16 max_snoop, max_nosnoop;
sys/dev/e1000/e1000_ich8lan.c
1142
u16 max_ltr_enc; /* max LTR latency encoded */
sys/dev/e1000/e1000_ich8lan.c
1185
lat_enc = (u16)((scale << E1000_LTRV_SCALE_SHIFT) | value);
sys/dev/e1000/e1000_ich8lan.c
1276
u16 phy_reg;
sys/dev/e1000/e1000_ich8lan.c
1277
u16 oem_reg = 0;
sys/dev/e1000/e1000_ich8lan.c
129
u8 size, u16 *data);
sys/dev/e1000/e1000_ich8lan.c
139
u32 offset, u16 *data);
sys/dev/e1000/e1000_ich8lan.c
1424
u16 phy_reg;
sys/dev/e1000/e1000_ich8lan.c
154
u16 flcdone:1; /* bit 0 Flash Cycle Done */
sys/dev/e1000/e1000_ich8lan.c
155
u16 flcerr:1; /* bit 1 Flash Cycle Error */
sys/dev/e1000/e1000_ich8lan.c
156
u16 dael:1; /* bit 2 Direct Access error Log */
sys/dev/e1000/e1000_ich8lan.c
1564
u16 emi_addr, emi_val = 0;
sys/dev/e1000/e1000_ich8lan.c
1566
u16 phy_reg;
sys/dev/e1000/e1000_ich8lan.c
157
u16 berasesz:2; /* bit 4:3 Sector Erase Size */
sys/dev/e1000/e1000_ich8lan.c
158
u16 flcinprog:1; /* bit 5 flash cycle in Progress */
sys/dev/e1000/e1000_ich8lan.c
159
u16 reserved1:2; /* bit 13:6 Reserved */
sys/dev/e1000/e1000_ich8lan.c
1597
u16 speed, duplex;
sys/dev/e1000/e1000_ich8lan.c
160
u16 reserved2:6; /* bit 13:6 Reserved */
sys/dev/e1000/e1000_ich8lan.c
161
u16 fldesvalid:1; /* bit 14 Flash Descriptor Valid */
sys/dev/e1000/e1000_ich8lan.c
162
u16 flockdn:1; /* bit 15 Flash Config Lock-Down */
sys/dev/e1000/e1000_ich8lan.c
164
u16 regval;
sys/dev/e1000/e1000_ich8lan.c
1658
u16 data;
sys/dev/e1000/e1000_ich8lan.c
1659
u16 ptr_gap;
sys/dev/e1000/e1000_ich8lan.c
171
u16 flcgo:1; /* 0 Flash Cycle Go */
sys/dev/e1000/e1000_ich8lan.c
172
u16 flcycle:2; /* 2:1 Flash Cycle */
sys/dev/e1000/e1000_ich8lan.c
173
u16 reserved:5; /* 7:3 Reserved */
sys/dev/e1000/e1000_ich8lan.c
174
u16 fldbcount:2; /* 9:8 Flash Data Byte Count */
sys/dev/e1000/e1000_ich8lan.c
175
u16 flockdn:6; /* 15:10 Reserved */
sys/dev/e1000/e1000_ich8lan.c
177
u16 regval;
sys/dev/e1000/e1000_ich8lan.c
188
u16 regval;
sys/dev/e1000/e1000_ich8lan.c
203
u16 phy_reg = 0;
sys/dev/e1000/e1000_ich8lan.c
206
u16 retry_count;
sys/dev/e1000/e1000_ich8lan.c
2175
u16 phy_reg = 0;
sys/dev/e1000/e1000_ich8lan.c
2193
(u16)(hw->mac.mta_shadow[i] &
sys/dev/e1000/e1000_ich8lan.c
2196
(u16)((hw->mac.mta_shadow[i] >> 16) &
sys/dev/e1000/e1000_ich8lan.c
2243
u16 phy_data;
sys/dev/e1000/e1000_ich8lan.c
2287
u16 word_addr, reg_data, reg_addr, phy_page = 0;
sys/dev/e1000/e1000_ich8lan.c
2362
(u16)data);
sys/dev/e1000/e1000_ich8lan.c
2370
word_addr = (u16)(cnf_base_addr << 1);
sys/dev/e1000/e1000_ich8lan.c
2416
u16 status_reg = 0;
sys/dev/e1000/e1000_ich8lan.c
2501
u16 kmrn_reg = 0;
sys/dev/e1000/e1000_ich8lan.c
2552
u16 oem_reg;
sys/dev/e1000/e1000_ich8lan.c
2618
u16 data;
sys/dev/e1000/e1000_ich8lan.c
2641
u16 phy_data;
sys/dev/e1000/e1000_ich8lan.c
2728
u16 i, phy_reg = 0;
sys/dev/e1000/e1000_ich8lan.c
2744
(u16)(mac_reg & 0xFFFF));
sys/dev/e1000/e1000_ich8lan.c
2746
(u16)((mac_reg >> 16) & 0xFFFF));
sys/dev/e1000/e1000_ich8lan.c
2750
(u16)(mac_reg & 0xFFFF));
sys/dev/e1000/e1000_ich8lan.c
2752
(u16)((mac_reg & E1000_RAH_AV)
sys/dev/e1000/e1000_ich8lan.c
2789
u16 phy_reg, data;
sys/dev/e1000/e1000_ich8lan.c
2791
u16 i;
sys/dev/e1000/e1000_ich8lan.c
299
u16 count = 20;
sys/dev/e1000/e1000_ich8lan.c
2999
u16 status_reg = 0;
sys/dev/e1000/e1000_ich8lan.c
3015
u16 pm_phy_reg;
sys/dev/e1000/e1000_ich8lan.c
3106
u16 reg;
sys/dev/e1000/e1000_ich8lan.c
3208
u16 oem_reg;
sys/dev/e1000/e1000_ich8lan.c
3244
u16 data;
sys/dev/e1000/e1000_ich8lan.c
3340
u16 data;
sys/dev/e1000/e1000_ich8lan.c
3428
u32 bank1_offset = nvm->flash_bank_size * sizeof(u16);
sys/dev/e1000/e1000_ich8lan.c
3531
static s32 e1000_read_nvm_spt(struct e1000_hw *hw, u16 offset, u16 words,
sys/dev/e1000/e1000_ich8lan.c
3532
u16 *data)
sys/dev/e1000/e1000_ich8lan.c
3540
u16 offset_to_read;
sys/dev/e1000/e1000_ich8lan.c
3541
u16 i;
sys/dev/e1000/e1000_ich8lan.c
3580
data[i] = (u16)(dword & 0xFFFF);
sys/dev/e1000/e1000_ich8lan.c
3582
data[i] = (u16)((dword >> 16) & 0xFFFF);
sys/dev/e1000/e1000_ich8lan.c
3599
data[i] = (u16)(dword & 0xFFFF);
sys/dev/e1000/e1000_ich8lan.c
3604
data[i + 1] = (u16)(dword >> 16 & 0xFFFF);
sys/dev/e1000/e1000_ich8lan.c
3626
static s32 e1000_read_nvm_ich8lan(struct e1000_hw *hw, u16 offset, u16 words,
sys/dev/e1000/e1000_ich8lan.c
3627
u16 *data)
sys/dev/e1000/e1000_ich8lan.c
3634
u16 i, word;
sys/dev/e1000/e1000_ich8lan.c
3840
u16 *data)
sys/dev/e1000/e1000_ich8lan.c
3865
u16 word = 0;
sys/dev/e1000/e1000_ich8lan.c
3893
u8 size, u16 *data)
sys/dev/e1000/e1000_ich8lan.c
3936
*data = (u16)(flash_data & 0x0000FFFF);
sys/dev/e1000/e1000_ich8lan.c
4046
static s32 e1000_write_nvm_ich8lan(struct e1000_hw *hw, u16 offset, u16 words,
sys/dev/e1000/e1000_ich8lan.c
4047
u16 *data)
sys/dev/e1000/e1000_ich8lan.c
4051
u16 i;
sys/dev/e1000/e1000_ich8lan.c
4252
u16 data = 0;
sys/dev/e1000/e1000_ich8lan.c
4399
u16 data;
sys/dev/e1000/e1000_ich8lan.c
4400
u16 word;
sys/dev/e1000/e1000_ich8lan.c
4401
u16 valid_csum_mask;
sys/dev/e1000/e1000_ich8lan.c
4454
u8 size, u16 data)
sys/dev/e1000/e1000_ich8lan.c
4642
u16 word = (u16)data;
sys/dev/e1000/e1000_ich8lan.c
4662
u16 program_retries;
sys/dev/e1000/e1000_ich8lan.c
4699
u16 program_retries;
sys/dev/e1000/e1000_ich8lan.c
4849
static s32 e1000_valid_led_default_ich8lan(struct e1000_hw *hw, u16 *data)
sys/dev/e1000/e1000_ich8lan.c
4886
u16 data, i, temp, shift;
sys/dev/e1000/e1000_ich8lan.c
4978
u16 kum_cfg;
sys/dev/e1000/e1000_ich8lan.c
4981
u16 pci_cfg;
sys/dev/e1000/e1000_ich8lan.c
5117
u16 i;
sys/dev/e1000/e1000_ich8lan.c
5345
u16 reg_data;
sys/dev/e1000/e1000_ich8lan.c
5461
static s32 e1000_get_link_up_info_ich8lan(struct e1000_hw *hw, u16 *speed,
sys/dev/e1000/e1000_ich8lan.c
5462
u16 *duplex)
sys/dev/e1000/e1000_ich8lan.c
5501
u16 i, data;
sys/dev/e1000/e1000_ich8lan.c
556
u16 i = 0;
sys/dev/e1000/e1000_ich8lan.c
5588
u16 data;
sys/dev/e1000/e1000_ich8lan.c
5642
u16 reg_data = 0;
sys/dev/e1000/e1000_ich8lan.c
5691
u16 phy_reg, device_id = hw->device_id;
sys/dev/e1000/e1000_ich8lan.c
5709
u16 eee_advert;
sys/dev/e1000/e1000_ich8lan.c
5833
u16 phy_reg;
sys/dev/e1000/e1000_ich8lan.c
5942
(u16)hw->mac.ledctl_mode1);
sys/dev/e1000/e1000_ich8lan.c
5956
(u16)hw->mac.ledctl_default);
sys/dev/e1000/e1000_ich8lan.c
5967
u16 data = (u16)hw->mac.ledctl_mode2;
sys/dev/e1000/e1000_ich8lan.c
5999
u16 data = (u16)hw->mac.ledctl_mode1;
sys/dev/e1000/e1000_ich8lan.c
6110
u16 phy_data;
sys/dev/e1000/e1000_ich8lan.c
6180
u16 kmrn_reg = 0;
sys/dev/e1000/e1000_ich8lan.c
649
u16 i;
sys/dev/e1000/e1000_ich8lan.c
669
nvm->flash_bank_size /= sizeof(u16);
sys/dev/e1000/e1000_ich8lan.c
699
nvm->flash_bank_size /= sizeof(u16);
sys/dev/e1000/e1000_ich8lan.c
855
static s32 __e1000_access_emi_reg_locked(struct e1000_hw *hw, u16 address,
sys/dev/e1000/e1000_ich8lan.c
856
u16 *data, bool read)
sys/dev/e1000/e1000_ich8lan.c
884
s32 e1000_read_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 *data)
sys/dev/e1000/e1000_ich8lan.c
899
s32 e1000_write_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 data)
sys/dev/e1000/e1000_ich8lan.c
924
u16 lpa, pcs_status, adv, adv_addr, lpi_ctrl, data;
sys/dev/e1000/e1000_ich8lan.c
94
static s32 e1000_read_nvm_ich8lan(struct e1000_hw *hw, u16 offset,
sys/dev/e1000/e1000_ich8lan.c
95
u16 words, u16 *data);
sys/dev/e1000/e1000_ich8lan.c
96
static s32 e1000_read_nvm_spt(struct e1000_hw *hw, u16 offset, u16 words,
sys/dev/e1000/e1000_ich8lan.c
97
u16 *data);
sys/dev/e1000/e1000_ich8lan.c
98
static s32 e1000_write_nvm_ich8lan(struct e1000_hw *hw, u16 offset,
sys/dev/e1000/e1000_ich8lan.c
99
u16 words, u16 *data);
sys/dev/e1000/e1000_ich8lan.h
342
s32 e1000_read_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 *data);
sys/dev/e1000/e1000_ich8lan.h
343
s32 e1000_write_emi_reg_locked(struct e1000_hw *hw, u16 addr, u16 data);
sys/dev/e1000/e1000_mac.c
110
u16 E1000_UNUSEDARG *s, u16 E1000_UNUSEDARG *d)
sys/dev/e1000/e1000_mac.c
1363
u16 mii_status_reg, mii_nway_adv_reg, mii_nway_lp_ability_reg;
sys/dev/e1000/e1000_mac.c
1364
u16 speed, duplex;
sys/dev/e1000/e1000_mac.c
1666
s32 e1000_get_speed_and_duplex_copper_generic(struct e1000_hw *hw, u16 *speed,
sys/dev/e1000/e1000_mac.c
1667
u16 *duplex)
sys/dev/e1000/e1000_mac.c
1706
u16 *speed, u16 *duplex)
sys/dev/e1000/e1000_mac.c
1751
s32 e1000_valid_led_default_generic(struct e1000_hw *hw, u16 *data)
sys/dev/e1000/e1000_mac.c
1781
u16 data, i, temp;
sys/dev/e1000/e1000_mac.c
1782
const u16 led_mask = 0x0F;
sys/dev/e1000/e1000_mac.c
2300
e1000_acquire_swfw_sync(struct e1000_hw *hw, u16 mask)
sys/dev/e1000/e1000_mac.c
2353
e1000_release_swfw_sync(struct e1000_hw *hw, u16 mask)
sys/dev/e1000/e1000_mac.c
244
u16 pcie_link_status;
sys/dev/e1000/e1000_mac.c
306
u16 pci_header_type;
sys/dev/e1000/e1000_mac.c
377
void e1000_init_rx_addrs_generic(struct e1000_hw *hw, u16 rar_count)
sys/dev/e1000/e1000_mac.c
411
u16 offset, nvm_alt_mac_addr_offset, nvm_data;
sys/dev/e1000/e1000_mac.c
580
(((u16) mc_addr[5]) << bit_shift)));
sys/dev/e1000/e1000_mac.c
633
u16 cmd_mmrbc;
sys/dev/e1000/e1000_mac.c
634
u16 pcix_cmd;
sys/dev/e1000/e1000_mac.c
635
u16 pcix_stat_hi_word;
sys/dev/e1000/e1000_mac.c
636
u16 stat_mmrbc;
sys/dev/e1000/e1000_mac.c
957
u16 nvm_data;
sys/dev/e1000/e1000_mac.c
958
u16 nvm_offset = 0;
sys/dev/e1000/e1000_mac.h
42
s32 e1000_null_link_info(struct e1000_hw *hw, u16 *s, u16 *d);
sys/dev/e1000/e1000_mac.h
63
s32 e1000_get_speed_and_duplex_copper_generic(struct e1000_hw *hw, u16 *speed,
sys/dev/e1000/e1000_mac.h
64
u16 *duplex);
sys/dev/e1000/e1000_mac.h
66
u16 *speed, u16 *duplex);
sys/dev/e1000/e1000_mac.h
86
void e1000_init_rx_addrs_generic(struct e1000_hw *hw, u16 rar_count);
sys/dev/e1000/e1000_mac.h
96
s32 e1000_acquire_swfw_sync(struct e1000_hw *hw, u16 mask);
sys/dev/e1000/e1000_mac.h
97
void e1000_release_swfw_sync(struct e1000_hw *hw, u16 mask);
sys/dev/e1000/e1000_manage.c
194
u16 i, length = sizeof(struct e1000_host_mng_command_header);
sys/dev/e1000/e1000_manage.c
226
u16 length, u16 offset, u8 *sum)
sys/dev/e1000/e1000_manage.c
231
u16 remaining, i, j, prev_bytes;
sys/dev/e1000/e1000_manage.c
298
u16 length)
sys/dev/e1000/e1000_manage.c
367
u16 data;
sys/dev/e1000/e1000_manage.h
42
u16 length, u16 offset, u8 *sum);
sys/dev/e1000/e1000_manage.h
46
u8 *buffer, u16 length);
sys/dev/e1000/e1000_mbx.c
102
s32 e1000_write_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id)
sys/dev/e1000/e1000_mbx.c
125
s32 e1000_check_for_msg(struct e1000_hw *hw, u16 mbx_id)
sys/dev/e1000/e1000_mbx.c
145
s32 e1000_check_for_ack(struct e1000_hw *hw, u16 mbx_id)
sys/dev/e1000/e1000_mbx.c
165
s32 e1000_check_for_rst(struct e1000_hw *hw, u16 mbx_id)
sys/dev/e1000/e1000_mbx.c
185
static s32 e1000_poll_for_msg(struct e1000_hw *hw, u16 mbx_id)
sys/dev/e1000/e1000_mbx.c
216
static s32 e1000_poll_for_ack(struct e1000_hw *hw, u16 mbx_id)
sys/dev/e1000/e1000_mbx.c
250
s32 e1000_read_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id)
sys/dev/e1000/e1000_mbx.c
279
s32 e1000_write_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id)
sys/dev/e1000/e1000_mbx.c
365
u16 E1000_UNUSEDARG mbx_id)
sys/dev/e1000/e1000_mbx.c
387
u16 E1000_UNUSEDARG mbx_id)
sys/dev/e1000/e1000_mbx.c
409
u16 E1000_UNUSEDARG mbx_id)
sys/dev/e1000/e1000_mbx.c
43
u16 E1000_UNUSEDARG mbx_id)
sys/dev/e1000/e1000_mbx.c
461
static s32 e1000_write_mbx_vf(struct e1000_hw *hw, u32 *msg, u16 size,
sys/dev/e1000/e1000_mbx.c
462
u16 E1000_UNUSEDARG mbx_id)
sys/dev/e1000/e1000_mbx.c
465
u16 i;
sys/dev/e1000/e1000_mbx.c
502
static s32 e1000_read_mbx_vf(struct e1000_hw *hw, u32 *msg, u16 size,
sys/dev/e1000/e1000_mbx.c
503
u16 E1000_UNUSEDARG mbx_id)
sys/dev/e1000/e1000_mbx.c
506
u16 i;
sys/dev/e1000/e1000_mbx.c
583
static s32 e1000_check_for_msg_pf(struct e1000_hw *hw, u16 vf_number)
sys/dev/e1000/e1000_mbx.c
59
u16 E1000_UNUSEDARG size,
sys/dev/e1000/e1000_mbx.c
60
u16 E1000_UNUSEDARG mbx_id)
sys/dev/e1000/e1000_mbx.c
604
static s32 e1000_check_for_ack_pf(struct e1000_hw *hw, u16 vf_number)
sys/dev/e1000/e1000_mbx.c
625
static s32 e1000_check_for_rst_pf(struct e1000_hw *hw, u16 vf_number)
sys/dev/e1000/e1000_mbx.c
648
static s32 e1000_obtain_mbx_lock_pf(struct e1000_hw *hw, u16 vf_number)
sys/dev/e1000/e1000_mbx.c
683
static s32 e1000_write_mbx_pf(struct e1000_hw *hw, u32 *msg, u16 size,
sys/dev/e1000/e1000_mbx.c
684
u16 vf_number)
sys/dev/e1000/e1000_mbx.c
687
u16 i;
sys/dev/e1000/e1000_mbx.c
726
static s32 e1000_read_mbx_pf(struct e1000_hw *hw, u32 *msg, u16 size,
sys/dev/e1000/e1000_mbx.c
727
u16 vf_number)
sys/dev/e1000/e1000_mbx.c
730
u16 i;
sys/dev/e1000/e1000_mbx.c
76
s32 e1000_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id)
sys/dev/e1000/e1000_mbx.h
100
s32 e1000_check_for_ack(struct e1000_hw *, u16);
sys/dev/e1000/e1000_mbx.h
101
s32 e1000_check_for_rst(struct e1000_hw *, u16);
sys/dev/e1000/e1000_mbx.h
95
s32 e1000_read_mbx(struct e1000_hw *, u32 *, u16, u16);
sys/dev/e1000/e1000_mbx.h
96
s32 e1000_write_mbx(struct e1000_hw *, u32 *, u16, u16);
sys/dev/e1000/e1000_mbx.h
97
s32 e1000_read_posted_mbx(struct e1000_hw *, u32 *, u16, u16);
sys/dev/e1000/e1000_mbx.h
98
s32 e1000_write_posted_mbx(struct e1000_hw *, u32 *, u16, u16);
sys/dev/e1000/e1000_mbx.h
99
s32 e1000_check_for_msg(struct e1000_hw *, u16);
sys/dev/e1000/e1000_nvm.c
1037
pba_block_size * sizeof(u16));
sys/dev/e1000/e1000_nvm.c
1058
s32 e1000_write_pba_raw(struct e1000_hw *hw, u16 *eeprom_buf,
sys/dev/e1000/e1000_nvm.c
107
u16 E1000_UNUSEDARG a, u16 E1000_UNUSEDARG b,
sys/dev/e1000/e1000_nvm.c
108
u16 E1000_UNUSEDARG *c)
sys/dev/e1000/e1000_nvm.c
1095
pba->pba_block[0] * sizeof(u16));
sys/dev/e1000/e1000_nvm.c
1117
s32 e1000_get_pba_block_size(struct e1000_hw *hw, u16 *eeprom_buf,
sys/dev/e1000/e1000_nvm.c
1118
u32 eeprom_buf_size, u16 *pba_block_size)
sys/dev/e1000/e1000_nvm.c
1121
u16 pba_word[2];
sys/dev/e1000/e1000_nvm.c
1122
u16 length;
sys/dev/e1000/e1000_nvm.c
1177
u16 i;
sys/dev/e1000/e1000_nvm.c
1204
u16 checksum = 0;
sys/dev/e1000/e1000_nvm.c
1205
u16 i, nvm_data;
sys/dev/e1000/e1000_nvm.c
1218
if (checksum != (u16) NVM_SUM) {
sys/dev/e1000/e1000_nvm.c
1237
u16 checksum = 0;
sys/dev/e1000/e1000_nvm.c
1238
u16 i, nvm_data;
sys/dev/e1000/e1000_nvm.c
1250
checksum = (u16) NVM_SUM - checksum;
sys/dev/e1000/e1000_nvm.c
1287
u16 eeprom_verh, eeprom_verl, etrack_test, fw_version;
sys/dev/e1000/e1000_nvm.c
1289
u16 comb_verh, comb_verl, comb_offset;
sys/dev/e1000/e1000_nvm.c
154
static void e1000_shift_out_eec_bits(struct e1000_hw *hw, u16 data, u16 count)
sys/dev/e1000/e1000_nvm.c
201
static u16 e1000_shift_in_eec_bits(struct e1000_hw *hw, u16 count)
sys/dev/e1000/e1000_nvm.c
205
u16 data;
sys/dev/e1000/e1000_nvm.c
404
u16 timeout = NVM_MAX_RETRY_SPI;
sys/dev/e1000/e1000_nvm.c
447
s32 e1000_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data)
sys/dev/e1000/e1000_nvm.c
452
u16 word_in;
sys/dev/e1000/e1000_nvm.c
481
e1000_shift_out_eec_bits(hw, (u16)(offset*2), nvm->address_bits);
sys/dev/e1000/e1000_nvm.c
507
s32 e1000_read_nvm_microwire(struct e1000_hw *hw, u16 offset, u16 words,
sys/dev/e1000/e1000_nvm.c
508
u16 *data)
sys/dev/e1000/e1000_nvm.c
537
e1000_shift_out_eec_bits(hw, (u16)(offset + i),
sys/dev/e1000/e1000_nvm.c
562
s32 e1000_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data)
sys/dev/e1000/e1000_nvm.c
610
s32 e1000_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data)
sys/dev/e1000/e1000_nvm.c
614
u16 widx = 0;
sys/dev/e1000/e1000_nvm.c
656
e1000_shift_out_eec_bits(hw, (u16)((offset + widx) * 2),
sys/dev/e1000/e1000_nvm.c
661
u16 word_out = data[widx];
sys/dev/e1000/e1000_nvm.c
690
s32 e1000_write_nvm_microwire(struct e1000_hw *hw, u16 offset, u16 words,
sys/dev/e1000/e1000_nvm.c
691
u16 *data)
sys/dev/e1000/e1000_nvm.c
696
u16 words_written = 0;
sys/dev/e1000/e1000_nvm.c
697
u16 widx = 0;
sys/dev/e1000/e1000_nvm.c
70
u16 E1000_UNUSEDARG a, u16 E1000_UNUSEDARG b,
sys/dev/e1000/e1000_nvm.c
71
u16 E1000_UNUSEDARG *c)
sys/dev/e1000/e1000_nvm.c
719
(u16)(nvm->opcode_bits + 2));
sys/dev/e1000/e1000_nvm.c
721
e1000_shift_out_eec_bits(hw, 0, (u16)(nvm->address_bits - 2));
sys/dev/e1000/e1000_nvm.c
729
e1000_shift_out_eec_bits(hw, (u16)(offset + words_written),
sys/dev/e1000/e1000_nvm.c
755
(u16)(nvm->opcode_bits + 2));
sys/dev/e1000/e1000_nvm.c
757
e1000_shift_out_eec_bits(hw, 0, (u16)(nvm->address_bits - 2));
sys/dev/e1000/e1000_nvm.c
778
u16 nvm_data;
sys/dev/e1000/e1000_nvm.c
779
u16 pba_ptr;
sys/dev/e1000/e1000_nvm.c
780
u16 offset;
sys/dev/e1000/e1000_nvm.c
781
u16 length;
sys/dev/e1000/e1000_nvm.c
893
u16 nvm_data;
sys/dev/e1000/e1000_nvm.c
894
u16 pba_ptr;
sys/dev/e1000/e1000_nvm.c
895
u16 length;
sys/dev/e1000/e1000_nvm.c
93
u16 E1000_UNUSEDARG *data)
sys/dev/e1000/e1000_nvm.c
952
u16 nvm_data;
sys/dev/e1000/e1000_nvm.c
989
s32 e1000_read_pba_raw(struct e1000_hw *hw, u16 *eeprom_buf,
sys/dev/e1000/e1000_nvm.c
990
u32 eeprom_buf_size, u16 max_pba_block_size,
sys/dev/e1000/e1000_nvm.c
994
u16 pba_block_size;
sys/dev/e1000/e1000_nvm.h
39
u16 word[2];
sys/dev/e1000/e1000_nvm.h
40
u16 *pba_block;
sys/dev/e1000/e1000_nvm.h
45
u16 eep_major;
sys/dev/e1000/e1000_nvm.h
46
u16 eep_minor;
sys/dev/e1000/e1000_nvm.h
47
u16 eep_build;
sys/dev/e1000/e1000_nvm.h
54
u16 or_major;
sys/dev/e1000/e1000_nvm.h
55
u16 or_build;
sys/dev/e1000/e1000_nvm.h
56
u16 or_patch;
sys/dev/e1000/e1000_nvm.h
61
s32 e1000_null_read_nvm(struct e1000_hw *hw, u16 a, u16 b, u16 *c);
sys/dev/e1000/e1000_nvm.h
63
s32 e1000_null_led_default(struct e1000_hw *hw, u16 *data);
sys/dev/e1000/e1000_nvm.h
64
s32 e1000_null_write_nvm(struct e1000_hw *hw, u16 a, u16 b, u16 *c);
sys/dev/e1000/e1000_nvm.h
73
s32 e1000_read_pba_raw(struct e1000_hw *hw, u16 *eeprom_buf,
sys/dev/e1000/e1000_nvm.h
74
u32 eeprom_buf_size, u16 max_pba_block_size,
sys/dev/e1000/e1000_nvm.h
76
s32 e1000_write_pba_raw(struct e1000_hw *hw, u16 *eeprom_buf,
sys/dev/e1000/e1000_nvm.h
78
s32 e1000_get_pba_block_size(struct e1000_hw *hw, u16 *eeprom_buf,
sys/dev/e1000/e1000_nvm.h
79
u32 eeprom_buf_size, u16 *pba_block_size);
sys/dev/e1000/e1000_nvm.h
80
s32 e1000_read_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words, u16 *data);
sys/dev/e1000/e1000_nvm.h
81
s32 e1000_read_nvm_microwire(struct e1000_hw *hw, u16 offset,
sys/dev/e1000/e1000_nvm.h
82
u16 words, u16 *data);
sys/dev/e1000/e1000_nvm.h
83
s32 e1000_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words,
sys/dev/e1000/e1000_nvm.h
84
u16 *data);
sys/dev/e1000/e1000_nvm.h
85
s32 e1000_valid_led_default_generic(struct e1000_hw *hw, u16 *data);
sys/dev/e1000/e1000_nvm.h
87
s32 e1000_write_nvm_microwire(struct e1000_hw *hw, u16 offset,
sys/dev/e1000/e1000_nvm.h
88
u16 words, u16 *data);
sys/dev/e1000/e1000_nvm.h
89
s32 e1000_write_nvm_spi(struct e1000_hw *hw, u16 offset, u16 words,
sys/dev/e1000/e1000_nvm.h
90
u16 *data);
sys/dev/e1000/e1000_osdep.c
54
e1000_write_pci_cfg(struct e1000_hw *hw, u32 reg, u16 *value)
sys/dev/e1000/e1000_osdep.c
60
e1000_read_pci_cfg(struct e1000_hw *hw, u32 reg, u16 *value)
sys/dev/e1000/e1000_osdep.c
83
e1000_read_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value)
sys/dev/e1000/e1000_osdep.c
97
e1000_write_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value)
sys/dev/e1000/e1000_osdep.h
131
#define __le16 u16
sys/dev/e1000/e1000_phy.c
1003
s32 e1000_write_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 data)
sys/dev/e1000/e1000_phy.c
1017
u16 phy_data;
sys/dev/e1000/e1000_phy.c
1057
u16 phy_data;
sys/dev/e1000/e1000_phy.c
109
u16 E1000_UNUSEDARG data)
sys/dev/e1000/e1000_phy.c
1123
u16 phy_data;
sys/dev/e1000/e1000_phy.c
122
u32 E1000_UNUSEDARG offset, u16 E1000_UNUSEDARG *data)
sys/dev/e1000/e1000_phy.c
1276
u16 phy_data;
sys/dev/e1000/e1000_phy.c
1374
u16 data;
sys/dev/e1000/e1000_phy.c
1485
u16 mii_autoneg_adv_reg;
sys/dev/e1000/e1000_phy.c
1486
u16 mii_1000t_ctrl_reg = 0;
sys/dev/e1000/e1000_phy.c
157
u32 E1000_UNUSEDARG offset, u16 E1000_UNUSEDARG data)
sys/dev/e1000/e1000_phy.c
1638
u16 phy_ctrl;
sys/dev/e1000/e1000_phy.c
1755
u16 phy_data;
sys/dev/e1000/e1000_phy.c
1821
u16 phy_data;
sys/dev/e1000/e1000_phy.c
1960
u16 data;
sys/dev/e1000/e1000_phy.c
2024
void e1000_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl)
sys/dev/e1000/e1000_phy.c
2091
u16 data;
sys/dev/e1000/e1000_phy.c
2175
u16 phy_data, offset, mask;
sys/dev/e1000/e1000_phy.c
2220
u16 data;
sys/dev/e1000/e1000_phy.c
2247
u16 data, offset, mask;
sys/dev/e1000/e1000_phy.c
228
u16 phy_id;
sys/dev/e1000/e1000_phy.c
229
u16 retry_count = 0;
sys/dev/e1000/e1000_phy.c
2290
u16 phy_data, offset, mask;
sys/dev/e1000/e1000_phy.c
2324
u16 i, phy_status;
sys/dev/e1000/e1000_phy.c
2363
u16 i, phy_status;
sys/dev/e1000/e1000_phy.c
2421
u16 phy_data, index;
sys/dev/e1000/e1000_phy.c
2447
u16 phy_data, phy_data2, is_cm;
sys/dev/e1000/e1000_phy.c
2448
u16 index, default_page;
sys/dev/e1000/e1000_phy.c
2570
u16 phy_data, i, agc_value = 0;
sys/dev/e1000/e1000_phy.c
2571
u16 cur_agc_index, max_agc_index = 0;
sys/dev/e1000/e1000_phy.c
2572
u16 min_agc_index = IGP02E1000_CABLE_LENGTH_TABLE_SIZE - 1;
sys/dev/e1000/e1000_phy.c
2573
static const u16 agc_reg_array[IGP02E1000_PHY_CHANNEL_NUM] = {
sys/dev/e1000/e1000_phy.c
2640
u16 phy_data;
sys/dev/e1000/e1000_phy.c
2715
u16 data;
sys/dev/e1000/e1000_phy.c
2777
u16 data;
sys/dev/e1000/e1000_phy.c
2831
u16 phy_ctrl;
sys/dev/e1000/e1000_phy.c
290
s32 e1000_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data)
sys/dev/e1000/e1000_phy.c
3123
s32 e1000_write_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 data)
sys/dev/e1000/e1000_phy.c
3183
s32 e1000_read_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 *data)
sys/dev/e1000/e1000_phy.c
3242
s32 e1000_read_phy_reg_bm2(struct e1000_hw *hw, u32 offset, u16 *data)
sys/dev/e1000/e1000_phy.c
3245
u16 page = (u16)(offset >> IGP_PAGE_SHIFT);
sys/dev/e1000/e1000_phy.c
3287
s32 e1000_write_phy_reg_bm2(struct e1000_hw *hw, u32 offset, u16 data)
sys/dev/e1000/e1000_phy.c
3290
u16 page = (u16)(offset >> IGP_PAGE_SHIFT);
sys/dev/e1000/e1000_phy.c
3332
s32 e1000_enable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg)
sys/dev/e1000/e1000_phy.c
3335
u16 temp;
sys/dev/e1000/e1000_phy.c
336
*data = (u16) mdic;
sys/dev/e1000/e1000_phy.c
3390
s32 e1000_disable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg)
sys/dev/e1000/e1000_phy.c
3441
u16 *data, bool read, bool page_set)
sys/dev/e1000/e1000_phy.c
3444
u16 reg = BM_PHY_REG_NUM(offset);
sys/dev/e1000/e1000_phy.c
3445
u16 page = BM_PHY_REG_PAGE(offset);
sys/dev/e1000/e1000_phy.c
3446
u16 phy_reg = 0;
sys/dev/e1000/e1000_phy.c
3505
u16 mii_reg = 0;
sys/dev/e1000/e1000_phy.c
3523
u16 mii_reg = 0;
sys/dev/e1000/e1000_phy.c
3544
static s32 __e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data,
sys/dev/e1000/e1000_phy.c
3548
u16 page = BM_PHY_REG_PAGE(offset);
sys/dev/e1000/e1000_phy.c
3549
u16 reg = BM_PHY_REG_NUM(offset);
sys/dev/e1000/e1000_phy.c
355
s32 e1000_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data)
sys/dev/e1000/e1000_phy.c
3610
s32 e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data)
sys/dev/e1000/e1000_phy.c
3624
s32 e1000_read_phy_reg_hv_locked(struct e1000_hw *hw, u32 offset, u16 *data)
sys/dev/e1000/e1000_phy.c
3638
s32 e1000_read_phy_reg_page_hv(struct e1000_hw *hw, u32 offset, u16 *data)
sys/dev/e1000/e1000_phy.c
3654
static s32 __e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data,
sys/dev/e1000/e1000_phy.c
3658
u16 page = BM_PHY_REG_PAGE(offset);
sys/dev/e1000/e1000_phy.c
3659
u16 reg = BM_PHY_REG_NUM(offset);
sys/dev/e1000/e1000_phy.c
3694
u16 data2 = 0x7EFF;
sys/dev/e1000/e1000_phy.c
3736
s32 e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data)
sys/dev/e1000/e1000_phy.c
3750
s32 e1000_write_phy_reg_hv_locked(struct e1000_hw *hw, u32 offset, u16 data)
sys/dev/e1000/e1000_phy.c
3764
s32 e1000_write_phy_reg_page_hv(struct e1000_hw *hw, u32 offset, u16 data)
sys/dev/e1000/e1000_phy.c
3796
u16 *data, bool read)
sys/dev/e1000/e1000_phy.c
3813
ret_val = e1000_write_phy_reg_mdic(hw, addr_reg, (u16)offset & 0x3F);
sys/dev/e1000/e1000_phy.c
3845
u16 data;
sys/dev/e1000/e1000_phy.c
3894
u16 data;
sys/dev/e1000/e1000_phy.c
39
u16 *data, bool read, bool page_set);
sys/dev/e1000/e1000_phy.c
3918
u16 phy_data;
sys/dev/e1000/e1000_phy.c
3967
u16 data;
sys/dev/e1000/e1000_phy.c
4030
u16 phy_data, length;
sys/dev/e1000/e1000_phy.c
4058
s32 e1000_write_phy_reg_gs40g(struct e1000_hw *hw, u32 offset, u16 data)
sys/dev/e1000/e1000_phy.c
4061
u16 page = offset >> GS40G_PAGE_SHIFT;
sys/dev/e1000/e1000_phy.c
4090
s32 e1000_read_phy_reg_gs40g(struct e1000_hw *hw, u32 offset, u16 *data)
sys/dev/e1000/e1000_phy.c
4093
u16 page = offset >> GS40G_PAGE_SHIFT;
sys/dev/e1000/e1000_phy.c
42
u16 *data, bool read);
sys/dev/e1000/e1000_phy.c
421
s32 e1000_read_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 *data)
sys/dev/e1000/e1000_phy.c
4246
u16 retry_count = 0;
sys/dev/e1000/e1000_phy.c
4275
static s32 __e1000_access_xmdio_reg(struct e1000_hw *hw, u16 address,
sys/dev/e1000/e1000_phy.c
4276
u8 dev_addr, u16 *data, bool read)
sys/dev/e1000/e1000_phy.c
4317
s32 e1000_read_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr, u16 *data)
sys/dev/e1000/e1000_phy.c
4331
s32 e1000_write_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr, u16 data)
sys/dev/e1000/e1000_phy.c
45
static const u16 e1000_m88_cable_length_table[] = {
sys/dev/e1000/e1000_phy.c
468
s32 e1000_write_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 data)
sys/dev/e1000/e1000_phy.c
472
u16 phy_data_swapped;
sys/dev/e1000/e1000_phy.c
51
static const u16 e1000_igp_2_cable_length_table[] = {
sys/dev/e1000/e1000_phy.c
529
s32 e1000_read_sfp_data_byte(struct e1000_hw *hw, u16 offset, u8 *data)
sys/dev/e1000/e1000_phy.c
584
s32 e1000_write_sfp_data_byte(struct e1000_hw *hw, u16 offset, u8 data)
sys/dev/e1000/e1000_phy.c
654
s32 e1000_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data)
sys/dev/e1000/e1000_phy.c
684
s32 e1000_write_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 data)
sys/dev/e1000/e1000_phy.c
714
s32 e1000_set_page_igp(struct e1000_hw *hw, u16 page)
sys/dev/e1000/e1000_phy.c
736
static s32 __e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data,
sys/dev/e1000/e1000_phy.c
755
(u16)offset);
sys/dev/e1000/e1000_phy.c
776
s32 e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data)
sys/dev/e1000/e1000_phy.c
790
s32 e1000_read_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 *data)
sys/dev/e1000/e1000_phy.c
805
static s32 __e1000_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data,
sys/dev/e1000/e1000_phy.c
824
(u16)offset);
sys/dev/e1000/e1000_phy.c
844
s32 e1000_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data)
sys/dev/e1000/e1000_phy.c
858
s32 e1000_write_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 data)
sys/dev/e1000/e1000_phy.c
874
static s32 __e1000_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data,
sys/dev/e1000/e1000_phy.c
900
*data = (u16)kmrnctrlsta;
sys/dev/e1000/e1000_phy.c
918
s32 e1000_read_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 *data)
sys/dev/e1000/e1000_phy.c
933
s32 e1000_read_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 *data)
sys/dev/e1000/e1000_phy.c
949
static s32 __e1000_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data,
sys/dev/e1000/e1000_phy.c
989
s32 e1000_write_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 data)
sys/dev/e1000/e1000_phy.h
100
s32 e1000_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data);
sys/dev/e1000/e1000_phy.h
101
s32 e1000_read_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 *data);
sys/dev/e1000/e1000_phy.h
102
s32 e1000_write_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 data);
sys/dev/e1000/e1000_phy.h
103
s32 e1000_read_sfp_data_byte(struct e1000_hw *hw, u16 offset, u8 *data);
sys/dev/e1000/e1000_phy.h
104
s32 e1000_write_sfp_data_byte(struct e1000_hw *hw, u16 offset, u8 data);
sys/dev/e1000/e1000_phy.h
105
s32 e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data);
sys/dev/e1000/e1000_phy.h
106
s32 e1000_read_phy_reg_hv_locked(struct e1000_hw *hw, u32 offset, u16 *data);
sys/dev/e1000/e1000_phy.h
107
s32 e1000_read_phy_reg_page_hv(struct e1000_hw *hw, u32 offset, u16 *data);
sys/dev/e1000/e1000_phy.h
108
s32 e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data);
sys/dev/e1000/e1000_phy.h
109
s32 e1000_write_phy_reg_hv_locked(struct e1000_hw *hw, u32 offset, u16 data);
sys/dev/e1000/e1000_phy.h
110
s32 e1000_write_phy_reg_page_hv(struct e1000_hw *hw, u32 offset, u16 data);
sys/dev/e1000/e1000_phy.h
117
s32 e1000_write_phy_reg_gs40g(struct e1000_hw *hw, u32 offset, u16 data);
sys/dev/e1000/e1000_phy.h
118
s32 e1000_read_phy_reg_gs40g(struct e1000_hw *hw, u32 offset, u16 *data);
sys/dev/e1000/e1000_phy.h
124
s32 e1000_read_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr,
sys/dev/e1000/e1000_phy.h
125
u16 *data);
sys/dev/e1000/e1000_phy.h
126
s32 e1000_write_xmdio_reg(struct e1000_hw *hw, u16 addr, u8 dev_addr,
sys/dev/e1000/e1000_phy.h
127
u16 data);
sys/dev/e1000/e1000_phy.h
170
((u16)(((offset) >> PHY_PAGE_SHIFT) & 0xFFFF))
sys/dev/e1000/e1000_phy.h
172
((u16)(((offset) & MAX_PHY_REG_ADDRESS) |\
sys/dev/e1000/e1000_phy.h
39
s32 e1000_null_read_reg(struct e1000_hw *hw, u32 offset, u16 *data);
sys/dev/e1000/e1000_phy.h
42
s32 e1000_null_write_reg(struct e1000_hw *hw, u32 offset, u16 data);
sys/dev/e1000/e1000_phy.h
43
s32 e1000_null_set_page(struct e1000_hw *hw, u16 data);
sys/dev/e1000/e1000_phy.h
70
void e1000_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl);
sys/dev/e1000/e1000_phy.h
73
s32 e1000_read_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 *data);
sys/dev/e1000/e1000_phy.h
74
s32 e1000_read_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 *data);
sys/dev/e1000/e1000_phy.h
75
s32 e1000_set_page_igp(struct e1000_hw *hw, u16 page);
sys/dev/e1000/e1000_phy.h
76
s32 e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data);
sys/dev/e1000/e1000_phy.h
77
s32 e1000_read_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 *data);
sys/dev/e1000/e1000_phy.h
78
s32 e1000_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data);
sys/dev/e1000/e1000_phy.h
81
s32 e1000_write_kmrn_reg_generic(struct e1000_hw *hw, u32 offset, u16 data);
sys/dev/e1000/e1000_phy.h
82
s32 e1000_write_kmrn_reg_locked(struct e1000_hw *hw, u32 offset, u16 data);
sys/dev/e1000/e1000_phy.h
83
s32 e1000_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data);
sys/dev/e1000/e1000_phy.h
84
s32 e1000_write_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 data);
sys/dev/e1000/e1000_phy.h
85
s32 e1000_write_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 data);
sys/dev/e1000/e1000_phy.h
91
s32 e1000_write_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 data);
sys/dev/e1000/e1000_phy.h
92
s32 e1000_read_phy_reg_bm(struct e1000_hw *hw, u32 offset, u16 *data);
sys/dev/e1000/e1000_phy.h
93
s32 e1000_enable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg);
sys/dev/e1000/e1000_phy.h
94
s32 e1000_disable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg);
sys/dev/e1000/e1000_phy.h
95
s32 e1000_read_phy_reg_bm2(struct e1000_hw *hw, u32 offset, u16 *data);
sys/dev/e1000/e1000_phy.h
96
s32 e1000_write_phy_reg_bm2(struct e1000_hw *hw, u32 offset, u16 data);
sys/dev/e1000/e1000_phy.h
99
s32 e1000_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data);
sys/dev/e1000/e1000_vf.c
221
static s32 e1000_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed,
sys/dev/e1000/e1000_vf.c
222
u16 *duplex)
sys/dev/e1000/e1000_vf.c
375
(((u16) mc_addr[5]) << bit_shift)));
sys/dev/e1000/e1000_vf.c
381
u32 *msg, u16 size)
sys/dev/e1000/e1000_vf.c
404
u16 *hash_list = (u16 *)&msgbuf[1];
sys/dev/e1000/e1000_vf.c
446
void e1000_vfta_set_vf(struct e1000_hw *hw, u16 vid, bool set)
sys/dev/e1000/e1000_vf.c
463
void e1000_rlpml_set_vf(struct e1000_hw *hw, u16 max_size)
sys/dev/e1000/e1000_vf.c
47
static s32 e1000_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed,
sys/dev/e1000/e1000_vf.c
48
u16 *duplex);
sys/dev/e1000/e1000_vf.h
103
u16 ip_id; /* IP id */
sys/dev/e1000/e1000_vf.h
104
u16 csum; /* Packet Checksum */
sys/dev/e1000/e1000_vf.h
110
u16 length; /* Packet length */
sys/dev/e1000/e1000_vf.h
111
u16 vlan; /* VLAN tag */
sys/dev/e1000/e1000_vf.h
205
s32 (*get_link_up_info)(struct e1000_hw *, u16 *, u16 *);
sys/dev/e1000/e1000_vf.h
222
u16 mta_reg_count;
sys/dev/e1000/e1000_vf.h
223
u16 rar_entry_count;
sys/dev/e1000/e1000_vf.h
230
s32 (*read)(struct e1000_hw *, u32 *, u16, u16);
sys/dev/e1000/e1000_vf.h
231
s32 (*write)(struct e1000_hw *, u32 *, u16, u16);
sys/dev/e1000/e1000_vf.h
232
s32 (*read_posted)(struct e1000_hw *, u32 *, u16, u16);
sys/dev/e1000/e1000_vf.h
233
s32 (*write_posted)(struct e1000_hw *, u32 *, u16, u16);
sys/dev/e1000/e1000_vf.h
234
s32 (*check_for_msg)(struct e1000_hw *, u16);
sys/dev/e1000/e1000_vf.h
235
s32 (*check_for_ack)(struct e1000_hw *, u16);
sys/dev/e1000/e1000_vf.h
236
s32 (*check_for_rst)(struct e1000_hw *, u16);
sys/dev/e1000/e1000_vf.h
253
u16 size;
sys/dev/e1000/e1000_vf.h
275
u16 device_id;
sys/dev/e1000/e1000_vf.h
276
u16 subsystem_vendor_id;
sys/dev/e1000/e1000_vf.h
277
u16 subsystem_device_id;
sys/dev/e1000/e1000_vf.h
278
u16 vendor_id;
sys/dev/e1000/e1000_vf.h
292
s32 e1000_read_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value);
sys/dev/e1000/e1000_vf.h
293
void e1000_vfta_set_vf(struct e1000_hw *, u16, bool);
sys/dev/e1000/e1000_vf.h
294
void e1000_rlpml_set_vf(struct e1000_hw *, u16);
sys/dev/e1000/e1000_vf.h
95
u16 pkt_info;
sys/dev/e1000/e1000_vf.h
97
u16 hdr_info;
sys/dev/e1000/if_em.c
2759
u16 phy_tmp;
sys/dev/e1000/if_em.c
2822
u16 hwm;
sys/dev/e1000/if_em.c
2823
u16 max_frame_size;
sys/dev/e1000/if_em.c
2937
u16 size = 512;
sys/dev/e1000/if_em.c
3006
u16 hang_state;
sys/dev/e1000/if_em.c
3051
u16 phy_tmp = 0;
sys/dev/e1000/if_em.c
4017
em_if_vlan_register(if_ctx_t ctx, u16 vtag)
sys/dev/e1000/if_em.c
4038
em_if_vlan_unregister(if_ctx_t ctx, u16 vtag)
sys/dev/e1000/if_em.c
418
static void em_if_vlan_register(if_ctx_t, u16);
sys/dev/e1000/if_em.c
419
static void em_if_vlan_unregister(if_ctx_t, u16);
sys/dev/e1000/if_em.c
4380
u16 eeprom_data = 0, device_id, apme_mask;
sys/dev/e1000/if_em.c
4577
u16 preg;
sys/dev/e1000/if_em.c
4585
e1000_write_phy_reg(hw, BM_MTA(i), (u16)(mreg & 0xFFFF));
sys/dev/e1000/if_em.c
4587
(u16)((mreg >> 16) & 0xFFFF));
sys/dev/e1000/if_em.c
4663
u16 link_cap,link_ctrl;
sys/dev/e1000/if_em.c
5437
u16 eeprom_data;
sys/dev/e1000/if_em.c
5758
u16 edata;
sys/dev/e1000/if_em.h
510
u16 num_vlans;
sys/dev/e1000/if_em.h
533
u16 link_active;
sys/dev/e1000/if_em.h
534
u16 fc;
sys/dev/e1000/if_em.h
535
u16 link_speed;
sys/dev/e1000/if_em.h
536
u16 link_duplex;
sys/dev/e1000/if_em.h
565
u16 vf_ifp;
sys/dev/ena/ena.c
3177
u16 req_id;
sys/dev/ena/ena_datapath.c
850
struct mbuf *mbuf, void **push_hdr, u16 *header_len)
sys/dev/enic/cq_desc.h
48
const u8 type, const u8 color, const u16 q_number,
sys/dev/enic/cq_desc.h
49
const u16 completed_index)
sys/dev/enic/cq_desc.h
59
u8 *type, u8 *color, u16 *q_number, u16 *completed_index)
sys/dev/enic/cq_enet_desc.h
111
u8 type, u8 color, u16 q_number, u16 completed_index,
sys/dev/enic/cq_enet_desc.h
113
u32 rss_hash, u16 bytes_written, u8 packet_error, u8 vlan_stripped,
sys/dev/enic/cq_enet_desc.h
114
u16 vlan, u16 checksum, u8 fcoe_sof, u8 fcoe_fc_crc_ok,
sys/dev/enic/cq_enet_desc.h
164
u8 *type, u8 *color, u16 *q_number, u16 *completed_index,
sys/dev/enic/cq_enet_desc.h
166
u8 *csum_not_calc, u32 *rss_hash, u16 *bytes_written, u8 *packet_error,
sys/dev/enic/cq_enet_desc.h
167
u8 *vlan_stripped, u16 *vlan_tci, u16 *checksum, u8 *fcoe_sof,
sys/dev/enic/cq_enet_desc.h
172
u16 completed_index_flags;
sys/dev/enic/cq_enet_desc.h
173
u16 q_number_rss_type_flags;
sys/dev/enic/cq_enet_desc.h
174
u16 bytes_written_flags;
sys/dev/enic/cq_enet_desc.h
20
u8 type, u8 color, u16 q_number, u16 completed_index)
sys/dev/enic/cq_enet_desc.h
27
u8 *type, u8 *color, u16 *q_number, u16 *completed_index)
sys/dev/enic/enic.h
227
u16 max_mtu;
sys/dev/enic/enic_res.c
141
int enic_add_vlan(struct enic *enic, u16 vlanid)
sys/dev/enic/enic_res.c
154
int enic_del_vlan(struct enic *enic, u16 vlanid)
sys/dev/enic/enic_res.h
63
int enic_add_vlan(struct enic *enic, u16 vlanid);
sys/dev/enic/enic_res.h
64
int enic_del_vlan(struct enic *enic, u16 vlanid);
sys/dev/enic/enic_txrx.c
332
u16 completed_index, void (*buf_service) (struct vnic_wq *wq,
sys/dev/enic/enic_txrx.c
376
u16 q_number, u16 completed_index, void *opaque)
sys/dev/enic/enic_txrx.c
387
u16 in_completed_index, int desc_return,
sys/dev/enic/enic_txrx.c
398
u16 q_number, completed_index, bytes_written, vlan_tci, checksum;
sys/dev/enic/enic_txrx.c
437
u8 type, u16 q_number, u16 completed_index, void *opaque)
sys/dev/enic/enic_txrx.c
66
static int enic_wq_service(struct vnic_dev *, struct cq_desc *, u8, u16, u16,
sys/dev/enic/enic_txrx.c
68
static int enic_rq_service(struct vnic_dev *, struct cq_desc *, u8, u16, u16,
sys/dev/enic/rq_enet_desc.h
30
u64 address, u8 type, u16 length)
sys/dev/enic/rq_enet_desc.h
38
u64 *address, u8 *type, u16 *length)
sys/dev/enic/vnic_cq.h
128
u16 q_number, completed_index;
sys/dev/enic/vnic_cq.h
86
u8 type, u16 q_number, u16 completed_index, void *opaque),
sys/dev/enic/vnic_cq.h
91
u16 q_number, completed_index;
sys/dev/enic/vnic_dev.c
1122
u16 vxlan_udp_port_number)
sys/dev/enic/vnic_dev.c
540
*(u16 *)value = (u16)a0;
sys/dev/enic/vnic_dev.c
775
void *notify_addr, bus_addr_t notify_pa, u16 intr)
sys/dev/enic/vnic_dev.c
804
int vnic_dev_notify_set(struct vnic_dev *vdev, u16 intr)
sys/dev/enic/vnic_dev.h
106
int vnic_dev_raise_intr(struct vnic_dev *vdev, u16 intr);
sys/dev/enic/vnic_dev.h
107
int vnic_dev_notify_set(struct vnic_dev *vdev, u16 intr);
sys/dev/enic/vnic_dev.h
111
void *notify_addr, bus_addr_t notify_pa, u16 intr);
sys/dev/enic/vnic_dev.h
160
int vnic_dev_classifier(struct vnic_dev *vdev, u8 cmd, u16 *entry,
sys/dev/enic/vnic_dev.h
165
u16 vxlan_udp_port_number);
sys/dev/enic/vnic_dev.h
80
void vnic_dev_cmd_proxy_by_index_start(struct vnic_dev *vdev, u16 index);
sys/dev/enic/vnic_dev.h
81
void vnic_dev_cmd_proxy_by_bdf_start(struct vnic_dev *vdev, u16 bdf);
sys/dev/enic/vnic_dev.h
91
int vnic_dev_asic_info(struct vnic_dev *vdev, u16 *asic_type, u16 *asic_rev);
sys/dev/enic/vnic_devcmd.h
1104
u16 pad;
sys/dev/enic/vnic_devcmd.h
1105
u16 flags;
sys/dev/enic/vnic_devcmd.h
1114
u16 completed_index; /* into copy WQ */
sys/dev/enic/vnic_devcmd.h
724
u16 asic_type;
sys/dev/enic/vnic_devcmd.h
725
u16 asic_rev;
sys/dev/enic/vnic_devcmd.h
781
u16 vlan;
sys/dev/enic/vnic_devcmd.h
782
u16 ethtype;
sys/dev/enic/vnic_devcmd.h
812
u16 src_port;
sys/dev/enic/vnic_devcmd.h
813
u16 dst_port;
sys/dev/enic/vnic_devcmd.h
826
u16 vlan;
sys/dev/enic/vnic_devcmd.h
844
u16 vlan;
sys/dev/enic/vnic_devcmd.h
845
u16 l3_protocol;
sys/dev/enic/vnic_devcmd.h
851
u16 dst_port;
sys/dev/enic/vnic_devcmd.h
880
u16 position; /* lower position comes first */
sys/dev/enic/vnic_devcmd.h
883
u16 mask_vlan;
sys/dev/enic/vnic_devcmd.h
884
u16 val_vlan;
sys/dev/enic/vnic_devcmd.h
921
u16 filter_id;
sys/dev/enic/vnic_enet.h
18
u16 mtu;
sys/dev/enic/vnic_enet.h
19
u16 intr_timer_deprecated;
sys/dev/enic/vnic_enet.h
24
u16 loop_tag;
sys/dev/enic/vnic_enet.h
25
u16 vf_rq_count;
sys/dev/enic/vnic_enet.h
26
u16 num_arfs;
sys/dev/enic/vnic_enet.h
28
u16 rdma_qp_id;
sys/dev/enic/vnic_enet.h
29
u16 rdma_qp_count;
sys/dev/enic/vnic_enet.h
30
u16 rdma_resgrp;
sys/dev/enic/vnic_resource.h
55
u16 lif; /* loopback lif for mgmt frames */
sys/dev/enic/vnic_resource.h
56
u16 pci_slot; /* installed pci slot */
sys/dev/enic/vnic_wq.h
68
u16 next_result;
sys/dev/enic/vnic_wq.h
69
u16 result_size;
sys/dev/enic/wq_enet_desc.h
40
u64 address, u16 length, u16 mss, u16 header_length,
sys/dev/enic/wq_enet_desc.h
42
u8 vlan_tag_insert, u16 vlan_tag, u8 loopback)
sys/dev/enic/wq_enet_desc.h
59
u64 *address, u16 *length, u16 *mss, u16 *header_length,
sys/dev/enic/wq_enet_desc.h
61
u8 *vlan_tag_insert, u16 *vlan_tag, u8 *loopback)
sys/dev/iavf/iavf_adminq.c
170
desc->datalen = CPU_TO_LE16((u16)bi->size);
sys/dev/iavf/iavf_adminq.c
608
u16 iavf_clean_asq(struct iavf_hw *hw)
sys/dev/iavf/iavf_adminq.c
612
u16 ntc = asq->next_to_clean;
sys/dev/iavf/iavf_adminq.c
673
u16 buff_size,
sys/dev/iavf/iavf_adminq.c
681
u16 retval = 0;
sys/dev/iavf/iavf_adminq.c
876
u16 opcode)
sys/dev/iavf/iavf_adminq.c
897
u16 *pending)
sys/dev/iavf/iavf_adminq.c
900
u16 ntc = hw->aq.arq.next_to_clean;
sys/dev/iavf/iavf_adminq.c
903
u16 desc_idx;
sys/dev/iavf/iavf_adminq.c
904
u16 datalen;
sys/dev/iavf/iavf_adminq.c
905
u16 flags;
sys/dev/iavf/iavf_adminq.c
906
u16 ntu;
sys/dev/iavf/iavf_adminq.c
967
desc->datalen = CPU_TO_LE16((u16)bi->size);
sys/dev/iavf/iavf_adminq.h
100
u16 fw_maj_ver; /* firmware major version */
sys/dev/iavf/iavf_adminq.h
101
u16 fw_min_ver; /* firmware minor version */
sys/dev/iavf/iavf_adminq.h
103
u16 api_maj_ver; /* api major version */
sys/dev/iavf/iavf_adminq.h
104
u16 api_min_ver; /* api minor version */
sys/dev/iavf/iavf_adminq.h
119
u16 opcode);
sys/dev/iavf/iavf_adminq.h
54
u16 count; /* Number of descriptors */
sys/dev/iavf/iavf_adminq.h
55
u16 rx_buf_len; /* Admin Receive Queue buffer length */
sys/dev/iavf/iavf_adminq.h
58
u16 next_to_use;
sys/dev/iavf/iavf_adminq.h
59
u16 next_to_clean;
sys/dev/iavf/iavf_adminq.h
73
u16 flags_ena;
sys/dev/iavf/iavf_adminq.h
74
u16 flags_dis;
sys/dev/iavf/iavf_adminq.h
86
u16 msg_len;
sys/dev/iavf/iavf_adminq.h
87
u16 buf_len;
sys/dev/iavf/iavf_adminq.h
96
u16 num_arq_entries; /* receive queue depth */
sys/dev/iavf/iavf_adminq.h
97
u16 num_asq_entries; /* send queue depth */
sys/dev/iavf/iavf_adminq.h
98
u16 arq_buf_size; /* receive queue buffer size */
sys/dev/iavf/iavf_adminq.h
99
u16 asq_buf_size; /* send queue buffer size */
sys/dev/iavf/iavf_common.c
292
void *buffer, u16 buf_len)
sys/dev/iavf/iavf_common.c
296
u16 len;
sys/dev/iavf/iavf_common.c
297
u16 i = 0;
sys/dev/iavf/iavf_common.c
404
u16 vsi_id, bool pf_lut,
sys/dev/iavf/iavf_common.c
405
u8 *lut, u16 lut_size,
sys/dev/iavf/iavf_common.c
421
desc.flags |= CPU_TO_LE16((u16)IAVF_AQ_FLAG_BUF);
sys/dev/iavf/iavf_common.c
422
desc.flags |= CPU_TO_LE16((u16)IAVF_AQ_FLAG_RD);
sys/dev/iavf/iavf_common.c
425
CPU_TO_LE16((u16)((vsi_id <<
sys/dev/iavf/iavf_common.c
428
cmd_resp->vsi_id |= CPU_TO_LE16((u16)IAVF_AQC_SET_RSS_LUT_VSI_VALID);
sys/dev/iavf/iavf_common.c
431
cmd_resp->flags |= CPU_TO_LE16((u16)
sys/dev/iavf/iavf_common.c
436
cmd_resp->flags |= CPU_TO_LE16((u16)
sys/dev/iavf/iavf_common.c
456
enum iavf_status iavf_aq_get_rss_lut(struct iavf_hw *hw, u16 vsi_id,
sys/dev/iavf/iavf_common.c
457
bool pf_lut, u8 *lut, u16 lut_size)
sys/dev/iavf/iavf_common.c
473
enum iavf_status iavf_aq_set_rss_lut(struct iavf_hw *hw, u16 vsi_id,
sys/dev/iavf/iavf_common.c
474
bool pf_lut, u8 *lut, u16 lut_size)
sys/dev/iavf/iavf_common.c
489
u16 vsi_id,
sys/dev/iavf/iavf_common.c
497
u16 key_size = sizeof(struct iavf_aqc_get_set_rss_key_data);
sys/dev/iavf/iavf_common.c
507
desc.flags |= CPU_TO_LE16((u16)IAVF_AQ_FLAG_BUF);
sys/dev/iavf/iavf_common.c
508
desc.flags |= CPU_TO_LE16((u16)IAVF_AQ_FLAG_RD);
sys/dev/iavf/iavf_common.c
511
CPU_TO_LE16((u16)((vsi_id <<
sys/dev/iavf/iavf_common.c
514
cmd_resp->vsi_id |= CPU_TO_LE16((u16)IAVF_AQC_SET_RSS_KEY_VSI_VALID);
sys/dev/iavf/iavf_common.c
529
u16 vsi_id,
sys/dev/iavf/iavf_common.c
544
u16 vsi_id,
sys/dev/iavf/iavf_common.c
955
u8 *msg, u16 msglen,
sys/dev/iavf/iavf_common.c
963
desc.flags |= CPU_TO_LE16((u16)IAVF_AQ_FLAG_SI);
sys/dev/iavf/iavf_common.c
967
desc.flags |= CPU_TO_LE16((u16)(IAVF_AQ_FLAG_BUF
sys/dev/iavf/iavf_common.c
970
desc.flags |= CPU_TO_LE16((u16)IAVF_AQ_FLAG_LB);
sys/dev/iavf/iavf_iflib.h
243
u16 num_rx_queues;
sys/dev/iavf/iavf_iflib.h
244
u16 num_tx_queues;
sys/dev/iavf/iavf_iflib.h
247
u16 max_frame_size;
sys/dev/iavf/iavf_iflib.h
256
u16 num_vlans;
sys/dev/iavf/iavf_iflib.h
257
u16 num_macs;
sys/dev/iavf/iavf_iflib.h
292
u16 flags;
sys/dev/iavf/iavf_iflib.h
312
u16 vlan;
sys/dev/iavf/iavf_iflib.h
313
u16 flags;
sys/dev/iavf/iavf_iflib.h
346
u16 promisc_flags;
sys/dev/iavf/iavf_lib.c
1308
iavf_add_mac_filter(struct iavf_sc *sc, u8 *macaddr, u16 flags)
sys/dev/iavf/iavf_lib.c
1417
iavf_add_vlan_filter(struct iavf_sc *sc, u16 vtag)
sys/dev/iavf/iavf_lib.c
1441
iavf_mark_del_vlan_filter(struct iavf_sc *sc, u16 vtag)
sys/dev/iavf/iavf_lib.h
157
#define IAVF_FILTER_USED (u16)(1 << 0)
sys/dev/iavf/iavf_lib.h
158
#define IAVF_FILTER_VLAN (u16)(1 << 1)
sys/dev/iavf/iavf_lib.h
159
#define IAVF_FILTER_ADD (u16)(1 << 2)
sys/dev/iavf/iavf_lib.h
160
#define IAVF_FILTER_DEL (u16)(1 << 3)
sys/dev/iavf/iavf_lib.h
161
#define IAVF_FILTER_MC (u16)(1 << 4)
sys/dev/iavf/iavf_lib.h
467
int iavf_add_mac_filter(struct iavf_sc *sc, u8 *macaddr, u16 flags);
sys/dev/iavf/iavf_lib.h
473
void iavf_add_vlan_filter(struct iavf_sc *sc, u16 vtag);
sys/dev/iavf/iavf_lib.h
474
int iavf_mark_del_vlan_filter(struct iavf_sc *sc, u16 vtag);
sys/dev/iavf/iavf_osdep.c
292
u16
sys/dev/iavf/iavf_osdep.c
295
u16 value;
sys/dev/iavf/iavf_osdep.c
313
iavf_write_pci_cfg(struct iavf_hw *hw, u32 reg, u16 value)
sys/dev/iavf/iavf_osdep.h
166
#define __le16 u16
sys/dev/iavf/iavf_osdep.h
169
#define __be16 u16
sys/dev/iavf/iavf_osdep.h
227
u16 iavf_read_pci_cfg(struct iavf_hw *, u32);
sys/dev/iavf/iavf_osdep.h
228
void iavf_write_pci_cfg(struct iavf_hw *, u32, u16);
sys/dev/iavf/iavf_prototype.h
112
u8 *msg, u16 msglen,
sys/dev/iavf/iavf_prototype.h
115
u8 table_id, u32 start_index, u16 buff_size,
sys/dev/iavf/iavf_prototype.h
116
void *buff, u16 *ret_buff_size,
sys/dev/iavf/iavf_prototype.h
55
u16 iavf_clean_asq(struct iavf_hw *hw);
sys/dev/iavf/iavf_prototype.h
62
u16 *events_pending);
sys/dev/iavf/iavf_prototype.h
66
u16 buff_size,
sys/dev/iavf/iavf_prototype.h
72
void *desc, void *buffer, u16 buf_len);
sys/dev/iavf/iavf_prototype.h
78
enum iavf_status iavf_aq_get_rss_lut(struct iavf_hw *hw, u16 seid,
sys/dev/iavf/iavf_prototype.h
79
bool pf_lut, u8 *lut, u16 lut_size);
sys/dev/iavf/iavf_prototype.h
80
enum iavf_status iavf_aq_set_rss_lut(struct iavf_hw *hw, u16 seid,
sys/dev/iavf/iavf_prototype.h
81
bool pf_lut, u8 *lut, u16 lut_size);
sys/dev/iavf/iavf_prototype.h
83
u16 seid,
sys/dev/iavf/iavf_prototype.h
86
u16 seid,
sys/dev/iavf/iavf_sysctls_common.h
118
u16 pci_device_id = pci_get_device(dev);
sys/dev/iavf/iavf_txrx_iflib.c
672
u16 plen;
sys/dev/iavf/iavf_type.h
1023
u16 len;
sys/dev/iavf/iavf_type.h
1029
u16 opcode;
sys/dev/iavf/iavf_type.h
1030
u16 flags;
sys/dev/iavf/iavf_type.h
1032
u16 datalen;
sys/dev/iavf/iavf_type.h
261
u16 max_fcoeq;
sys/dev/iavf/iavf_type.h
278
u16 size;
sys/dev/iavf/iavf_type.h
324
u16 func;
sys/dev/iavf/iavf_type.h
325
u16 device;
sys/dev/iavf/iavf_type.h
326
u16 lan_id;
sys/dev/iavf/iavf_type.h
327
u16 bus_id;
sys/dev/iavf/iavf_type.h
353
u16 device_id;
sys/dev/iavf/iavf_type.h
354
u16 vendor_id;
sys/dev/iavf/iavf_type.h
355
u16 subsystem_device_id;
sys/dev/iavf/iavf_type.h
356
u16 subsystem_vendor_id;
sys/dev/iavf/iavf_type.h
366
u16 num_wol_proxy_filters;
sys/dev/iavf/iavf_type.h
367
u16 wol_proxy_vsi_seid;
sys/dev/iavf/iavf_type.h
78
#define IAVF_HI_WORD(x) ((u16)(((x) >> 16) & 0xFFFF))
sys/dev/iavf/iavf_type.h
79
#define IAVF_LO_WORD(x) ((u16)((x) & 0xFFFF))
sys/dev/iavf/iavf_type.h
991
u16 length;
sys/dev/iavf/iavf_type.h
992
u16 adminstatus;
sys/dev/iavf/iavf_type.h
993
u16 msgfasttx;
sys/dev/iavf/iavf_type.h
994
u16 msgtxinterval;
sys/dev/iavf/iavf_type.h
995
u16 txparams;
sys/dev/iavf/iavf_type.h
996
u16 timers;
sys/dev/iavf/iavf_type.h
997
u16 crc8;
sys/dev/iavf/iavf_vc_common.c
1178
enum virtchnl_status_code v_retval, u8 *msg, u16 msglen __unused)
sys/dev/iavf/iavf_vc_common.c
243
u16 len;
sys/dev/iavf/iavf_vc_common.c
375
(cnt * sizeof(u16));
sys/dev/iavf/iavf_vc_common.c
396
bcopy(&f->vlan, &v->vlan_id[i], sizeof(u16));
sys/dev/iavf/iavf_vc_common.c
439
(cnt * sizeof(u16));
sys/dev/iavf/iavf_vc_common.c
461
bcopy(&f->vlan, &v->vlan_id[i], sizeof(u16));
sys/dev/iavf/iavf_vc_common.c
60
enum virtchnl_ops op, u8 *msg, u16 len)
sys/dev/iavf/iavf_vc_common.c
770
u16 lut_length;
sys/dev/iavf/iavf_vc_common.h
45
enum virtchnl_ops op, u8 *msg, u16 len);
sys/dev/iavf/iavf_vc_common.h
73
enum virtchnl_status_code v_retval, u8 *msg, u16 msglen);
sys/dev/iavf/if_iavf_iflib.c
1193
iavf_process_adminq(struct iavf_sc *sc, u16 *pending)
sys/dev/iavf/if_iavf_iflib.c
1256
u16 pending = 0;
sys/dev/iavf/if_iavf_iflib.c
1405
iavf_if_vlan_register(if_ctx_t ctx, u16 vtag)
sys/dev/iavf/if_iavf_iflib.c
1432
iavf_if_vlan_unregister(if_ctx_t ctx, u16 vtag)
sys/dev/iavf/if_iavf_iflib.c
409
u16 var;
sys/dev/iavf/if_iavf_iflib.c
72
static void iavf_if_vlan_register(if_ctx_t ctx, u16 vtag);
sys/dev/iavf/if_iavf_iflib.c
73
static void iavf_if_vlan_unregister(if_ctx_t ctx, u16 vtag);
sys/dev/iavf/if_iavf_iflib.c
98
static enum iavf_status iavf_process_adminq(struct iavf_sc *, u16 *);
sys/dev/iavf/virtchnl.h
247
u16 vsi_id;
sys/dev/iavf/virtchnl.h
248
u16 num_queue_pairs;
sys/dev/iavf/virtchnl.h
250
u16 qset_handle;
sys/dev/iavf/virtchnl.h
289
u16 num_vsis;
sys/dev/iavf/virtchnl.h
290
u16 num_queue_pairs;
sys/dev/iavf/virtchnl.h
291
u16 max_vectors;
sys/dev/iavf/virtchnl.h
292
u16 max_mtu;
sys/dev/iavf/virtchnl.h
311
u16 vsi_id;
sys/dev/iavf/virtchnl.h
312
u16 queue_id;
sys/dev/iavf/virtchnl.h
313
u16 ring_len; /* number of descriptors, multiple of 8 */
sys/dev/iavf/virtchnl.h
314
u16 headwb_enabled; /* deprecated with AVF 1.0 */
sys/dev/iavf/virtchnl.h
335
u16 vsi_id;
sys/dev/iavf/virtchnl.h
336
u16 queue_id;
sys/dev/iavf/virtchnl.h
338
u16 hdr_size;
sys/dev/iavf/virtchnl.h
339
u16 splithdr_enabled; /* deprecated with AVF 1.0 */
sys/dev/iavf/virtchnl.h
370
u16 vsi_id;
sys/dev/iavf/virtchnl.h
371
u16 num_queue_pairs;
sys/dev/iavf/virtchnl.h
390
u16 num_queue_pairs;
sys/dev/iavf/virtchnl.h
406
u16 vsi_id;
sys/dev/iavf/virtchnl.h
407
u16 vector_id;
sys/dev/iavf/virtchnl.h
408
u16 rxq_map;
sys/dev/iavf/virtchnl.h
409
u16 txq_map;
sys/dev/iavf/virtchnl.h
410
u16 rxitr_idx;
sys/dev/iavf/virtchnl.h
411
u16 txitr_idx;
sys/dev/iavf/virtchnl.h
417
u16 num_vectors;
sys/dev/iavf/virtchnl.h
435
u16 vsi_id;
sys/dev/iavf/virtchnl.h
436
u16 pad;
sys/dev/iavf/virtchnl.h
463
u16 vsi_id;
sys/dev/iavf/virtchnl.h
464
u16 num_elements;
sys/dev/iavf/virtchnl.h
485
u16 vsi_id;
sys/dev/iavf/virtchnl.h
486
u16 num_elements;
sys/dev/iavf/virtchnl.h
487
u16 vlan_id[1];
sys/dev/iavf/virtchnl.h
498
u16 vsi_id;
sys/dev/iavf/virtchnl.h
499
u16 flags;
sys/dev/iavf/virtchnl.h
540
u16 vsi_id;
sys/dev/iavf/virtchnl.h
541
u16 key_len;
sys/dev/iavf/virtchnl.h
548
u16 vsi_id;
sys/dev/iavf/virtchnl.h
549
u16 lut_entries;
sys/dev/iavf/virtchnl.h
583
u16 count; /* number of queues in a channel */
sys/dev/iavf/virtchnl.h
584
u16 offset; /* queues in a channel start from 'offset' */
sys/dev/iavf/virtchnl.h
719
u16 ceq_idx;
sys/dev/iavf/virtchnl.h
720
u16 aeq_idx;
sys/dev/iavf/virtchnl.h
739
((u16)(~0) - sizeof(struct virtchnl_vsi_queue_config_info)) /
sys/dev/iavf/virtchnl.h
743
((u16)(~0) - sizeof(struct virtchnl_irq_map_info)) /
sys/dev/iavf/virtchnl.h
747
((u16)(~0) - sizeof(struct virtchnl_ether_addr_list)) /
sys/dev/iavf/virtchnl.h
751
((u16)(~0) - sizeof(struct virtchnl_vlan_filter_list)) /
sys/dev/iavf/virtchnl.h
752
sizeof(u16),
sys/dev/iavf/virtchnl.h
755
((u16)(~0) - sizeof(struct virtchnl_iwarp_qvlist_info)) /
sys/dev/iavf/virtchnl.h
759
((u16)(~0) - sizeof(struct virtchnl_tc_info)) /
sys/dev/iavf/virtchnl.h
791
u8 *msg, u16 msglen)
sys/dev/iavf/virtchnl.h
880
valid_len += vfl->num_elements * sizeof(u16);
sys/dev/ice/ice_bitops.h
103
static inline bool ice_test_and_set_bit_internal(u16 nr, ice_bitmap_t *bitmap)
sys/dev/ice/ice_bitops.h
120
static inline bool ice_is_bit_set(const ice_bitmap_t *bitmap, u16 nr)
sys/dev/ice/ice_bitops.h
134
static inline void ice_clear_bit(u16 nr, ice_bitmap_t *bitmap)
sys/dev/ice/ice_bitops.h
147
static inline void ice_set_bit(u16 nr, ice_bitmap_t *bitmap)
sys/dev/ice/ice_bitops.h
161
ice_test_and_clear_bit(u16 nr, ice_bitmap_t *bitmap)
sys/dev/ice/ice_bitops.h
176
ice_test_and_set_bit(u16 nr, ice_bitmap_t *bitmap)
sys/dev/ice/ice_bitops.h
191
static inline void ice_zero_bitmap(ice_bitmap_t *bmp, u16 size)
sys/dev/ice/ice_bitops.h
212
const ice_bitmap_t *bmp2, u16 size)
sys/dev/ice/ice_bitops.h
215
u16 i;
sys/dev/ice/ice_bitops.h
249
const ice_bitmap_t *bmp2, u16 size)
sys/dev/ice/ice_bitops.h
252
u16 i;
sys/dev/ice/ice_bitops.h
280
const ice_bitmap_t *bmp2, u16 size)
sys/dev/ice/ice_bitops.h
283
u16 i;
sys/dev/ice/ice_bitops.h
311
const ice_bitmap_t *bmp2, u16 size)
sys/dev/ice/ice_bitops.h
314
u16 i;
sys/dev/ice/ice_bitops.h
338
static inline u16
sys/dev/ice/ice_bitops.h
339
ice_find_next_bit(const ice_bitmap_t *bitmap, u16 size, u16 offset)
sys/dev/ice/ice_bitops.h
341
u16 i, j;
sys/dev/ice/ice_bitops.h
351
u16 off = i * BITS_PER_CHUNK;
sys/dev/ice/ice_bitops.h
355
return min(size, (u16)(off + j));
sys/dev/ice/ice_bitops.h
362
u16 off = i * BITS_PER_CHUNK;
sys/dev/ice/ice_bitops.h
366
return min(size, (u16)(off + j));
sys/dev/ice/ice_bitops.h
381
static inline u16 ice_find_first_bit(const ice_bitmap_t *bitmap, u16 size)
sys/dev/ice/ice_bitops.h
399
static inline bool ice_is_any_bit_set(ice_bitmap_t *bitmap, u16 size)
sys/dev/ice/ice_bitops.h
414
static inline void ice_cp_bitmap(ice_bitmap_t *dst, ice_bitmap_t *src, u16 size)
sys/dev/ice/ice_bitops.h
431
ice_bitmap_set(ice_bitmap_t *dst, u16 pos, u16 num_bits)
sys/dev/ice/ice_bitops.h
433
u16 i;
sys/dev/ice/ice_bitops.h
448
static inline u16
sys/dev/ice/ice_bitops.h
449
ice_bitmap_hweight(ice_bitmap_t *bm, u16 size)
sys/dev/ice/ice_bitops.h
451
u16 count = 0;
sys/dev/ice/ice_bitops.h
452
u16 bit = 0;
sys/dev/ice/ice_bitops.h
471
ice_cmp_bitmap(ice_bitmap_t *bmp1, ice_bitmap_t *bmp2, u16 size)
sys/dev/ice/ice_bitops.h
474
u16 i;
sys/dev/ice/ice_bitops.h
499
ice_bitmap_from_array32(ice_bitmap_t *dst, u32 *src, u16 size)
sys/dev/ice/ice_bitops.h
514
ice_set_bit((u16)(j + bit_offset), dst);
sys/dev/ice/ice_bitops.h
529
ice_set_bit((u16)(j + bit_offset), dst);
sys/dev/ice/ice_bitops.h
65
static inline bool ice_is_bit_set_internal(u16 nr, const ice_bitmap_t *bitmap)
sys/dev/ice/ice_bitops.h
83
static inline void ice_clear_bit_internal(u16 nr, ice_bitmap_t *bitmap)
sys/dev/ice/ice_bitops.h
88
static inline void ice_set_bit_internal(u16 nr, ice_bitmap_t *bitmap)
sys/dev/ice/ice_bitops.h
93
static inline bool ice_test_and_clear_bit_internal(u16 nr,
sys/dev/ice/ice_common.c
1019
u16 mac_buf_len;
sys/dev/ice/ice_common.c
1771
void *buf, u16 buf_size, struct ice_sq_cd *cd)
sys/dev/ice/ice_common.c
1788
void *buf, u16 buf_size, struct ice_sq_cd *cd)
sys/dev/ice/ice_common.c
1804
u16 flag, bool lock)
sys/dev/ice/ice_common.c
1808
u16 msg_len;
sys/dev/ice/ice_common.c
1848
int ice_sbq_rw_reg(struct ice_hw *hw, struct ice_sbq_msg_input *in, u16 flag)
sys/dev/ice/ice_common.c
1880
static bool ice_should_retry_sq_send_cmd(u16 opcode)
sys/dev/ice/ice_common.c
1915
struct ice_aq_desc *desc, void *buf, u16 buf_size,
sys/dev/ice/ice_common.c
1922
u16 opcode;
sys/dev/ice/ice_common.c
1976
u16 buf_size, struct ice_sq_cd *cd)
sys/dev/ice/ice_common.c
2029
u16 len;
sys/dev/ice/ice_common.c
2291
ice_aq_alloc_free_res(struct ice_hw *hw, u16 num_entries,
sys/dev/ice/ice_common.c
2292
struct ice_aqc_alloc_free_res_elem *buf, u16 buf_size,
sys/dev/ice/ice_common.c
2326
ice_alloc_hw_res(struct ice_hw *hw, u16 type, u16 num, bool btm, u16 *res)
sys/dev/ice/ice_common.c
2329
u16 buf_len;
sys/dev/ice/ice_common.c
2364
int ice_free_hw_res(struct ice_hw *hw, u16 type, u16 num, u16 *res)
sys/dev/ice/ice_common.c
2367
u16 buf_len;
sys/dev/ice/ice_common.c
2499
u16 cap = LE16_TO_CPU(elem->cap);
sys/dev/ice/ice_common.c
2845
u16 cap = LE16_TO_CPU(cap_resp[i].cap);
sys/dev/ice/ice_common.c
3004
u16 cap = LE16_TO_CPU(cap_resp[i].cap);
sys/dev/ice/ice_common.c
3050
u8 *node_part_number, u16 *node_handle)
sys/dev/ice/ice_common.c
3088
u16 *node_handle)
sys/dev/ice/ice_common.c
3136
ice_aq_list_caps(struct ice_hw *hw, void *buf, u16 buf_size, u32 *cap_count,
sys/dev/ice/ice_common.c
3370
ice_aq_set_port_params(struct ice_port_info *pi, u16 bad_frame_vsi,
sys/dev/ice/ice_common.c
3377
u16 cmd_flags = 0;
sys/dev/ice/ice_common.c
3429
static u16
sys/dev/ice/ice_common.c
3432
u16 speed_phy_type_high = ICE_AQ_LINK_SPEED_UNKNOWN;
sys/dev/ice/ice_common.c
3433
u16 speed_phy_type_low = ICE_AQ_LINK_SPEED_UNKNOWN;
sys/dev/ice/ice_common.c
3578
u16 link_speeds_bitmap)
sys/dev/ice/ice_common.c
3583
u16 speed;
sys/dev/ice/ice_common.c
382
ice_aq_manage_mac_read(struct ice_hw *hw, void *buf, u16 buf_size,
sys/dev/ice/ice_common.c
389
u16 flags;
sys/dev/ice/ice_common.c
4179
ice_aq_set_event_mask(struct ice_hw *hw, u8 port_num, u16 mask,
sys/dev/ice/ice_common.c
4262
ice_aq_sff_eeprom(struct ice_hw *hw, u16 lport, u8 bus_addr,
sys/dev/ice/ice_common.c
4263
u16 mem_addr, u8 page, u8 set_page, u8 *data, u8 length,
sys/dev/ice/ice_common.c
4284
cmd->eeprom_page = CPU_TO_LE16((u16)page << ICE_AQC_SFF_EEPROM_PAGE_S);
sys/dev/ice/ice_common.c
4362
static u16 ice_lut_type_to_size(u16 lut_type)
sys/dev/ice/ice_common.c
4378
static u16 ice_lut_size_to_flag(u16 lut_size)
sys/dev/ice/ice_common.c
4380
u16 f = 0;
sys/dev/ice/ice_common.c
4422
u16 flags, vsi_id, lut_type, lut_size, glob_lut_idx = 0, vsi_handle;
sys/dev/ice/ice_common.c
4509
static int __ice_aq_get_set_rss_key(struct ice_hw *hw, u16 vsi_id,
sys/dev/ice/ice_common.c
4514
u16 key_size = sizeof(*key);
sys/dev/ice/ice_common.c
4543
ice_aq_get_rss_key(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_common.c
4562
ice_aq_set_rss_key(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_common.c
4595
struct ice_aqc_add_tx_qgrp *qg_list, u16 buf_size,
sys/dev/ice/ice_common.c
4601
u16 i, sum_size = 0;
sys/dev/ice/ice_common.c
4645
struct ice_aqc_dis_txq_item *qg_list, u16 buf_size,
sys/dev/ice/ice_common.c
4646
enum ice_disq_rst_src rst_src, u16 vmvf_num,
sys/dev/ice/ice_common.c
4653
u16 i, sz = 0;
sys/dev/ice/ice_common.c
4701
u16 item_size = ice_struct_size(item, q_id, item->num_qs);
sys/dev/ice/ice_common.c
4750
struct ice_aqc_move_txqs_data *buf, u16 buf_size,
sys/dev/ice/ice_common.c
4813
u16 buf_size, struct ice_sq_cd *cd)
sys/dev/ice/ice_common.c
4818
u16 i, sum_size = 0;
sys/dev/ice/ice_common.c
4833
u16 num_qsets = LE16_TO_CPU(list->num_qsets);
sys/dev/ice/ice_common.c
4863
u16 shift_width;
sys/dev/ice/ice_common.c
4900
u16 src_word, mask;
sys/dev/ice/ice_common.c
4903
u16 shift_width;
sys/dev/ice/ice_common.c
4915
src_word = *(u16 *)from;
sys/dev/ice/ice_common.c
4946
u16 shift_width;
sys/dev/ice/ice_common.c
4997
u16 shift_width;
sys/dev/ice/ice_common.c
5063
case sizeof(u16):
sys/dev/ice/ice_common.c
5097
ice_aq_get_internal_data(struct ice_hw *hw, u16 cluster_id, u16 table_id,
sys/dev/ice/ice_common.c
5098
u32 start, void *buf, u16 buf_size, u16 *ret_buf_size,
sys/dev/ice/ice_common.c
5099
u16 *ret_next_cluster, u16 *ret_next_table,
sys/dev/ice/ice_common.c
5144
u16 shift_width;
sys/dev/ice/ice_common.c
5178
u16 dest_word, mask;
sys/dev/ice/ice_common.c
5181
u16 shift_width;
sys/dev/ice/ice_common.c
5224
u16 shift_width;
sys/dev/ice/ice_common.c
5275
u16 shift_width;
sys/dev/ice/ice_common.c
528
u16 pcaps_size = sizeof(*pcaps);
sys/dev/ice/ice_common.c
5356
ice_get_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 q_handle)
sys/dev/ice/ice_common.c
5386
ice_ena_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 q_handle,
sys/dev/ice/ice_common.c
5387
u8 num_qgrps, struct ice_aqc_add_tx_qgrp *buf, u16 buf_size,
sys/dev/ice/ice_common.c
5491
ice_dis_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u8 num_queues,
sys/dev/ice/ice_common.c
5492
u16 *q_handles, u16 *q_ids, u32 *q_teids,
sys/dev/ice/ice_common.c
5493
enum ice_disq_rst_src rst_src, u16 vmvf_num,
sys/dev/ice/ice_common.c
5500
u16 i, buf_size;
sys/dev/ice/ice_common.c
5569
ice_cfg_vsi_qs(struct ice_port_info *pi, u16 vsi_handle, u16 tc_bitmap,
sys/dev/ice/ice_common.c
5570
u16 *maxqs, u8 owner)
sys/dev/ice/ice_common.c
5608
ice_cfg_vsi_lan(struct ice_port_info *pi, u16 vsi_handle, u16 tc_bitmap,
sys/dev/ice/ice_common.c
5609
u16 *max_lanqs)
sys/dev/ice/ice_common.c
5625
ice_cfg_vsi_rdma(struct ice_port_info *pi, u16 vsi_handle, u16 tc_bitmap,
sys/dev/ice/ice_common.c
5626
u16 *max_rdmaqs)
sys/dev/ice/ice_common.c
5644
ice_ena_vsi_rdma_qset(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
sys/dev/ice/ice_common.c
5645
u16 *rdma_qset, u16 num_qsets, u32 *qset_teid)
sys/dev/ice/ice_common.c
5651
u16 i, buf_size;
sys/dev/ice/ice_common.c
5720
ice_dis_vsi_rdma_qset(struct ice_port_info *pi, u16 count, u32 *qset_teid,
sys/dev/ice/ice_common.c
5721
u16 *q_id)
sys/dev/ice/ice_common.c
5726
u16 qg_size;
sys/dev/ice/ice_common.c
5811
static bool ice_is_main_vsi(struct ice_hw *hw, u16 vsi_handle)
sys/dev/ice/ice_common.c
5855
int ice_replay_vsi(struct ice_hw *hw, u16 vsi_handle)
sys/dev/ice/ice_common.c
5993
ice_stat_update_repc(struct ice_hw *hw, u16 vsi_handle, bool prev_stat_loaded,
sys/dev/ice/ice_common.c
5996
u16 vsi_num, no_desc, error_cnt;
sys/dev/ice/ice_common.c
6156
u16 buf_size, num_elem_ret = 0;
sys/dev/ice/ice_common.c
623
int ice_aq_get_phy_equalization(struct ice_hw *hw, u16 data_in, u16 op_code,
sys/dev/ice/ice_common.c
6320
u16 bus_addr, __le16 addr, u8 params, u8 *data,
sys/dev/ice/ice_common.c
6370
u16 bus_addr, __le16 addr, u8 params, const u8 *data,
sys/dev/ice/ice_common.c
6410
ice_aq_set_gpio(struct ice_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx, bool value,
sys/dev/ice/ice_common.c
6437
ice_aq_get_gpio(struct ice_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx,
sys/dev/ice/ice_common.c
6531
u16 i, tlv, tlv_len, tlv_start, buf, offset;
sys/dev/ice/ice_common.c
664
static u16 ice_get_link_status_datalen(struct ice_hw *hw)
sys/dev/ice/ice_common.c
6777
ice_aq_set_lldp_mib(struct ice_hw *hw, u8 mib_type, void *buf, u16 buf_size,
sys/dev/ice/ice_common.c
6790
desc.flags |= CPU_TO_LE16((u16)ICE_AQ_FLAG_RD);
sys/dev/ice/ice_common.c
6820
ice_lldp_fltr_add_remove(struct ice_hw *hw, u16 vsi_num, bool add)
sys/dev/ice/ice_common.c
6893
u32 ice_get_link_speed(u16 index)
sys/dev/ice/ice_common.c
691
u16 cmd_flags;
sys/dev/ice/ice_common.c
782
u16 fc_thres_val, tx_timer_val;
sys/dev/ice/ice_common.c
828
ice_aq_set_mac_cfg(struct ice_hw *hw, u16 max_frame_size, bool auto_drop,
sys/dev/ice/ice_common.h
100
ice_aq_get_internal_data(struct ice_hw *hw, u16 cluster_id, u16 table_id,
sys/dev/ice/ice_common.h
101
u32 start, void *buf, u16 buf_size, u16 *ret_buf_size,
sys/dev/ice/ice_common.h
102
u16 *ret_next_cluster, u16 *ret_next_table,
sys/dev/ice/ice_common.h
146
ice_aq_get_rss_key(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_common.h
149
ice_aq_set_rss_key(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_common.h
153
struct ice_aqc_add_tx_qgrp *qg_list, u16 buf_size,
sys/dev/ice/ice_common.h
159
struct ice_aqc_move_txqs_data *buf, u16 buf_size,
sys/dev/ice/ice_common.h
165
u16 buf_size, struct ice_sq_cd *cd);
sys/dev/ice/ice_common.h
169
void ice_fill_dflt_direct_cmd_desc(struct ice_aq_desc *desc, u16 opcode);
sys/dev/ice/ice_common.h
179
void *buf, u16 buf_size, struct ice_sq_cd *cd);
sys/dev/ice/ice_common.h
186
ice_aq_set_port_params(struct ice_port_info *pi, u16 bad_frame_vsi,
sys/dev/ice/ice_common.h
195
u8 *node_part_number, u16 *node_handle);
sys/dev/ice/ice_common.h
198
u16 *node_handle);
sys/dev/ice/ice_common.h
201
u16 link_speeds_bitmap);
sys/dev/ice/ice_common.h
203
ice_aq_manage_mac_read(struct ice_hw *hw, void *buf, u16 buf_size,
sys/dev/ice/ice_common.h
219
int ice_aq_get_phy_equalization(struct ice_hw *hw, u16 data_in, u16 op_code,
sys/dev/ice/ice_common.h
240
ice_aq_set_mac_cfg(struct ice_hw *hw, u16 max_frame_size, bool auto_drop,
sys/dev/ice/ice_common.h
246
ice_aq_set_event_mask(struct ice_hw *hw, u8 port_num, u16 mask,
sys/dev/ice/ice_common.h
255
ice_aq_sff_eeprom(struct ice_hw *hw, u16 lport, u8 bus_addr,
sys/dev/ice/ice_common.h
256
u16 mem_addr, u8 page, u8 set_page, u8 *data, u8 length,
sys/dev/ice/ice_common.h
258
u32 ice_get_link_speed(u16 index);
sys/dev/ice/ice_common.h
280
__ice_write_sr_word(struct ice_hw *hw, u32 offset, const u16 *data);
sys/dev/ice/ice_common.h
282
__ice_write_sr_buf(struct ice_hw *hw, u32 offset, u16 words, const u16 *data);
sys/dev/ice/ice_common.h
284
ice_cfg_vsi_rdma(struct ice_port_info *pi, u16 vsi_handle, u16 tc_bitmap,
sys/dev/ice/ice_common.h
285
u16 *max_rdmaqs);
sys/dev/ice/ice_common.h
287
ice_ena_vsi_rdma_qset(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
sys/dev/ice/ice_common.h
288
u16 *rdma_qset, u16 num_qsets, u32 *qset_teid);
sys/dev/ice/ice_common.h
290
ice_dis_vsi_rdma_qset(struct ice_port_info *pi, u16 count, u32 *qset_teid,
sys/dev/ice/ice_common.h
291
u16 *q_id);
sys/dev/ice/ice_common.h
293
ice_dis_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u8 num_queues,
sys/dev/ice/ice_common.h
294
u16 *q_handle, u16 *q_ids, u32 *q_teids,
sys/dev/ice/ice_common.h
295
enum ice_disq_rst_src rst_src, u16 vmvf_num,
sys/dev/ice/ice_common.h
298
ice_cfg_vsi_lan(struct ice_port_info *pi, u16 vsi_handle, u16 tc_bitmap,
sys/dev/ice/ice_common.h
299
u16 *max_lanqs);
sys/dev/ice/ice_common.h
301
ice_ena_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 q_handle,
sys/dev/ice/ice_common.h
302
u8 num_qgrps, struct ice_aqc_add_tx_qgrp *buf, u16 buf_size,
sys/dev/ice/ice_common.h
306
int ice_replay_vsi(struct ice_hw *hw, u16 vsi_handle);
sys/dev/ice/ice_common.h
309
ice_get_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 q_handle);
sys/dev/ice/ice_common.h
311
u16 flag, bool lock);
sys/dev/ice/ice_common.h
314
int ice_sbq_rw_reg(struct ice_hw *hw, struct ice_sbq_msg_input *in, u16 flag);
sys/dev/ice/ice_common.h
326
ice_stat_update_repc(struct ice_hw *hw, u16 vsi_handle, bool prev_stat_loaded,
sys/dev/ice/ice_common.h
354
ice_aq_set_gpio(struct ice_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx, bool value,
sys/dev/ice/ice_common.h
357
ice_aq_get_gpio(struct ice_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx,
sys/dev/ice/ice_common.h
362
ice_aq_set_lldp_mib(struct ice_hw *hw, u8 mib_type, void *buf, u16 buf_size,
sys/dev/ice/ice_common.h
366
ice_lldp_fltr_add_remove(struct ice_hw *hw, u16 vsi_num, bool add);
sys/dev/ice/ice_common.h
370
u16 bus_addr, __le16 addr, u8 params, u8 *data,
sys/dev/ice/ice_common.h
374
u16 bus_addr, __le16 addr, u8 params, const u8 *data,
sys/dev/ice/ice_common.h
70
struct ice_rq_event_info *e, u16 *pending);
sys/dev/ice/ice_common.h
79
ice_alloc_hw_res(struct ice_hw *hw, u16 type, u16 num, bool btm, u16 *res);
sys/dev/ice/ice_common.h
81
ice_free_hw_res(struct ice_hw *hw, u16 type, u16 num, u16 *res);
sys/dev/ice/ice_common.h
83
ice_aq_alloc_free_res(struct ice_hw *hw, u16 num_entries,
sys/dev/ice/ice_common.h
84
struct ice_aqc_alloc_free_res_elem *buf, u16 buf_size,
sys/dev/ice/ice_common.h
88
struct ice_aq_desc *desc, void *buf, u16 buf_size,
sys/dev/ice/ice_common.h
92
struct ice_aq_desc *desc, void *buf, u16 buf_size,
sys/dev/ice/ice_common_txrx.h
273
u16 status0, u16 ptype)
sys/dev/ice/ice_common_txrx.h
275
const u16 l3_error = (BIT(ICE_RX_FLEX_DESC_STATUS0_XSUM_IPE_S) |
sys/dev/ice/ice_common_txrx.h
277
const u16 l4_error = (BIT(ICE_RX_FLEX_DESC_STATUS0_XSUM_L4E_S) |
sys/dev/ice/ice_common_txrx.h
279
const u16 xsum_errors = (l3_error | l4_error |
sys/dev/ice/ice_common_txrx.h
383
ice_ptype_to_hash(u16 ptype)
sys/dev/ice/ice_controlq.c
1023
struct ice_aq_desc *desc, void *buf, u16 buf_size,
sys/dev/ice/ice_controlq.c
1031
u16 retval = 0;
sys/dev/ice/ice_controlq.c
1135
u16 copy_size = LE16_TO_CPU(desc->datalen);
sys/dev/ice/ice_controlq.c
1200
struct ice_aq_desc *desc, void *buf, u16 buf_size,
sys/dev/ice/ice_controlq.c
1223
void ice_fill_dflt_direct_cmd_desc(struct ice_aq_desc *desc, u16 opcode)
sys/dev/ice/ice_controlq.c
1244
struct ice_rq_event_info *e, u16 *pending)
sys/dev/ice/ice_controlq.c
1246
u16 ntc = cq->rq.next_to_clean;
sys/dev/ice/ice_controlq.c
1251
u16 desc_idx;
sys/dev/ice/ice_controlq.c
1252
u16 datalen;
sys/dev/ice/ice_controlq.c
1253
u16 flags;
sys/dev/ice/ice_controlq.c
1254
u16 ntu;
sys/dev/ice/ice_controlq.c
1269
ntu = (u16)(rd32(hw, cq->rq.head) & cq->rq.head_mask);
sys/dev/ice/ice_controlq.c
1290
e->msg_len = MIN_T(u16, datalen, e->buf_len);
sys/dev/ice/ice_controlq.c
1324
ntu = (u16)(rd32(hw, cq->rq.head) & cq->rq.head_mask);
sys/dev/ice/ice_controlq.c
1325
*pending = (u16)((ntc > ntu ? cq->rq.count : 0) + (ntu - ntc));
sys/dev/ice/ice_controlq.c
268
ice_cfg_cq_regs(struct ice_hw *hw, struct ice_ctl_q_ring *ring, u16 num_entries)
sys/dev/ice/ice_controlq.c
877
static u16 ice_clean_sq(struct ice_hw *hw, struct ice_ctl_q_info *cq)
sys/dev/ice/ice_controlq.c
880
u16 ntc = sq->next_to_clean;
sys/dev/ice/ice_controlq.c
953
void *desc, void *buf, u16 buf_len, bool response)
sys/dev/ice/ice_controlq.c
956
u16 datalen, flags;
sys/dev/ice/ice_controlq.c
988
MIN_T(u16, buf_len, datalen));
sys/dev/ice/ice_controlq.h
120
u16 msg_len;
sys/dev/ice/ice_controlq.h
121
u16 buf_len;
sys/dev/ice/ice_controlq.h
131
u16 num_rq_entries; /* receive queue depth */
sys/dev/ice/ice_controlq.h
132
u16 num_sq_entries; /* send queue depth */
sys/dev/ice/ice_controlq.h
133
u16 rq_buf_size; /* receive queue buffer size */
sys/dev/ice/ice_controlq.h
134
u16 sq_buf_size; /* send queue buffer size */
sys/dev/ice/ice_controlq.h
46
((u16)((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
sys/dev/ice/ice_controlq.h
94
u16 count; /* Number of descriptors */
sys/dev/ice/ice_controlq.h
97
u16 next_to_use;
sys/dev/ice/ice_controlq.h
98
u16 next_to_clean;
sys/dev/ice/ice_dcb.c
1015
u16 app_prio = LE16_TO_CPU(cee_cfg->oper_app_prio);
sys/dev/ice/ice_dcb.c
1016
u16 ice_aqc_cee_app_mask, ice_aqc_cee_app_shift;
sys/dev/ice/ice_dcb.c
1018
u16 ice_app_prot_id_type;
sys/dev/ice/ice_dcb.c
1081
u16 prot_id = cmp_dcbcfg->app[j].prot_id;
sys/dev/ice/ice_dcb.c
135
void *buf, u16 buf_size, u16 tlv_len, u16 *mib_len,
sys/dev/ice/ice_dcb.c
1362
u16 typelen;
sys/dev/ice/ice_dcb.c
1403
u16 typelen;
sys/dev/ice/ice_dcb.c
1432
u16 typelen;
sys/dev/ice/ice_dcb.c
1469
u16 typelen, len, offset = 0;
sys/dev/ice/ice_dcb.c
1519
u16 typelen;
sys/dev/ice/ice_dcb.c
153
desc.flags |= CPU_TO_LE16((u16)(ICE_AQ_FLAG_RD));
sys/dev/ice/ice_dcb.c
1555
u16 typelen;
sys/dev/ice/ice_dcb.c
1582
u16 typelen;
sys/dev/ice/ice_dcb.c
1628
u16 typelen;
sys/dev/ice/ice_dcb.c
1652
u16 tlvid)
sys/dev/ice/ice_dcb.c
1700
void ice_dcb_cfg_to_lldp(u8 *lldpmib, u16 *miblen, struct ice_dcbx_cfg *dcbcfg)
sys/dev/ice/ice_dcb.c
1702
u16 len, offset = 0, tlvid = ICE_TLV_ID_START;
sys/dev/ice/ice_dcb.c
1704
u16 typelen;
sys/dev/ice/ice_dcb.c
1736
u16 miblen;
sys/dev/ice/ice_dcb.c
1775
struct ice_aqc_port_ets_elem *buf, u16 buf_size,
sys/dev/ice/ice_dcb.c
184
u16 buf_size, u16 old_len, u16 new_len, u16 offset,
sys/dev/ice/ice_dcb.c
185
u16 *mib_len, struct ice_sq_cd *cd)
sys/dev/ice/ice_dcb.c
1869
struct ice_aqc_port_ets_elem *buf, u16 buf_size,
sys/dev/ice/ice_dcb.c
198
desc.flags |= CPU_TO_LE16((u16)(ICE_AQ_FLAG_RD));
sys/dev/ice/ice_dcb.c
421
u16 offset = 0;
sys/dev/ice/ice_dcb.c
422
u16 typelen;
sys/dev/ice/ice_dcb.c
424
u16 len;
sys/dev/ice/ice_dcb.c
51
u16 buf_size, u16 *local_len, u16 *remote_len,
sys/dev/ice/ice_dcb.c
514
u16 offset = 0;
sys/dev/ice/ice_dcb.c
595
u16 len, typelen, offset = 0;
sys/dev/ice/ice_dcb.c
651
u16 len, tlvlen, typelen;
sys/dev/ice/ice_dcb.c
671
u16 sublen;
sys/dev/ice/ice_dcb.c
736
u16 offset = 0;
sys/dev/ice/ice_dcb.c
738
u16 typelen;
sys/dev/ice/ice_dcb.c
739
u16 type;
sys/dev/ice/ice_dcb.c
740
u16 len;
sys/dev/ice/ice_dcb.h
220
u16 buf_size, u16 *local_len, u16 *remote_len,
sys/dev/ice/ice_dcb.h
224
void *buf, u16 buf_size, u16 tlv_len, u16 *mib_len,
sys/dev/ice/ice_dcb.h
228
u16 buf_size, u16 old_len, u16 new_len, u16 offset,
sys/dev/ice/ice_dcb.h
229
u16 *mib_len, struct ice_sq_cd *cd);
sys/dev/ice/ice_dcb.h
254
void ice_dcb_cfg_to_lldp(u8 *lldpmib, u16 *miblen, struct ice_dcbx_cfg *dcbcfg);
sys/dev/ice/ice_dcb.h
257
struct ice_aqc_port_ets_elem *buf, u16 buf_size,
sys/dev/ice/ice_dcb.h
261
struct ice_aqc_port_ets_elem *buf, u16 buf_size,
sys/dev/ice/ice_ddp_common.c
1002
u16 val;
sys/dev/ice/ice_ddp_common.c
1125
u16 size;
sys/dev/ice/ice_ddp_common.c
119
ice_aq_update_pkg(struct ice_hw *hw, struct ice_buf_hdr *pkg_buf, u16 buf_size,
sys/dev/ice/ice_ddp_common.c
1214
u16 prof_index = 0, j, max_prof_index = 0;
sys/dev/ice/ice_ddp_common.c
1501
u16 i;
sys/dev/ice/ice_ddp_common.c
1557
ice_set_bit((u16)offset, bm);
sys/dev/ice/ice_ddp_common.c
1595
u16 i;
sys/dev/ice/ice_ddp_common.c
1607
if (!ice_is_bit_set(bm, (u16)offset))
sys/dev/ice/ice_ddp_common.c
1666
u16 i;
sys/dev/ice/ice_ddp_common.c
1716
ice_pkg_buf_reserve_section(struct ice_buf_build *bld, u16 count)
sys/dev/ice/ice_ddp_common.c
1719
u16 section_count;
sys/dev/ice/ice_ddp_common.c
1720
u16 data_end;
sys/dev/ice/ice_ddp_common.c
1756
ice_pkg_buf_alloc_section(struct ice_buf_build *bld, u32 type, u16 size)
sys/dev/ice/ice_ddp_common.c
1759
u16 sect_count;
sys/dev/ice/ice_ddp_common.c
1760
u16 data_end;
sys/dev/ice/ice_ddp_common.c
1807
ice_pkg_buf_alloc_single_section(struct ice_hw *hw, u32 type, u16 size,
sys/dev/ice/ice_ddp_common.c
1848
ice_pkg_buf_unreserve_section(struct ice_buf_build *bld, u16 count)
sys/dev/ice/ice_ddp_common.c
1851
u16 section_count;
sys/dev/ice/ice_ddp_common.c
1852
u16 data_end;
sys/dev/ice/ice_ddp_common.c
1882
u16 ice_pkg_buf_get_free_space(struct ice_buf_build *bld)
sys/dev/ice/ice_ddp_common.c
1903
u16 ice_pkg_buf_get_active_sections(struct ice_buf_build *bld)
sys/dev/ice/ice_ddp_common.c
1955
u16 section_count;
sys/dev/ice/ice_ddp_common.c
1956
u16 data_end;
sys/dev/ice/ice_ddp_common.c
2045
u16 offset, size;
sys/dev/ice/ice_ddp_common.c
2192
ice_find_boost_entry(struct ice_seg *ice_seg, u16 addr,
sys/dev/ice/ice_ddp_common.c
2234
u16 val;
sys/dev/ice/ice_ddp_common.c
2359
ice_get_set_tx_topo(struct ice_hw *hw, u8 *buf, u16 buf_size,
sys/dev/ice/ice_ddp_common.c
2410
u16 i, size = 0, offset;
sys/dev/ice/ice_ddp_common.c
436
u16 buf_size, struct ice_sq_cd *cd)
sys/dev/ice/ice_ddp_common.c
51
u16 buf_size, bool last_buf, u32 *error_offset,
sys/dev/ice/ice_ddp_common.c
871
u16 size;
sys/dev/ice/ice_ddp_common.c
96
u16 buf_size, struct ice_sq_cd *cd)
sys/dev/ice/ice_ddp_common.c
967
u16 *value)
sys/dev/ice/ice_ddp_common.c
998
u16 *value)
sys/dev/ice/ice_ddp_common.h
401
u16 reserved_section_table_entries;
sys/dev/ice/ice_ddp_common.h
426
ice_pkg_buf_alloc_section(struct ice_buf_build *bld, u32 type, u16 size);
sys/dev/ice/ice_ddp_common.h
428
ice_pkg_buf_reserve_section(struct ice_buf_build *bld, u16 count);
sys/dev/ice/ice_ddp_common.h
433
ice_pkg_buf_unreserve_section(struct ice_buf_build *bld, u16 count);
sys/dev/ice/ice_ddp_common.h
434
u16 ice_pkg_buf_get_free_space(struct ice_buf_build *bld);
sys/dev/ice/ice_ddp_common.h
435
u16 ice_pkg_buf_get_active_sections(struct ice_buf_build *bld);
sys/dev/ice/ice_ddp_common.h
475
ice_pkg_buf_alloc_single_section(struct ice_hw *hw, u32 type, u16 size,
sys/dev/ice/ice_flex_pipe.c
1020
ice_vsig_update_xlt2_sect(struct ice_hw *hw, enum ice_block blk, u16 vsi,
sys/dev/ice/ice_flex_pipe.c
1021
u16 vsig)
sys/dev/ice/ice_flex_pipe.c
1054
u16 vsi;
sys/dev/ice/ice_flex_pipe.c
1060
u16 vsig;
sys/dev/ice/ice_flex_pipe.c
1085
ice_vsig_find_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 *vsig)
sys/dev/ice/ice_flex_pipe.c
1107
static u16 ice_vsig_alloc_val(struct ice_hw *hw, enum ice_block blk, u16 vsig)
sys/dev/ice/ice_flex_pipe.c
1109
u16 idx = vsig & ICE_VSIG_IDX_M;
sys/dev/ice/ice_flex_pipe.c
1127
static u16 ice_vsig_alloc(struct ice_hw *hw, enum ice_block blk)
sys/dev/ice/ice_flex_pipe.c
1129
u16 i;
sys/dev/ice/ice_flex_pipe.c
1155
struct LIST_HEAD_TYPE *chs, u16 *vsig)
sys/dev/ice/ice_flex_pipe.c
1158
u16 i;
sys/dev/ice/ice_flex_pipe.c
1180
ice_vsig_free(struct ice_hw *hw, enum ice_block blk, u16 vsig)
sys/dev/ice/ice_flex_pipe.c
1184
u16 idx;
sys/dev/ice/ice_flex_pipe.c
1241
ice_vsig_remove_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 vsig)
sys/dev/ice/ice_flex_pipe.c
1244
u16 idx;
sys/dev/ice/ice_flex_pipe.c
1299
ice_vsig_add_mv_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 vsig)
sys/dev/ice/ice_flex_pipe.c
130
void ice_add_tunnel_hint(struct ice_hw *hw, char *label_name, u16 val)
sys/dev/ice/ice_flex_pipe.c
1302
u16 orig_vsig, idx;
sys/dev/ice/ice_flex_pipe.c
133
u16 i;
sys/dev/ice/ice_flex_pipe.c
1361
u16 off;
sys/dev/ice/ice_flex_pipe.c
1382
static bool ice_prof_id_rsrc_type(enum ice_block blk, u16 *rsrc_type)
sys/dev/ice/ice_flex_pipe.c
1402
static bool ice_tcam_ent_rsrc_type(enum ice_block blk, u16 *rsrc_type)
sys/dev/ice/ice_flex_pipe.c
1429
u16 *tcam_idx)
sys/dev/ice/ice_flex_pipe.c
1431
u16 res_type;
sys/dev/ice/ice_flex_pipe.c
1448
ice_free_tcam_ent(struct ice_hw *hw, enum ice_block blk, u16 tcam_idx)
sys/dev/ice/ice_flex_pipe.c
1450
u16 res_type;
sys/dev/ice/ice_flex_pipe.c
1470
u16 res_type;
sys/dev/ice/ice_flex_pipe.c
1471
u16 get_prof;
sys/dev/ice/ice_flex_pipe.c
1495
u16 tmp_prof_id = (u16)prof_id;
sys/dev/ice/ice_flex_pipe.c
1496
u16 res_type;
sys/dev/ice/ice_flex_pipe.c
1532
u16 off;
sys/dev/ice/ice_flex_pipe.c
1617
u16 pt;
sys/dev/ice/ice_flex_pipe.c
1637
u16 vsi;
sys/dev/ice/ice_flex_pipe.c
1640
u16 vsig;
sys/dev/ice/ice_flex_pipe.c
1660
u16 i;
sys/dev/ice/ice_flex_pipe.c
1826
u16 j;
sys/dev/ice/ice_flex_pipe.c
1875
xlt2->t = (u16 *)ice_calloc(hw, xlt2->count, sizeof(*xlt2->t));
sys/dev/ice/ice_flex_pipe.c
1906
es->ref_count = (u16 *)
sys/dev/ice/ice_flex_pipe.c
2002
u16 i;
sys/dev/ice/ice_flex_pipe.c
2147
ice_prof_gen_key(struct ice_hw *hw, enum ice_block blk, u8 ptg, u16 vsig,
sys/dev/ice/ice_flex_pipe.c
2148
u8 cdid, u16 flags, u8 vl_msk[ICE_TCAM_KEY_VAL_SZ],
sys/dev/ice/ice_flex_pipe.c
2203
ice_tcam_write_entry(struct ice_hw *hw, enum ice_block blk, u16 idx,
sys/dev/ice/ice_flex_pipe.c
2204
u8 prof_id, u8 ptg, u16 vsig, u8 cdid, u16 flags,
sys/dev/ice/ice_flex_pipe.c
2230
ice_vsig_get_ref(struct ice_hw *hw, enum ice_block blk, u16 vsig, u16 *refs)
sys/dev/ice/ice_flex_pipe.c
2232
u16 idx = vsig & ICE_VSIG_IDX_M;
sys/dev/ice/ice_flex_pipe.c
2257
ice_has_prof_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, u64 hdl)
sys/dev/ice/ice_flex_pipe.c
2259
u16 idx = vsig & ICE_VSIG_IDX_M;
sys/dev/ice/ice_flex_pipe.c
2283
u16 vec_size = hw->blk[blk].es.fvw * sizeof(struct ice_fv_word);
sys/dev/ice/ice_flex_pipe.c
2288
u16 off = tmp->prof_id * hw->blk[blk].es.fvw;
sys/dev/ice/ice_flex_pipe.c
2443
u16 pkg_sects;
sys/dev/ice/ice_flex_pipe.c
2444
u16 xlt1 = 0;
sys/dev/ice/ice_flex_pipe.c
2445
u16 xlt2 = 0;
sys/dev/ice/ice_flex_pipe.c
2446
u16 tcam = 0;
sys/dev/ice/ice_flex_pipe.c
2447
u16 es = 0;
sys/dev/ice/ice_flex_pipe.c
2449
u16 sects;
sys/dev/ice/ice_flex_pipe.c
253
static bool ice_bits_max_set(const u8 *mask, u16 size, u16 max)
sys/dev/ice/ice_flex_pipe.c
255
u16 count = 0;
sys/dev/ice/ice_flex_pipe.c
2552
u16 ptype;
sys/dev/ice/ice_flex_pipe.c
256
u16 i;
sys/dev/ice/ice_flex_pipe.c
2688
static u16
sys/dev/ice/ice_flex_pipe.c
2689
ice_vsig_prof_id_count(struct ice_hw *hw, enum ice_block blk, u16 vsig)
sys/dev/ice/ice_flex_pipe.c
2691
u16 idx = vsig & ICE_VSIG_IDX_M, count = 0;
sys/dev/ice/ice_flex_pipe.c
2708
ice_rel_tcam_idx(struct ice_hw *hw, enum ice_block blk, u16 idx)
sys/dev/ice/ice_flex_pipe.c
2739
u16 i;
sys/dev/ice/ice_flex_pipe.c
2761
ice_rem_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig,
sys/dev/ice/ice_flex_pipe.c
2764
u16 idx = vsig & ICE_VSIG_IDX_M;
sys/dev/ice/ice_flex_pipe.c
2799
p->vsi = (u16)(vsi_cur - hw->blk[blk].xlt2.vsis);
sys/dev/ice/ice_flex_pipe.c
2818
ice_rem_prof_id_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, u64 hdl,
sys/dev/ice/ice_flex_pipe.c
2821
u16 idx = vsig & ICE_VSIG_IDX_M;
sys/dev/ice/ice_flex_pipe.c
2857
u16 i;
sys/dev/ice/ice_flex_pipe.c
2935
u16 i;
sys/dev/ice/ice_flex_pipe.c
2983
ice_get_profs_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig,
sys/dev/ice/ice_flex_pipe.c
2987
u16 idx = vsig & ICE_VSIG_IDX_M;
sys/dev/ice/ice_flex_pipe.c
299
ice_set_key(u8 *key, u16 size, u8 *val, u8 *upd, u8 *dc, u8 *nm, u16 off,
sys/dev/ice/ice_flex_pipe.c
300
u16 len)
sys/dev/ice/ice_flex_pipe.c
302
u16 half_size;
sys/dev/ice/ice_flex_pipe.c
3027
u16 i;
sys/dev/ice/ice_flex_pipe.c
303
u16 i;
sys/dev/ice/ice_flex_pipe.c
3068
ice_move_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 vsig,
sys/dev/ice/ice_flex_pipe.c
3072
u16 orig_vsig;
sys/dev/ice/ice_flex_pipe.c
3105
ice_rem_chg_tcam_ent(struct ice_hw *hw, u16 idx, struct LIST_HEAD_TYPE *chg)
sys/dev/ice/ice_flex_pipe.c
3129
u16 vsig, struct ice_tcam_inf *tcam,
sys/dev/ice/ice_flex_pipe.c
3196
ice_adj_prof_priorities(struct ice_hw *hw, enum ice_block blk, u16 vsig,
sys/dev/ice/ice_flex_pipe.c
3202
u16 idx;
sys/dev/ice/ice_flex_pipe.c
3218
u16 i;
sys/dev/ice/ice_flex_pipe.c
3269
ice_add_prof_id_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, u64 hdl,
sys/dev/ice/ice_flex_pipe.c
3279
u16 vsig_idx, i;
sys/dev/ice/ice_flex_pipe.c
3305
u16 tcam_idx;
sys/dev/ice/ice_flex_pipe.c
3375
ice_create_prof_id_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl,
sys/dev/ice/ice_flex_pipe.c
3379
u16 new_vsig;
sys/dev/ice/ice_flex_pipe.c
339
static bool ice_tunnel_port_in_use_hlpr(struct ice_hw *hw, u16 port, u16 *index)
sys/dev/ice/ice_flex_pipe.c
341
u16 i;
sys/dev/ice/ice_flex_pipe.c
3425
ice_create_vsig_from_lst(struct ice_hw *hw, enum ice_block blk, u16 vsi,
sys/dev/ice/ice_flex_pipe.c
3426
struct LIST_HEAD_TYPE *lst, u16 *new_vsig,
sys/dev/ice/ice_flex_pipe.c
3431
u16 vsig;
sys/dev/ice/ice_flex_pipe.c
3462
ice_find_prof_vsig(struct ice_hw *hw, enum ice_block blk, u64 hdl, u16 *vsig)
sys/dev/ice/ice_flex_pipe.c
3500
ice_add_vsi_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 vsig)
sys/dev/ice/ice_flex_pipe.c
3538
ice_add_prof_id_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl)
sys/dev/ice/ice_flex_pipe.c
3545
u16 vsig;
sys/dev/ice/ice_flex_pipe.c
3559
u16 or_vsig;
sys/dev/ice/ice_flex_pipe.c
3560
u16 ref;
sys/dev/ice/ice_flex_pipe.c
362
bool ice_tunnel_port_in_use(struct ice_hw *hw, u16 port, u16 *index)
sys/dev/ice/ice_flex_pipe.c
3685
ice_add_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi[], u8 count,
sys/dev/ice/ice_flex_pipe.c
3688
u16 i;
sys/dev/ice/ice_flex_pipe.c
3734
ice_rem_prof_id_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl)
sys/dev/ice/ice_flex_pipe.c
3740
u16 vsig;
sys/dev/ice/ice_flex_pipe.c
3750
u16 ref;
sys/dev/ice/ice_flex_pipe.c
382
ice_tunnel_get_type(struct ice_hw *hw, u16 port, enum ice_tunnel_type *type)
sys/dev/ice/ice_flex_pipe.c
385
u16 i;
sys/dev/ice/ice_flex_pipe.c
3868
ice_rem_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi[], u8 count,
sys/dev/ice/ice_flex_pipe.c
3871
u16 i;
sys/dev/ice/ice_flex_pipe.c
411
u16 *index)
sys/dev/ice/ice_flex_pipe.c
413
u16 i;
sys/dev/ice/ice_flex_pipe.c
434
u16 *port)
sys/dev/ice/ice_flex_pipe.c
437
u16 i;
sys/dev/ice/ice_flex_pipe.c
465
ice_create_tunnel(struct ice_hw *hw, enum ice_tunnel_type type, u16 port)
sys/dev/ice/ice_flex_pipe.c
470
u16 index;
sys/dev/ice/ice_flex_pipe.c
518
(u16)offsetof(struct ice_boost_key_value, hv_dst_port_key),
sys/dev/ice/ice_flex_pipe.c
551
int ice_destroy_tunnel(struct ice_hw *hw, u16 port, bool all)
sys/dev/ice/ice_flex_pipe.c
556
u16 count = 0;
sys/dev/ice/ice_flex_pipe.c
557
u16 index;
sys/dev/ice/ice_flex_pipe.c
558
u16 size;
sys/dev/ice/ice_flex_pipe.c
559
u16 i, j;
sys/dev/ice/ice_flex_pipe.c
655
u16 i;
sys/dev/ice/ice_flex_pipe.c
661
u16 refs = hw->tnl.tbl[i].ref;
sys/dev/ice/ice_flex_pipe.c
662
u16 port = hw->tnl.tbl[i].port;
sys/dev/ice/ice_flex_pipe.c
703
ice_find_prot_off(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 fv_idx,
sys/dev/ice/ice_flex_pipe.c
704
u8 *prot, u16 *off)
sys/dev/ice/ice_flex_pipe.c
737
u16 index;
sys/dev/ice/ice_flex_pipe.c
770
ice_ptg_find_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 *ptg)
sys/dev/ice/ice_flex_pipe.c
829
ice_ptg_remove_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 ptg)
sys/dev/ice/ice_flex_pipe.c
876
ice_ptg_add_mv_ptype(struct ice_hw *hw, enum ice_block blk, u16 ptype, u8 ptg)
sys/dev/ice/ice_flex_pipe.c
917
u16 xlt1; /* # XLT1 entries */
sys/dev/ice/ice_flex_pipe.c
918
u16 xlt2; /* # XLT2 entries */
sys/dev/ice/ice_flex_pipe.c
919
u16 prof_tcam; /* # profile ID TCAM entries */
sys/dev/ice/ice_flex_pipe.c
920
u16 prof_id; /* # profile IDs */
sys/dev/ice/ice_flex_pipe.c
922
u16 prof_redir; /* # profile redirection entries */
sys/dev/ice/ice_flex_pipe.c
923
u16 es; /* # extraction sequence entries */
sys/dev/ice/ice_flex_pipe.c
924
u16 fvw; /* # field vector words */
sys/dev/ice/ice_flex_pipe.c
979
u16 chk_count = 0;
sys/dev/ice/ice_flex_pipe.c
980
u16 count = 0;
sys/dev/ice/ice_flex_pipe.h
105
void ice_add_tunnel_hint(struct ice_hw *hw, char *label_name, u16 val);
sys/dev/ice/ice_flex_pipe.h
38
ice_find_prot_off(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 fv_idx,
sys/dev/ice/ice_flex_pipe.h
39
u8 *prot, u16 *off);
sys/dev/ice/ice_flex_pipe.h
42
u16 *value);
sys/dev/ice/ice_flex_pipe.h
50
u16 buf_size, struct ice_sq_cd *cd);
sys/dev/ice/ice_flex_pipe.h
53
u16 *port);
sys/dev/ice/ice_flex_pipe.h
55
ice_create_tunnel(struct ice_hw *hw, enum ice_tunnel_type type, u16 port);
sys/dev/ice/ice_flex_pipe.h
56
int ice_destroy_tunnel(struct ice_hw *hw, u16 port, bool all);
sys/dev/ice/ice_flex_pipe.h
57
bool ice_tunnel_port_in_use(struct ice_hw *hw, u16 port, u16 *index);
sys/dev/ice/ice_flex_pipe.h
59
ice_tunnel_get_type(struct ice_hw *hw, u16 port, enum ice_tunnel_type *type);
sys/dev/ice/ice_flex_pipe.h
69
ice_vsig_find_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 *vsig);
sys/dev/ice/ice_flex_pipe.h
76
ice_add_vsi_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u16 vsig);
sys/dev/ice/ice_flex_pipe.h
78
ice_add_prof_id_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl);
sys/dev/ice/ice_flex_pipe.h
80
ice_rem_prof_id_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl);
sys/dev/ice/ice_flex_pipe.h
90
ice_add_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi[], u8 count,
sys/dev/ice/ice_flex_pipe.h
93
ice_rem_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi[], u8 count,
sys/dev/ice/ice_flex_type.h
243
u16 boost_addr;
sys/dev/ice/ice_flex_type.h
244
u16 port;
sys/dev/ice/ice_flex_type.h
245
u16 ref;
sys/dev/ice/ice_flex_type.h
256
u16 count;
sys/dev/ice/ice_flex_type.h
267
u16 count;
sys/dev/ice/ice_flex_type.h
268
u16 fvw;
sys/dev/ice/ice_flex_type.h
269
u16 *ref_count;
sys/dev/ice/ice_flex_type.h
312
u16 tcam_idx;
sys/dev/ice/ice_flex_type.h
335
u16 changed;
sys/dev/ice/ice_flex_type.h
336
u16 vsig;
sys/dev/ice/ice_flex_type.h
348
u16 count;
sys/dev/ice/ice_flex_type.h
362
((u16)((((u16)(vsig)) & ICE_VSIG_IDX_M) | \
sys/dev/ice/ice_flex_type.h
363
(((u16)(pf_id) << ICE_PF_NUM_S) & ICE_PF_NUM_M)))
sys/dev/ice/ice_flex_type.h
370
u16 *t;
sys/dev/ice/ice_flex_type.h
372
u16 count;
sys/dev/ice/ice_flex_type.h
41
u16 off; /* Offset within the protocol header */
sys/dev/ice/ice_flex_type.h
422
u16 count;
sys/dev/ice/ice_flex_type.h
423
u16 max_prof_id;
sys/dev/ice/ice_flex_type.h
431
u16 count;
sys/dev/ice/ice_flex_type.h
462
u16 ptype;
sys/dev/ice/ice_flex_type.h
465
u16 vsi;
sys/dev/ice/ice_flex_type.h
466
u16 vsig;
sys/dev/ice/ice_flex_type.h
467
u16 orig_vsig;
sys/dev/ice/ice_flex_type.h
468
u16 tcam_idx;
sys/dev/ice/ice_flow.c
1006
ice_flow_assoc_vsig_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi_handle,
sys/dev/ice/ice_flow.c
1007
u16 vsig)
sys/dev/ice/ice_flow.c
1034
struct ice_flow_prof *prof, u16 vsi_handle)
sys/dev/ice/ice_flow.c
1065
struct ice_flow_prof *prof, u16 vsi_handle)
sys/dev/ice/ice_flow.c
1183
enum ice_flow_fld_match_type field_type, u16 val_loc,
sys/dev/ice/ice_flow.c
1184
u16 mask_loc, u16 last_loc)
sys/dev/ice/ice_flow.c
1220
u16 val_loc, u16 mask_loc, u16 last_loc, bool range)
sys/dev/ice/ice_flow.c
1247
u16 val_loc, u16 pref_loc, u8 pref_sz)
sys/dev/ice/ice_flow.c
1254
pref_loc, (u16)pref_sz);
sys/dev/ice/ice_flow.c
1283
u16 i;
sys/dev/ice/ice_flow.c
1289
(u16)ICE_FLOW_FIELD_IDX_MAX)
sys/dev/ice/ice_flow.c
1335
void ice_rem_vsi_rss_list(struct ice_hw *hw, u16 vsi_handle)
sys/dev/ice/ice_flow.c
1362
int ice_rem_vsi_rss_cfg(struct ice_hw *hw, u16 vsi_handle)
sys/dev/ice/ice_flow.c
1367
u16 vsig;
sys/dev/ice/ice_flow.c
1439
ice_rem_rss_list(struct ice_hw *hw, u16 vsi_handle, struct ice_flow_prof *prof)
sys/dev/ice/ice_flow.c
1444
u16 i;
sys/dev/ice/ice_flow.c
1480
ice_add_rss_list(struct ice_hw *hw, u16 vsi_handle, struct ice_flow_prof *prof)
sys/dev/ice/ice_flow.c
1485
u16 i;
sys/dev/ice/ice_flow.c
1548
ice_add_rss_cfg_sync(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_flow.c
1660
ice_add_rss_cfg(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_flow.c
1698
ice_rem_rss_cfg_sync(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_flow.c
1758
ice_rem_rss_cfg(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_flow.c
1829
int ice_add_avf_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 avf_hash)
sys/dev/ice/ice_flow.c
1921
int ice_replay_rss_cfg(struct ice_hw *hw, u16 vsi_handle)
sys/dev/ice/ice_flow.c
1952
u64 ice_get_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u32 hdrs)
sys/dev/ice/ice_flow.c
394
u16 entry_length; /* # of bytes formatted entry will require */
sys/dev/ice/ice_flow.c
54
u16 size; /* Size of fields in bits */
sys/dev/ice/ice_flow.c
568
u16 cnt, ese_bits, i;
sys/dev/ice/ice_flow.c
569
u16 off;
sys/dev/ice/ice_flow.c
787
u8 segs_cnt, u16 vsi_handle, u32 conds)
sys/dev/ice/ice_flow.h
233
u16 off; /* Starting offset of the field in header in bytes */
sys/dev/ice/ice_flow.h
249
u16 val; /* Offset where the value is located */
sys/dev/ice/ice_flow.h
250
u16 mask; /* Offset where the mask/prefix value is located */
sys/dev/ice/ice_flow.h
251
u16 last; /* Length or offset where the upper value is located */
sys/dev/ice/ice_flow.h
334
ice_flow_assoc_vsig_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi_handle,
sys/dev/ice/ice_flow.h
335
u16 vsig);
sys/dev/ice/ice_flow.h
341
u16 val_loc, u16 prefix_loc, u8 prefix_sz);
sys/dev/ice/ice_flow.h
342
void ice_rem_vsi_rss_list(struct ice_hw *hw, u16 vsi_handle);
sys/dev/ice/ice_flow.h
343
int ice_replay_rss_cfg(struct ice_hw *hw, u16 vsi_handle);
sys/dev/ice/ice_flow.h
345
ice_add_avf_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u64 hashed_flds);
sys/dev/ice/ice_flow.h
346
int ice_rem_vsi_rss_cfg(struct ice_hw *hw, u16 vsi_handle);
sys/dev/ice/ice_flow.h
348
ice_add_rss_cfg(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_flow.h
351
ice_rem_rss_cfg(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_flow.h
353
u64 ice_get_rss_cfg(struct ice_hw *hw, u16 vsi_handle, u32 hdrs);
sys/dev/ice/ice_fw_logging.c
155
u16 option = (u16)arg2;
sys/dev/ice/ice_fw_logging.c
351
u16 i;
sys/dev/ice/ice_fwlog.c
145
u16 num_entries, u16 options, u16 log_resolution)
sys/dev/ice/ice_fwlog.c
151
u16 i;
sys/dev/ice/ice_fwlog.c
240
u16 num_entries)
sys/dev/ice/ice_fwlog.c
242
u16 i;
sys/dev/ice/ice_fwlog.c
246
u16 j;
sys/dev/ice/ice_fwlog.c
275
u16 num_entries)
sys/dev/ice/ice_fwlog.c
375
u16 i, module_id_cnt;
sys/dev/ice/ice_fwlog.c
54
u16 num_entries)
sys/dev/ice/ice_fwlog.c
56
u16 i;
sys/dev/ice/ice_fwlog.h
53
u16 module_id;
sys/dev/ice/ice_fwlog.h
72
u16 options;
sys/dev/ice/ice_fwlog.h
74
u16 log_resolution;
sys/dev/ice/ice_fwlog.h
85
u16 num_entries);
sys/dev/ice/ice_iflib.h
152
u16 desc_count;
sys/dev/ice/ice_iflib.h
157
u16 q_handle;
sys/dev/ice/ice_iflib.h
194
u16 desc_count;
sys/dev/ice/ice_iflib.h
219
u16 num_irq_vectors;
sys/dev/ice/ice_iflib.h
220
u16 *if_imap;
sys/dev/ice/ice_iflib.h
221
u16 *os_imap;
sys/dev/ice/ice_iflib.h
275
u16 *rdma_imap;
sys/dev/ice/ice_iflib.h
278
u16 num_available_vsi; /* Size of VSI array */
sys/dev/ice/ice_iflib.h
300
u16 *pf_imap;
sys/dev/ice/ice_iflib.h
349
u16 num_vfs;
sys/dev/ice/ice_iflib_txrx.c
395
u16 status0, plen, ptype;
sys/dev/ice/ice_iflib_txrx.c
564
u16 tc_base_queue, tc_qcount;
sys/dev/ice/ice_iov.c
1345
u16 vector;
sys/dev/ice/ice_iov.c
1523
u16 vid;
sys/dev/ice/ice_iov.c
1672
u16 v_id = event->desc.retval;
sys/dev/ice/ice_iov.c
1674
u16 msglen = event->msg_len;
sys/dev/ice/ice_iov.c
1771
u16 v;
sys/dev/ice/ice_iov.c
1774
u16 vf_first_irq_idx = vf->vf_imap[0];
sys/dev/ice/ice_iov.c
1775
u16 vf_last_irq_idx = (vf_first_irq_idx + vf->num_irq_vectors) - 1;
sys/dev/ice/ice_iov.c
1776
u16 abs_vf_first_irq_idx = hw->func_caps.common_cap.msix_vector_first_id +
sys/dev/ice/ice_iov.c
1778
u16 abs_vf_last_irq_idx = (abs_vf_first_irq_idx + vf->num_irq_vectors) - 1;
sys/dev/ice/ice_iov.c
1779
u16 abs_vf_num = vf->vf_num + hw->func_caps.vf_base_id;
sys/dev/ice/ice_iov.c
333
(u16 *)malloc(sizeof(u16) * vf->num_irq_vectors,
sys/dev/ice/ice_iov.c
543
u16 global_vf_num, reg_idx, bit_idx;
sys/dev/ice/ice_iov.c
56
static bool ice_vc_isvalid_ring_len(u16 ring_len);
sys/dev/ice/ice_iov.c
621
u16 vf_res_len;
sys/dev/ice/ice_iov.c
750
u16 added_addr_cnt = 0;
sys/dev/ice/ice_iov.c
818
u16 deleted_addr_cnt = 0;
sys/dev/ice/ice_iov.c
953
ice_vc_isvalid_ring_len(u16 ring_len)
sys/dev/ice/ice_iov.h
85
u16 vf_num;
sys/dev/ice/ice_iov.h
88
u16 mac_filter_limit;
sys/dev/ice/ice_iov.h
89
u16 mac_filter_cnt;
sys/dev/ice/ice_iov.h
90
u16 vlan_limit;
sys/dev/ice/ice_iov.h
91
u16 vlan_cnt;
sys/dev/ice/ice_iov.h
93
u16 num_irq_vectors;
sys/dev/ice/ice_iov.h
94
u16 *vf_imap;
sys/dev/ice/ice_lan_tx_rx.h
1038
u16 cgd_num; /* bigger than needed, see above for reason */
sys/dev/ice/ice_lan_tx_rx.h
1040
u16 vmvf_num;
sys/dev/ice/ice_lan_tx_rx.h
1045
u16 src_vsi;
sys/dev/ice/ice_lan_tx_rx.h
1049
u16 cpuid; /* bigger than needed, see above for reason */
sys/dev/ice/ice_lan_tx_rx.h
1054
u16 cmpq_id;
sys/dev/ice/ice_lan_tx_rx.h
1055
u16 qnum_in_func;
sys/dev/ice/ice_lan_tx_rx.h
1061
u16 tso_qnum;
sys/dev/ice/ice_lan_tx_rx.h
1067
u16 tail;
sys/dev/ice/ice_lan_tx_rx.h
1073
u16 txq_id;
sys/dev/ice/ice_lan_tx_rx.h
1075
u16 tx_head;
sys/dev/ice/ice_lan_tx_rx.h
1101
u16 vmvf_num;
sys/dev/ice/ice_lan_tx_rx.h
1114
u16 txq_id;
sys/dev/ice/ice_lan_tx_rx.h
1136
u16 ring_len;
sys/dev/ice/ice_lan_tx_rx.h
1139
u16 vf_num;
sys/dev/ice/ice_lan_tx_rx.h
1148
u16 rd_head;
sys/dev/ice/ice_lan_tx_rx.h
1149
u16 rd_tail;
sys/dev/ice/ice_lan_tx_rx.h
2360
static inline struct ice_rx_ptype_decoded ice_decode_rx_desc_ptype(u16 ptype)
sys/dev/ice/ice_lan_tx_rx.h
819
u16 head;
sys/dev/ice/ice_lan_tx_rx.h
820
u16 cpuid; /* bigger than needed, see above for reason */
sys/dev/ice/ice_lan_tx_rx.h
823
u16 qlen;
sys/dev/ice/ice_lan_tx_rx.h
825
u16 dbuf; /* bigger than needed, see above for reason */
sys/dev/ice/ice_lan_tx_rx.h
827
u16 hbuf; /* bigger than needed, see above for reason */
sys/dev/ice/ice_lan_tx_rx.h
840
u16 lrxqthresh; /* bigger than needed, see above for reason */
sys/dev/ice/ice_lan_tx_rx.h
845
u16 offset;
sys/dev/ice/ice_lan_tx_rx.h
846
u16 size_of;
sys/dev/ice/ice_lan_tx_rx.h
847
u16 width;
sys/dev/ice/ice_lan_tx_rx.h
848
u16 lsb;
sys/dev/ice/ice_lib.c
10169
ice_read_sff_eeprom(struct ice_softc *sc, u16 dev_addr, u16 offset, u8* data, u16 length)
sys/dev/ice/ice_lib.c
103
static void ice_set_pci_link_status_data(struct ice_hw *hw, u16 link_status);
sys/dev/ice/ice_lib.c
10374
(u16 *)malloc(sizeof(u16) * hw->func_caps.common_cap.num_msix_vectors,
sys/dev/ice/ice_lib.c
10381
(u16 *)malloc(sizeof(u16) * hw->func_caps.common_cap.num_msix_vectors,
sys/dev/ice/ice_lib.c
10439
static u16
sys/dev/ice/ice_lib.c
10440
ice_apply_supported_speed_filter(u16 report_speeds, u8 mod_type)
sys/dev/ice/ice_lib.c
10442
u16 speed_mask;
sys/dev/ice/ice_lib.c
10467
speed_mask = ~((u16)ICE_AQ_LINK_SPEED_100MB - 1);
sys/dev/ice/ice_lib.c
10469
speed_mask = ~((u16)ICE_AQ_LINK_SPEED_1000MB - 1);
sys/dev/ice/ice_lib.c
10471
speed_mask = ~((u16)ICE_AQ_LINK_SPEED_1000MB - 1);
sys/dev/ice/ice_lib.c
10473
speed_mask = ~((u16)ICE_AQ_LINK_SPEED_1000MB - 1);
sys/dev/ice/ice_lib.c
10475
speed_mask = ~((u16)ICE_AQ_LINK_SPEED_10GB - 1);
sys/dev/ice/ice_lib.c
10479
speed_mask = ~((u16)ICE_AQ_LINK_SPEED_25GB - 1);
sys/dev/ice/ice_lib.c
10525
u16 status_code = le16toh(elem->health_status_code);
sys/dev/ice/ice_lib.c
10671
u16 status_count;
sys/dev/ice/ice_lib.c
11048
u16 *output)
sys/dev/ice/ice_lib.c
11050
u16 flag = (ICE_AQ_FLAG_RD | ICE_AQ_FLAG_BUF | ICE_AQ_FLAG_SI);
sys/dev/ice/ice_lib.c
11078
ice_get_port_fec_stats(struct ice_hw *hw, u16 pcs_quad, u16 pcs_port,
sys/dev/ice/ice_lib.c
11082
u16 uncorr_low_val = 0, uncorr_high_val = 0;
sys/dev/ice/ice_lib.c
11084
u16 corr_low_val = 0, corr_high_val = 0;
sys/dev/ice/ice_lib.c
11277
u16 node_handle;
sys/dev/ice/ice_lib.c
11718
u16 ret_buf_size = 0;
sys/dev/ice/ice_lib.c
11719
u16 ret_next_cluster = 0;
sys/dev/ice/ice_lib.c
11720
u16 ret_next_table = 0;
sys/dev/ice/ice_lib.c
130
u16 ethertype, u16 direction,
sys/dev/ice/ice_lib.c
133
static u16 ice_aq_phy_types_to_link_speeds(u64 phy_type_low,
sys/dev/ice/ice_lib.c
1384
ice_configure_rxq_interrupt(struct ice_hw *hw, u16 rxqid, u16 vector, u8 itr_idx)
sys/dev/ice/ice_lib.c
1432
ice_configure_txq_interrupt(struct ice_hw *hw, u16 txqid, u16 vector, u8 itr_idx)
sys/dev/ice/ice_lib.c
152
ice_sysctl_speeds_to_aq_phy_types(u16 sysctl_speeds, u64 *phy_type_low,
sys/dev/ice/ice_lib.c
154
static u16 ice_apply_supported_speed_filter(u16 report_speeds, u8 mod_type);
sys/dev/ice/ice_lib.c
1595
ice_setup_tx_ctx(struct ice_tx_queue *txq, struct ice_tlan_ctx *tlan_ctx, u16 pf_q)
sys/dev/ice/ice_lib.c
1664
u16 qg_size, pf_q;
sys/dev/ice/ice_lib.c
1733
u16 pf_q;
sys/dev/ice/ice_lib.c
185
static u16 ice_fw_debug_dump_print_cluster(struct ice_softc *sc,
sys/dev/ice/ice_lib.c
186
struct sbuf *sbuf, u16 cluster_id);
sys/dev/ice/ice_lib.c
1872
ice_control_rx_queue(struct ice_vsi *vsi, u16 qidx, bool enable)
sys/dev/ice/ice_lib.c
193
u32 reg_offset, u16 *output);
sys/dev/ice/ice_lib.c
194
static int ice_get_port_fec_stats(struct ice_hw *hw, u16 pcs_quad, u16 pcs_port,
sys/dev/ice/ice_lib.c
2274
u16 opcode;
sys/dev/ice/ice_lib.c
2317
ice_process_ctrlq(struct ice_softc *sc, enum ice_ctl_q q_type, u16 *pending)
sys/dev/ice/ice_lib.c
2590
u16 vsi_num;
sys/dev/ice/ice_lib.c
3129
static u16
sys/dev/ice/ice_lib.c
3132
u16 sysctl_speeds = 0;
sys/dev/ice/ice_lib.c
3160
ice_sysctl_speeds_to_aq_phy_types(u16 sysctl_speeds, u64 *phy_type_low,
sys/dev/ice/ice_lib.c
3201
u16 user_speeds_orig; /* Input from caller - See ICE_AQ_LINK_SPEED_* */
sys/dev/ice/ice_lib.c
3202
u16 user_speeds_intr; /* Intersect with report speeds */
sys/dev/ice/ice_lib.c
3228
u16 report_speeds, temp_speeds;
sys/dev/ice/ice_lib.c
3307
u16 sysctl_speeds;
sys/dev/ice/ice_lib.c
463
vsi->tx_qmap = malloc(sizeof(u16) * max_tx_queues, M_ICE, M_WAITOK);
sys/dev/ice/ice_lib.c
466
vsi->rx_qmap = malloc(sizeof(u16) * max_rx_queues, M_ICE, M_WAITOK);
sys/dev/ice/ice_lib.c
5532
ice_add_vlan_hw_filters(struct ice_vsi *vsi, u16 *vid, u16 length)
sys/dev/ice/ice_lib.c
5548
for (u16 i = 0; i < length; i++) {
sys/dev/ice/ice_lib.c
5564
for (u16 i = 0; i < length; i++) {
sys/dev/ice/ice_lib.c
5583
ice_add_vlan_hw_filter(struct ice_vsi *vsi, u16 vid)
sys/dev/ice/ice_lib.c
5597
ice_remove_vlan_hw_filters(struct ice_vsi *vsi, u16 *vid, u16 length)
sys/dev/ice/ice_lib.c
5613
for (u16 i = 0; i < length; i++) {
sys/dev/ice/ice_lib.c
5629
for (u16 i = 0; i < length; i++) {
sys/dev/ice/ice_lib.c
5648
ice_remove_vlan_hw_filter(struct ice_vsi *vsi, u16 vid)
sys/dev/ice/ice_lib.c
594
u16 qmap;
sys/dev/ice/ice_lib.c
655
u16 rule_id, dest_vsi;
sys/dev/ice/ice_lib.c
6559
static u16
sys/dev/ice/ice_lib.c
656
u16 count = 1;
sys/dev/ice/ice_lib.c
6560
ice_fw_debug_dump_print_cluster(struct ice_softc *sc, struct sbuf *sbuf, u16 cluster_id)
sys/dev/ice/ice_lib.c
6564
u16 data_buf_size = ICE_AQ_MAX_BUF_LEN;
sys/dev/ice/ice_lib.c
6571
u16 table_id = 0;
sys/dev/ice/ice_lib.c
6575
u16 ret_buf_size = 0;
sys/dev/ice/ice_lib.c
6576
u16 ret_next_cluster = 0;
sys/dev/ice/ice_lib.c
6577
u16 ret_next_table = 0;
sys/dev/ice/ice_lib.c
6694
u16 next_cluster_id, max_cluster_id, start_cluster_id;
sys/dev/ice/ice_lib.c
7046
u16 *q_ids, *q_handles;
sys/dev/ice/ice_lib.c
7059
q_ids = (u16 *)malloc(q_ids_size, M_ICE, M_NOWAIT|M_ZERO);
sys/dev/ice/ice_lib.c
7066
q_handles = (u16 *)malloc(q_handles_size, M_ICE, M_NOWAIT|M_ZERO);
sys/dev/ice/ice_lib.c
7074
u16 start_idx, end_idx;
sys/dev/ice/ice_lib.c
73
struct ice_tlan_ctx *tlan_ctx, u16 pf_q);
sys/dev/ice/ice_lib.c
734
u16 max_txqs[ICE_MAX_TRAFFIC_CLASS] = { 0 };
sys/dev/ice/ice_lib.c
8091
u16 pci_link_status;
sys/dev/ice/ice_lib.c
8238
ice_set_pci_link_status_data(struct ice_hw *hw, u16 link_status)
sys/dev/ice/ice_lib.c
8240
u16 reg;
sys/dev/ice/ice_lib.c
8290
u16 wanted_events;
sys/dev/ice/ice_lib.c
8345
u16 vf_num = (reg & GL_MDET_TX_TCLAN_VF_NUM_M) >> GL_MDET_TX_TCLAN_VF_NUM_S;
sys/dev/ice/ice_lib.c
8347
u16 queue = (reg & GL_MDET_TX_TCLAN_QNUM_M) >> GL_MDET_TX_TCLAN_QNUM_S;
sys/dev/ice/ice_lib.c
8365
u16 vf_num = (reg & GL_MDET_TX_PQM_VF_NUM_M) >> GL_MDET_TX_PQM_VF_NUM_S;
sys/dev/ice/ice_lib.c
8367
u16 queue = (reg & GL_MDET_TX_PQM_QNUM_M) >> GL_MDET_TX_PQM_QNUM_S;
sys/dev/ice/ice_lib.c
8384
u16 vf_num = (reg & GL_MDET_RX_VF_NUM_M) >> GL_MDET_RX_VF_NUM_S;
sys/dev/ice/ice_lib.c
8386
u16 queue = (reg & GL_MDET_RX_QNUM_M) >> GL_MDET_RX_QNUM_S;
sys/dev/ice/ice_lib.c
8763
u16 qcounts[ICE_MAX_TRAFFIC_CLASS] = {};
sys/dev/ice/ice_lib.c
8764
u16 offset = 0, qmap = 0, pow = 0;
sys/dev/ice/ice_lib.c
8765
u16 num_q_per_tc, qcount_rx, rem_queues;
sys/dev/ice/ice_lib.c
8857
u16 max_txqs[ICE_MAX_TRAFFIC_CLASS] = { 0 };
sys/dev/ice/ice_lib.c
9263
u16 ethertype, u16 direction,
sys/dev/ice/ice_lib.c
9364
u16 vsi_num;
sys/dev/ice/ice_lib.c
9432
u16 vsi_num;
sys/dev/ice/ice_lib.c
9564
u16 link_speeds;
sys/dev/ice/ice_lib.c
9747
u16 dflt_user_speed;
sys/dev/ice/ice_lib.h
1021
int ice_read_sff_eeprom(struct ice_softc *sc, u16 dev_addr, u16 offset, u8* data, u16 length);
sys/dev/ice/ice_lib.h
275
#define ICE_INVALID_MIRROR_VSI ((u16)-1)
sys/dev/ice/ice_lib.h
356
static inline u16 ice_itr_to_reg(struct ice_hw *hw, u16 itr_setting)
sys/dev/ice/ice_lib.h
545
u16 qoffset; /* Offset in VSI queue space */
sys/dev/ice/ice_lib.h
546
u16 qcount_tx; /* TX queues for this Traffic Class */
sys/dev/ice/ice_lib.h
547
u16 qcount_rx; /* RX queues */
sys/dev/ice/ice_lib.h
563
u16 idx; /* software index to sc->all_vsi[] */
sys/dev/ice/ice_lib.h
565
u16 *tx_qmap; /* Tx VSI to PF queue mapping */
sys/dev/ice/ice_lib.h
566
u16 *rx_qmap; /* Rx VSI to PF queue mapping */
sys/dev/ice/ice_lib.h
581
u16 rss_table_size; /* HW RSS table size */
sys/dev/ice/ice_lib.h
585
u16 mbuf_sz;
sys/dev/ice/ice_lib.h
591
u16 tc_map; /* bitmap of enabled Traffic Classes */
sys/dev/ice/ice_lib.h
611
u16 mirror_src_vsi;
sys/dev/ice/ice_lib.h
612
u16 rule_mir_ingress;
sys/dev/ice/ice_lib.h
613
u16 rule_mir_egress;
sys/dev/ice/ice_lib.h
626
u16 cluster_id; /* also used to get next cluster id */
sys/dev/ice/ice_lib.h
627
u16 table_id;
sys/dev/ice/ice_lib.h
628
u16 data_size; /* size of data field, in bytes */
sys/dev/ice/ice_lib.h
629
u16 reserved1;
sys/dev/ice/ice_lib.h
657
u16 fec_corr_cnt_low;
sys/dev/ice/ice_lib.h
658
u16 fec_corr_cnt_high;
sys/dev/ice/ice_lib.h
659
u16 fec_uncorr_cnt_low;
sys/dev/ice/ice_lib.h
660
u16 fec_uncorr_cnt_high;
sys/dev/ice/ice_lib.h
680
u16 pcs_port;
sys/dev/ice/ice_lib.h
681
u16 primary_serdes_lane;
sys/dev/ice/ice_lib.h
682
u16 serdes_lane_count;
sys/dev/ice/ice_lib.h
683
u16 pcs_quad_select;
sys/dev/ice/ice_lib.h
822
struct ice_str_buf _ice_fltr_flag_str(u16 flag);
sys/dev/ice/ice_lib.h
931
int ice_process_ctrlq(struct ice_softc *sc, enum ice_ctl_q q_type, u16 *pending);
sys/dev/ice/ice_lib.h
946
void ice_configure_rxq_interrupt(struct ice_hw *hw, u16 rxqid, u16 vector, u8 itr_idx);
sys/dev/ice/ice_lib.h
948
void ice_configure_txq_interrupt(struct ice_hw *hw, u16 txqid, u16 vector, u8 itr_idx);
sys/dev/ice/ice_lib.h
954
int ice_control_rx_queue(struct ice_vsi *vsi, u16 qidx, bool enable);
sys/dev/ice/ice_lib.h
974
int ice_add_vlan_hw_filters(struct ice_vsi *vsi, u16 *vid,
sys/dev/ice/ice_lib.h
975
u16 length);
sys/dev/ice/ice_lib.h
976
int ice_add_vlan_hw_filter(struct ice_vsi *vsi, u16 vid);
sys/dev/ice/ice_lib.h
977
int ice_remove_vlan_hw_filters(struct ice_vsi *vsi, u16 *vid,
sys/dev/ice/ice_lib.h
978
u16 length);
sys/dev/ice/ice_lib.h
979
int ice_remove_vlan_hw_filter(struct ice_vsi *vsi, u16 vid);
sys/dev/ice/ice_nvm.c
1088
orom->build = (u16)((combo_ver & ICE_OROM_VER_BUILD_MASK) >> ICE_OROM_VER_BUILD_SHIFT);
sys/dev/ice/ice_nvm.c
1127
u16 module_id, length, node_count, i;
sys/dev/ice/ice_nvm.c
1128
u16 *id_blk;
sys/dev/ice/ice_nvm.c
1157
id_blk = (u16 *)ice_calloc(hw, ICE_NETLIST_ID_BLK_SIZE, sizeof(*id_blk));
sys/dev/ice/ice_nvm.c
1163
ICE_NETLIST_ID_BLK_OFFSET(node_count) * sizeof(u16),
sys/dev/ice/ice_nvm.c
1164
(u8 *)id_blk, ICE_NETLIST_ID_BLK_SIZE * sizeof(u16));
sys/dev/ice/ice_nvm.c
1281
static int ice_read_sr_pointer(struct ice_hw *hw, u16 offset, u32 *pointer)
sys/dev/ice/ice_nvm.c
1284
u16 value;
sys/dev/ice/ice_nvm.c
1312
static int ice_read_sr_area_size(struct ice_hw *hw, u16 offset, u32 *size)
sys/dev/ice/ice_nvm.c
1315
u16 value;
sys/dev/ice/ice_nvm.c
133
offset, (u16)read_size,
sys/dev/ice/ice_nvm.c
1340
u16 ctrl_word;
sys/dev/ice/ice_nvm.c
1487
ice_read_sr_buf(struct ice_hw *hw, u16 offset, u16 *words, u16 *data)
sys/dev/ice/ice_nvm.c
1512
__ice_write_sr_word(struct ice_hw *hw, u32 offset, const u16 *data)
sys/dev/ice/ice_nvm.c
1535
__ice_write_sr_buf(struct ice_hw *hw, u32 offset, u16 words, const u16 *data)
sys/dev/ice/ice_nvm.c
1544
vmem = ice_calloc(hw, words, sizeof(u16));
sys/dev/ice/ice_nvm.c
1572
static int ice_calc_sr_checksum(struct ice_hw *hw, u16 *checksum)
sys/dev/ice/ice_nvm.c
1574
u16 pcie_alt_module = 0;
sys/dev/ice/ice_nvm.c
1575
u16 checksum_local = 0;
sys/dev/ice/ice_nvm.c
1576
u16 vpd_module;
sys/dev/ice/ice_nvm.c
1579
u16 *data;
sys/dev/ice/ice_nvm.c
1580
u16 i;
sys/dev/ice/ice_nvm.c
1584
vmem = ice_calloc(hw, ICE_SR_SECTOR_SIZE_IN_WORDS, sizeof(u16));
sys/dev/ice/ice_nvm.c
1587
data = (u16 *)vmem;
sys/dev/ice/ice_nvm.c
1606
u16 words = ICE_SR_SECTOR_SIZE_IN_WORDS;
sys/dev/ice/ice_nvm.c
161
ice_aq_update_nvm(struct ice_hw *hw, u16 module_typeid, u32 offset,
sys/dev/ice/ice_nvm.c
162
u16 length, void *data, bool last_command, u8 command_flags,
sys/dev/ice/ice_nvm.c
1628
*checksum = (u16)ICE_SR_SW_CHECKSUM_BASE - checksum_local;
sys/dev/ice/ice_nvm.c
1646
u16 checksum;
sys/dev/ice/ice_nvm.c
1668
int ice_validate_sr_checksum(struct ice_hw *hw, u16 *checksum)
sys/dev/ice/ice_nvm.c
1670
u16 checksum_local;
sys/dev/ice/ice_nvm.c
1671
u16 checksum_sr;
sys/dev/ice/ice_nvm.c
1780
int ice_nvm_write_activate(struct ice_hw *hw, u16 cmd_flags, u8 *response_flags)
sys/dev/ice/ice_nvm.c
1812
u16 valid;
sys/dev/ice/ice_nvm.c
1832
u16 minsrev_l, minsrev_h;
sys/dev/ice/ice_nvm.c
1843
u16 minsrev_l, minsrev_h;
sys/dev/ice/ice_nvm.c
1993
u16 i;
sys/dev/ice/ice_nvm.c
201
int ice_aq_erase_nvm(struct ice_hw *hw, u16 module_typeid, struct ice_sq_cd *cd)
sys/dev/ice/ice_nvm.c
243
ice_aq_read_nvm_cfg(struct ice_hw *hw, u8 cmd_flags, u16 field_id, void *data,
sys/dev/ice/ice_nvm.c
244
u16 buf_size, u16 *elem_count, struct ice_sq_cd *cd)
sys/dev/ice/ice_nvm.c
278
ice_aq_write_nvm_cfg(struct ice_hw *hw, u8 cmd_flags, void *data, u16 buf_size,
sys/dev/ice/ice_nvm.c
279
u16 elem_count, struct ice_sq_cd *cd)
sys/dev/ice/ice_nvm.c
304
ice_check_sr_access_params(struct ice_hw *hw, u32 offset, u16 words)
sys/dev/ice/ice_nvm.c
336
int ice_read_sr_word_aq(struct ice_hw *hw, u16 offset, u16 *data)
sys/dev/ice/ice_nvm.c
338
u32 bytes = sizeof(u16);
sys/dev/ice/ice_nvm.c
348
status = ice_read_flat_nvm(hw, offset * sizeof(u16), &bytes,
sys/dev/ice/ice_nvm.c
368
ice_write_sr_aq(struct ice_hw *hw, u32 offset, u16 words, __le16 *data,
sys/dev/ice/ice_nvm.c
394
ice_read_sr_buf_aq(struct ice_hw *hw, u16 offset, u16 *words, u16 *data)
sys/dev/ice/ice_nvm.c
407
*words = (u16)(bytes / 2);
sys/dev/ice/ice_nvm.c
460
static u32 ice_get_flash_bank_offset(struct ice_hw *hw, enum ice_bank_select bank, u16 module)
sys/dev/ice/ice_nvm.c
50
ice_aq_read_nvm(struct ice_hw *hw, u16 module_typeid, u32 offset, u16 length,
sys/dev/ice/ice_nvm.c
534
ice_read_flash_module(struct ice_hw *hw, enum ice_bank_select bank, u16 module,
sys/dev/ice/ice_nvm.c
571
ice_read_nvm_module(struct ice_hw *hw, enum ice_bank_select bank, u32 offset, u16 *data)
sys/dev/ice/ice_nvm.c
576
status = ice_read_flash_module(hw, bank, ICE_SR_1ST_NVM_BANK_PTR, offset * sizeof(u16),
sys/dev/ice/ice_nvm.c
577
(_FORCE_ u8 *)&data_local, sizeof(u16));
sys/dev/ice/ice_nvm.c
597
u16 hdr_len_l, hdr_len_h;
sys/dev/ice/ice_nvm.c
631
ice_read_nvm_sr_copy(struct ice_hw *hw, enum ice_bank_select bank, u32 offset, u16 *data)
sys/dev/ice/ice_nvm.c
657
ice_read_orom_module(struct ice_hw *hw, enum ice_bank_select bank, u32 offset, u16 *data)
sys/dev/ice/ice_nvm.c
662
status = ice_read_flash_module(hw, bank, ICE_SR_1ST_OROM_BANK_PTR, offset * sizeof(u16),
sys/dev/ice/ice_nvm.c
663
(_FORCE_ u8 *)&data_local, sizeof(u16));
sys/dev/ice/ice_nvm.c
680
ice_read_netlist_module(struct ice_hw *hw, enum ice_bank_select bank, u32 offset, u16 *data)
sys/dev/ice/ice_nvm.c
685
status = ice_read_flash_module(hw, bank, ICE_SR_NETLIST_BANK_PTR, offset * sizeof(u16),
sys/dev/ice/ice_nvm.c
686
(_FORCE_ u8 *)&data_local, sizeof(u16));
sys/dev/ice/ice_nvm.c
701
int ice_read_sr_word(struct ice_hw *hw, u16 offset, u16 *data)
sys/dev/ice/ice_nvm.c
728
ice_get_pfa_module_tlv(struct ice_hw *hw, u16 *module_tlv, u16 *module_tlv_len,
sys/dev/ice/ice_nvm.c
729
u16 module_type)
sys/dev/ice/ice_nvm.c
731
u16 pfa_len, pfa_ptr, next_tlv, max_tlv;
sys/dev/ice/ice_nvm.c
745
if (check_add_overflow(pfa_ptr, (u16)(pfa_len - 1), &max_tlv)) {
sys/dev/ice/ice_nvm.c
761
u16 tlv_sub_module_type;
sys/dev/ice/ice_nvm.c
762
u16 tlv_len;
sys/dev/ice/ice_nvm.c
765
status = ice_read_sr_word(hw, (u16)next_tlv,
sys/dev/ice/ice_nvm.c
772
status = ice_read_sr_word(hw, (u16)(next_tlv + 1), &tlv_len);
sys/dev/ice/ice_nvm.c
779
*module_tlv = (u16)next_tlv;
sys/dev/ice/ice_nvm.c
786
if (check_add_overflow(next_tlv, (u16)2, &next_tlv) ||
sys/dev/ice/ice_nvm.c
807
u16 pba_tlv, pba_tlv_len;
sys/dev/ice/ice_nvm.c
808
u16 pba_word, pba_size;
sys/dev/ice/ice_nvm.c
810
u16 i;
sys/dev/ice/ice_nvm.c
866
u16 srev_l, srev_h;
sys/dev/ice/ice_nvm.c
894
u16 eetrack_lo, eetrack_hi, ver;
sys/dev/ice/ice_nvm.c
952
u16 srev_l, srev_h;
sys/dev/ice/ice_nvm.h
116
ice_aq_read_nvm(struct ice_hw *hw, u16 module_typeid, u32 offset, u16 length,
sys/dev/ice/ice_nvm.h
123
ice_get_pfa_module_tlv(struct ice_hw *hw, u16 *module_tlv, u16 *module_tlv_len,
sys/dev/ice/ice_nvm.h
124
u16 module_type);
sys/dev/ice/ice_nvm.h
138
int ice_read_sr_word(struct ice_hw *hw, u16 offset, u16 *data);
sys/dev/ice/ice_nvm.h
139
int ice_read_sr_word_aq(struct ice_hw *hw, u16 offset, u16 *data);
sys/dev/ice/ice_nvm.h
141
ice_read_sr_buf(struct ice_hw *hw, u16 offset, u16 *words, u16 *data);
sys/dev/ice/ice_nvm.h
143
ice_aq_erase_nvm(struct ice_hw *hw, u16 module_typeid, struct ice_sq_cd *cd);
sys/dev/ice/ice_nvm.h
145
ice_aq_update_nvm(struct ice_hw *hw, u16 module_typeid, u32 offset,
sys/dev/ice/ice_nvm.h
146
u16 length, void *data, bool last_command, u8 command_flags,
sys/dev/ice/ice_nvm.h
149
ice_aq_read_nvm_cfg(struct ice_hw *hw, u8 cmd_flags, u16 field_id, void *data,
sys/dev/ice/ice_nvm.h
150
u16 buf_size, u16 *elem_count, struct ice_sq_cd *cd);
sys/dev/ice/ice_nvm.h
152
ice_aq_write_nvm_cfg(struct ice_hw *hw, u8 cmd_flags, void *data, u16 buf_size,
sys/dev/ice/ice_nvm.h
153
u16 elem_count, struct ice_sq_cd *cd);
sys/dev/ice/ice_nvm.h
155
int ice_validate_sr_checksum(struct ice_hw *hw, u16 *checksum);
sys/dev/ice/ice_nvm.h
159
ice_nvm_write_activate(struct ice_hw *hw, u16 cmd_flags, u8 *response_flags);
sys/dev/ice/ice_nvm.h
78
u16 size; /* size of ice_nvm_features structure */
sys/dev/ice/ice_osdep.c
64
u16 ice_lock_count = 0;
sys/dev/ice/ice_osdep.h
372
#define __le16 u16
sys/dev/ice/ice_osdep.h
375
#define __be16 u16
sys/dev/ice/ice_osdep.h
415
extern u16 ice_lock_count;
sys/dev/ice/ice_protocol_type.h
334
u16 prot_type;
sys/dev/ice/ice_protocol_type.h
337
u16 field_off[ICE_MAX_CHAIN_WORDS];
sys/dev/ice/ice_protocol_type.h
338
u16 field_mask[ICE_MAX_CHAIN_WORDS];
sys/dev/ice/ice_protocol_type.h
349
u16 mask[ICE_NUM_WORDS_RECIPE];
sys/dev/ice/ice_protocol_type.h
356
u16 rid;
sys/dev/ice/ice_protocol_type.h
358
u16 fv_idx[ICE_NUM_WORDS_RECIPE];
sys/dev/ice/ice_protocol_type.h
359
u16 fv_mask[ICE_NUM_WORDS_RECIPE];
sys/dev/ice/ice_resmgr.c
144
ice_resmgr_assign_contiguous(struct ice_resmgr *resmgr, u16 *idx, u16 num_res)
sys/dev/ice/ice_resmgr.c
175
ice_resmgr_assign_scattered(struct ice_resmgr *resmgr, u16 *idx, u16 num_res)
sys/dev/ice/ice_resmgr.c
218
ice_resmgr_release_map(struct ice_resmgr *resmgr, u16 *idx, u16 num_res)
sys/dev/ice/ice_resmgr.c
69
ice_resmgr_init(struct ice_resmgr *resmgr, u16 num_res)
sys/dev/ice/ice_resmgr.c
90
ice_resmgr_init_contig_only(struct ice_resmgr *resmgr, u16 num_res)
sys/dev/ice/ice_resmgr.h
103
int ice_resmgr_assign_contiguous(struct ice_resmgr *resmgr, u16 *idx, u16 num_res);
sys/dev/ice/ice_resmgr.h
104
int ice_resmgr_assign_scattered(struct ice_resmgr *resmgr, u16 *idx, u16 num_res);
sys/dev/ice/ice_resmgr.h
107
void ice_resmgr_release_map(struct ice_resmgr *resmgr, u16 *idx, u16 num_res);
sys/dev/ice/ice_resmgr.h
79
u16 num_res;
sys/dev/ice/ice_resmgr.h
98
int ice_resmgr_init(struct ice_resmgr *resmgr, u16 num_res);
sys/dev/ice/ice_resmgr.h
99
int ice_resmgr_init_contig_only(struct ice_resmgr *resmgr, u16 num_res);
sys/dev/ice/ice_sbq_cmd.h
116
u16 msg_addr_low;
sys/dev/ice/ice_sched.c
1093
u16 num_nodes, u32 *first_node_teid,
sys/dev/ice/ice_sched.c
1094
u16 *num_nodes_added)
sys/dev/ice/ice_sched.c
1096
u16 max_child_nodes;
sys/dev/ice/ice_sched.c
1137
u16 num_nodes, u32 *first_node_teid,
sys/dev/ice/ice_sched.c
1138
u16 *num_nodes_added)
sys/dev/ice/ice_sched.c
1141
u16 new_num_nodes = num_nodes;
sys/dev/ice/ice_sched.c
1147
u16 max_child_nodes, num_added = 0;
sys/dev/ice/ice_sched.c
131
u16 elems_req, void *buf, u16 buf_size,
sys/dev/ice/ice_sched.c
1312
u16 num_elems;
sys/dev/ice/ice_sched.c
132
u16 *elems_resp, struct ice_sq_cd *cd)
sys/dev/ice/ice_sched.c
1441
u16 i;
sys/dev/ice/ice_sched.c
161
ice_aq_query_sched_elems(struct ice_hw *hw, u16 elems_req,
sys/dev/ice/ice_sched.c
1615
ice_sched_get_free_qparent(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
sys/dev/ice/ice_sched.c
162
struct ice_aqc_txsched_elem_data *buf, u16 buf_size,
sys/dev/ice/ice_sched.c
1621
u16 max_children;
sys/dev/ice/ice_sched.c
163
u16 *elems_ret, struct ice_sq_cd *cd)
sys/dev/ice/ice_sched.c
1667
u16 vsi_handle)
sys/dev/ice/ice_sched.c
1754
ice_sched_calc_vsi_child_nodes(struct ice_hw *hw, u16 num_qs, u16 *num_nodes)
sys/dev/ice/ice_sched.c
1756
u16 num = num_qs;
sys/dev/ice/ice_sched.c
1784
ice_sched_add_vsi_child_nodes(struct ice_port_info *pi, u16 vsi_handle,
sys/dev/ice/ice_sched.c
1785
struct ice_sched_node *tc_node, u16 *num_nodes,
sys/dev/ice/ice_sched.c
1791
u16 num_added = 0;
sys/dev/ice/ice_sched.c
1841
struct ice_sched_node *tc_node, u16 *num_nodes)
sys/dev/ice/ice_sched.c
1889
ice_sched_add_vsi_support_nodes(struct ice_port_info *pi, u16 vsi_handle,
sys/dev/ice/ice_sched.c
1890
struct ice_sched_node *tc_node, u16 *num_nodes)
sys/dev/ice/ice_sched.c
1894
u16 num_added = 0;
sys/dev/ice/ice_sched.c
1939
ice_sched_add_vsi_to_topo(struct ice_port_info *pi, u16 vsi_handle, u8 tc)
sys/dev/ice/ice_sched.c
1941
u16 num_nodes[ICE_AQC_TOPO_MAX_LEVEL_NUM] = { 0 };
sys/dev/ice/ice_sched.c
1967
ice_sched_update_vsi_child_nodes(struct ice_port_info *pi, u16 vsi_handle,
sys/dev/ice/ice_sched.c
1968
u8 tc, u16 new_numqs, u8 owner)
sys/dev/ice/ice_sched.c
1970
u16 new_num_nodes[ICE_AQC_TOPO_MAX_LEVEL_NUM] = { 0 };
sys/dev/ice/ice_sched.c
1976
u16 prev_numqs;
sys/dev/ice/ice_sched.c
2042
ice_sched_cfg_vsi(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 maxqs,
sys/dev/ice/ice_sched.c
2118
static void ice_sched_rm_agg_vsi_info(struct ice_port_info *pi, u16 vsi_handle)
sys/dev/ice/ice_sched.c
2167
ice_sched_rm_vsi_cfg(struct ice_port_info *pi, u16 vsi_handle, u8 owner)
sys/dev/ice/ice_sched.c
2238
int ice_rm_vsi_lan_cfg(struct ice_port_info *pi, u16 vsi_handle)
sys/dev/ice/ice_sched.c
2251
int ice_rm_vsi_rdma_cfg(struct ice_port_info *pi, u16 vsi_handle)
sys/dev/ice/ice_sched.c
2293
struct ice_aqc_txsched_elem_data *buf, u16 buf_size,
sys/dev/ice/ice_sched.c
2337
u16 *num_nodes)
sys/dev/ice/ice_sched.c
2413
u16 num_items, u32 *list)
sys/dev/ice/ice_sched.c
2417
u16 i, grps_movd = 0;
sys/dev/ice/ice_sched.c
2420
u16 buf_len;
sys/dev/ice/ice_sched.c
247
ice_aq_delete_sched_elems(struct ice_hw *hw, u16 grps_req,
sys/dev/ice/ice_sched.c
2475
ice_sched_move_vsi_to_agg(struct ice_port_info *pi, u16 vsi_handle, u32 agg_id,
sys/dev/ice/ice_sched.c
2479
u16 num_nodes[ICE_AQC_TOPO_MAX_LEVEL_NUM] = { 0 };
sys/dev/ice/ice_sched.c
248
struct ice_aqc_delete_elem *buf, u16 buf_size,
sys/dev/ice/ice_sched.c
2481
u16 num_nodes_added;
sys/dev/ice/ice_sched.c
249
u16 *grps_del, struct ice_sq_cd *cd)
sys/dev/ice/ice_sched.c
2567
u16 vsi_handle = agg_vsi_info->vsi_handle;
sys/dev/ice/ice_sched.c
267
u16 num_nodes, u32 *node_teids)
sys/dev/ice/ice_sched.c
270
u16 i, num_groups_removed = 0;
sys/dev/ice/ice_sched.c
271
u16 buf_size;
sys/dev/ice/ice_sched.c
2728
u16 num_nodes[ICE_AQC_TOPO_MAX_LEVEL_NUM] = { 0 };
sys/dev/ice/ice_sched.c
2731
u16 num_nodes_added;
sys/dev/ice/ice_sched.c
2902
ice_get_agg_vsi_info(struct ice_sched_agg_info *agg_info, u16 vsi_handle)
sys/dev/ice/ice_sched.c
2924
ice_get_vsi_agg_info(struct ice_hw *hw, u16 vsi_handle)
sys/dev/ice/ice_sched.c
2950
ice_save_agg_vsi_tc_bitmap(struct ice_port_info *pi, u32 agg_id, u16 vsi_handle,
sys/dev/ice/ice_sched.c
2981
u16 vsi_handle, ice_bitmap_t *tc_bitmap)
sys/dev/ice/ice_sched.c
3051
u16 ln;
sys/dev/ice/ice_sched.c
3082
u16 elem_cfgd = 0;
sys/dev/ice/ice_sched.c
3083
u16 num_elems = 1;
sys/dev/ice/ice_sched.c
3124
enum ice_rl_type rl_type, u16 bw_alloc)
sys/dev/ice/ice_sched.c
3157
ice_move_vsi_to_agg(struct ice_port_info *pi, u32 agg_id, u16 vsi_handle,
sys/dev/ice/ice_sched.c
3226
ice_set_clear_cir_bw_alloc(struct ice_bw_type_info *bw_t_info, u16 bw_alloc)
sys/dev/ice/ice_sched.c
3244
ice_set_clear_eir_bw_alloc(struct ice_bw_type_info *bw_t_info, u16 bw_alloc)
sys/dev/ice/ice_sched.c
3264
ice_sched_save_vsi_bw_alloc(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
sys/dev/ice/ice_sched.c
3265
enum ice_rl_type rl_type, u16 bw_alloc)
sys/dev/ice/ice_sched.c
3357
ice_sched_save_vsi_bw(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
sys/dev/ice/ice_sched.c
3409
ice_sched_save_vsi_prio(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
sys/dev/ice/ice_sched.c
3437
enum ice_rl_type rl_type, u16 bw_alloc)
sys/dev/ice/ice_sched.c
3508
ice_cfg_vsi_bw_lmt_per_tc(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
sys/dev/ice/ice_sched.c
3535
ice_cfg_vsi_bw_dflt_lmt_per_tc(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
sys/dev/ice/ice_sched.c
3620
ice_cfg_vsi_bw_shared_lmt(struct ice_port_info *pi, u16 vsi_handle, u32 min_bw,
sys/dev/ice/ice_sched.c
3636
ice_cfg_vsi_bw_no_shared_lmt(struct ice_port_info *pi, u16 vsi_handle)
sys/dev/ice/ice_sched.c
3728
ice_cfg_vsi_q_priority(struct ice_port_info *pi, u16 num_qs, u32 *q_ids,
sys/dev/ice/ice_sched.c
3732
u16 i;
sys/dev/ice/ice_sched.c
3769
u16 num_vsis, u16 *vsi_handle_arr,
sys/dev/ice/ice_sched.c
3778
u16 i;
sys/dev/ice/ice_sched.c
3804
u16 vsi_handle;
sys/dev/ice/ice_sched.c
3855
ice_cfg_vsi_bw_alloc(struct ice_port_info *pi, u16 vsi_handle, u8 ena_tcmap,
sys/dev/ice/ice_sched.c
3965
static u16 ice_sched_calc_wakeup(struct ice_hw *hw, s32 bw)
sys/dev/ice/ice_sched.c
3969
u16 wakeup = 0;
sys/dev/ice/ice_sched.c
3975
wakeup = (u16)((1 << 15) | wakeup_int);
sys/dev/ice/ice_sched.c
3993
wakeup |= (u16)(wakeup_int << 9);
sys/dev/ice/ice_sched.c
3994
wakeup |= (u16)(0x1ff & wakeup_f_int);
sys/dev/ice/ice_sched.c
4052
u16 wm;
sys/dev/ice/ice_sched.c
408
struct ice_aqc_get_topo_elem *buf, u16 buf_size,
sys/dev/ice/ice_sched.c
4084
u16 profiles_added = 0, num_profiles = 1;
sys/dev/ice/ice_sched.c
4157
enum ice_rl_type rl_type, u16 rl_prof_id)
sys/dev/ice/ice_sched.c
4194
static u16
sys/dev/ice/ice_sched.c
4198
u16 rl_prof_id = ICE_SCHED_INVAL_PROF_ID;
sys/dev/ice/ice_sched.c
4301
u16 profile_id)
sys/dev/ice/ice_sched.c
4347
u16 rl_prof_id;
sys/dev/ice/ice_sched.c
4349
u16 old_id;
sys/dev/ice/ice_sched.c
437
ice_aq_add_sched_elems(struct ice_hw *hw, u16 grps_req,
sys/dev/ice/ice_sched.c
438
struct ice_aqc_add_elem *buf, u16 buf_size,
sys/dev/ice/ice_sched.c
439
u16 *grps_added, struct ice_sq_cd *cd)
sys/dev/ice/ice_sched.c
4402
u16 old_id, rl_prof_id;
sys/dev/ice/ice_sched.c
4442
u16 priority)
sys/dev/ice/ice_sched.c
4466
ice_sched_set_node_weight(struct ice_port_info *pi, struct ice_sched_node *node, u16 weight)
sys/dev/ice/ice_sched.c
458
ice_aq_cfg_sched_elems(struct ice_hw *hw, u16 elems_req,
sys/dev/ice/ice_sched.c
459
struct ice_aqc_txsched_elem_data *buf, u16 buf_size,
sys/dev/ice/ice_sched.c
460
u16 *elems_cfgd, struct ice_sq_cd *cd)
sys/dev/ice/ice_sched.c
4605
ice_sched_set_q_bw_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
sys/dev/ice/ice_sched.c
4606
u16 q_handle, enum ice_rl_type rl_type, u32 bw)
sys/dev/ice/ice_sched.c
4668
ice_cfg_q_bw_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
sys/dev/ice/ice_sched.c
4669
u16 q_handle, enum ice_rl_type rl_type, u32 bw)
sys/dev/ice/ice_sched.c
4686
ice_cfg_q_bw_dflt_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
sys/dev/ice/ice_sched.c
4687
u16 q_handle, enum ice_rl_type rl_type)
sys/dev/ice/ice_sched.c
479
ice_aq_move_sched_elems(struct ice_hw *hw, u16 grps_req,
sys/dev/ice/ice_sched.c
480
struct ice_aqc_move_elem *buf, u16 buf_size,
sys/dev/ice/ice_sched.c
481
u16 *grps_movd, struct ice_sq_cd *cd)
sys/dev/ice/ice_sched.c
4818
enum ice_rl_type rl_type, u16 bw_alloc)
sys/dev/ice/ice_sched.c
4899
ice_sched_set_agg_bw_dflt_lmt(struct ice_port_info *pi, u16 vsi_handle)
sys/dev/ice/ice_sched.c
4958
u16 vsi_handle = (u16)id;
sys/dev/ice/ice_sched.c
500
ice_aq_suspend_sched_elems(struct ice_hw *hw, u16 elems_req, __le32 *buf,
sys/dev/ice/ice_sched.c
501
u16 buf_size, u16 *elems_ret, struct ice_sq_cd *cd)
sys/dev/ice/ice_sched.c
5054
ice_sched_validate_vsi_srl_node(struct ice_port_info *pi, u16 vsi_handle)
sys/dev/ice/ice_sched.c
5109
ice_sched_set_save_vsi_srl_node_bw(struct ice_port_info *pi, u16 vsi_handle,
sys/dev/ice/ice_sched.c
5141
ice_sched_set_vsi_node_srl_per_tc(struct ice_port_info *pi, u16 vsi_handle,
sys/dev/ice/ice_sched.c
5195
ice_sched_set_vsi_bw_shared_lmt(struct ice_port_info *pi, u16 vsi_handle,
sys/dev/ice/ice_sched.c
520
ice_aq_resume_sched_elems(struct ice_hw *hw, u16 elems_req, __le32 *buf,
sys/dev/ice/ice_sched.c
521
u16 buf_size, u16 *elems_ret, struct ice_sq_cd *cd)
sys/dev/ice/ice_sched.c
538
ice_aq_query_sched_res(struct ice_hw *hw, u16 buf_size,
sys/dev/ice/ice_sched.c
5542
u16 burst_size_to_prog;
sys/dev/ice/ice_sched.c
5555
burst_size_to_prog |= (u16)(bytes / 64);
sys/dev/ice/ice_sched.c
5566
burst_size_to_prog |= (u16)(bytes / 1024);
sys/dev/ice/ice_sched.c
561
u16 i, buf_size, num_elem_ret = 0;
sys/dev/ice/ice_sched.c
5614
u16 bw_alloc;
sys/dev/ice/ice_sched.c
5852
ice_sched_replay_vsi_bw(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_sched.c
5892
ice_sched_replay_vsi_agg(struct ice_hw *hw, u16 vsi_handle)
sys/dev/ice/ice_sched.c
5942
int ice_replay_vsi_agg(struct ice_hw *hw, u16 vsi_handle)
sys/dev/ice/ice_sched.c
596
ice_alloc_lan_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 new_numqs)
sys/dev/ice/ice_sched.c
615
u16 prev_num = vsi_ctx->num_lan_q_entries[tc];
sys/dev/ice/ice_sched.c
638
ice_alloc_rdma_q_ctx(struct ice_hw *hw, u16 vsi_handle, u8 tc, u16 new_numqs)
sys/dev/ice/ice_sched.c
657
u16 prev_num = vsi_ctx->num_rdma_q_entries[tc];
sys/dev/ice/ice_sched.c
686
u16 num_profiles, struct ice_aqc_rl_profile_elem *buf,
sys/dev/ice/ice_sched.c
687
u16 buf_size, u16 *num_processed, struct ice_sq_cd *cd)
sys/dev/ice/ice_sched.c
716
ice_aq_add_rl_profile(struct ice_hw *hw, u16 num_profiles,
sys/dev/ice/ice_sched.c
717
struct ice_aqc_rl_profile_elem *buf, u16 buf_size,
sys/dev/ice/ice_sched.c
718
u16 *num_profiles_added, struct ice_sq_cd *cd)
sys/dev/ice/ice_sched.c
735
ice_aq_query_rl_profile(struct ice_hw *hw, u16 num_profiles,
sys/dev/ice/ice_sched.c
736
struct ice_aqc_rl_profile_elem *buf, u16 buf_size,
sys/dev/ice/ice_sched.c
755
ice_aq_remove_rl_profile(struct ice_hw *hw, u16 num_profiles,
sys/dev/ice/ice_sched.c
756
struct ice_aqc_rl_profile_elem *buf, u16 buf_size,
sys/dev/ice/ice_sched.c
757
u16 *num_profiles_removed, struct ice_sq_cd *cd)
sys/dev/ice/ice_sched.c
778
u16 num_profiles_removed;
sys/dev/ice/ice_sched.c
779
u16 num_profiles = 1;
sys/dev/ice/ice_sched.c
806
u16 ln;
sys/dev/ice/ice_sched.c
84
u16 i;
sys/dev/ice/ice_sched.c
930
ice_aq_cfg_node_attr(struct ice_hw *hw, u16 num_nodes,
sys/dev/ice/ice_sched.c
931
struct ice_aqc_node_attr_elem *buf, u16 buf_size,
sys/dev/ice/ice_sched.c
957
ice_aq_cfg_l2_node_cgd(struct ice_hw *hw, u16 num_l2_nodes,
sys/dev/ice/ice_sched.c
959
u16 buf_size, struct ice_sq_cd *cd)
sys/dev/ice/ice_sched.c
987
struct ice_sched_node *parent, u8 layer, u16 num_nodes,
sys/dev/ice/ice_sched.c
988
u16 *num_nodes_added, u32 *first_node_teid,
sys/dev/ice/ice_sched.c
993
u16 i, num_groups_added = 0;
sys/dev/ice/ice_sched.c
996
u16 buf_size;
sys/dev/ice/ice_sched.h
114
ice_aq_query_rl_profile(struct ice_hw *hw, u16 num_profiles,
sys/dev/ice/ice_sched.h
115
struct ice_aqc_rl_profile_elem *buf, u16 buf_size,
sys/dev/ice/ice_sched.h
118
ice_aq_cfg_node_attr(struct ice_hw *hw, u16 num_nodes,
sys/dev/ice/ice_sched.h
119
struct ice_aqc_node_attr_elem *buf, u16 buf_size,
sys/dev/ice/ice_sched.h
122
ice_aq_cfg_l2_node_cgd(struct ice_hw *hw, u16 num_nodes,
sys/dev/ice/ice_sched.h
123
struct ice_aqc_cfg_l2_node_cgd_elem *buf, u16 buf_size,
sys/dev/ice/ice_sched.h
126
ice_aq_move_sched_elems(struct ice_hw *hw, u16 grps_req,
sys/dev/ice/ice_sched.h
127
struct ice_aqc_move_elem *buf, u16 buf_size,
sys/dev/ice/ice_sched.h
128
u16 *grps_movd, struct ice_sq_cd *cd);
sys/dev/ice/ice_sched.h
130
ice_aq_query_sched_elems(struct ice_hw *hw, u16 elems_req,
sys/dev/ice/ice_sched.h
131
struct ice_aqc_txsched_elem_data *buf, u16 buf_size,
sys/dev/ice/ice_sched.h
132
u16 *elems_ret, struct ice_sq_cd *cd);
sys/dev/ice/ice_sched.h
144
struct ice_sched_node *parent, u8 layer, u16 num_nodes,
sys/dev/ice/ice_sched.h
145
u16 *num_nodes_added, u32 *first_node_teid,
sys/dev/ice/ice_sched.h
150
u16 num_items, u32 *list);
sys/dev/ice/ice_sched.h
154
u16 priority);
sys/dev/ice/ice_sched.h
157
u16 weight);
sys/dev/ice/ice_sched.h
183
ice_sched_get_free_qparent(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
sys/dev/ice/ice_sched.h
186
ice_sched_cfg_vsi(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 maxqs,
sys/dev/ice/ice_sched.h
188
int ice_rm_vsi_lan_cfg(struct ice_port_info *pi, u16 vsi_handle);
sys/dev/ice/ice_sched.h
189
int ice_rm_vsi_rdma_cfg(struct ice_port_info *pi, u16 vsi_handle);
sys/dev/ice/ice_sched.h
192
u16 vsi_handle);
sys/dev/ice/ice_sched.h
196
struct ice_aqc_txsched_elem_data *buf, u16 buf_size,
sys/dev/ice/ice_sched.h
204
ice_move_vsi_to_agg(struct ice_port_info *pi, u32 agg_id, u16 vsi_handle,
sys/dev/ice/ice_sched.h
208
ice_cfg_q_bw_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
sys/dev/ice/ice_sched.h
209
u16 q_handle, enum ice_rl_type rl_type, u32 bw);
sys/dev/ice/ice_sched.h
211
ice_cfg_q_bw_dflt_lmt(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
sys/dev/ice/ice_sched.h
212
u16 q_handle, enum ice_rl_type rl_type);
sys/dev/ice/ice_sched.h
220
ice_cfg_vsi_bw_lmt_per_tc(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
sys/dev/ice/ice_sched.h
223
ice_cfg_vsi_bw_dflt_lmt_per_tc(struct ice_port_info *pi, u16 vsi_handle, u8 tc,
sys/dev/ice/ice_sched.h
232
ice_cfg_vsi_bw_shared_lmt(struct ice_port_info *pi, u16 vsi_handle, u32 min_bw,
sys/dev/ice/ice_sched.h
235
ice_cfg_vsi_bw_no_shared_lmt(struct ice_port_info *pi, u16 vsi_handle);
sys/dev/ice/ice_sched.h
248
ice_cfg_vsi_q_priority(struct ice_port_info *pi, u16 num_qs, u32 *q_ids,
sys/dev/ice/ice_sched.h
251
ice_cfg_vsi_bw_alloc(struct ice_port_info *pi, u16 vsi_handle, u8 ena_tcmap,
sys/dev/ice/ice_sched.h
255
u16 num_vsis, u16 *vsi_handle_arr,
sys/dev/ice/ice_sched.h
264
ice_sched_set_agg_bw_dflt_lmt(struct ice_port_info *pi, u16 vsi_handle);
sys/dev/ice/ice_sched.h
270
ice_sched_set_vsi_bw_shared_lmt(struct ice_port_info *pi, u16 vsi_handle,
sys/dev/ice/ice_sched.h
289
int ice_replay_vsi_agg(struct ice_hw *hw, u16 vsi_handle);
sys/dev/ice/ice_sched.h
77
u16 rl_multiplier;
sys/dev/ice/ice_sched.h
78
u16 wake_up_calc;
sys/dev/ice/ice_sched.h
79
u16 rl_encode;
sys/dev/ice/ice_sched.h
89
u16 prof_id_ref; /* profile ID to node association ref count */
sys/dev/ice/ice_sched.h
95
u16 vsi_handle;
sys/dev/ice/ice_strings.c
676
_ice_fltr_flag_str(u16 flag)
sys/dev/ice/ice_switch.c
1013
ice_aq_sw_rules(struct ice_hw *hw, void *rule_list, u16 rule_list_sz,
sys/dev/ice/ice_switch.c
1048
ice_init_port_info(struct ice_port_info *pi, u16 vsi_port_num, u8 type,
sys/dev/ice/ice_switch.c
1049
u16 swid, u16 pf_vf_num, bool is_vf)
sys/dev/ice/ice_switch.c
1071
u16 req_desc = 0;
sys/dev/ice/ice_switch.c
1072
u16 num_elems;
sys/dev/ice/ice_switch.c
1075
u16 i;
sys/dev/ice/ice_switch.c
1100
u16 pf_vf_num, swid, vsi_port_num;
sys/dev/ice/ice_switch.c
1229
u16 vlan_id = ICE_MAX_VLAN_ID + 1;
sys/dev/ice/ice_switch.c
1230
u16 vlan_tpid = ICE_ETH_P_8021Q;
sys/dev/ice/ice_switch.c
1232
u16 eth_hdr_sz;
sys/dev/ice/ice_switch.c
126
u16 buf_size, u16 *req_desc, u16 *num_elems,
sys/dev/ice/ice_switch.c
1368
u16 sw_marker, u16 l_id)
sys/dev/ice/ice_switch.c
1377
const u16 num_lg_acts = 3;
sys/dev/ice/ice_switch.c
1378
u16 lg_act_size;
sys/dev/ice/ice_switch.c
1379
u16 rules_size;
sys/dev/ice/ice_switch.c
1382
u16 id;
sys/dev/ice/ice_switch.c
1392
lg_act_size = (u16)ice_struct_size(lg_act, act, num_lg_acts);
sys/dev/ice/ice_switch.c
1469
u16 counter_id, u16 l_id)
sys/dev/ice/ice_switch.c
1475
u16 lg_act_size;
sys/dev/ice/ice_switch.c
1476
u16 rules_size;
sys/dev/ice/ice_switch.c
1477
u16 f_rule_id;
sys/dev/ice/ice_switch.c
1480
u16 id;
sys/dev/ice/ice_switch.c
1490
lg_act_size = (u16)ice_struct_size(lg_act, act, num_acts);
sys/dev/ice/ice_switch.c
152
int ice_alloc_rss_global_lut(struct ice_hw *hw, bool shared_res, u16 *global_lut_id)
sys/dev/ice/ice_switch.c
156
u16 buf_len;
sys/dev/ice/ice_switch.c
1561
ice_create_vsi_list_map(struct ice_hw *hw, u16 *vsi_handle_arr, u16 num_vsi,
sys/dev/ice/ice_switch.c
1562
u16 vsi_list_id)
sys/dev/ice/ice_switch.c
1595
ice_update_vsi_list_rule(struct ice_hw *hw, u16 *vsi_handle_arr, u16 num_vsi,
sys/dev/ice/ice_switch.c
1596
u16 vsi_list_id, bool remove, enum ice_adminq_opc opc,
sys/dev/ice/ice_switch.c
1600
u16 s_rule_size;
sys/dev/ice/ice_switch.c
1601
u16 rule_type;
sys/dev/ice/ice_switch.c
1624
s_rule_size = (u16)ice_struct_size(s_rule, vsi, num_vsi);
sys/dev/ice/ice_switch.c
1658
ice_create_vsi_list_rule(struct ice_hw *hw, u16 *vsi_handle_arr, u16 num_vsi,
sys/dev/ice/ice_switch.c
1659
u16 *vsi_list_id, enum ice_sw_lkup_type lkup_type)
sys/dev/ice/ice_switch.c
1842
u16 vsi_list_id = 0;
sys/dev/ice/ice_switch.c
1861
u16 vsi_handle_arr[2];
sys/dev/ice/ice_switch.c
187
int ice_free_rss_global_lut(struct ice_hw *hw, u16 global_lut_id)
sys/dev/ice/ice_switch.c
190
u16 buf_len, num_elems = 1;
sys/dev/ice/ice_switch.c
1904
u16 vsi_handle = new_fltr->vsi_handle;
sys/dev/ice/ice_switch.c
1970
ice_find_vsi_list_entry(struct ice_sw_recipe *recp_list, u16 vsi_handle,
sys/dev/ice/ice_switch.c
1971
u16 *vsi_list_id)
sys/dev/ice/ice_switch.c
2072
ice_remove_vsi_list_rule(struct ice_hw *hw, u16 vsi_list_id,
sys/dev/ice/ice_switch.c
2090
ice_rem_update_vsi_list(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_switch.c
2094
u16 vsi_list_id;
sys/dev/ice/ice_switch.c
2120
u16 rem_vsi_handle;
sys/dev/ice/ice_switch.c
2184
u16 vsi_handle;
sys/dev/ice/ice_switch.c
222
ice_alloc_sw(struct ice_hw *hw, bool ena_stats, bool shared_res, u16 *sw_id,
sys/dev/ice/ice_switch.c
223
u16 *counter_id)
sys/dev/ice/ice_switch.c
227
u16 buf_len;
sys/dev/ice/ice_switch.c
2274
ice_aq_get_res_alloc(struct ice_hw *hw, u16 *num_entries,
sys/dev/ice/ice_switch.c
2275
struct ice_aqc_get_res_resp_elem *buf, u16 buf_size,
sys/dev/ice/ice_switch.c
2311
ice_aq_get_res_descs(struct ice_hw *hw, u16 num_entries,
sys/dev/ice/ice_switch.c
2312
struct ice_aqc_res_elem *buf, u16 buf_size, u16 res_type,
sys/dev/ice/ice_switch.c
2313
bool res_shared, u16 *desc_id, struct ice_sq_cd *cd)
sys/dev/ice/ice_switch.c
2364
u16 total_elem_left, s_rule_size;
sys/dev/ice/ice_switch.c
2366
u16 num_unicast = 0;
sys/dev/ice/ice_switch.c
2377
u16 vsi_handle;
sys/dev/ice/ice_switch.c
2378
u16 hw_vsi_id;
sys/dev/ice/ice_switch.c
2529
u16 vsi_list_id = 0, vsi_handle;
sys/dev/ice/ice_switch.c
2611
u16 vsi_handle_arr[2];
sys/dev/ice/ice_switch.c
2612
u16 cur_handle;
sys/dev/ice/ice_switch.c
2823
ice_get_lg_act_aqc_res_type(u16 *res_type, int num_acts)
sys/dev/ice/ice_switch.c
2859
ice_alloc_res_lg_act(struct ice_hw *hw, u16 *l_id, u16 num_acts)
sys/dev/ice/ice_switch.c
2862
u16 buf_len, res_type;
sys/dev/ice/ice_switch.c
2940
ice_cfg_dflt_vsi(struct ice_port_info *pi, u16 vsi_handle, bool set,
sys/dev/ice/ice_switch.c
2948
u16 hw_vsi_id;
sys/dev/ice/ice_switch.c
2994
bool ice_check_if_dflt_vsi(struct ice_port_info *pi, u16 vsi_handle,
sys/dev/ice/ice_switch.c
305
int ice_free_sw(struct ice_hw *hw, u16 sw_id, u16 counter_id)
sys/dev/ice/ice_switch.c
3081
u16 vsi_handle;
sys/dev/ice/ice_switch.c
309
u16 buf_len;
sys/dev/ice/ice_switch.c
3177
ice_vsi_uses_fltr(struct ice_fltr_mgmt_list_entry *fm_entry, u16 vsi_handle)
sys/dev/ice/ice_switch.c
3201
ice_add_entry_to_vsi_fltr_list(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_switch.c
3244
ice_add_to_vsi_fltr_list(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_switch.c
3280
u16 vid = fi->l_data.mac_vlan.vlan_id;
sys/dev/ice/ice_switch.c
3323
_ice_get_vsi_promisc(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_switch.c
3324
ice_bitmap_t *promisc_mask, u16 *vid,
sys/dev/ice/ice_switch.c
3369
ice_get_vsi_promisc(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_switch.c
3370
ice_bitmap_t *promisc_mask, u16 *vid)
sys/dev/ice/ice_switch.c
3387
ice_get_vsi_vlan_promisc(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_switch.c
3388
ice_bitmap_t *promisc_mask, u16 *vid)
sys/dev/ice/ice_switch.c
3431
_ice_clear_vsi_promisc(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_switch.c
3432
ice_bitmap_t *promisc_mask, u16 vid,
sys/dev/ice/ice_switch.c
3511
ice_clear_vsi_promisc(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_switch.c
3512
ice_bitmap_t *promisc_mask, u16 vid)
sys/dev/ice/ice_switch.c
3531
_ice_set_vsi_promisc(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_switch.c
3532
ice_bitmap_t *promisc_mask, u16 vid, u8 lport,
sys/dev/ice/ice_switch.c
3541
u16 hw_vsi_id;
sys/dev/ice/ice_switch.c
3663
ice_set_vsi_promisc(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_switch.c
3664
ice_bitmap_t *promisc_mask, u16 vid)
sys/dev/ice/ice_switch.c
3686
_ice_set_vlan_vsi_promisc(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_switch.c
3695
u16 vlan_id;
sys/dev/ice/ice_switch.c
3748
ice_set_vlan_vsi_promisc(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_switch.c
3767
ice_remove_vsi_lkup_fltr(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_switch.c
3829
ice_remove_vsi_fltr_rule(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_switch.c
3857
void ice_remove_vsi_fltr(struct ice_hw *hw, u16 vsi_handle)
sys/dev/ice/ice_switch.c
3871
ice_alloc_res_cntr(struct ice_hw *hw, u8 type, u8 alloc_shared, u16 num_items,
sys/dev/ice/ice_switch.c
3872
u16 *counter_id)
sys/dev/ice/ice_switch.c
3875
u16 buf_len;
sys/dev/ice/ice_switch.c
3909
ice_free_res_cntr(struct ice_hw *hw, u8 type, u8 alloc_shared, u16 num_items,
sys/dev/ice/ice_switch.c
3910
u16 counter_id)
sys/dev/ice/ice_switch.c
3913
u16 buf_len;
sys/dev/ice/ice_switch.c
3941
int ice_alloc_vlan_res_counter(struct ice_hw *hw, u16 *counter_id)
sys/dev/ice/ice_switch.c
3953
int ice_free_vlan_res_counter(struct ice_hw *hw, u16 counter_id)
sys/dev/ice/ice_switch.c
3968
u16 sw_marker)
sys/dev/ice/ice_switch.c
3976
u16 lg_act_id;
sys/dev/ice/ice_switch.c
4071
u16 counter_id;
sys/dev/ice/ice_switch.c
4072
u16 lg_act_id;
sys/dev/ice/ice_switch.c
4186
u16 vsi_handle;
sys/dev/ice/ice_switch.c
4262
struct ice_switch_info *sw, u16 vsi_handle, u8 recp_id,
sys/dev/ice/ice_switch.c
4268
u16 hw_vsi_id;
sys/dev/ice/ice_switch.c
4323
u16 vsi_handle)
sys/dev/ice/ice_switch.c
482
bool ice_is_vsi_valid(struct ice_hw *hw, u16 vsi_handle)
sys/dev/ice/ice_switch.c
495
u16 ice_get_hw_vsi_num(struct ice_hw *hw, u16 vsi_handle)
sys/dev/ice/ice_switch.c
507
struct ice_vsi_ctx *ice_get_vsi_ctx(struct ice_hw *hw, u16 vsi_handle)
sys/dev/ice/ice_switch.c
521
ice_save_vsi_ctx(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi)
sys/dev/ice/ice_switch.c
531
void ice_clear_vsi_q_ctx(struct ice_hw *hw, u16 vsi_handle)
sys/dev/ice/ice_switch.c
558
static void ice_clear_vsi_ctx(struct ice_hw *hw, u16 vsi_handle)
sys/dev/ice/ice_switch.c
576
u16 i;
sys/dev/ice/ice_switch.c
594
ice_add_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx,
sys/dev/ice/ice_switch.c
636
ice_free_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx,
sys/dev/ice/ice_switch.c
65
ice_vsi_uses_fltr(struct ice_fltr_mgmt_list_entry *fm_entry, u16 vsi_handle);
sys/dev/ice/ice_switch.c
660
ice_update_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx,
sys/dev/ice/ice_switch.c
676
ice_cfg_iwarp_fltr(struct ice_hw *hw, u16 vsi_handle, bool enable)
sys/dev/ice/ice_switch.c
760
ice_aq_add_update_mir_rule(struct ice_hw *hw, u16 rule_type, u16 dest_vsi,
sys/dev/ice/ice_switch.c
761
u16 count, struct ice_mir_rule_buf *mr_buf,
sys/dev/ice/ice_switch.c
762
struct ice_sq_cd *cd, u16 *rule_id)
sys/dev/ice/ice_switch.c
767
u16 buf_size = 0;
sys/dev/ice/ice_switch.c
805
u16 id;
sys/dev/ice/ice_switch.c
858
ice_aq_delete_mir_rule(struct ice_hw *hw, u16 rule_id, bool keep_allocd,
sys/dev/ice/ice_switch.c
890
ice_aq_alloc_free_vsi_list(struct ice_hw *hw, u16 *vsi_list_id,
sys/dev/ice/ice_switch.c
896
u16 buf_len;
sys/dev/ice/ice_switch.h
122
u16 fltr_rule_id;
sys/dev/ice/ice_switch.h
123
u16 flag;
sys/dev/ice/ice_switch.h
126
u16 src;
sys/dev/ice/ice_switch.h
132
u16 sw_id;
sys/dev/ice/ice_switch.h
136
u16 vlan_id;
sys/dev/ice/ice_switch.h
139
u16 vlan_id;
sys/dev/ice/ice_switch.h
140
u16 tpid;
sys/dev/ice/ice_switch.h
142
u16 sw_id;
sys/dev/ice/ice_switch.h
150
u16 ethertype;
sys/dev/ice/ice_switch.h
163
u16 q_id:11;
sys/dev/ice/ice_switch.h
164
u16 hw_vsi_id:10;
sys/dev/ice/ice_switch.h
165
u16 vsi_list_id:10;
sys/dev/ice/ice_switch.h
169
u16 vsi_handle;
sys/dev/ice/ice_switch.h
190
u16 vsi_list;
sys/dev/ice/ice_switch.h
196
u16 q_idx;
sys/dev/ice/ice_switch.h
202
u16 vsi_list;
sys/dev/ice/ice_switch.h
210
u16 mirror_vsi;
sys/dev/ice/ice_switch.h
214
u16 generic_value;
sys/dev/ice/ice_switch.h
225
u16 src;
sys/dev/ice/ice_switch.h
226
u16 flag;
sys/dev/ice/ice_switch.h
233
u16 q_id:11;
sys/dev/ice/ice_switch.h
234
u16 vsi_id:10;
sys/dev/ice/ice_switch.h
235
u16 hw_vsi_id:10;
sys/dev/ice/ice_switch.h
236
u16 vsi_list_id:10;
sys/dev/ice/ice_switch.h
239
u16 vsi_handle;
sys/dev/ice/ice_switch.h
245
u16 rid;
sys/dev/ice/ice_switch.h
247
u16 rule_id;
sys/dev/ice/ice_switch.h
249
u16 vsi_handle;
sys/dev/ice/ice_switch.h
269
u16 fltr_rule_id;
sys/dev/ice/ice_switch.h
270
u16 lg_id;
sys/dev/ice/ice_switch.h
271
u16 vlan_type;
sys/dev/ice/ice_switch.h
290
u16 word_masks[ICE_MAX_CHAIN_WORDS];
sys/dev/ice/ice_switch.h
345
u16 vsi_list_id;
sys/dev/ice/ice_switch.h
347
u16 ref_cnt;
sys/dev/ice/ice_switch.h
389
u16 vsi_count;
sys/dev/ice/ice_switch.h
391
u16 lg_act_idx;
sys/dev/ice/ice_switch.h
393
u16 sw_marker_id;
sys/dev/ice/ice_switch.h
406
u16 lkups_cnt;
sys/dev/ice/ice_switch.h
408
u16 vsi_count;
sys/dev/ice/ice_switch.h
427
u16 offset; /* ICE_PROTOCOL_LAST indicates end of list */
sys/dev/ice/ice_switch.h
431
ice_find_dummy_packet(struct ice_adv_lkup_elem *lkups, u16 lkups_cnt,
sys/dev/ice/ice_switch.h
433
u16 *pkt_len,
sys/dev/ice/ice_switch.h
437
ice_fill_adv_dummy_packet(struct ice_adv_lkup_elem *lkups, u16 lkups_cnt,
sys/dev/ice/ice_switch.h
439
const u8 *dummy_pkt, u16 pkt_len,
sys/dev/ice/ice_switch.h
444
u16 lkups_cnt, struct ice_adv_rule_info *rinfo, u16 *rid);
sys/dev/ice/ice_switch.h
448
u16 lkups_cnt, u16 recp_id,
sys/dev/ice/ice_switch.h
458
ice_find_vsi_list_entry(struct ice_sw_recipe *recp_list, u16 vsi_handle,
sys/dev/ice/ice_switch.h
459
u16 *vsi_list_id);
sys/dev/ice/ice_switch.h
472
ice_add_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx,
sys/dev/ice/ice_switch.h
475
ice_free_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx,
sys/dev/ice/ice_switch.h
478
ice_update_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx,
sys/dev/ice/ice_switch.h
480
struct ice_vsi_ctx *ice_get_vsi_ctx(struct ice_hw *hw, u16 vsi_handle);
sys/dev/ice/ice_switch.h
481
void ice_clear_vsi_q_ctx(struct ice_hw *hw, u16 vsi_handle);
sys/dev/ice/ice_switch.h
487
ice_aq_add_update_mir_rule(struct ice_hw *hw, u16 rule_type, u16 dest_vsi,
sys/dev/ice/ice_switch.h
488
u16 count, struct ice_mir_rule_buf *mr_buf,
sys/dev/ice/ice_switch.h
489
struct ice_sq_cd *cd, u16 *rule_id);
sys/dev/ice/ice_switch.h
491
ice_aq_delete_mir_rule(struct ice_hw *hw, u16 rule_id, bool keep_allocd,
sys/dev/ice/ice_switch.h
502
ice_alloc_vlan_res_counter(struct ice_hw *hw, u16 *counter_id);
sys/dev/ice/ice_switch.h
504
ice_free_vlan_res_counter(struct ice_hw *hw, u16 counter_id);
sys/dev/ice/ice_switch.h
507
int ice_alloc_rss_global_lut(struct ice_hw *hw, bool shared_res, u16 *global_lut_id);
sys/dev/ice/ice_switch.h
508
int ice_free_rss_global_lut(struct ice_hw *hw, u16 global_lut_id);
sys/dev/ice/ice_switch.h
510
ice_alloc_sw(struct ice_hw *hw, bool ena_stats, bool shared_res, u16 *sw_id,
sys/dev/ice/ice_switch.h
511
u16 *counter_id);
sys/dev/ice/ice_switch.h
513
ice_free_sw(struct ice_hw *hw, u16 sw_id, u16 counter_id);
sys/dev/ice/ice_switch.h
515
ice_aq_get_res_alloc(struct ice_hw *hw, u16 *num_entries,
sys/dev/ice/ice_switch.h
516
struct ice_aqc_get_res_resp_elem *buf, u16 buf_size,
sys/dev/ice/ice_switch.h
519
ice_aq_get_res_descs(struct ice_hw *hw, u16 num_entries,
sys/dev/ice/ice_switch.h
520
struct ice_aqc_res_elem *buf, u16 buf_size, u16 res_type,
sys/dev/ice/ice_switch.h
521
bool res_shared, u16 *desc_id, struct ice_sq_cd *cd);
sys/dev/ice/ice_switch.h
533
ice_cfg_iwarp_fltr(struct ice_hw *hw, u16 vsi_handle, bool enable);
sys/dev/ice/ice_switch.h
537
u16 sw_marker);
sys/dev/ice/ice_switch.h
540
void ice_remove_vsi_fltr(struct ice_hw *hw, u16 vsi_handle);
sys/dev/ice/ice_switch.h
544
ice_cfg_dflt_vsi(struct ice_port_info *pi, u16 vsi_handle, bool set,
sys/dev/ice/ice_switch.h
546
bool ice_check_if_dflt_vsi(struct ice_port_info *pi, u16 vsi_handle,
sys/dev/ice/ice_switch.h
549
ice_set_vsi_promisc(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_switch.h
550
ice_bitmap_t *promisc_mask, u16 vid);
sys/dev/ice/ice_switch.h
552
ice_clear_vsi_promisc(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_switch.h
553
ice_bitmap_t *promisc_mask, u16 vid);
sys/dev/ice/ice_switch.h
555
ice_set_vlan_vsi_promisc(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_switch.h
560
ice_get_vsi_promisc(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_switch.h
561
ice_bitmap_t *promisc_mask, u16 *vid);
sys/dev/ice/ice_switch.h
563
ice_get_vsi_vlan_promisc(struct ice_hw *hw, u16 vsi_handle,
sys/dev/ice/ice_switch.h
564
ice_bitmap_t *promisc_mask, u16 *vid);
sys/dev/ice/ice_switch.h
570
u16 ice_get_hw_vsi_num(struct ice_hw *hw, u16 vsi_handle);
sys/dev/ice/ice_switch.h
571
bool ice_is_vsi_valid(struct ice_hw *hw, u16 vsi_handle);
sys/dev/ice/ice_switch.h
575
u16 vsi_handle);
sys/dev/ice/ice_switch.h
579
ice_aq_sw_rules(struct ice_hw *hw, void *rule_list, u16 rule_list_sz,
sys/dev/ice/ice_switch.h
67
u16 vsi_num;
sys/dev/ice/ice_switch.h
68
u16 vsis_allocd;
sys/dev/ice/ice_switch.h
69
u16 vsis_unallocated;
sys/dev/ice/ice_switch.h
70
u16 flags;
sys/dev/ice/ice_switch.h
75
u16 num_lan_q_entries[ICE_MAX_TRAFFIC_CLASS];
sys/dev/ice/ice_switch.h
77
u16 num_rdma_q_entries[ICE_MAX_TRAFFIC_CLASS];
sys/dev/ice/ice_switch.h
83
u16 vsi_idx; /* VSI index */
sys/dev/ice/ice_type.h
1019
u16 num_msg_proc;
sys/dev/ice/ice_type.h
1020
u16 num_pending_arq;
sys/dev/ice/ice_type.h
1021
u16 max_num_msgs_mbx;
sys/dev/ice/ice_type.h
103
#define ICE_HI_WORD(x) ((u16)(((x) >> 16) & 0xFFFF))
sys/dev/ice/ice_type.h
104
#define ICE_LO_WORD(x) ((u16)((x) & 0xFFFF))
sys/dev/ice/ice_type.h
1054
u16 num_msg_proc;
sys/dev/ice/ice_type.h
1055
u16 num_pending_arq;
sys/dev/ice/ice_type.h
1056
u16 max_num_msgs_mbx;
sys/dev/ice/ice_type.h
1057
u16 async_watermark_val;
sys/dev/ice/ice_type.h
1083
u16 fw_vsi_num;
sys/dev/ice/ice_type.h
1085
u16 device_id;
sys/dev/ice/ice_type.h
1086
u16 vendor_id;
sys/dev/ice/ice_type.h
1087
u16 subsystem_device_id;
sys/dev/ice/ice_type.h
1088
u16 subsystem_vendor_id;
sys/dev/ice/ice_type.h
1096
u16 max_burst_size; /* driver sets this value */
sys/dev/ice/ice_type.h
1104
u16 max_children[ICE_AQC_TOPO_MAX_LEVEL_NUM];
sys/dev/ice/ice_type.h
1198
u16 vsi_owning_pf_lut; /* SW IDX of VSI that acquired PF RSS LUT */
sys/dev/ice/ice_type.h
1292
u16 vsi_handle; /* software VSI handle */
sys/dev/ice/ice_type.h
1293
u16 lut_size; /* size of the LUT buffer */
sys/dev/ice/ice_type.h
149
((bool)((((u16 *)(addr))[0] == ((u16)0xffff))))
sys/dev/ice/ice_type.h
152
(((bool)((((u16 *)(addr))[0] == ((u16)0x0)))) && \
sys/dev/ice/ice_type.h
153
((bool)((((u16 *)(addr))[1] == ((u16)0x0)))) && \
sys/dev/ice/ice_type.h
154
((bool)((((u16 *)(addr))[2] == ((u16)0x0)))))
sys/dev/ice/ice_type.h
158
(((bool)((((u16 *)(addr1))[0] == ((u16 *)(addr2))[0]))) && \
sys/dev/ice/ice_type.h
159
((bool)((((u16 *)(addr1))[1] == ((u16 *)(addr2))[1]))) && \
sys/dev/ice/ice_type.h
160
((bool)((((u16 *)(addr1))[2] == ((u16 *)(addr2))[2]))))
sys/dev/ice/ice_type.h
211
u16 curr_user_speed_req;
sys/dev/ice/ice_type.h
349
u16 max_frame_size;
sys/dev/ice/ice_type.h
350
u16 link_speed;
sys/dev/ice/ice_type.h
351
u16 req_speeds;
sys/dev/ice/ice_type.h
394
u16 curr_user_speed_req;
sys/dev/ice/ice_type.h
612
u16 domain_num;
sys/dev/ice/ice_type.h
613
u16 device;
sys/dev/ice/ice_type.h
628
u16 build; /* Build version of OROM */
sys/dev/ice/ice_type.h
655
u16 cust_ver; /* customer version */
sys/dev/ice/ice_type.h
695
u16 sr_words; /* Shadow RAM size in words */
sys/dev/ice/ice_type.h
742
u16 vsi_handle;
sys/dev/ice/ice_type.h
852
u16 bw_alloc;
sys/dev/ice/ice_type.h
865
u16 q_handle;
sys/dev/ice/ice_type.h
875
u16 max_lanq[ICE_MAX_TRAFFIC_CLASS];
sys/dev/ice/ice_type.h
876
u16 max_rdmaq[ICE_MAX_TRAFFIC_CLASS];
sys/dev/ice/ice_type.h
901
u16 prot_id;
sys/dev/ice/ice_type.h
955
u16 sw_id; /* Initial switch ID belongs to port */
sys/dev/ice/ice_type.h
956
u16 pf_vf_num;
sys/dev/ice/ice_type.h
979
u16 prof_res_bm_init;
sys/dev/ice/ice_type.h
980
u16 max_used_prof_index;
sys/dev/ice/ice_vf_mbx.c
127
u32 ice_conv_link_speed_to_virtchnl(bool adv_link_support, u16 link_speed)
sys/dev/ice/ice_vf_mbx.c
130
u16 index = (u16)(ice_fls(link_speed) - 1);
sys/dev/ice/ice_vf_mbx.c
284
u16 vfid = LE16_TO_CPU(event->desc.retval);
sys/dev/ice/ice_vf_mbx.c
297
void ice_mbx_vf_clear_cnt_e830(struct ice_hw *hw, u16 vf_id)
sys/dev/ice/ice_vf_mbx.c
51
ice_aq_send_msg_to_vf(struct ice_hw *hw, u16 vfid, u32 v_opcode, u32 v_retval,
sys/dev/ice/ice_vf_mbx.c
52
u8 *msg, u16 msglen, struct ice_sq_cd *cd)
sys/dev/ice/ice_vf_mbx.c
86
int v_retval, u8 *msg, u16 msglen,
sys/dev/ice/ice_vf_mbx.h
50
int v_retval, u8 *msg, u16 msglen,
sys/dev/ice/ice_vf_mbx.h
53
ice_aq_send_msg_to_vf(struct ice_hw *hw, u16 vfid, u32 v_opcode, u32 v_retval,
sys/dev/ice/ice_vf_mbx.h
54
u8 *msg, u16 msglen, struct ice_sq_cd *cd);
sys/dev/ice/ice_vf_mbx.h
56
u32 ice_conv_link_speed_to_virtchnl(bool adv_link_support, u16 link_speed);
sys/dev/ice/ice_vf_mbx.h
60
void ice_mbx_vf_clear_cnt_e830(struct ice_hw *hw, u16 vf_id);
sys/dev/ice/ice_vlan_mode.c
43
u16 meta_init_size = sizeof(struct ice_meta_init_section);
sys/dev/ice/ice_vlan_mode.c
67
u16 i;
sys/dev/ice/ice_vlan_mode.c
73
ice_bitmap_from_array32(entry, arr, (u16)ICE_META_INIT_BITS);
sys/dev/ice/if_ice_iflib.c
2417
u16 pending = 0;
sys/dev/ice/if_ice_iflib.c
3074
ice_if_vlan_register(if_ctx_t ctx, u16 vtag)
sys/dev/ice/if_ice_iflib.c
3104
ice_if_vlan_unregister(if_ctx_t ctx, u16 vtag)
sys/dev/ice/if_ice_iflib.c
4275
(u16 *)malloc(sizeof(u16) * mif->num_irq_vectors,
sys/dev/ice/if_ice_iflib.c
4289
(u16 *)malloc(sizeof(u16) * mif->num_irq_vectors,
sys/dev/ice/if_ice_iflib.c
81
static void ice_if_vlan_register(if_ctx_t ctx, u16 vtag);
sys/dev/ice/if_ice_iflib.c
82
static void ice_if_vlan_unregister(if_ctx_t ctx, u16 vtag);
sys/dev/ice/virtchnl.h
1146
u16 vport_id;
sys/dev/ice/virtchnl.h
1158
u16 vsi_id;
sys/dev/ice/virtchnl.h
1159
u16 flags;
sys/dev/ice/virtchnl.h
1200
u16 vsi_id;
sys/dev/ice/virtchnl.h
1201
u16 key_len;
sys/dev/ice/virtchnl.h
1208
u16 vsi_id;
sys/dev/ice/virtchnl.h
1209
u16 lut_entries;
sys/dev/ice/virtchnl.h
1292
u16 count; /* number of queues in a channel */
sys/dev/ice/virtchnl.h
1293
u16 offset; /* queues in a channel start from 'offset' */
sys/dev/ice/virtchnl.h
1682
u16 pkt_len;
sys/dev/ice/virtchnl.h
1708
u16 index;
sys/dev/ice/virtchnl.h
1789
u16 vsi_id; /* INPUT */
sys/dev/ice/virtchnl.h
1794
u16 validate_only; /* INPUT */
sys/dev/ice/virtchnl.h
1809
u16 vsi_id; /* INPUT */
sys/dev/ice/virtchnl.h
1810
u16 pad;
sys/dev/ice/virtchnl.h
1852
u16 vsi_id; /* INPUT */
sys/dev/ice/virtchnl.h
1870
u16 vsi_id; /* INPUT */
sys/dev/ice/virtchnl.h
1871
u16 pad;
sys/dev/ice/virtchnl.h
1901
u16 vsi_id;
sys/dev/ice/virtchnl.h
1902
u16 num_elem;
sys/dev/ice/virtchnl.h
1915
u16 vsi_id;
sys/dev/ice/virtchnl.h
1916
u16 num_tc;
sys/dev/ice/virtchnl.h
1917
u16 num_queue_pairs;
sys/dev/ice/virtchnl.h
1921
u16 start_queue_id;
sys/dev/ice/virtchnl.h
1922
u16 queue_count;
sys/dev/ice/virtchnl.h
1927
u16 prio_type;
sys/dev/ice/virtchnl.h
1928
u16 valid_prio_bitmap;
sys/dev/ice/virtchnl.h
1937
u16 queue_id;
sys/dev/ice/virtchnl.h
1946
u16 vsi_id;
sys/dev/ice/virtchnl.h
1947
u16 num_queues;
sys/dev/ice/virtchnl.h
1963
u16 start_queue_id;
sys/dev/ice/virtchnl.h
1964
u16 num_queues;
sys/dev/ice/virtchnl.h
1971
u16 num_chunks;
sys/dev/ice/virtchnl.h
1972
u16 rsvd;
sys/dev/ice/virtchnl.h
1989
u16 vport_id;
sys/dev/ice/virtchnl.h
1990
u16 pad;
sys/dev/ice/virtchnl.h
2005
u16 queue_id;
sys/dev/ice/virtchnl.h
2006
u16 vector_id;
sys/dev/ice/virtchnl.h
2030
u16 vport_id;
sys/dev/ice/virtchnl.h
2031
u16 num_qv_maps;
sys/dev/ice/virtchnl.h
2039
u16 quanta_size;
sys/dev/ice/virtchnl.h
2067
u16 num_elem;
sys/dev/ice/virtchnl.h
2079
((u16)(~0) - sizeof(struct virtchnl_vsi_queue_config_info)) /
sys/dev/ice/virtchnl.h
2083
((u16)(~0) - sizeof(struct virtchnl_irq_map_info)) /
sys/dev/ice/virtchnl.h
2087
((u16)(~0) - sizeof(struct virtchnl_ether_addr_list)) /
sys/dev/ice/virtchnl.h
2091
((u16)(~0) - sizeof(struct virtchnl_vlan_filter_list)) /
sys/dev/ice/virtchnl.h
2092
sizeof(u16),
sys/dev/ice/virtchnl.h
2095
((u16)(~0) - sizeof(struct virtchnl_tc_info)) /
sys/dev/ice/virtchnl.h
2099
((u16)(~0) - sizeof(struct virtchnl_del_ena_dis_queues)) /
sys/dev/ice/virtchnl.h
2103
((u16)(~0) - sizeof(struct virtchnl_queue_vector_maps)) /
sys/dev/ice/virtchnl.h
2107
((u16)(~0) - sizeof(struct virtchnl_vlan_filter_list_v2)) /
sys/dev/ice/virtchnl.h
2122
u8 *msg, u16 msglen)
sys/dev/ice/virtchnl.h
2213
valid_len += vfl->num_elements * sizeof(u16);
sys/dev/ice/virtchnl.h
418
u16 vsi_id;
sys/dev/ice/virtchnl.h
419
u16 num_queue_pairs;
sys/dev/ice/virtchnl.h
423
u16 qset_handle;
sys/dev/ice/virtchnl.h
469
u16 num_vsis;
sys/dev/ice/virtchnl.h
470
u16 num_queue_pairs;
sys/dev/ice/virtchnl.h
471
u16 max_vectors;
sys/dev/ice/virtchnl.h
472
u16 max_mtu;
sys/dev/ice/virtchnl.h
491
u16 vsi_id;
sys/dev/ice/virtchnl.h
492
u16 queue_id;
sys/dev/ice/virtchnl.h
493
u16 ring_len; /* number of descriptors, multiple of 8 */
sys/dev/ice/virtchnl.h
494
u16 headwb_enabled; /* deprecated with AVF 1.0 */
sys/dev/ice/virtchnl.h
555
u16 vsi_id;
sys/dev/ice/virtchnl.h
556
u16 queue_id;
sys/dev/ice/virtchnl.h
558
u16 hdr_size;
sys/dev/ice/virtchnl.h
559
u16 splithdr_enabled; /* deprecated with AVF 1.0 */
sys/dev/ice/virtchnl.h
592
u16 vsi_id;
sys/dev/ice/virtchnl.h
593
u16 num_queue_pairs;
sys/dev/ice/virtchnl.h
612
u16 num_queue_pairs;
sys/dev/ice/virtchnl.h
628
u16 vsi_id;
sys/dev/ice/virtchnl.h
629
u16 vector_id;
sys/dev/ice/virtchnl.h
630
u16 rxq_map;
sys/dev/ice/virtchnl.h
631
u16 txq_map;
sys/dev/ice/virtchnl.h
632
u16 rxitr_idx;
sys/dev/ice/virtchnl.h
633
u16 txitr_idx;
sys/dev/ice/virtchnl.h
639
u16 num_vectors;
sys/dev/ice/virtchnl.h
657
u16 vsi_id;
sys/dev/ice/virtchnl.h
658
u16 pad;
sys/dev/ice/virtchnl.h
687
u16 vport_id;
sys/dev/ice/virtchnl.h
688
u16 qregion_width;
sys/dev/ice/virtchnl.h
741
u16 vsi_id;
sys/dev/ice/virtchnl.h
742
u16 num_elements;
sys/dev/ice/virtchnl.h
763
u16 vsi_id;
sys/dev/ice/virtchnl.h
764
u16 num_elements;
sys/dev/ice/virtchnl.h
765
u16 vlan_id[1];
sys/dev/ice/virtchnl.h
888
u16 max_filters;
sys/dev/ice/virtchnl.h
958
u16 tci; /* tci[15:13] = PCP and tci[11:0] = VID */
sys/dev/ice/virtchnl.h
959
u16 tci_mask; /* only valid if VIRTCHNL_VLAN_FILTER_MASK set in
sys/dev/ice/virtchnl.h
962
u16 tpid; /* 0x8100, 0x88a8, etc. and only type(s) set in
sys/dev/ice/virtchnl.h
992
u16 vport_id;
sys/dev/ice/virtchnl.h
993
u16 num_elements;
sys/dev/igc/if_igc.c
1711
u16 hwm;
sys/dev/igc/if_igc.c
1712
u16 max_frame_size;
sys/dev/igc/if_igc.c
2433
u16 eeprom_data = 0, apme_mask;
sys/dev/igc/if_igc.c
3060
u16 eeprom_data;
sys/dev/igc/if_igc.h
347
u16 link_active;
sys/dev/igc/if_igc.h
348
u16 fc;
sys/dev/igc/if_igc.h
349
u16 link_speed;
sys/dev/igc/if_igc.h
350
u16 link_duplex;
sys/dev/igc/if_igc.h
373
u16 vf_ifp;
sys/dev/igc/igc_api.c
352
s32 igc_get_speed_and_duplex(struct igc_hw *hw, u16 *speed, u16 *duplex)
sys/dev/igc/igc_api.c
454
s32 igc_read_phy_reg(struct igc_hw *hw, u32 offset, u16 *data)
sys/dev/igc/igc_api.c
471
s32 igc_write_phy_reg(struct igc_hw *hw, u32 offset, u16 data)
sys/dev/igc/igc_api.c
667
s32 igc_read_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *data)
sys/dev/igc/igc_api.c
685
s32 igc_write_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *data)
sys/dev/igc/igc_api.h
27
s32 igc_get_speed_and_duplex(struct igc_hw *hw, u16 *speed, u16 *duplex);
sys/dev/igc/igc_api.h
37
s32 igc_read_phy_reg(struct igc_hw *hw, u32 offset, u16 *data);
sys/dev/igc/igc_api.h
38
s32 igc_write_phy_reg(struct igc_hw *hw, u32 offset, u16 data);
sys/dev/igc/igc_api.h
50
s32 igc_read_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *data);
sys/dev/igc/igc_api.h
51
s32 igc_write_nvm(struct igc_hw *hw, u16 offset, u16 words, u16 *data);
sys/dev/igc/igc_base.c
21
u16 mask = IGC_SWFW_PHY0_SM;
sys/dev/igc/igc_base.c
39
u16 mask = IGC_SWFW_PHY0_SM;
sys/dev/igc/igc_base.c
59
u16 i, rar_count = mac->rar_entry_count;
sys/dev/igc/igc_defines.h
1296
(u16)(((invm_dword) & 0xFFFF0000) >> 16)
sys/dev/igc/igc_hw.h
121
#define __le16 u16
sys/dev/igc/igc_hw.h
351
s32 (*get_link_up_info)(struct igc_hw *, u16 *, u16 *);
sys/dev/igc/igc_hw.h
362
s32 (*acquire_swfw_sync)(struct igc_hw *, u16);
sys/dev/igc/igc_hw.h
363
void (*release_swfw_sync)(struct igc_hw *, u16);
sys/dev/igc/igc_hw.h
386
s32 (*set_page)(struct igc_hw *, u16);
sys/dev/igc/igc_hw.h
387
s32 (*read_reg)(struct igc_hw *, u32, u16 *);
sys/dev/igc/igc_hw.h
388
s32 (*read_reg_locked)(struct igc_hw *, u32, u16 *);
sys/dev/igc/igc_hw.h
389
s32 (*read_reg_page)(struct igc_hw *, u32, u16 *);
sys/dev/igc/igc_hw.h
394
s32 (*write_reg)(struct igc_hw *, u32, u16);
sys/dev/igc/igc_hw.h
395
s32 (*write_reg_locked)(struct igc_hw *, u32, u16);
sys/dev/igc/igc_hw.h
396
s32 (*write_reg_page)(struct igc_hw *, u32, u16);
sys/dev/igc/igc_hw.h
405
s32 (*read)(struct igc_hw *, u16, u16, u16 *);
sys/dev/igc/igc_hw.h
410
s32 (*write)(struct igc_hw *, u16, u16, u16 *);
sys/dev/igc/igc_hw.h
431
u16 current_ifs_val;
sys/dev/igc/igc_hw.h
432
u16 ifs_max_val;
sys/dev/igc/igc_hw.h
433
u16 ifs_min_val;
sys/dev/igc/igc_hw.h
434
u16 ifs_ratio;
sys/dev/igc/igc_hw.h
435
u16 ifs_step_size;
sys/dev/igc/igc_hw.h
436
u16 mta_reg_count;
sys/dev/igc/igc_hw.h
437
u16 uta_reg_count;
sys/dev/igc/igc_hw.h
442
u16 rar_entry_count;
sys/dev/igc/igc_hw.h
465
u16 autoneg_advertised;
sys/dev/igc/igc_hw.h
466
u16 autoneg_mask;
sys/dev/igc/igc_hw.h
479
u16 word_size;
sys/dev/igc/igc_hw.h
480
u16 delay_usec;
sys/dev/igc/igc_hw.h
481
u16 address_bits;
sys/dev/igc/igc_hw.h
482
u16 opcode_bits;
sys/dev/igc/igc_hw.h
483
u16 page_size;
sys/dev/igc/igc_hw.h
491
u16 func;
sys/dev/igc/igc_hw.h
492
u16 pci_cmd_word;
sys/dev/igc/igc_hw.h
498
u16 pause_time; /* Flow control pause timer */
sys/dev/igc/igc_hw.h
499
u16 refresh_time; /* Flow control refresh timer */
sys/dev/igc/igc_hw.h
529
u16 device_id;
sys/dev/igc/igc_hw.h
530
u16 subsystem_vendor_id;
sys/dev/igc/igc_hw.h
531
u16 subsystem_device_id;
sys/dev/igc/igc_hw.h
532
u16 vendor_id;
sys/dev/igc/igc_hw.h
541
s32 igc_read_pcie_cap_reg(struct igc_hw *hw, u32 reg, u16 *value);
sys/dev/igc/igc_hw.h
542
s32 igc_write_pcie_cap_reg(struct igc_hw *hw, u32 reg, u16 *value);
sys/dev/igc/igc_hw.h
543
void igc_read_pci_cfg(struct igc_hw *hw, u32 reg, u16 *value);
sys/dev/igc/igc_hw.h
544
void igc_write_pci_cfg(struct igc_hw *hw, u32 reg, u16 *value);
sys/dev/igc/igc_i225.c
17
static s32 __igc_write_nvm_srwr(struct igc_hw *hw, u16 offset, u16 words,
sys/dev/igc/igc_i225.c
18
u16 *data);
sys/dev/igc/igc_i225.c
270
s32 igc_acquire_swfw_sync_i225(struct igc_hw *hw, u16 mask)
sys/dev/igc/igc_i225.c
29
u16 size;
sys/dev/igc/igc_i225.c
320
void igc_release_swfw_sync_i225(struct igc_hw *hw, u16 mask)
sys/dev/igc/igc_i225.c
33
size = (u16)((eecd & IGC_EECD_SIZE_EX_MASK) >>
sys/dev/igc/igc_i225.c
444
s32 igc_read_nvm_srrd_i225(struct igc_hw *hw, u16 offset, u16 words,
sys/dev/igc/igc_i225.c
445
u16 *data)
sys/dev/igc/igc_i225.c
448
u16 i, count;
sys/dev/igc/igc_i225.c
489
s32 igc_write_nvm_srwr_i225(struct igc_hw *hw, u16 offset, u16 words,
sys/dev/igc/igc_i225.c
490
u16 *data)
sys/dev/igc/igc_i225.c
493
u16 i, count;
sys/dev/igc/igc_i225.c
530
static s32 __igc_write_nvm_srwr(struct igc_hw *hw, u16 offset, u16 words,
sys/dev/igc/igc_i225.c
531
u16 *data)
sys/dev/igc/igc_i225.c
585
s32 (*read_op_ptr)(struct igc_hw *, u16, u16, u16 *);
sys/dev/igc/igc_i225.c
620
u16 checksum = 0;
sys/dev/igc/igc_i225.c
621
u16 i, nvm_data;
sys/dev/igc/igc_i225.c
651
checksum = (u16)NVM_SUM - checksum;
sys/dev/igc/igc_i225.c
767
u16 current_offset_data = 0;
sys/dev/igc/igc_i225.c
769
u16 base_address = 0x0;
sys/dev/igc/igc_i225.c
771
u16 current_offset;
sys/dev/igc/igc_i225.c
888
u16 speed, duplex;
sys/dev/igc/igc_i225.h
14
s32 igc_write_nvm_srwr_i225(struct igc_hw *hw, u16 offset,
sys/dev/igc/igc_i225.h
15
u16 words, u16 *data);
sys/dev/igc/igc_i225.h
16
s32 igc_read_nvm_srrd_i225(struct igc_hw *hw, u16 offset,
sys/dev/igc/igc_i225.h
17
u16 words, u16 *data);
sys/dev/igc/igc_i225.h
23
s32 igc_acquire_swfw_sync_i225(struct igc_hw *hw, u16 mask);
sys/dev/igc/igc_i225.h
24
void igc_release_swfw_sync_i225(struct igc_hw *hw, u16 mask);
sys/dev/igc/igc_mac.c
169
void igc_init_rx_addrs_generic(struct igc_hw *hw, u16 rar_count)
sys/dev/igc/igc_mac.c
203
u16 offset, nvm_alt_mac_addr_offset, nvm_data;
sys/dev/igc/igc_mac.c
358
(((u16) mc_addr[5]) << bit_shift)));
sys/dev/igc/igc_mac.c
56
u16 IGC_UNUSEDARG *s, u16 IGC_UNUSEDARG *d)
sys/dev/igc/igc_mac.c
709
u16 mii_status_reg, mii_nway_adv_reg, mii_nway_lp_ability_reg;
sys/dev/igc/igc_mac.c
710
u16 speed, duplex;
sys/dev/igc/igc_mac.c
875
s32 igc_get_speed_and_duplex_copper_generic(struct igc_hw *hw, u16 *speed,
sys/dev/igc/igc_mac.c
876
u16 *duplex)
sys/dev/igc/igc_mac.h
13
s32 igc_null_link_info(struct igc_hw *hw, u16 *s, u16 *d);
sys/dev/igc/igc_mac.h
26
s32 igc_get_speed_and_duplex_copper_generic(struct igc_hw *hw, u16 *speed,
sys/dev/igc/igc_mac.h
27
u16 *duplex);
sys/dev/igc/igc_mac.h
39
void igc_init_rx_addrs_generic(struct igc_hw *hw, u16 rar_count);
sys/dev/igc/igc_nvm.c
114
static void igc_shift_out_eec_bits(struct igc_hw *hw, u16 data, u16 count)
sys/dev/igc/igc_nvm.c
158
static u16 igc_shift_in_eec_bits(struct igc_hw *hw, u16 count)
sys/dev/igc/igc_nvm.c
162
u16 data;
sys/dev/igc/igc_nvm.c
333
u16 timeout = NVM_MAX_RETRY_SPI;
sys/dev/igc/igc_nvm.c
376
s32 igc_read_nvm_eerd(struct igc_hw *hw, u16 offset, u16 words, u16 *data)
sys/dev/igc/igc_nvm.c
42
u16 IGC_UNUSEDARG a, u16 IGC_UNUSEDARG b,
sys/dev/igc/igc_nvm.c
424
s32 igc_write_nvm_spi(struct igc_hw *hw, u16 offset, u16 words, u16 *data)
sys/dev/igc/igc_nvm.c
428
u16 widx = 0;
sys/dev/igc/igc_nvm.c
43
u16 IGC_UNUSEDARG *c)
sys/dev/igc/igc_nvm.c
470
igc_shift_out_eec_bits(hw, (u16)((offset + widx) * 2),
sys/dev/igc/igc_nvm.c
475
u16 word_out = data[widx];
sys/dev/igc/igc_nvm.c
505
u16 nvm_data;
sys/dev/igc/igc_nvm.c
506
u16 pba_ptr;
sys/dev/igc/igc_nvm.c
507
u16 offset;
sys/dev/igc/igc_nvm.c
508
u16 length;
sys/dev/igc/igc_nvm.c
618
u16 i;
sys/dev/igc/igc_nvm.c
645
u16 checksum = 0;
sys/dev/igc/igc_nvm.c
646
u16 i, nvm_data;
sys/dev/igc/igc_nvm.c
659
if (checksum != (u16) NVM_SUM) {
sys/dev/igc/igc_nvm.c
67
u16 IGC_UNUSEDARG a, u16 IGC_UNUSEDARG b,
sys/dev/igc/igc_nvm.c
678
u16 checksum = 0;
sys/dev/igc/igc_nvm.c
679
u16 i, nvm_data;
sys/dev/igc/igc_nvm.c
68
u16 IGC_UNUSEDARG *c)
sys/dev/igc/igc_nvm.c
691
checksum = (u16) NVM_SUM - checksum;
sys/dev/igc/igc_nvm.c
728
u16 eeprom_verh, eeprom_verl, etrack_test, fw_version;
sys/dev/igc/igc_nvm.c
730
u16 comb_verh, comb_verl, comb_offset;
sys/dev/igc/igc_nvm.h
12
u16 eep_major;
sys/dev/igc/igc_nvm.h
13
u16 eep_minor;
sys/dev/igc/igc_nvm.h
14
u16 eep_build;
sys/dev/igc/igc_nvm.h
21
u16 or_major;
sys/dev/igc/igc_nvm.h
22
u16 or_build;
sys/dev/igc/igc_nvm.h
23
u16 or_patch;
sys/dev/igc/igc_nvm.h
27
s32 igc_null_read_nvm(struct igc_hw *hw, u16 a, u16 b, u16 *c);
sys/dev/igc/igc_nvm.h
29
s32 igc_null_led_default(struct igc_hw *hw, u16 *data);
sys/dev/igc/igc_nvm.h
30
s32 igc_null_write_nvm(struct igc_hw *hw, u16 a, u16 b, u16 *c);
sys/dev/igc/igc_nvm.h
37
s32 igc_read_nvm_eerd(struct igc_hw *hw, u16 offset, u16 words,
sys/dev/igc/igc_nvm.h
38
u16 *data);
sys/dev/igc/igc_nvm.h
39
s32 igc_valid_led_default_generic(struct igc_hw *hw, u16 *data);
sys/dev/igc/igc_nvm.h
41
s32 igc_write_nvm_spi(struct igc_hw *hw, u16 offset, u16 words,
sys/dev/igc/igc_nvm.h
42
u16 *data);
sys/dev/igc/igc_osdep.h
61
#define __le16 u16
sys/dev/igc/igc_phy.c
1011
static s32 __igc_access_xmdio_reg(struct igc_hw *hw, u16 address,
sys/dev/igc/igc_phy.c
1012
u8 dev_addr, u16 *data, bool read)
sys/dev/igc/igc_phy.c
1053
s32 igc_read_xmdio_reg(struct igc_hw *hw, u16 addr, u8 dev_addr, u16 *data)
sys/dev/igc/igc_phy.c
1067
s32 igc_write_xmdio_reg(struct igc_hw *hw, u16 addr, u8 dev_addr, u16 data)
sys/dev/igc/igc_phy.c
135
u16 phy_id;
sys/dev/igc/igc_phy.c
167
s32 igc_read_phy_reg_mdic(struct igc_hw *hw, u32 offset, u16 *data)
sys/dev/igc/igc_phy.c
213
*data = (u16) mdic;
sys/dev/igc/igc_phy.c
226
s32 igc_write_phy_reg_mdic(struct igc_hw *hw, u32 offset, u16 data)
sys/dev/igc/igc_phy.c
290
u16 mii_autoneg_adv_reg;
sys/dev/igc/igc_phy.c
291
u16 mii_1000t_ctrl_reg = 0;
sys/dev/igc/igc_phy.c
292
u16 aneg_multigbt_an_ctrl = 0;
sys/dev/igc/igc_phy.c
474
u16 phy_ctrl;
sys/dev/igc/igc_phy.c
50
u16 IGC_UNUSEDARG data)
sys/dev/igc/igc_phy.c
591
void igc_phy_force_speed_duplex_setup(struct igc_hw *hw, u16 *phy_ctrl)
sys/dev/igc/igc_phy.c
63
u32 IGC_UNUSEDARG offset, u16 IGC_UNUSEDARG *data)
sys/dev/igc/igc_phy.c
658
u16 data;
sys/dev/igc/igc_phy.c
766
u16 i, phy_status;
sys/dev/igc/igc_phy.c
805
u16 i, phy_status;
sys/dev/igc/igc_phy.c
908
u16 mii_reg = 0;
sys/dev/igc/igc_phy.c
927
u16 mii_reg = 0;
sys/dev/igc/igc_phy.c
944
s32 igc_write_phy_reg_gpy(struct igc_hw *hw, u32 offset, u16 data)
sys/dev/igc/igc_phy.c
962
ret_val = igc_write_xmdio_reg(hw, (u16)offset, dev_addr,
sys/dev/igc/igc_phy.c
978
s32 igc_read_phy_reg_gpy(struct igc_hw *hw, u32 offset, u16 *data)
sys/dev/igc/igc_phy.c
98
u32 IGC_UNUSEDARG offset, u16 IGC_UNUSEDARG data)
sys/dev/igc/igc_phy.c
996
ret_val = igc_read_xmdio_reg(hw, (u16)offset, dev_addr,
sys/dev/igc/igc_phy.h
11
s32 igc_null_read_reg(struct igc_hw *hw, u32 offset, u16 *data);
sys/dev/igc/igc_phy.h
14
s32 igc_null_write_reg(struct igc_hw *hw, u32 offset, u16 data);
sys/dev/igc/igc_phy.h
15
s32 igc_null_set_page(struct igc_hw *hw, u16 data);
sys/dev/igc/igc_phy.h
19
void igc_phy_force_speed_duplex_setup(struct igc_hw *hw, u16 *phy_ctrl);
sys/dev/igc/igc_phy.h
28
s32 igc_enable_phy_wakeup_reg_access_bm(struct igc_hw *hw, u16 *phy_reg);
sys/dev/igc/igc_phy.h
29
s32 igc_disable_phy_wakeup_reg_access_bm(struct igc_hw *hw, u16 *phy_reg);
sys/dev/igc/igc_phy.h
32
s32 igc_read_phy_reg_mdic(struct igc_hw *hw, u32 offset, u16 *data);
sys/dev/igc/igc_phy.h
33
s32 igc_write_phy_reg_mdic(struct igc_hw *hw, u32 offset, u16 data);
sys/dev/igc/igc_phy.h
35
s32 igc_read_xmdio_reg(struct igc_hw *hw, u16 addr, u8 dev_addr,
sys/dev/igc/igc_phy.h
36
u16 *data);
sys/dev/igc/igc_phy.h
37
s32 igc_write_xmdio_reg(struct igc_hw *hw, u16 addr, u8 dev_addr,
sys/dev/igc/igc_phy.h
38
u16 data);
sys/dev/igc/igc_phy.h
39
s32 igc_write_phy_reg_gpy(struct igc_hw *hw, u32 offset, u16 data);
sys/dev/igc/igc_phy.h
40
s32 igc_read_phy_reg_gpy(struct igc_hw *hw, u32 offset, u16 *data);
sys/dev/irdma/fbsd_kcompat.h
150
int ib_get_eth_speed(struct ib_device *dev, u32 port_num, u16 *speed, u8 *width);
sys/dev/irdma/fbsd_kcompat.h
161
int irdma_query_pkey(struct ib_device *ibdev, u8 port, u16 index,
sys/dev/irdma/fbsd_kcompat.h
162
u16 *pkey);
sys/dev/irdma/fbsd_kcompat.h
179
u16 *vlan_id);
sys/dev/irdma/fbsd_kcompat.h
182
u16 kc_rdma_get_udp_sport(u32 fl, u32 lqpn, u32 rqpn);
sys/dev/irdma/fbsd_kcompat.h
222
u16 access);
sys/dev/irdma/fbsd_kcompat.h
93
static inline int irdma_iw_query_pkey(struct ib_device *ibdev, u8 port, u16 index,
sys/dev/irdma/fbsd_kcompat.h
94
u16 *pkey)
sys/dev/irdma/icrdma.c
244
irdma_log_invalid_mtu(u16 mtu, struct irdma_sc_dev *dev)
sys/dev/irdma/icrdma_hw.c
248
irdma_init_config_check(struct irdma_config_check *cc, u8 traffic_class, u8 prio, u16 qs_handle)
sys/dev/irdma/icrdma_hw.c
288
irdma_check_tc_has_pfc(struct irdma_sc_vsi *vsi, u64 reg_offset, u16 traffic_class)
sys/dev/irdma/icrdma_hw.h
144
u16 qs_handle);
sys/dev/irdma/irdma.h
165
u16 dest_port;
sys/dev/irdma/irdma.h
171
u16 vlan_id;
sys/dev/irdma/irdma.h
172
u16 hmc_fcn_id;
sys/dev/irdma/irdma.h
175
u16 mg_id;
sys/dev/irdma/irdma.h
178
u16 qs_handle;
sys/dev/irdma/irdma.h
199
u16 max_hw_push_len;
sys/dev/irdma/irdma.h
200
u16 max_hw_sq_chunk;
sys/dev/irdma/irdma.h
201
u16 min_hw_wq_size;
sys/dev/irdma/irdma.h
229
u16 max_stat_inst;
sys/dev/irdma/irdma.h
230
u16 max_stat_idx;
sys/dev/irdma/irdma_cm.c
1102
u16 ird_size;
sys/dev/irdma/irdma_cm.c
1103
u16 ord_size;
sys/dev/irdma/irdma_cm.c
1104
u16 ctrl_ord;
sys/dev/irdma/irdma_cm.c
1105
u16 ctrl_ird;
sys/dev/irdma/irdma_cm.c
1640
irdma_find_listener(struct irdma_cm_core *cm_core, u32 *dst_addr, bool ipv4, u16 dst_port,
sys/dev/irdma/irdma_cm.c
1641
u16 vlan_id, enum irdma_cm_listener_state listener_state)
sys/dev/irdma/irdma_cm.c
1646
u16 listen_port;
sys/dev/irdma/irdma_cm.c
1745
irdma_get_vlan_mac_ipv6(struct iw_cm_id *cm_id, u32 *addr, u16 *vlan_id, u8 *mac)
sys/dev/irdma/irdma_cm.c
1751
u16 scope_id = 0;
sys/dev/irdma/irdma_cm.c
1780
u16
sys/dev/irdma/irdma_cm.c
1783
u16 vlan_id = 0xFFFF;
sys/dev/irdma/irdma_cm.c
2074
u16 rem_port, u32 *rem_addr, u16 loc_port,
sys/dev/irdma/irdma_cm.c
2075
u32 *loc_addr, u16 vlan_id)
sys/dev/irdma/irdma_cm.c
3011
u16 private_data_len = conn_param->private_data_len;
sys/dev/irdma/irdma_cm.c
3144
u16 vtag;
sys/dev/irdma/irdma_cm.c
3363
tcp_info->arp_idx = (u16)irdma_arp_table(iwqp->iwdev->rf,
sys/dev/irdma/irdma_cm.c
3481
u16 ae = iwqp->last_aeq;
sys/dev/irdma/irdma_cm.c
3548
u16 last_ae;
sys/dev/irdma/irdma_cm.c
3708
u16 buf_len = 0;
sys/dev/irdma/irdma_cm.c
4189
irdma_ip_vlan_match(u32 *ip1, u16 vlan_id1,
sys/dev/irdma/irdma_cm.c
4191
u16 vlan_id2, bool ipv4)
sys/dev/irdma/irdma_cm.c
444
u16 pktsize;
sys/dev/irdma/irdma_cm.c
510
tcph->th_off = (u16)((sizeof(*tcph) + opts_len + 3) >> 2);
sys/dev/irdma/irdma_cm.c
559
u16 pktsize;
sys/dev/irdma/irdma_cm.c
560
u16 eth_hlen = ETH_HLEN;
sys/dev/irdma/irdma_cm.c
565
u16 vtag;
sys/dev/irdma/irdma_cm.c
697
tcph->th_off = (u16)((sizeof(*tcph) + opts_len + 3) >> 2);
sys/dev/irdma/irdma_cm.c
952
u16 ctrl_ird, ctrl_ord;
sys/dev/irdma/irdma_cm.h
272
u16 port;
sys/dev/irdma/irdma_cm.h
288
u16 loc_port;
sys/dev/irdma/irdma_cm.h
289
u16 vlan_id;
sys/dev/irdma/irdma_cm.h
334
u16 loc_port, rem_port;
sys/dev/irdma/irdma_cm.h
337
u16 vlan_id;
sys/dev/irdma/irdma_cm.h
338
u16 ird_size;
sys/dev/irdma/irdma_cm.h
339
u16 ord_size;
sys/dev/irdma/irdma_cm.h
340
u16 mpav2_ird_ord;
sys/dev/irdma/irdma_cm.h
341
u16 lsmm_size;
sys/dev/irdma/irdma_cm.h
361
u16 loc_port;
sys/dev/irdma/irdma_cm.h
362
u16 rem_port;
sys/dev/irdma/irdma_cm.h
366
u16 vlan_id;
sys/dev/irdma/irdma_cm.h
443
bool irdma_port_in_use(struct irdma_cm_core *cm_core, u16 port);
sys/dev/irdma/irdma_ctrl.c
1404
u16 quanta = IRDMA_QP_WQE_MIN_QUANTA;
sys/dev/irdma/irdma_ctrl.c
1671
u16 ddp_seg_len;
sys/dev/irdma/irdma_ctrl.c
1922
u16 aeq_id = 0;
sys/dev/irdma/irdma_ctrl.c
2966
u16 max_pe_sds;
sys/dev/irdma/irdma_ctrl.c
2971
hmc_info->first_sd_index = (u16)FIELD_GET(IRDMA_QUERY_FPM_FIRST_PE_SD_INDEX, temp);
sys/dev/irdma/irdma_ctrl.c
2972
max_pe_sds = (u16)FIELD_GET(IRDMA_QUERY_FPM_MAX_PE_SDS, temp);
sys/dev/irdma/irdma_ctrl.c
306
u16 arp_index, bool post_sq)
sys/dev/irdma/irdma_ctrl.c
3188
irdma_sc_cqp_create(struct irdma_sc_cqp *cqp, u16 *maj_err, u16 *min_err)
sys/dev/irdma/irdma_ctrl.c
3374
u16 sw_cq_sel;
sys/dev/irdma/irdma_ctrl.c
3380
sw_cq_sel = (u16)FIELD_GET(IRDMA_CQ_DBSA_SW_CQ_SELECT, temp_val);
sys/dev/irdma/irdma_ctrl.c
3431
info->min_err_code = (u16)FIELD_GET(IRDMA_CQ_MINERR, temp);
sys/dev/irdma/irdma_ctrl.c
3433
info->maj_err_code = (u16)FIELD_GET(IRDMA_CQ_MAJERR, temp);
sys/dev/irdma/irdma_ctrl.c
3571
u16 hmc_fn_id,
sys/dev/irdma/irdma_ctrl.c
3634
u16 hmc_fn_id,
sys/dev/irdma/irdma_ctrl.c
394
u16 qs_handle;
sys/dev/irdma/irdma_ctrl.c
4096
info->wqe_idx = (u16)FIELD_GET(IRDMA_AEQE_WQDESCIDX, temp);
sys/dev/irdma/irdma_ctrl.c
4099
info->ae_id = (u16)FIELD_GET(IRDMA_AEQE_AECODE, temp);
sys/dev/irdma/irdma_ctrl.c
4399
irdma_sc_init_iw_hmc(struct irdma_sc_dev *dev, u16 hmc_fn_id)
sys/dev/irdma/irdma_ctrl.c
4435
irdma_sc_cfg_iw_fpm(struct irdma_sc_dev *dev, u16 hmc_fn_id)
sys/dev/irdma/irdma_ctrl.c
4627
u16 hmc_fn_id, bool post_sq,
sys/dev/irdma/irdma_ctrl.c
468
u16 wqe_size;
sys/dev/irdma/irdma_ctrl.c
4760
u16 feat_cnt;
sys/dev/irdma/irdma_ctrl.c
4761
u16 feat_idx;
sys/dev/irdma/irdma_ctrl.c
4777
feat_cnt = (u16)FIELD_GET(IRDMA_FEATURE_CNT, temp);
sys/dev/irdma/irdma_ctrl.c
4797
feat_cnt = (u16)FIELD_GET(IRDMA_FEATURE_CNT, temp);
sys/dev/irdma/irdma_ctrl.c
5413
u16 max_stat_idx = vsi->dev->hw_attrs.max_stat_idx;
sys/dev/irdma/irdma_ctrl.c
5524
static inline u64 irdma_stat_val(const u64 *stats_val, u16 byteoff,
sys/dev/irdma/irdma_ctrl.c
5526
u16 idx = byteoff / sizeof(*stats_val);
sys/dev/irdma/irdma_ctrl.c
5558
u16 max_stat_idx)
sys/dev/irdma/irdma_ctrl.c
5561
u16 i;
sys/dev/irdma/irdma_ctrl.c
705
static u8 irdma_sc_get_encoded_ird_size(u16 ird_size) {
sys/dev/irdma/irdma_ctrl.c
90
static u16 irdma_get_qp_qs(struct irdma_sc_qp *qp){
sys/dev/irdma/irdma_ctrl.c
93
u16 qs_handle;
sys/dev/irdma/irdma_ctrl.c
935
u16 entry_idx, u8 ignore_ref_count,
sys/dev/irdma/irdma_hmc.c
163
irdma_hmc_sd_one(struct irdma_sc_dev *dev, u16 hmc_fn_id, u64 pa, u32 sd_idx,
sys/dev/irdma/irdma_hmc.c
338
info->hmc_info->sd_indexes[info->add_sd_cnt] = (u16)j;
sys/dev/irdma/irdma_hmc.c
490
(u16)i;
sys/dev/irdma/irdma_hmc.c
504
info->hmc_info->sd_indexes[info->del_sd_cnt] = (u16)i;
sys/dev/irdma/irdma_hmc.h
130
u16 hmc_fn_id;
sys/dev/irdma/irdma_hmc.h
131
u16 first_sd_index;
sys/dev/irdma/irdma_hmc.h
135
u16 sd_indexes[IRDMA_HMC_MAX_SD_COUNT];
sys/dev/irdma/irdma_hmc.h
145
u16 hmc_fn_id;
sys/dev/irdma/irdma_hmc.h
182
int irdma_hmc_sd_one(struct irdma_sc_dev *dev, u16 hmc_fn_id, u64 pa, u32 sd_idx,
sys/dev/irdma/irdma_hw.c
1216
u16 ceq_id, struct irdma_msix_vector *msix_vec)
sys/dev/irdma/irdma_hw.c
1290
u16 ceq_id, struct irdma_sc_vsi *vsi)
sys/dev/irdma/irdma_hw.c
1405
u16 ceq_id;
sys/dev/irdma/irdma_hw.c
2294
u16 port)
sys/dev/irdma/irdma_hw.c
2348
irdma_del_local_mac_entry(struct irdma_pci_f *rf, u16 idx)
sys/dev/irdma/irdma_hw.c
2378
irdma_add_local_mac_entry(struct irdma_pci_f *rf, const u8 *mac_addr, u16 idx)
sys/dev/irdma/irdma_hw.c
2417
irdma_alloc_local_mac_entry(struct irdma_pci_f *rf, u16 *mac_tbl_idx)
sys/dev/irdma/irdma_hw.c
2437
*mac_tbl_idx = (u16)cqp_request->compl_info.op_ret_val;
sys/dev/irdma/irdma_hw.c
2452
u16 accel_local_port, bool add_port)
sys/dev/irdma/irdma_hw.c
2487
irdma_add_apbvt(struct irdma_device *iwdev, u16 port)
sys/dev/irdma/irdma_hw.c
2548
irdma_arp_cqp_op(struct irdma_pci_f *rf, u16 arp_index,
sys/dev/irdma/irdma_hw.c
2563
info->arp_index = (u16)arp_index;
sys/dev/irdma/irdma_hw.c
2599
irdma_arp_cqp_op(rf, (u16)arp_index, mac_addr, action);
sys/dev/irdma/irdma_hw.c
507
u16 ceq_idx;
sys/dev/irdma/irdma_hw.c
985
u16 maj_err, min_err;
sys/dev/irdma/irdma_kcompat.c
1399
u16 *vlan_id)
sys/dev/irdma/irdma_kcompat.c
1564
irdma_query_pkey(struct ib_device *ibdev, u8 port, u16 index,
sys/dev/irdma/irdma_kcompat.c
1565
u16 *pkey)
sys/dev/irdma/irdma_kcompat.c
1637
ib_get_eth_speed(ibdev, port, (u16 *)& props->active_speed, &props->active_width);
sys/dev/irdma/irdma_kcompat.c
1834
u16 *speed, u8 *width)
sys/dev/irdma/irdma_kcompat.c
1917
ib_get_eth_speed(struct ib_device *ibdev, u32 port_num, u16 *speed, u8 *width)
sys/dev/irdma/irdma_kcompat.c
39
static u16 kc_rdma_flow_label_to_udp_sport(u32 fl) {
sys/dev/irdma/irdma_kcompat.c
436
u16 vlan_prio;
sys/dev/irdma/irdma_kcompat.c
45
return (u16)(fl_low | IRDMA_ROCE_UDP_ENCAP_VALID_PORT_MIN);
sys/dev/irdma/irdma_kcompat.c
453
vlan_prio = (u16)irdma_roce_get_vlan_prio(sgid_attr->ndev,
sys/dev/irdma/irdma_kcompat.c
59
u16
sys/dev/irdma/irdma_main.h
155
u16 id;
sys/dev/irdma/irdma_main.h
166
u16 maj;
sys/dev/irdma/irdma_main.h
167
u16 min;
sys/dev/irdma/irdma_main.h
173
u16 maj_err_code;
sys/dev/irdma/irdma_main.h
174
u16 min_err_code;
sys/dev/irdma/irdma_main.h
240
u16 ceq_id;
sys/dev/irdma/irdma_main.h
261
u16 ceq_idx;
sys/dev/irdma/irdma_main.h
262
u16 aeq_idx;
sys/dev/irdma/irdma_main.h
392
u16 mac_ip_table_idx;
sys/dev/irdma/irdma_main.h
393
u16 vsi_num;
sys/dev/irdma/irdma_main.h
536
void irdma_arp_cqp_op(struct irdma_pci_f *rf, u16 arp_index,
sys/dev/irdma/irdma_main.h
540
struct irdma_apbvt_entry *irdma_add_apbvt(struct irdma_device *iwdev, u16 port);
sys/dev/irdma/irdma_main.h
549
int irdma_alloc_local_mac_entry(struct irdma_pci_f *rf, u16 *mac_tbl_idx);
sys/dev/irdma/irdma_main.h
550
int irdma_add_local_mac_entry(struct irdma_pci_f *rf, const u8 *mac_addr, u16 idx);
sys/dev/irdma/irdma_main.h
551
void irdma_del_local_mac_entry(struct irdma_pci_f *rf, u16 idx);
sys/dev/irdma/irdma_main.h
552
const char *irdma_get_ae_desc(u16 ae_id);
sys/dev/irdma/irdma_main.h
559
u16 maj_err_code, u16 min_err_code);
sys/dev/irdma/irdma_main.h
592
u16 rem_port, u32 *rem_addr, u16 loc_port,
sys/dev/irdma/irdma_main.h
593
u32 *loc_addr, u16 vlan_id);
sys/dev/irdma/irdma_main.h
600
u16 irdma_get_vlan_ipv4(struct iw_cm_id *cm_id, u32 *addr);
sys/dev/irdma/irdma_main.h
601
void irdma_get_vlan_mac_ipv6(struct iw_cm_id *cm_id, u32 *addr, u16 *vlan_id,
sys/dev/irdma/irdma_protos.h
110
u16 hmc_fn_id, bool post_sq,
sys/dev/irdma/irdma_protos.h
125
struct irdma_dma_mem *val_mem, u16 hmc_fn_id);
sys/dev/irdma/irdma_protos.h
127
struct irdma_dma_mem *val_mem, u16 hmc_fn_id);
sys/dev/irdma/irdma_protos.h
56
u16 qs_handle);
sys/dev/irdma/irdma_protos.h
58
int irdma_sc_init_iw_hmc(struct irdma_sc_dev *dev, u16 hmc_fn_id);
sys/dev/irdma/irdma_protos.h
72
u16 max_stat_idx);
sys/dev/irdma/irdma_protos.h
91
u16 irdma_alloc_ws_node_id(struct irdma_sc_dev *dev);
sys/dev/irdma/irdma_protos.h
92
void irdma_free_ws_node_id(struct irdma_sc_dev *dev, u16 node_id);
sys/dev/irdma/irdma_puda.c
1268
static u16 irdma_ieq_get_fpdu_len(struct irdma_pfpdu *pfpdu, u8 *datap,
sys/dev/irdma/irdma_puda.c
1272
u16 total_len = 0;
sys/dev/irdma/irdma_puda.c
1273
u16 fpdu_len;
sys/dev/irdma/irdma_puda.c
1315
u16 buf_offset, u32 txbuf_offset, u32 len)
sys/dev/irdma/irdma_puda.c
1361
buf->datalen -= (u16)offset;
sys/dev/irdma/irdma_puda.c
1378
struct irdma_puda_buf *txbuf, u16 fpdu_len)
sys/dev/irdma/irdma_puda.c
1382
u16 txoffset, bufoffset;
sys/dev/irdma/irdma_puda.c
1399
bufoffset = (u16)(buf->data - (u8 *)buf->mem.va);
sys/dev/irdma/irdma_puda.c
1421
bufoffset = (u16)(buf->data - (u8 *)buf->mem.va);
sys/dev/irdma/irdma_puda.c
1443
struct irdma_puda_buf *buf, u16 fpdu_len)
sys/dev/irdma/irdma_puda.c
1448
u16 plen = fpdu_len - buf->datalen;
sys/dev/irdma/irdma_puda.c
1486
struct irdma_puda_buf *buf, u16 fpdu_len)
sys/dev/irdma/irdma_puda.c
1559
u16 fpdu_len = 0;
sys/dev/irdma/irdma_puda.c
1560
u16 datalen = buf->datalen;
sys/dev/irdma/irdma_puda.c
1563
u16 ioffset = 0;
sys/dev/irdma/irdma_puda.c
1566
u16 len = 0;
sys/dev/irdma/irdma_puda.c
1567
u16 full = 0;
sys/dev/irdma/irdma_puda.c
1573
ioffset = (u16)(buf->data - (u8 *)buf->mem.va);
sys/dev/irdma/irdma_puda.c
330
info->vlan = (u16)FIELD_GET(IRDMA_CQ_UDVLAN, qword6);
sys/dev/irdma/irdma_puda.h
100
u16 datalen;
sys/dev/irdma/irdma_puda.h
101
u16 vlan_id;
sys/dev/irdma/irdma_puda.h
128
u16 buf_size;
sys/dev/irdma/irdma_puda.h
129
u16 mss; /* FIXME: Windows driver still using this */
sys/dev/irdma/irdma_puda.h
130
u16 stats_idx;
sys/dev/irdma/irdma_puda.h
146
u16 buf_size; /*buf must be max datalen + tcpip hdr + mac */
sys/dev/irdma/irdma_puda.h
180
u16 mss; /* FIXME: Windows driver still using this */
sys/dev/irdma/irdma_puda.h
181
u16 stats_idx;
sys/dev/irdma/irdma_puda.h
207
void irdma_ieq_update_tcpip_info(struct irdma_puda_buf *buf, u16 len, u32 seqnum);
sys/dev/irdma/irdma_puda.h
66
u16 vlan;
sys/dev/irdma/irdma_type.h
1007
u16 access_rights;
sys/dev/irdma/irdma_type.h
1011
u16 hmc_fcn_index;
sys/dev/irdma/irdma_type.h
1032
u16 access_rights;
sys/dev/irdma/irdma_type.h
1036
u16 hmc_fcn_index;
sys/dev/irdma/irdma_type.h
1051
u16 access_rights;
sys/dev/irdma/irdma_type.h
1059
u16 hmc_fcn_index;
sys/dev/irdma/irdma_type.h
1107
u16 ceq_id;
sys/dev/irdma/irdma_type.h
1130
u16 entry_idx;
sys/dev/irdma/irdma_type.h
1136
u16 arp_index;
sys/dev/irdma/irdma_type.h
1141
u16 port;
sys/dev/irdma/irdma_type.h
1152
u16 vlan_id;
sys/dev/irdma/irdma_type.h
1157
u16 dest_port;
sys/dev/irdma/irdma_type.h
1158
u16 src_port;
sys/dev/irdma/irdma_type.h
1163
u16 qs_handle;
sys/dev/irdma/irdma_type.h
1169
u16 sq_minor_code;
sys/dev/irdma/irdma_type.h
1170
u16 sq_major_code;
sys/dev/irdma/irdma_type.h
1171
u16 rq_minor_code;
sys/dev/irdma/irdma_type.h
1172
u16 rq_major_code;
sys/dev/irdma/irdma_type.h
1173
u16 ae_code;
sys/dev/irdma/irdma_type.h
1182
u16 ae_code;
sys/dev/irdma/irdma_type.h
1228
int irdma_sc_cqp_create(struct irdma_sc_cqp *cqp, u16 *maj_err, u16 *min_err);
sys/dev/irdma/irdma_type.h
1259
u16 hmc_fn_id, bool post_sq,
sys/dev/irdma/irdma_type.h
1334
u16 arp_index;
sys/dev/irdma/irdma_type.h
1409
u16 hmc_fn_id;
sys/dev/irdma/irdma_type.h
1417
u16 hmc_fn_id;
sys/dev/irdma/irdma_type.h
259
u16 rai_factor;
sys/dev/irdma/irdma_type.h
260
u16 hai_factor;
sys/dev/irdma/irdma_type.h
261
u16 dcqcn_t;
sys/dev/irdma/irdma_type.h
276
u16 hw_maj_ver;
sys/dev/irdma/irdma_type.h
277
u16 hw_min_ver;
sys/dev/irdma/irdma_type.h
326
u16 byteoff;
sys/dev/irdma/irdma_type.h
334
u16 hmc_fcn_index;
sys/dev/irdma/irdma_type.h
335
u16 stats_inst_index;
sys/dev/irdma/irdma_type.h
410
u16 hw_maj_ver;
sys/dev/irdma/irdma_type.h
411
u16 hw_min_ver;
sys/dev/irdma/irdma_type.h
448
u16 ceq_id;
sys/dev/irdma/irdma_type.h
472
u16 ceq_id;
sys/dev/irdma/irdma_type.h
501
u16 qs_handle;
sys/dev/irdma/irdma_type.h
502
u16 push_offset;
sys/dev/irdma/irdma_type.h
532
u16 hmc_fcn_idx;
sys/dev/irdma/irdma_type.h
541
u16 node_id[16];
sys/dev/irdma/irdma_type.h
548
u16 id;
sys/dev/irdma/irdma_type.h
549
u16 vsi;
sys/dev/irdma/irdma_type.h
550
u16 parent_id;
sys/dev/irdma/irdma_type.h
551
u16 qs_handle;
sys/dev/irdma/irdma_type.h
577
u16 qs_handle;
sys/dev/irdma/irdma_type.h
590
u16 qs_handle;
sys/dev/irdma/irdma_type.h
595
u16 vsi_idx;
sys/dev/irdma/irdma_type.h
605
u16 mtu;
sys/dev/irdma/irdma_type.h
619
u16 stats_idx;
sys/dev/irdma/irdma_type.h
657
u16 num_vfs;
sys/dev/irdma/irdma_type.h
658
u16 hmc_fn_id;
sys/dev/irdma/irdma_type.h
690
u16 new_mss;
sys/dev/irdma/irdma_type.h
713
u16 maj_err_code;
sys/dev/irdma/irdma_type.h
714
u16 min_err_code;
sys/dev/irdma/irdma_type.h
730
u16 qs_handle_list[IRDMA_MAX_USER_PRIORITY];
sys/dev/irdma/irdma_type.h
731
u16 mtu;
sys/dev/irdma/irdma_type.h
746
u16 exception_lan_q;
sys/dev/irdma/irdma_type.h
747
u16 pf_data_vsi_num;
sys/dev/irdma/irdma_type.h
768
u16 max_vfs;
sys/dev/irdma/irdma_type.h
769
u16 hmc_fn_id;
sys/dev/irdma/irdma_type.h
779
u16 ceq_id;
sys/dev/irdma/irdma_type.h
811
u16 ceq_id;
sys/dev/irdma/irdma_type.h
828
u16 src_port;
sys/dev/irdma/irdma_type.h
829
u16 dst_port;
sys/dev/irdma/irdma_type.h
832
u16 vlan_tag;
sys/dev/irdma/irdma_type.h
833
u16 arp_idx;
sys/dev/irdma/irdma_type.h
848
u16 p_key;
sys/dev/irdma/irdma_type.h
856
u16 ord_size;
sys/dev/irdma/irdma_type.h
857
u16 ird_size;
sys/dev/irdma/irdma_type.h
870
u16 t_high;
sys/dev/irdma/irdma_type.h
871
u16 t_low;
sys/dev/irdma/irdma_type.h
878
u16 rcv_mark_offset;
sys/dev/irdma/irdma_type.h
879
u16 snd_mark_offset;
sys/dev/irdma/irdma_type.h
885
u16 ord_size;
sys/dev/irdma/irdma_type.h
886
u16 ird_size;
sys/dev/irdma/irdma_type.h
901
u16 t_high;
sys/dev/irdma/irdma_type.h
902
u16 t_low;
sys/dev/irdma/irdma_type.h
923
u16 src_port;
sys/dev/irdma/irdma_type.h
924
u16 dst_port;
sys/dev/irdma/irdma_type.h
931
u16 syn_rst_handling;
sys/dev/irdma/irdma_type.h
932
u16 vlan_tag;
sys/dev/irdma/irdma_type.h
933
u16 arp_idx;
sys/dev/irdma/irdma_type.h
970
u16 stats_idx;
sys/dev/irdma/irdma_type.h
981
u16 ae_id;
sys/dev/irdma/irdma_uda.h
54
u16 vlan_tag;
sys/dev/irdma/irdma_uk.c
1039
irdma_uk_cq_set_resized_cnt(struct irdma_cq_uk *cq, u16 cq_cnt)
sys/dev/irdma/irdma_uk.c
1042
u16 sw_cq_sel;
sys/dev/irdma/irdma_uk.c
1049
sw_cq_sel = (u16)FIELD_GET(IRDMA_CQ_DBSA_SW_CQ_SELECT, temp_val);
sys/dev/irdma/irdma_uk.c
1074
u16 sw_cq_sel;
sys/dev/irdma/irdma_uk.c
1082
sw_cq_sel = (u16)FIELD_GET(IRDMA_CQ_DBSA_SW_CQ_SELECT, temp_val);
sys/dev/irdma/irdma_uk.c
1260
info->ud_vlan = (u16)FIELD_GET(IRDMA_CQ_UDVLAN, qword6);
sys/dev/irdma/irdma_uk.c
1572
u16 move_cnt = 1;
sys/dev/irdma/irdma_uk.c
1789
irdma_fragcnt_to_quanta_sq(u32 frag_cnt, u16 *quanta)
sys/dev/irdma/irdma_uk.c
1837
irdma_fragcnt_to_wqesize_rq(u32 frag_cnt, u16 *wqe_size)
sys/dev/irdma/irdma_uk.c
214
irdma_qp_push_wqe(struct irdma_qp_uk *qp, __le64 * wqe, u16 quanta,
sys/dev/irdma/irdma_uk.c
276
u16 *quanta, u32 total_size,
sys/dev/irdma/irdma_uk.c
282
u16 wqe_quanta = *quanta;
sys/dev/irdma/irdma_uk.c
283
u16 avail_quanta;
sys/dev/irdma/irdma_uk.c
284
u16 i;
sys/dev/irdma/irdma_uk.c
377
u16 quanta;
sys/dev/irdma/irdma_uk.c
477
u16 quanta;
sys/dev/irdma/irdma_uk.c
565
u16 quanta;
sys/dev/irdma/irdma_uk.c
691
static inline u16 irdma_inline_data_size_to_quanta_gen_1(u32 data_size) {
sys/dev/irdma/irdma_uk.c
751
static u16 irdma_inline_data_size_to_quanta(u32 data_size) {
sys/dev/irdma/irdma_uk.c
785
u16 quanta;
sys/dev/irdma/irdma_uk.c
856
u16 quanta;
sys/dev/irdma/irdma_uk.c
932
u16 quanta = IRDMA_QP_WQE_MIN_QUANTA;
sys/dev/irdma/irdma_user.h
371
u16 major_err;
sys/dev/irdma/irdma_user.h
372
u16 minor_err;
sys/dev/irdma/irdma_user.h
373
u16 ud_vlan;
sys/dev/irdma/irdma_user.h
414
u16 (*iw_inline_data_size_to_quanta)(u32 data_size);
sys/dev/irdma/irdma_user.h
427
void irdma_uk_cq_set_resized_cnt(struct irdma_cq_uk *qp, u16 cnt);
sys/dev/irdma/irdma_user.h
441
u16 quanta;
sys/dev/irdma/irdma_user.h
477
u16 conn_wqes;
sys/dev/irdma/irdma_user.h
496
u16 ord_cnt;
sys/dev/irdma/irdma_user.h
551
u16 *quanta, u32 total_size,
sys/dev/irdma/irdma_user.h
556
int irdma_fragcnt_to_quanta_sq(u32 frag_cnt, u16 *quanta);
sys/dev/irdma/irdma_user.h
557
int irdma_fragcnt_to_wqesize_rq(u32 frag_cnt, u16 *wqe_size);
sys/dev/irdma/irdma_user.h
564
void irdma_qp_push_wqe(struct irdma_qp_uk *qp, __le64 *wqe, u16 quanta,
sys/dev/irdma/irdma_user.h
568
static inline struct qp_err_code irdma_ae_to_qp_err_code(u16 ae_id)
sys/dev/irdma/irdma_utils.c
1034
struct irdma_dma_mem *val_mem, u16 hmc_fn_id)
sys/dev/irdma/irdma_utils.c
1362
u16 loc_port, rem_port;
sys/dev/irdma/irdma_utils.c
1458
u16 len, u32 seqnum)
sys/dev/irdma/irdma_utils.c
1462
u16 iphlen;
sys/dev/irdma/irdma_utils.c
1463
u16 pktsize;
sys/dev/irdma/irdma_utils.c
1481
irdma_ieq_update_tcpip_info(struct irdma_puda_buf *buf, u16 len,
sys/dev/irdma/irdma_utils.c
1508
u16 iphlen;
sys/dev/irdma/irdma_utils.c
1509
u16 pkt_len;
sys/dev/irdma/irdma_utils.c
191
irdma_get_ae_desc(u16 ae_id)
sys/dev/irdma/irdma_utils.c
2221
u16
sys/dev/irdma/irdma_utils.c
2232
return (u16)node_id;
sys/dev/irdma/irdma_utils.c
2241
irdma_free_ws_node_id(struct irdma_sc_dev *dev, u16 node_id)
sys/dev/irdma/irdma_utils.c
277
irdma_get_arp(struct irdma_pci_f *rf, u16 arp_index)
sys/dev/irdma/irdma_utils.c
300
irdma_put_arp(struct irdma_pci_f *rf, u16 arp_index)
sys/dev/irdma/irdma_utils.c
667
u16 maj_err_code, u16 min_err_code)
sys/dev/irdma/irdma_utils.c
999
struct irdma_dma_mem *val_mem, u16 hmc_fn_id)
sys/dev/irdma/irdma_verbs.c
1619
static inline u16 irdma_get_mr_access(int access, u8 hw_rev)
sys/dev/irdma/irdma_verbs.c
1621
u16 hw_access = 0;
sys/dev/irdma/irdma_verbs.c
1998
u16 access)
sys/dev/irdma/irdma_verbs.c
2722
u16 vlan = cq_poll_info->ud_vlan & EVL_VLID_MASK;
sys/dev/irdma/irdma_verbs.c
3029
irdma_attach_mcast(struct ib_qp *ibqp, union ib_gid *ibgid, u16 lid)
sys/dev/irdma/irdma_verbs.c
3042
u16 vlan_id;
sys/dev/irdma/irdma_verbs.c
3100
mc_qht_elem->mc_grp_ctx.mg_id = (u16)mgn;
sys/dev/irdma/irdma_verbs.c
3166
irdma_detach_mcast(struct ib_qp *ibqp, union ib_gid *ibgid, u16 lid)
sys/dev/irdma/irdma_verbs.c
883
u16 vlan_id = VLAN_N_VID;
sys/dev/irdma/irdma_verbs.h
144
u16 type;
sys/dev/irdma/irdma_verbs.h
187
u16 vlan_id;
sys/dev/irdma/irdma_verbs.h
244
u16 term_sq_flush_code;
sys/dev/irdma/irdma_verbs.h
245
u16 term_rq_flush_code;
sys/dev/irdma/irdma_verbs.h
286
static inline u16 irdma_fw_major_ver(struct irdma_sc_dev *dev)
sys/dev/irdma/irdma_verbs.h
288
return (u16)FIELD_GET(IRDMA_FW_VER_MAJOR, dev->feature_info[IRDMA_FEATURE_FW_INFO]);
sys/dev/irdma/irdma_verbs.h
291
static inline u16 irdma_fw_minor_ver(struct irdma_sc_dev *dev)
sys/dev/irdma/irdma_verbs.h
293
return (u16)FIELD_GET(IRDMA_FW_VER_MINOR, dev->feature_info[IRDMA_FEATURE_FW_INFO]);
sys/dev/irdma/irdma_ws.c
125
struct irdma_ws_node *node, u8 cmd, u16 *qs_handle)
sys/dev/irdma/irdma_ws.c
160
u16 match_val,
sys/dev/irdma/irdma_ws.c
220
u16 qs_handle;
sys/dev/irdma/irdma_ws.c
289
u8 user_pri, u16 traffic_class)
sys/dev/irdma/irdma_ws.c
342
u16 traffic_class;
sys/dev/irdma/irdma_ws.c
58
u16 node_index = 0;
sys/dev/irdma/irdma_ws.h
55
u16 index;
sys/dev/irdma/irdma_ws.h
56
u16 qs_handle;
sys/dev/irdma/irdma_ws.h
57
u16 vsi_index;
sys/dev/iser/icl_iser.h
440
u16 max_cmds;
sys/dev/ixgbe/if_bypass.c
640
u16 day_mon[2][13] = {
sys/dev/ixgbe/if_fdir.c
91
u16 etype;
sys/dev/ixgbe/if_ix.c
1306
u16 dev_caps = 0;
sys/dev/ixgbe/if_ix.c
1579
u16 ret_buf_size = 0;
sys/dev/ixgbe/if_ix.c
1580
u16 ret_next_cluster = 0;
sys/dev/ixgbe/if_ix.c
1581
u16 ret_next_table = 0;
sys/dev/ixgbe/if_ix.c
189
static void ixgbe_if_vlan_register(if_ctx_t, u16);
sys/dev/ixgbe/if_ix.c
190
static void ixgbe_if_vlan_unregister(if_ctx_t, u16);
sys/dev/ixgbe/if_ix.c
2308
ixgbe_if_vlan_register(if_ctx_t ctx, u16 vtag)
sys/dev/ixgbe/if_ix.c
2311
u16 index, bit;
sys/dev/ixgbe/if_ix.c
2326
ixgbe_if_vlan_unregister(if_ctx_t ctx, u16 vtag)
sys/dev/ixgbe/if_ix.c
2329
u16 index, bit;
sys/dev/ixgbe/if_ix.c
2435
u16 link;
sys/dev/ixgbe/if_ix.c
3156
u16 data_buf_size = IXGBE_ACI_MAX_BUFFER_SIZE;
sys/dev/ixgbe/if_ix.c
3165
u16 table_id = 0;
sys/dev/ixgbe/if_ix.c
3169
u16 ret_buf_size = 0;
sys/dev/ixgbe/if_ix.c
3170
u16 ret_next_cluster = 0;
sys/dev/ixgbe/if_ix.c
3171
u16 ret_next_table = 0;
sys/dev/ixgbe/if_ix.c
4442
u16 mask = ~((u16)(IXGBE_ACI_LINK_EVENT_UPDOWN |
sys/dev/ixgbe/if_ix.c
5290
u16 newval;
sys/dev/ixgbe/if_ix.c
5514
u16 reg;
sys/dev/ixgbe/if_ix.c
5550
u16 reg;
sys/dev/ixgbe/if_ixv.c
117
static void ixv_if_register_vlan(if_ctx_t, u16);
sys/dev/ixgbe/if_ixv.c
118
static void ixv_if_unregister_vlan(if_ctx_t, u16);
sys/dev/ixgbe/if_ixv.c
1596
ixv_if_register_vlan(if_ctx_t ctx, u16 vtag)
sys/dev/ixgbe/if_ixv.c
1599
u16 index, bit;
sys/dev/ixgbe/if_ixv.c
1614
ixv_if_unregister_vlan(if_ctx_t ctx, u16 vtag)
sys/dev/ixgbe/if_ixv.c
1617
u16 index, bit;
sys/dev/ixgbe/if_sriov.c
427
u16 *list = (u16*)&msg[1];
sys/dev/ixgbe/if_sriov.c
673
ixgbe_if_iov_init(if_ctx_t ctx, u16 num_vfs, const nvlist_t *config)
sys/dev/ixgbe/if_sriov.c
865
ixgbe_if_iov_vf_add(if_ctx_t ctx, u16 vfnum, const nvlist_t *config)
sys/dev/ixgbe/ixgbe.h
284
u16 atr_sample;
sys/dev/ixgbe/ixgbe.h
285
u16 atr_count;
sys/dev/ixgbe/ixgbe.h
390
u16 num_vlans;
sys/dev/ixgbe/ixgbe.h
404
u16 num_segs;
sys/dev/ixgbe/ixgbe.h
409
u16 dmac;
sys/dev/ixgbe/ixgbe.h
478
u16 lse_mask;
sys/dev/ixgbe/ixgbe.h
488
u16 table_id;
sys/dev/ixgbe/ixgbe.h
489
u16 data_size; /* size of data field, in bytes */
sys/dev/ixgbe/ixgbe.h
490
u16 reserved1;
sys/dev/ixgbe/ixgbe_82598.c
1130
u16 sfp_addr = 0;
sys/dev/ixgbe/ixgbe_82598.c
1131
u16 sfp_data = 0;
sys/dev/ixgbe/ixgbe_82598.c
1132
u16 sfp_stat = 0;
sys/dev/ixgbe/ixgbe_82598.c
1133
u16 gssr;
sys/dev/ixgbe/ixgbe_82598.c
1233
u16 ext_ability = 0;
sys/dev/ixgbe/ixgbe_82598.c
1334
u16 pci_gen = 0;
sys/dev/ixgbe/ixgbe_82598.c
1335
u16 pci_ctrl2 = 0;
sys/dev/ixgbe/ixgbe_82598.c
196
u16 list_offset, data_offset;
sys/dev/ixgbe/ixgbe_82598.c
608
u16 an_reg;
sys/dev/ixgbe/ixgbe_82598.c
648
u16 link_reg, adapt_comp_reg;
sys/dev/ixgbe/ixgbe_82598.c
83
u16 pcie_devctl2;
sys/dev/ixgbe/ixgbe_82599.c
1719
IXGBE_NTOHS(((u16)(_value) >> 8) | ((u16)(_value) << 8))
sys/dev/ixgbe/ixgbe_82599.c
176
u16 list_offset, data_offset, data_value;
sys/dev/ixgbe/ixgbe_82599.c
1902
u16 soft_id, u8 queue, bool cloud_mode)
sys/dev/ixgbe/ixgbe_82599.c
1992
u16 soft_id)
sys/dev/ixgbe/ixgbe_82599.c
2041
u16 soft_id, u8 queue, bool cloud_mode)
sys/dev/ixgbe/ixgbe_82599.c
2221
u16 ext_ability = 0;
sys/dev/ixgbe/ixgbe_82599.c
2338
u16 fw_offset, fw_ptp_cfg_offset;
sys/dev/ixgbe/ixgbe_82599.c
2339
u16 fw_version;
sys/dev/ixgbe/ixgbe_82599.c
2399
u16 fw_offset, fw_lesm_param_offset, fw_lesm_state;
sys/dev/ixgbe/ixgbe_82599.c
2444
static s32 ixgbe_read_eeprom_buffer_82599(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_82599.c
2445
u16 words, u16 *data)
sys/dev/ixgbe/ixgbe_82599.c
2479
u16 offset, u16 *data)
sys/dev/ixgbe/ixgbe_82599.c
327
u16 i;
sys/dev/ixgbe/ixgbe_82599.c
53
u16 offset, u16 *data);
sys/dev/ixgbe/ixgbe_82599.c
54
static s32 ixgbe_read_eeprom_buffer_82599(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_82599.c
55
u16 words, u16 *data);
sys/dev/ixgbe/ixgbe_82599.c
613
u16 ee_ctrl_2 = 0;
sys/dev/ixgbe/ixgbe_api.c
1200
u8 ver, u16 len, char *driver_ver)
sys/dev/ixgbe/ixgbe_api.c
1579
s32 ixgbe_read_link(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 *val)
sys/dev/ixgbe/ixgbe_api.c
1594
s32 ixgbe_read_link_unlocked(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 *val)
sys/dev/ixgbe/ixgbe_api.c
1644
s32 ixgbe_write_link(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val)
sys/dev/ixgbe/ixgbe_api.c
1659
s32 ixgbe_write_link_unlocked(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val)
sys/dev/ixgbe/ixgbe_api.c
402
s32 ixgbe_get_device_caps(struct ixgbe_hw *hw, u16 *device_caps)
sys/dev/ixgbe/ixgbe_api.c
417
s32 ixgbe_get_wwn_prefix(struct ixgbe_hw *hw, u16 *wwnn_prefix,
sys/dev/ixgbe/ixgbe_api.c
418
u16 *wwpn_prefix)
sys/dev/ixgbe/ixgbe_api.c
432
s32 ixgbe_get_fcoe_boot_status(struct ixgbe_hw *hw, u16 *bs)
sys/dev/ixgbe/ixgbe_api.c
556
s32 ixgbe_get_phy_firmware_version(struct ixgbe_hw *hw, u16 *firmware_version)
sys/dev/ixgbe/ixgbe_api.c
576
u16 *phy_data)
sys/dev/ixgbe/ixgbe_api.c
595
u16 phy_data)
sys/dev/ixgbe/ixgbe_api.c
853
s32 ixgbe_write_eeprom(struct ixgbe_hw *hw, u16 offset, u16 data)
sys/dev/ixgbe/ixgbe_api.c
870
s32 ixgbe_write_eeprom_buffer(struct ixgbe_hw *hw, u16 offset, u16 words,
sys/dev/ixgbe/ixgbe_api.c
871
u16 *data)
sys/dev/ixgbe/ixgbe_api.c
886
s32 ixgbe_read_eeprom(struct ixgbe_hw *hw, u16 offset, u16 *data)
sys/dev/ixgbe/ixgbe_api.c
901
s32 ixgbe_read_eeprom_buffer(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_api.c
902
u16 words, u16 *data)
sys/dev/ixgbe/ixgbe_api.c
916
s32 ixgbe_validate_eeprom_checksum(struct ixgbe_hw *hw, u16 *checksum_val)
sys/dev/ixgbe/ixgbe_api.h
102
s32 ixgbe_write_eeprom(struct ixgbe_hw *hw, u16 offset, u16 data);
sys/dev/ixgbe/ixgbe_api.h
103
s32 ixgbe_write_eeprom_buffer(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_api.h
104
u16 words, u16 *data);
sys/dev/ixgbe/ixgbe_api.h
105
s32 ixgbe_read_eeprom(struct ixgbe_hw *hw, u16 offset, u16 *data);
sys/dev/ixgbe/ixgbe_api.h
106
s32 ixgbe_read_eeprom_buffer(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_api.h
107
u16 words, u16 *data);
sys/dev/ixgbe/ixgbe_api.h
109
s32 ixgbe_validate_eeprom_checksum(struct ixgbe_hw *hw, u16 *checksum_val);
sys/dev/ixgbe/ixgbe_api.h
139
u8 ver, u16 len, char *driver_ver);
sys/dev/ixgbe/ixgbe_api.h
144
u16 *firmware_version);
sys/dev/ixgbe/ixgbe_api.h
165
u16 soft_id, u8 queue, bool cloud_mode);
sys/dev/ixgbe/ixgbe_api.h
168
u16 soft_id);
sys/dev/ixgbe/ixgbe_api.h
172
u16 soft_id,
sys/dev/ixgbe/ixgbe_api.h
184
s32 ixgbe_read_link(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 *val);
sys/dev/ixgbe/ixgbe_api.h
185
s32 ixgbe_read_link_unlocked(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 *val);
sys/dev/ixgbe/ixgbe_api.h
191
s32 ixgbe_write_link(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val);
sys/dev/ixgbe/ixgbe_api.h
192
s32 ixgbe_write_link_unlocked(struct ixgbe_hw *hw, u8 addr, u16 reg, u16 val);
sys/dev/ixgbe/ixgbe_api.h
196
s32 ixgbe_get_device_caps(struct ixgbe_hw *hw, u16 *device_caps);
sys/dev/ixgbe/ixgbe_api.h
200
s32 ixgbe_get_wwn_prefix(struct ixgbe_hw *hw, u16 *wwnn_prefix,
sys/dev/ixgbe/ixgbe_api.h
201
u16 *wwpn_prefix);
sys/dev/ixgbe/ixgbe_api.h
202
s32 ixgbe_get_fcoe_boot_status(struct ixgbe_hw *hw, u16 *bs);
sys/dev/ixgbe/ixgbe_api.h
72
u16 *phy_data);
sys/dev/ixgbe/ixgbe_api.h
74
u16 phy_data);
sys/dev/ixgbe/ixgbe_common.c
1009
void ixgbe_set_pci_config_data_generic(struct ixgbe_hw *hw, u16 link_status)
sys/dev/ixgbe/ixgbe_common.c
1064
u16 link_status;
sys/dev/ixgbe/ixgbe_common.c
1090
u16 ee_ctrl_4;
sys/dev/ixgbe/ixgbe_common.c
1123
u16 i;
sys/dev/ixgbe/ixgbe_common.c
1263
u16 eeprom_size;
sys/dev/ixgbe/ixgbe_common.c
1287
eeprom_size = (u16)((eec & IXGBE_EEC_SIZE) >>
sys/dev/ixgbe/ixgbe_common.c
1314
s32 ixgbe_write_eeprom_buffer_bit_bang_generic(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_common.c
1315
u16 words, u16 *data)
sys/dev/ixgbe/ixgbe_common.c
1318
u16 i, count;
sys/dev/ixgbe/ixgbe_common.c
1371
static s32 ixgbe_write_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_common.c
1372
u16 words, u16 *data)
sys/dev/ixgbe/ixgbe_common.c
1375
u16 word;
sys/dev/ixgbe/ixgbe_common.c
1376
u16 page_size;
sys/dev/ixgbe/ixgbe_common.c
1377
u16 i;
sys/dev/ixgbe/ixgbe_common.c
1414
ixgbe_shift_out_eeprom_bits(hw, (u16)((offset + i) * 2),
sys/dev/ixgbe/ixgbe_common.c
1453
s32 ixgbe_write_eeprom_generic(struct ixgbe_hw *hw, u16 offset, u16 data)
sys/dev/ixgbe/ixgbe_common.c
1481
s32 ixgbe_read_eeprom_buffer_bit_bang_generic(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_common.c
1482
u16 words, u16 *data)
sys/dev/ixgbe/ixgbe_common.c
1485
u16 i, count;
sys/dev/ixgbe/ixgbe_common.c
1530
static s32 ixgbe_read_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_common.c
1531
u16 words, u16 *data)
sys/dev/ixgbe/ixgbe_common.c
1534
u16 word_in;
sys/dev/ixgbe/ixgbe_common.c
1536
u16 i;
sys/dev/ixgbe/ixgbe_common.c
1564
ixgbe_shift_out_eeprom_bits(hw, (u16)((offset + i) * 2),
sys/dev/ixgbe/ixgbe_common.c
1587
s32 ixgbe_read_eeprom_bit_bang_generic(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_common.c
1588
u16 *data)
sys/dev/ixgbe/ixgbe_common.c
1616
s32 ixgbe_read_eerd_buffer_generic(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_common.c
1617
u16 words, u16 *data)
sys/dev/ixgbe/ixgbe_common.c
1668
u16 offset)
sys/dev/ixgbe/ixgbe_common.c
1670
u16 data[IXGBE_EEPROM_PAGE_SIZE_MAX];
sys/dev/ixgbe/ixgbe_common.c
1672
u16 i;
sys/dev/ixgbe/ixgbe_common.c
1710
s32 ixgbe_read_eerd_generic(struct ixgbe_hw *hw, u16 offset, u16 *data)
sys/dev/ixgbe/ixgbe_common.c
1724
s32 ixgbe_write_eewr_buffer_generic(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_common.c
1725
u16 words, u16 *data)
sys/dev/ixgbe/ixgbe_common.c
1729
u16 i;
sys/dev/ixgbe/ixgbe_common.c
1779
s32 ixgbe_write_eewr_generic(struct ixgbe_hw *hw, u16 offset, u16 data)
sys/dev/ixgbe/ixgbe_common.c
1992
u16 i;
sys/dev/ixgbe/ixgbe_common.c
2055
static void ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data,
sys/dev/ixgbe/ixgbe_common.c
2056
u16 count)
sys/dev/ixgbe/ixgbe_common.c
2111
static u16 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count)
sys/dev/ixgbe/ixgbe_common.c
2115
u16 data = 0;
sys/dev/ixgbe/ixgbe_common.c
2222
u16 i;
sys/dev/ixgbe/ixgbe_common.c
2223
u16 j;
sys/dev/ixgbe/ixgbe_common.c
2224
u16 checksum = 0;
sys/dev/ixgbe/ixgbe_common.c
2225
u16 length = 0;
sys/dev/ixgbe/ixgbe_common.c
2226
u16 pointer = 0;
sys/dev/ixgbe/ixgbe_common.c
2227
u16 word = 0;
sys/dev/ixgbe/ixgbe_common.c
2268
checksum = (u16)IXGBE_EEPROM_SUM - checksum;
sys/dev/ixgbe/ixgbe_common.c
2282
u16 *checksum_val)
sys/dev/ixgbe/ixgbe_common.c
2285
u16 checksum;
sys/dev/ixgbe/ixgbe_common.c
2286
u16 read_checksum = 0;
sys/dev/ixgbe/ixgbe_common.c
2304
checksum = (u16)(status & 0xffff);
sys/dev/ixgbe/ixgbe_common.c
2332
u16 checksum;
sys/dev/ixgbe/ixgbe_common.c
2350
checksum = (u16)(status & 0xffff);
sys/dev/ixgbe/ixgbe_common.c
243
u16 reg_cu = 0;
sys/dev/ixgbe/ixgbe_common.c
2668
vector = ((mc_addr[4] >> 4) | (((u16)mc_addr[5]) << 4));
sys/dev/ixgbe/ixgbe_common.c
2671
vector = ((mc_addr[4] >> 3) | (((u16)mc_addr[5]) << 5));
sys/dev/ixgbe/ixgbe_common.c
2674
vector = ((mc_addr[4] >> 2) | (((u16)mc_addr[5]) << 6));
sys/dev/ixgbe/ixgbe_common.c
2677
vector = ((mc_addr[4]) | (((u16)mc_addr[5]) << 8));
sys/dev/ixgbe/ixgbe_common.c
3089
u16 technology_ability_reg = 0;
sys/dev/ixgbe/ixgbe_common.c
3090
u16 lp_technology_ability_reg = 0;
sys/dev/ixgbe/ixgbe_common.c
3232
u16 value;
sys/dev/ixgbe/ixgbe_common.c
3563
u16 *san_mac_offset)
sys/dev/ixgbe/ixgbe_common.c
3596
u16 san_mac_data, san_mac_offset;
sys/dev/ixgbe/ixgbe_common.c
3650
u16 san_mac_data, san_mac_offset;
sys/dev/ixgbe/ixgbe_common.c
3667
san_mac_data = (u16)((u16)(san_mac_addr[i * 2 + 1]) << 8);
sys/dev/ixgbe/ixgbe_common.c
3668
san_mac_data |= (u16)(san_mac_addr[i * 2]);
sys/dev/ixgbe/ixgbe_common.c
3683
u16 ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw *hw)
sys/dev/ixgbe/ixgbe_common.c
3685
u16 msix_count = 1;
sys/dev/ixgbe/ixgbe_common.c
3686
u16 max_msix_count;
sys/dev/ixgbe/ixgbe_common.c
3687
u16 pcie_offset;
sys/dev/ixgbe/ixgbe_common.c
403
u16 device_caps;
sys/dev/ixgbe/ixgbe_common.c
4365
s32 ixgbe_get_wwn_prefix_generic(struct ixgbe_hw *hw, u16 *wwnn_prefix,
sys/dev/ixgbe/ixgbe_common.c
4366
u16 *wwpn_prefix)
sys/dev/ixgbe/ixgbe_common.c
4368
u16 offset, caps;
sys/dev/ixgbe/ixgbe_common.c
4369
u16 alt_san_mac_blk_offset;
sys/dev/ixgbe/ixgbe_common.c
4420
s32 ixgbe_get_fcoe_boot_status_generic(struct ixgbe_hw *hw, u16 *bs)
sys/dev/ixgbe/ixgbe_common.c
4422
u16 offset, caps, flags;
sys/dev/ixgbe/ixgbe_common.c
4518
s32 ixgbe_get_device_caps_generic(struct ixgbe_hw *hw, u16 *device_caps)
sys/dev/ixgbe/ixgbe_common.c
4596
u16 dword_len;
sys/dev/ixgbe/ixgbe_common.c
46
static void ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data,
sys/dev/ixgbe/ixgbe_common.c
4682
u16 buf_len;
sys/dev/ixgbe/ixgbe_common.c
47
u16 count);
sys/dev/ixgbe/ixgbe_common.c
4727
buf_len = (((u16)(resp->cmd_or_resp.ret_status) << 3)
sys/dev/ixgbe/ixgbe_common.c
4773
u8 build, u8 sub, u16 len,
sys/dev/ixgbe/ixgbe_common.c
48
static u16 ixgbe_shift_in_eeprom_bits(struct ixgbe_hw *hw, u16 count);
sys/dev/ixgbe/ixgbe_common.c
4890
u16 value;
sys/dev/ixgbe/ixgbe_common.c
4962
u16 ets_offset;
sys/dev/ixgbe/ixgbe_common.c
4963
u16 ets_cfg;
sys/dev/ixgbe/ixgbe_common.c
4964
u16 ets_sensor;
sys/dev/ixgbe/ixgbe_common.c
5037
u16 offset;
sys/dev/ixgbe/ixgbe_common.c
5038
u16 ets_offset;
sys/dev/ixgbe/ixgbe_common.c
5039
u16 ets_cfg;
sys/dev/ixgbe/ixgbe_common.c
5040
u16 ets_sensor;
sys/dev/ixgbe/ixgbe_common.c
533
u16 i = 0;
sys/dev/ixgbe/ixgbe_common.c
5366
u16 offset, eeprom_cfg_blkh, eeprom_cfg_blkl;
sys/dev/ixgbe/ixgbe_common.c
5404
u16 rel_num, prod_ver, mod_len, cap, offset;
sys/dev/ixgbe/ixgbe_common.c
5446
u16 etk_id_l, etk_id_h;
sys/dev/ixgbe/ixgbe_common.c
5476
u16 word, phy_ver;
sys/dev/ixgbe/ixgbe_common.c
55
u16 *san_mac_offset);
sys/dev/ixgbe/ixgbe_common.c
56
static s32 ixgbe_read_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_common.c
57
u16 words, u16 *data);
sys/dev/ixgbe/ixgbe_common.c
58
static s32 ixgbe_write_eeprom_buffer_bit_bang(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_common.c
59
u16 words, u16 *data);
sys/dev/ixgbe/ixgbe_common.c
61
u16 offset);
sys/dev/ixgbe/ixgbe_common.c
651
u16 data;
sys/dev/ixgbe/ixgbe_common.c
652
u16 pba_ptr;
sys/dev/ixgbe/ixgbe_common.c
653
u16 offset;
sys/dev/ixgbe/ixgbe_common.c
654
u16 length;
sys/dev/ixgbe/ixgbe_common.c
760
u16 data;
sys/dev/ixgbe/ixgbe_common.c
796
s32 ixgbe_read_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf,
sys/dev/ixgbe/ixgbe_common.c
797
u32 eeprom_buf_size, u16 max_pba_block_size,
sys/dev/ixgbe/ixgbe_common.c
801
u16 pba_block_size;
sys/dev/ixgbe/ixgbe_common.c
844
pba_block_size * sizeof(u16));
sys/dev/ixgbe/ixgbe_common.c
865
s32 ixgbe_write_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf,
sys/dev/ixgbe/ixgbe_common.c
902
pba->pba_block[0] * sizeof(u16));
sys/dev/ixgbe/ixgbe_common.c
924
s32 ixgbe_get_pba_block_size(struct ixgbe_hw *hw, u16 *eeprom_buf,
sys/dev/ixgbe/ixgbe_common.c
925
u32 eeprom_buf_size, u16 *pba_block_size)
sys/dev/ixgbe/ixgbe_common.c
928
u16 pba_word[2];
sys/dev/ixgbe/ixgbe_common.c
929
u16 length;
sys/dev/ixgbe/ixgbe_common.c
986
u16 i;
sys/dev/ixgbe/ixgbe_common.h
150
s32 ixgbe_get_wwn_prefix_generic(struct ixgbe_hw *hw, u16 *wwnn_prefix,
sys/dev/ixgbe/ixgbe_common.h
151
u16 *wwpn_prefix);
sys/dev/ixgbe/ixgbe_common.h
153
s32 ixgbe_get_fcoe_boot_status_generic(struct ixgbe_hw *hw, u16 *bs);
sys/dev/ixgbe/ixgbe_common.h
156
s32 ixgbe_get_device_caps_generic(struct ixgbe_hw *hw, u16 *device_caps);
sys/dev/ixgbe/ixgbe_common.h
161
u8 build, u8 ver, u16 len, const char *str);
sys/dev/ixgbe/ixgbe_common.h
167
s32 ixgbe_fw_phy_activity(struct ixgbe_hw *, u16 activity,
sys/dev/ixgbe/ixgbe_common.h
46
u16 word[2];
sys/dev/ixgbe/ixgbe_common.h
47
u16 *pba_block;
sys/dev/ixgbe/ixgbe_common.h
52
u16 ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw *hw);
sys/dev/ixgbe/ixgbe_common.h
61
s32 ixgbe_read_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf,
sys/dev/ixgbe/ixgbe_common.h
62
u32 eeprom_buf_size, u16 max_pba_block_size,
sys/dev/ixgbe/ixgbe_common.h
64
s32 ixgbe_write_pba_raw(struct ixgbe_hw *hw, u16 *eeprom_buf,
sys/dev/ixgbe/ixgbe_common.h
66
s32 ixgbe_get_pba_block_size(struct ixgbe_hw *hw, u16 *eeprom_buf,
sys/dev/ixgbe/ixgbe_common.h
67
u32 eeprom_buf_size, u16 *pba_block_size);
sys/dev/ixgbe/ixgbe_common.h
70
void ixgbe_set_pci_config_data_generic(struct ixgbe_hw *hw, u16 link_status);
sys/dev/ixgbe/ixgbe_common.h
79
s32 ixgbe_write_eeprom_generic(struct ixgbe_hw *hw, u16 offset, u16 data);
sys/dev/ixgbe/ixgbe_common.h
80
s32 ixgbe_write_eeprom_buffer_bit_bang_generic(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_common.h
81
u16 words, u16 *data);
sys/dev/ixgbe/ixgbe_common.h
82
s32 ixgbe_read_eerd_generic(struct ixgbe_hw *hw, u16 offset, u16 *data);
sys/dev/ixgbe/ixgbe_common.h
83
s32 ixgbe_read_eerd_buffer_generic(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_common.h
84
u16 words, u16 *data);
sys/dev/ixgbe/ixgbe_common.h
85
s32 ixgbe_write_eewr_generic(struct ixgbe_hw *hw, u16 offset, u16 data);
sys/dev/ixgbe/ixgbe_common.h
86
s32 ixgbe_write_eewr_buffer_generic(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_common.h
87
u16 words, u16 *data);
sys/dev/ixgbe/ixgbe_common.h
88
s32 ixgbe_read_eeprom_bit_bang_generic(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_common.h
89
u16 *data);
sys/dev/ixgbe/ixgbe_common.h
90
s32 ixgbe_read_eeprom_buffer_bit_bang_generic(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_common.h
91
u16 words, u16 *data);
sys/dev/ixgbe/ixgbe_common.h
94
u16 *checksum_val);
sys/dev/ixgbe/ixgbe_dcb.c
100
u16 min_percent = 100;
sys/dev/ixgbe/ixgbe_dcb.c
106
u16 link_percentage = 0;
sys/dev/ixgbe/ixgbe_dcb.c
162
p->data_credits_refill = (u16)credit_refill;
sys/dev/ixgbe/ixgbe_dcb.c
188
(u16)credit_max;
sys/dev/ixgbe/ixgbe_dcb.c
191
p->data_credits_max = (u16)credit_max;
sys/dev/ixgbe/ixgbe_dcb.c
225
u16 *refill)
sys/dev/ixgbe/ixgbe_dcb.c
234
void ixgbe_dcb_unpack_max_cee(struct ixgbe_dcb_config *cfg, u16 *max)
sys/dev/ixgbe/ixgbe_dcb.c
462
u16 refill[IXGBE_DCB_MAX_TRAFFIC_CLASS] = { 0 };
sys/dev/ixgbe/ixgbe_dcb.c
463
u16 max[IXGBE_DCB_MAX_TRAFFIC_CLASS] = { 0 };
sys/dev/ixgbe/ixgbe_dcb.c
502
u16 refill[IXGBE_DCB_MAX_TRAFFIC_CLASS];
sys/dev/ixgbe/ixgbe_dcb.c
503
u16 max[IXGBE_DCB_MAX_TRAFFIC_CLASS];
sys/dev/ixgbe/ixgbe_dcb.c
52
s32 ixgbe_dcb_calculate_tc_credits(u8 *bw, u16 *refill, u16 *max,
sys/dev/ixgbe/ixgbe_dcb.c
543
u16 refill[IXGBE_DCB_MAX_TRAFFIC_CLASS];
sys/dev/ixgbe/ixgbe_dcb.c
544
u16 max[IXGBE_DCB_MAX_TRAFFIC_CLASS];
sys/dev/ixgbe/ixgbe_dcb.c
648
u16 refill[IXGBE_DCB_MAX_TRAFFIC_CLASS];
sys/dev/ixgbe/ixgbe_dcb.c
649
u16 max[IXGBE_DCB_MAX_TRAFFIC_CLASS];
sys/dev/ixgbe/ixgbe_dcb.c
712
s32 ixgbe_dcb_hw_config(struct ixgbe_hw *hw, u16 *refill, u16 *max,
sys/dev/ixgbe/ixgbe_dcb.c
75
refill[i] = (u16)val;
sys/dev/ixgbe/ixgbe_dcb.h
105
u16 desc_credits_max; /* For Tx Descriptor arbitration */
sys/dev/ixgbe/ixgbe_dcb.h
142
s32 ixgbe_dcb_calculate_tc_credits(u8 *, u16 *, u16 *, int);
sys/dev/ixgbe/ixgbe_dcb.h
165
void ixgbe_dcb_unpack_refill_cee(struct ixgbe_dcb_config *, int, u16 *);
sys/dev/ixgbe/ixgbe_dcb.h
166
void ixgbe_dcb_unpack_max_cee(struct ixgbe_dcb_config *, u16 *);
sys/dev/ixgbe/ixgbe_dcb.h
173
s32 ixgbe_dcb_hw_config(struct ixgbe_hw *, u16 *, u16 *, u8 *, u8 *, u8 *);
sys/dev/ixgbe/ixgbe_dcb.h
87
u16 data_credits_refill; /* Credit refill amount in 64B granularity */
sys/dev/ixgbe/ixgbe_dcb.h
88
u16 data_credits_max; /* Max credits for a configured packet buffer
sys/dev/ixgbe/ixgbe_dcb_82598.c
112
s32 ixgbe_dcb_config_rx_arbiter_82598(struct ixgbe_hw *hw, u16 *refill,
sys/dev/ixgbe/ixgbe_dcb_82598.c
113
u16 *max, u8 *tsa)
sys/dev/ixgbe/ixgbe_dcb_82598.c
171
u16 *refill, u16 *max, u8 *bwg_id,
sys/dev/ixgbe/ixgbe_dcb_82598.c
218
u16 *refill, u16 *max, u8 *bwg_id,
sys/dev/ixgbe/ixgbe_dcb_82598.c
351
u16 *refill, u16 *max, u8 *bwg_id,
sys/dev/ixgbe/ixgbe_dcb_82598.h
92
s32 ixgbe_dcb_config_tx_desc_arbiter_82598(struct ixgbe_hw *, u16 *, u16 *,
sys/dev/ixgbe/ixgbe_dcb_82598.h
94
s32 ixgbe_dcb_config_tx_data_arbiter_82598(struct ixgbe_hw *, u16 *, u16 *,
sys/dev/ixgbe/ixgbe_dcb_82598.h
96
s32 ixgbe_dcb_config_rx_arbiter_82598(struct ixgbe_hw *, u16 *, u16 *, u8 *);
sys/dev/ixgbe/ixgbe_dcb_82598.h
99
s32 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *, int, u16 *, u16 *, u8 *, u8 *);
sys/dev/ixgbe/ixgbe_dcb_82599.c
121
s32 ixgbe_dcb_config_rx_arbiter_82599(struct ixgbe_hw *hw, u16 *refill,
sys/dev/ixgbe/ixgbe_dcb_82599.c
122
u16 *max, u8 *bwg_id, u8 *tsa,
sys/dev/ixgbe/ixgbe_dcb_82599.c
183
s32 ixgbe_dcb_config_tx_desc_arbiter_82599(struct ixgbe_hw *hw, u16 *refill,
sys/dev/ixgbe/ixgbe_dcb_82599.c
184
u16 *max, u8 *bwg_id, u8 *tsa)
sys/dev/ixgbe/ixgbe_dcb_82599.c
232
s32 ixgbe_dcb_config_tx_data_arbiter_82599(struct ixgbe_hw *hw, u16 *refill,
sys/dev/ixgbe/ixgbe_dcb_82599.c
233
u16 *max, u8 *bwg_id, u8 *tsa,
sys/dev/ixgbe/ixgbe_dcb_82599.c
597
u16 *refill, u16 *max, u8 *bwg_id, u8 *tsa,
sys/dev/ixgbe/ixgbe_dcb_82599.h
141
s32 ixgbe_dcb_config_tx_desc_arbiter_82599(struct ixgbe_hw *, u16 *, u16 *,
sys/dev/ixgbe/ixgbe_dcb_82599.h
143
s32 ixgbe_dcb_config_tx_data_arbiter_82599(struct ixgbe_hw *, u16 *, u16 *,
sys/dev/ixgbe/ixgbe_dcb_82599.h
145
s32 ixgbe_dcb_config_rx_arbiter_82599(struct ixgbe_hw *, u16 *, u16 *, u8 *,
sys/dev/ixgbe/ixgbe_dcb_82599.h
152
s32 ixgbe_dcb_hw_config_82599(struct ixgbe_hw *, int, u16 *, u16 *, u8 *,
sys/dev/ixgbe/ixgbe_e610.c
1050
u16 cap = IXGBE_LE16_TO_CPU(cap_resp[i].cap);
sys/dev/ixgbe/ixgbe_e610.c
1090
s32 ixgbe_aci_list_caps(struct ixgbe_hw *hw, void *buf, u16 buf_size,
sys/dev/ixgbe/ixgbe_e610.c
111
void *buf, u16 buf_size)
sys/dev/ixgbe/ixgbe_e610.c
118
u16 opcode = 0;
sys/dev/ixgbe/ixgbe_e610.c
1248
u16 pcaps_size = sizeof(*pcaps);
sys/dev/ixgbe/ixgbe_e610.c
159
tmp_buf_size = (buf_size & (u16)(~0x03)) + 4;
sys/dev/ixgbe/ixgbe_e610.c
1655
s32 ixgbe_aci_set_event_mask(struct ixgbe_hw *hw, u8 port_num, u16 mask)
sys/dev/ixgbe/ixgbe_e610.c
1679
s32 ixgbe_configure_lse(struct ixgbe_hw *hw, bool activate, u16 mask)
sys/dev/ixgbe/ixgbe_e610.c
1710
u8 *node_part_number, u16 *node_handle)
sys/dev/ixgbe/ixgbe_e610.c
1743
u8 node_part_number, u16 *node_handle)
sys/dev/ixgbe/ixgbe_e610.c
1747
u16 rec_node_handle;
sys/dev/ixgbe/ixgbe_e610.c
1792
u16 bus_addr, __le16 addr, u8 params, u8 *data)
sys/dev/ixgbe/ixgbe_e610.c
1844
u16 bus_addr, __le16 addr, u8 params, u8 *data)
sys/dev/ixgbe/ixgbe_e610.c
1914
s32 ixgbe_aci_set_gpio(struct ixgbe_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx,
sys/dev/ixgbe/ixgbe_e610.c
1941
s32 ixgbe_aci_get_gpio(struct ixgbe_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx,
sys/dev/ixgbe/ixgbe_e610.c
1977
s32 ixgbe_aci_sff_eeprom(struct ixgbe_hw *hw, u16 lport, u8 bus_addr,
sys/dev/ixgbe/ixgbe_e610.c
1978
u16 mem_addr, u8 page, u8 page_bank_ctrl, u8 *data,
sys/dev/ixgbe/ixgbe_e610.c
2129
s32 ixgbe_aci_read_nvm(struct ixgbe_hw *hw, u16 module_typeid, u32 offset,
sys/dev/ixgbe/ixgbe_e610.c
2130
u16 length, void *data, bool last_command,
sys/dev/ixgbe/ixgbe_e610.c
2166
s32 ixgbe_aci_erase_nvm(struct ixgbe_hw *hw, u16 module_typeid)
sys/dev/ixgbe/ixgbe_e610.c
2207
s32 ixgbe_aci_update_nvm(struct ixgbe_hw *hw, u16 module_typeid,
sys/dev/ixgbe/ixgbe_e610.c
2208
u32 offset, u16 length, void *data,
sys/dev/ixgbe/ixgbe_e610.c
2252
u16 field_id, void *data, u16 buf_size,
sys/dev/ixgbe/ixgbe_e610.c
2253
u16 *elem_count)
sys/dev/ixgbe/ixgbe_e610.c
2287
void *data, u16 buf_size, u16 elem_count)
sys/dev/ixgbe/ixgbe_e610.c
2396
s32 ixgbe_nvm_write_activate(struct ixgbe_hw *hw, u16 cmd_flags,
sys/dev/ixgbe/ixgbe_e610.c
2431
u16 module)
sys/dev/ixgbe/ixgbe_e610.c
2504
u16 module, u32 offset, u8 *data, u32 length)
sys/dev/ixgbe/ixgbe_e610.c
2538
u32 offset, u16 *data)
sys/dev/ixgbe/ixgbe_e610.c
2544
offset * sizeof(u16),
sys/dev/ixgbe/ixgbe_e610.c
2546
sizeof(u16));
sys/dev/ixgbe/ixgbe_e610.c
2567
u32 offset, u16 *data)
sys/dev/ixgbe/ixgbe_e610.c
2573
offset * sizeof(u16),
sys/dev/ixgbe/ixgbe_e610.c
2575
sizeof(u16));
sys/dev/ixgbe/ixgbe_e610.c
2598
u16 hdr_len_l, hdr_len_h;
sys/dev/ixgbe/ixgbe_e610.c
2635
u32 offset, u16 *data)
sys/dev/ixgbe/ixgbe_e610.c
2665
u16 valid;
sys/dev/ixgbe/ixgbe_e610.c
2684
u16 minsrev_l = IXGBE_LE16_TO_CPU(data.nvm_minsrev_l);
sys/dev/ixgbe/ixgbe_e610.c
2685
u16 minsrev_h = IXGBE_LE16_TO_CPU(data.nvm_minsrev_h);
sys/dev/ixgbe/ixgbe_e610.c
2693
u16 minsrev_l = IXGBE_LE16_TO_CPU(data.orom_minsrev_l);
sys/dev/ixgbe/ixgbe_e610.c
2694
u16 minsrev_h = IXGBE_LE16_TO_CPU(data.orom_minsrev_h);
sys/dev/ixgbe/ixgbe_e610.c
2779
u16 srev_l, srev_h;
sys/dev/ixgbe/ixgbe_e610.c
2810
u16 eetrack_lo, eetrack_hi, ver;
sys/dev/ixgbe/ixgbe_e610.c
2887
u16 module_id, length, node_count, i;
sys/dev/ixgbe/ixgbe_e610.c
2888
u16 *id_blk;
sys/dev/ixgbe/ixgbe_e610.c
2918
id_blk = (u16 *)ixgbe_calloc(hw, IXGBE_NETLIST_ID_BLK_SIZE,
sys/dev/ixgbe/ixgbe_e610.c
2925
IXGBE_NETLIST_ID_BLK_OFFSET(node_count) * sizeof(u16),
sys/dev/ixgbe/ixgbe_e610.c
2927
IXGBE_NETLIST_ID_BLK_SIZE * sizeof(u16));
sys/dev/ixgbe/ixgbe_e610.c
295
void *buf, u16 buf_size)
sys/dev/ixgbe/ixgbe_e610.c
2986
static s32 ixgbe_read_sr_pointer(struct ixgbe_hw *hw, u16 offset, u32 *pointer)
sys/dev/ixgbe/ixgbe_e610.c
2989
u16 value;
sys/dev/ixgbe/ixgbe_e610.c
3019
static s32 ixgbe_read_sr_area_size(struct ixgbe_hw *hw, u16 offset, u32 *size)
sys/dev/ixgbe/ixgbe_e610.c
302
u16 opcode;
sys/dev/ixgbe/ixgbe_e610.c
3022
u16 value;
sys/dev/ixgbe/ixgbe_e610.c
3094
u16 ctrl_word;
sys/dev/ixgbe/ixgbe_e610.c
3286
s32 ixgbe_read_sr_word_aci(struct ixgbe_hw *hw, u16 offset, u16 *data)
sys/dev/ixgbe/ixgbe_e610.c
3288
u32 bytes = sizeof(u16);
sys/dev/ixgbe/ixgbe_e610.c
3292
status = ixgbe_read_flat_nvm(hw, offset * sizeof(u16), &bytes,
sys/dev/ixgbe/ixgbe_e610.c
3313
s32 ixgbe_read_sr_buf_aci(struct ixgbe_hw *hw, u16 offset, u16 *words,
sys/dev/ixgbe/ixgbe_e610.c
3314
u16 *data)
sys/dev/ixgbe/ixgbe_e610.c
3382
offset, (u16)read_size,
sys/dev/ixgbe/ixgbe_e610.c
3412
u16 words)
sys/dev/ixgbe/ixgbe_e610.c
3446
s32 ixgbe_write_sr_word_aci(struct ixgbe_hw *hw, u32 offset, const u16 *data)
sys/dev/ixgbe/ixgbe_e610.c
3473
s32 ixgbe_write_sr_buf_aci(struct ixgbe_hw *hw, u32 offset, u16 words,
sys/dev/ixgbe/ixgbe_e610.c
3474
const u16 *data)
sys/dev/ixgbe/ixgbe_e610.c
3481
vmem = ixgbe_calloc(hw, words, sizeof(u16));
sys/dev/ixgbe/ixgbe_e610.c
3652
s32 ixgbe_aci_get_internal_data(struct ixgbe_hw *hw, u16 cluster_id,
sys/dev/ixgbe/ixgbe_e610.c
3653
u16 table_id, u32 start, void *buf,
sys/dev/ixgbe/ixgbe_e610.c
3654
u16 buf_size, u16 *ret_buf_size,
sys/dev/ixgbe/ixgbe_e610.c
3655
u16 *ret_next_cluster, u16 *ret_next_table,
sys/dev/ixgbe/ixgbe_e610.c
3703
u16 i;
sys/dev/ixgbe/ixgbe_e610.c
3859
u16 num_entries)
sys/dev/ixgbe/ixgbe_e610.c
3861
u16 i;
sys/dev/ixgbe/ixgbe_e610.c
3952
u16 num_entries, u16 options, u16 log_resolution)
sys/dev/ixgbe/ixgbe_e610.c
3958
u16 i;
sys/dev/ixgbe/ixgbe_e610.c
4049
u16 num_entries)
sys/dev/ixgbe/ixgbe_e610.c
405
e->msg_len = MIN_T(u16, IXGBE_LE16_TO_CPU(desc.datalen), e->buf_len);
sys/dev/ixgbe/ixgbe_e610.c
4051
u16 i;
sys/dev/ixgbe/ixgbe_e610.c
4055
u16 j;
sys/dev/ixgbe/ixgbe_e610.c
4085
u16 num_entries)
sys/dev/ixgbe/ixgbe_e610.c
4194
u16 i, module_id_cnt;
sys/dev/ixgbe/ixgbe_e610.c
428
void ixgbe_fill_dflt_direct_cmd_desc(struct ixgbe_aci_desc *desc, u16 opcode)
sys/dev/ixgbe/ixgbe_e610.c
486
u16 len;
sys/dev/ixgbe/ixgbe_e610.c
4937
u8 sub, u16 len, const char *driver_ver)
sys/dev/ixgbe/ixgbe_e610.c
4939
size_t limited_len = min(len, (u16)IXGBE_DRV_VER_STR_LEN_E610);
sys/dev/ixgbe/ixgbe_e610.c
5012
u16 eee_cap = 0;
sys/dev/ixgbe/ixgbe_e610.c
5393
u16 *firmware_version)
sys/dev/ixgbe/ixgbe_e610.c
5410
memcpy(firmware_version, pcaps.phy_fw_ver, sizeof(u16));
sys/dev/ixgbe/ixgbe_e610.c
5624
s32 ixgbe_read_ee_aci_E610(struct ixgbe_hw *hw, u16 offset, u16 *data)
sys/dev/ixgbe/ixgbe_e610.c
5658
s32 ixgbe_read_ee_aci_buffer_E610(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_e610.c
5659
u16 words, u16 *data)
sys/dev/ixgbe/ixgbe_e610.c
5692
s32 ixgbe_write_ee_aci_E610(struct ixgbe_hw *hw, u16 offset, u16 data)
sys/dev/ixgbe/ixgbe_e610.c
5726
s32 ixgbe_write_ee_aci_buffer_E610(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_e610.c
5727
u16 words, u16 *data)
sys/dev/ixgbe/ixgbe_e610.c
5764
u16 pcie_alt_module = 0;
sys/dev/ixgbe/ixgbe_e610.c
5765
u16 checksum_local = 0;
sys/dev/ixgbe/ixgbe_e610.c
5766
u16 checksum = 0;
sys/dev/ixgbe/ixgbe_e610.c
5767
u16 vpd_module;
sys/dev/ixgbe/ixgbe_e610.c
5770
u16 *data;
sys/dev/ixgbe/ixgbe_e610.c
5771
u16 i;
sys/dev/ixgbe/ixgbe_e610.c
5779
vmem = ixgbe_calloc(hw, IXGBE_SR_SECTOR_SIZE_IN_WORDS, sizeof(u16));
sys/dev/ixgbe/ixgbe_e610.c
5782
data = (u16 *)vmem;
sys/dev/ixgbe/ixgbe_e610.c
5805
u16 words = IXGBE_SR_SECTOR_SIZE_IN_WORDS;
sys/dev/ixgbe/ixgbe_e610.c
5827
checksum = (u16)IXGBE_SR_SW_CHECKSUM_BASE - checksum_local;
sys/dev/ixgbe/ixgbe_e610.c
5890
s32 ixgbe_validate_eeprom_checksum_E610(struct ixgbe_hw *hw, u16 *checksum_val)
sys/dev/ixgbe/ixgbe_e610.c
5906
u16 tmp_checksum;
sys/dev/ixgbe/ixgbe_e610.c
5935
static s32 ixgbe_get_pfa_module_tlv(struct ixgbe_hw *hw, u16 *module_tlv,
sys/dev/ixgbe/ixgbe_e610.c
5936
u16 *module_tlv_len, u16 module_type)
sys/dev/ixgbe/ixgbe_e610.c
5938
u16 pfa_len, pfa_ptr, pfa_end_ptr;
sys/dev/ixgbe/ixgbe_e610.c
5939
u16 next_tlv;
sys/dev/ixgbe/ixgbe_e610.c
5956
u16 tlv_sub_module_type, tlv_len;
sys/dev/ixgbe/ixgbe_e610.c
5999
u16 pba_tlv, pba_tlv_len;
sys/dev/ixgbe/ixgbe_e610.c
6000
u16 pba_word, pba_size;
sys/dev/ixgbe/ixgbe_e610.c
6002
u16 i;
sys/dev/ixgbe/ixgbe_e610.c
692
u16 cap = IXGBE_LE16_TO_CPU(elem->cap);
sys/dev/ixgbe/ixgbe_e610.c
74
static bool ixgbe_should_retry_aci_send_cmd_execute(u16 opcode)
sys/dev/ixgbe/ixgbe_e610.c
934
u16 cap = IXGBE_LE16_TO_CPU(cap_resp[i].cap);
sys/dev/ixgbe/ixgbe_e610.h
111
s32 ixgbe_aci_read_nvm(struct ixgbe_hw *hw, u16 module_typeid, u32 offset,
sys/dev/ixgbe/ixgbe_e610.h
112
u16 length, void *data, bool last_command,
sys/dev/ixgbe/ixgbe_e610.h
115
s32 ixgbe_aci_erase_nvm(struct ixgbe_hw *hw, u16 module_typeid);
sys/dev/ixgbe/ixgbe_e610.h
116
s32 ixgbe_aci_update_nvm(struct ixgbe_hw *hw, u16 module_typeid,
sys/dev/ixgbe/ixgbe_e610.h
117
u32 offset, u16 length, void *data,
sys/dev/ixgbe/ixgbe_e610.h
121
u16 field_id, void *data, u16 buf_size,
sys/dev/ixgbe/ixgbe_e610.h
122
u16 *elem_count);
sys/dev/ixgbe/ixgbe_e610.h
124
void *data, u16 buf_size, u16 elem_count);
sys/dev/ixgbe/ixgbe_e610.h
129
s32 ixgbe_nvm_write_activate(struct ixgbe_hw *hw, u16 cmd_flags,
sys/dev/ixgbe/ixgbe_e610.h
144
s32 ixgbe_read_sr_word_aci(struct ixgbe_hw *hw, u16 offset, u16 *data);
sys/dev/ixgbe/ixgbe_e610.h
145
s32 ixgbe_read_sr_buf_aci(struct ixgbe_hw *hw, u16 offset, u16 *words, u16 *data);
sys/dev/ixgbe/ixgbe_e610.h
149
s32 ixgbe_write_sr_word_aci(struct ixgbe_hw *hw, u32 offset, const u16 *data);
sys/dev/ixgbe/ixgbe_e610.h
150
s32 ixgbe_write_sr_buf_aci(struct ixgbe_hw *hw, u32 offset, u16 words, const u16 *data);
sys/dev/ixgbe/ixgbe_e610.h
160
s32 ixgbe_aci_get_internal_data(struct ixgbe_hw *hw, u16 cluster_id,
sys/dev/ixgbe/ixgbe_e610.h
161
u16 table_id, u32 start, void *buf,
sys/dev/ixgbe/ixgbe_e610.h
162
u16 buf_size, u16 *ret_buf_size,
sys/dev/ixgbe/ixgbe_e610.h
163
u16 *ret_next_cluster, u16 *ret_next_table,
sys/dev/ixgbe/ixgbe_e610.h
177
u16 num_entries);
sys/dev/ixgbe/ixgbe_e610.h
204
u8 sub, u16 len, const char *driver_ver);
sys/dev/ixgbe/ixgbe_e610.h
215
u16 *firmware_version);
sys/dev/ixgbe/ixgbe_e610.h
226
s32 ixgbe_read_ee_aci_E610(struct ixgbe_hw *hw, u16 offset, u16 *data);
sys/dev/ixgbe/ixgbe_e610.h
227
s32 ixgbe_read_ee_aci_buffer_E610(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_e610.h
228
u16 words, u16 *data);
sys/dev/ixgbe/ixgbe_e610.h
229
s32 ixgbe_write_ee_aci_E610(struct ixgbe_hw *hw, u16 offset, u16 data);
sys/dev/ixgbe/ixgbe_e610.h
230
s32 ixgbe_write_ee_aci_buffer_E610(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_e610.h
231
u16 words, u16 *data);
sys/dev/ixgbe/ixgbe_e610.h
234
s32 ixgbe_validate_eeprom_checksum_E610(struct ixgbe_hw *hw, u16 *checksum_val);
sys/dev/ixgbe/ixgbe_e610.h
43
void *buf, u16 buf_size);
sys/dev/ixgbe/ixgbe_e610.h
48
void ixgbe_fill_dflt_direct_cmd_desc(struct ixgbe_aci_desc *desc, u16 opcode);
sys/dev/ixgbe/ixgbe_e610.h
57
s32 ixgbe_aci_list_caps(struct ixgbe_hw *hw, void *buf, u16 buf_size,
sys/dev/ixgbe/ixgbe_e610.h
78
s32 ixgbe_aci_set_event_mask(struct ixgbe_hw *hw, u8 port_num, u16 mask);
sys/dev/ixgbe/ixgbe_e610.h
79
s32 ixgbe_configure_lse(struct ixgbe_hw *hw, bool activate, u16 mask);
sys/dev/ixgbe/ixgbe_e610.h
83
u8 *node_part_number, u16 *node_handle);
sys/dev/ixgbe/ixgbe_e610.h
85
u8 node_part_number, u16 *node_handle);
sys/dev/ixgbe/ixgbe_e610.h
88
u16 bus_addr, __le16 addr, u8 params, u8 *data);
sys/dev/ixgbe/ixgbe_e610.h
91
u16 bus_addr, __le16 addr, u8 params, u8 *data);
sys/dev/ixgbe/ixgbe_e610.h
94
s32 ixgbe_aci_set_gpio(struct ixgbe_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx,
sys/dev/ixgbe/ixgbe_e610.h
96
s32 ixgbe_aci_get_gpio(struct ixgbe_hw *hw, u16 gpio_ctrl_handle, u8 pin_idx,
sys/dev/ixgbe/ixgbe_e610.h
98
s32 ixgbe_aci_sff_eeprom(struct ixgbe_hw *hw, u16 lport, u8 bus_addr,
sys/dev/ixgbe/ixgbe_e610.h
99
u16 mem_addr, u8 page, u8 page_bank_ctrl, u8 *data,
sys/dev/ixgbe/ixgbe_fw_logging.c
410
u16 i;
sys/dev/ixgbe/ixgbe_fw_logging.c
58
u16 option = (u16)arg2;
sys/dev/ixgbe/ixgbe_mbx.c
1020
static s32 ixgbe_read_mbx_pf_legacy(struct ixgbe_hw *hw, u32 *msg, u16 size,
sys/dev/ixgbe/ixgbe_mbx.c
1021
u16 vf_id)
sys/dev/ixgbe/ixgbe_mbx.c
1024
u16 i;
sys/dev/ixgbe/ixgbe_mbx.c
1057
static s32 ixgbe_read_mbx_pf(struct ixgbe_hw *hw, u32 *msg, u16 size,
sys/dev/ixgbe/ixgbe_mbx.c
1058
u16 vf_id)
sys/dev/ixgbe/ixgbe_mbx.c
1062
u16 i;
sys/dev/ixgbe/ixgbe_mbx.c
1095
static s32 ixgbe_clear_mbx_pf(struct ixgbe_hw *hw, u16 vf_id)
sys/dev/ixgbe/ixgbe_mbx.c
1097
u16 mbx_size = hw->mbx.size;
sys/dev/ixgbe/ixgbe_mbx.c
1098
u16 i;
sys/dev/ixgbe/ixgbe_mbx.c
1117
void ixgbe_init_mbx_params_pf_id(struct ixgbe_hw *hw, u16 vf_id)
sys/dev/ixgbe/ixgbe_mbx.c
1140
u16 i;
sys/dev/ixgbe/ixgbe_mbx.c
1181
void ixgbe_upgrade_mbx_params_pf(struct ixgbe_hw *hw, u16 vf_id)
sys/dev/ixgbe/ixgbe_mbx.c
119
s32 ixgbe_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id)
sys/dev/ixgbe/ixgbe_mbx.c
152
s32 ixgbe_check_for_msg(struct ixgbe_hw *hw, u16 mbx_id)
sys/dev/ixgbe/ixgbe_mbx.c
172
s32 ixgbe_check_for_ack(struct ixgbe_hw *hw, u16 mbx_id)
sys/dev/ixgbe/ixgbe_mbx.c
192
s32 ixgbe_check_for_rst(struct ixgbe_hw *hw, u16 mbx_id)
sys/dev/ixgbe/ixgbe_mbx.c
212
s32 ixgbe_clear_mbx(struct ixgbe_hw *hw, u16 mbx_id)
sys/dev/ixgbe/ixgbe_mbx.c
232
static s32 ixgbe_poll_for_msg(struct ixgbe_hw *hw, u16 mbx_id)
sys/dev/ixgbe/ixgbe_mbx.c
265
static s32 ixgbe_poll_for_ack(struct ixgbe_hw *hw, u16 mbx_id)
sys/dev/ixgbe/ixgbe_mbx.c
364
static s32 ixgbe_check_for_msg_vf(struct ixgbe_hw *hw, u16 mbx_id)
sys/dev/ixgbe/ixgbe_mbx.c
38
static s32 ixgbe_poll_for_msg(struct ixgbe_hw *hw, u16 mbx_id);
sys/dev/ixgbe/ixgbe_mbx.c
382
static s32 ixgbe_check_for_ack_vf(struct ixgbe_hw *hw, u16 mbx_id)
sys/dev/ixgbe/ixgbe_mbx.c
39
static s32 ixgbe_poll_for_ack(struct ixgbe_hw *hw, u16 mbx_id);
sys/dev/ixgbe/ixgbe_mbx.c
403
static s32 ixgbe_check_for_rst_vf(struct ixgbe_hw *hw, u16 mbx_id)
sys/dev/ixgbe/ixgbe_mbx.c
466
static void ixgbe_release_mbx_lock_dummy(struct ixgbe_hw *hw, u16 mbx_id)
sys/dev/ixgbe/ixgbe_mbx.c
478
static void ixgbe_release_mbx_lock_vf(struct ixgbe_hw *hw, u16 mbx_id)
sys/dev/ixgbe/ixgbe_mbx.c
50
s32 ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id)
sys/dev/ixgbe/ixgbe_mbx.c
501
static s32 ixgbe_write_mbx_vf_legacy(struct ixgbe_hw *hw, u32 *msg, u16 size,
sys/dev/ixgbe/ixgbe_mbx.c
502
u16 mbx_id)
sys/dev/ixgbe/ixgbe_mbx.c
505
u16 i;
sys/dev/ixgbe/ixgbe_mbx.c
543
static s32 ixgbe_write_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size,
sys/dev/ixgbe/ixgbe_mbx.c
544
u16 mbx_id)
sys/dev/ixgbe/ixgbe_mbx.c
548
u16 i;
sys/dev/ixgbe/ixgbe_mbx.c
593
static s32 ixgbe_read_mbx_vf_legacy(struct ixgbe_hw *hw, u32 *msg, u16 size,
sys/dev/ixgbe/ixgbe_mbx.c
594
u16 mbx_id)
sys/dev/ixgbe/ixgbe_mbx.c
597
u16 i;
sys/dev/ixgbe/ixgbe_mbx.c
629
static s32 ixgbe_read_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size,
sys/dev/ixgbe/ixgbe_mbx.c
630
u16 mbx_id)
sys/dev/ixgbe/ixgbe_mbx.c
634
u16 i;
sys/dev/ixgbe/ixgbe_mbx.c
724
static void ixgbe_clear_msg_pf(struct ixgbe_hw *hw, u16 vf_id)
sys/dev/ixgbe/ixgbe_mbx.c
739
static void ixgbe_clear_ack_pf(struct ixgbe_hw *hw, u16 vf_id)
sys/dev/ixgbe/ixgbe_mbx.c
772
static s32 ixgbe_check_for_msg_pf(struct ixgbe_hw *hw, u16 vf_id)
sys/dev/ixgbe/ixgbe_mbx.c
79
s32 ixgbe_poll_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id)
sys/dev/ixgbe/ixgbe_mbx.c
793
static s32 ixgbe_check_for_ack_pf(struct ixgbe_hw *hw, u16 vf_id)
sys/dev/ixgbe/ixgbe_mbx.c
818
static s32 ixgbe_check_for_rst_pf(struct ixgbe_hw *hw, u16 vf_id)
sys/dev/ixgbe/ixgbe_mbx.c
857
static s32 ixgbe_obtain_mbx_lock_pf(struct ixgbe_hw *hw, u16 vf_id)
sys/dev/ixgbe/ixgbe_mbx.c
906
static void ixgbe_release_mbx_lock_pf(struct ixgbe_hw *hw, u16 vf_id)
sys/dev/ixgbe/ixgbe_mbx.c
927
static s32 ixgbe_write_mbx_pf_legacy(struct ixgbe_hw *hw, u32 *msg, u16 size,
sys/dev/ixgbe/ixgbe_mbx.c
928
u16 vf_id)
sys/dev/ixgbe/ixgbe_mbx.c
931
u16 i;
sys/dev/ixgbe/ixgbe_mbx.c
968
static s32 ixgbe_write_mbx_pf(struct ixgbe_hw *hw, u32 *msg, u16 size,
sys/dev/ixgbe/ixgbe_mbx.c
969
u16 vf_id)
sys/dev/ixgbe/ixgbe_mbx.c
973
u16 i;
sys/dev/ixgbe/ixgbe_mbx.h
192
s32 ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id);
sys/dev/ixgbe/ixgbe_mbx.h
193
s32 ixgbe_poll_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id);
sys/dev/ixgbe/ixgbe_mbx.h
194
s32 ixgbe_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id);
sys/dev/ixgbe/ixgbe_mbx.h
195
s32 ixgbe_check_for_msg(struct ixgbe_hw *hw, u16 mbx_id);
sys/dev/ixgbe/ixgbe_mbx.h
196
s32 ixgbe_check_for_ack(struct ixgbe_hw *hw, u16 mbx_id);
sys/dev/ixgbe/ixgbe_mbx.h
197
s32 ixgbe_check_for_rst(struct ixgbe_hw *hw, u16 mbx_id);
sys/dev/ixgbe/ixgbe_mbx.h
198
s32 ixgbe_clear_mbx(struct ixgbe_hw *hw, u16 vf_number);
sys/dev/ixgbe/ixgbe_mbx.h
202
void ixgbe_init_mbx_params_pf_id(struct ixgbe_hw *hw, u16 vf_id);
sys/dev/ixgbe/ixgbe_mbx.h
203
void ixgbe_upgrade_mbx_params_pf(struct ixgbe_hw *hw, u16 vf_id);
sys/dev/ixgbe/ixgbe_mbx.h
42
void (*release)(struct ixgbe_hw *hw, u16 mbx_id);
sys/dev/ixgbe/ixgbe_mbx.h
43
s32 (*read)(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id);
sys/dev/ixgbe/ixgbe_mbx.h
44
s32 (*write)(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id);
sys/dev/ixgbe/ixgbe_mbx.h
45
s32 (*check_for_msg)(struct ixgbe_hw *hw, u16 vf_number);
sys/dev/ixgbe/ixgbe_mbx.h
46
s32 (*check_for_ack)(struct ixgbe_hw *hw, u16 vf_number);
sys/dev/ixgbe/ixgbe_mbx.h
47
s32 (*check_for_rst)(struct ixgbe_hw *hw, u16 vf_number);
sys/dev/ixgbe/ixgbe_mbx.h
48
s32 (*clear)(struct ixgbe_hw *hw, u16 vf_number);
sys/dev/ixgbe/ixgbe_mbx.h
71
u16 size;
sys/dev/ixgbe/ixgbe_osdep.c
42
inline u16
sys/dev/ixgbe/ixgbe_osdep.c
49
ixgbe_write_pci_cfg(struct ixgbe_hw *hw, u32 reg, u16 value)
sys/dev/ixgbe/ixgbe_osdep.h
157
#define __le16 u16
sys/dev/ixgbe/ixgbe_osdep.h
160
#define __be16 u16
sys/dev/ixgbe/ixgbe_osdep.h
211
extern u16 ixgbe_read_pci_cfg(struct ixgbe_hw *, u32);
sys/dev/ixgbe/ixgbe_osdep.h
214
extern void ixgbe_write_pci_cfg(struct ixgbe_hw *, u32, u16);
sys/dev/ixgbe/ixgbe_phy.c
1000
u16 phy_speed = 0;
sys/dev/ixgbe/ixgbe_phy.c
1001
u16 phy_data = 0;
sys/dev/ixgbe/ixgbe_phy.c
1044
u16 autoneg_reg = IXGBE_MII_AUTONEG_REG;
sys/dev/ixgbe/ixgbe_phy.c
109
s32 ixgbe_read_i2c_combined_generic_int(struct ixgbe_hw *hw, u8 addr, u16 reg,
sys/dev/ixgbe/ixgbe_phy.c
110
u16 *val, bool lock)
sys/dev/ixgbe/ixgbe_phy.c
1107
u16 *firmware_version)
sys/dev/ixgbe/ixgbe_phy.c
1126
u16 *firmware_version)
sys/dev/ixgbe/ixgbe_phy.c
1145
u16 phy_offset, control, eword, edata, block_crc;
sys/dev/ixgbe/ixgbe_phy.c
1147
u16 list_offset, data_offset;
sys/dev/ixgbe/ixgbe_phy.c
1148
u16 phy_data = 0;
sys/dev/ixgbe/ixgbe_phy.c
1302
u16 enforce_sfp = 0;
sys/dev/ixgbe/ixgbe_phy.c
1663
u16 enforce_sfp = 0;
sys/dev/ixgbe/ixgbe_phy.c
1854
u16 *list_offset,
sys/dev/ixgbe/ixgbe_phy.c
1855
u16 *data_offset)
sys/dev/ixgbe/ixgbe_phy.c
1857
u16 sfp_id;
sys/dev/ixgbe/ixgbe_phy.c
1858
u16 sfp_type = hw->phy.sfp_type;
sys/dev/ixgbe/ixgbe_phy.c
186
s32 ixgbe_write_i2c_combined_generic_int(struct ixgbe_hw *hw, u8 addr, u16 reg,
sys/dev/ixgbe/ixgbe_phy.c
187
u16 val, bool lock)
sys/dev/ixgbe/ixgbe_phy.c
2667
u16 phy_data = 0;
sys/dev/ixgbe/ixgbe_phy.c
2695
u16 reg;
sys/dev/ixgbe/ixgbe_phy.c
286
static bool ixgbe_probe_phy(struct ixgbe_hw *hw, u16 phy_addr)
sys/dev/ixgbe/ixgbe_phy.c
288
u16 ext_ability = 0;
sys/dev/ixgbe/ixgbe_phy.c
324
u16 phy_addr;
sys/dev/ixgbe/ixgbe_phy.c
402
u16 phy_id = 0;
sys/dev/ixgbe/ixgbe_phy.c
427
u16 phy_id_high = 0;
sys/dev/ixgbe/ixgbe_phy.c
428
u16 phy_id_low = 0;
sys/dev/ixgbe/ixgbe_phy.c
497
u16 ctrl = 0;
sys/dev/ixgbe/ixgbe_phy.c
575
u16 autoneg_reg;
sys/dev/ixgbe/ixgbe_phy.c
598
u16 *phy_data)
sys/dev/ixgbe/ixgbe_phy.c
666
*phy_data = (u16)(data);
sys/dev/ixgbe/ixgbe_phy.c
680
u32 device_type, u16 *phy_data)
sys/dev/ixgbe/ixgbe_phy.c
706
u32 device_type, u16 phy_data)
sys/dev/ixgbe/ixgbe_phy.c
780
u32 device_type, u16 phy_data)
sys/dev/ixgbe/ixgbe_phy.c
807
u16 autoneg_reg = IXGBE_MII_AUTONEG_REG;
sys/dev/ixgbe/ixgbe_phy.c
93
u16 sum = add1 + add2;
sys/dev/ixgbe/ixgbe_phy.c
931
u16 speed_ability;
sys/dev/ixgbe/ixgbe_phy.c
999
u16 phy_link = 0;
sys/dev/ixgbe/ixgbe_phy.h
167
u16 *phy_data);
sys/dev/ixgbe/ixgbe_phy.h
169
u16 phy_data);
sys/dev/ixgbe/ixgbe_phy.h
171
u32 device_type, u16 *phy_data);
sys/dev/ixgbe/ixgbe_phy.h
173
u32 device_type, u16 phy_data);
sys/dev/ixgbe/ixgbe_phy.h
189
u16 *firmware_version);
sys/dev/ixgbe/ixgbe_phy.h
191
u16 *firmware_version);
sys/dev/ixgbe/ixgbe_phy.h
200
u16 *list_offset,
sys/dev/ixgbe/ixgbe_phy.h
201
u16 *data_offset);
sys/dev/ixgbe/ixgbe_phy.h
216
s32 ixgbe_read_i2c_combined_generic_int(struct ixgbe_hw *, u8 addr, u16 reg,
sys/dev/ixgbe/ixgbe_phy.h
217
u16 *val, bool lock);
sys/dev/ixgbe/ixgbe_phy.h
218
s32 ixgbe_write_i2c_combined_generic_int(struct ixgbe_hw *, u8 addr, u16 reg,
sys/dev/ixgbe/ixgbe_phy.h
219
u16 val, bool lock);
sys/dev/ixgbe/ixgbe_sriov.h
69
int ixgbe_if_iov_vf_add(if_ctx_t, u16, const nvlist_t *);
sys/dev/ixgbe/ixgbe_sriov.h
70
int ixgbe_if_iov_init(if_ctx_t, u16, const nvlist_t *);
sys/dev/ixgbe/ixgbe_type.h
3038
#define __le16 u16
sys/dev/ixgbe/ixgbe_type.h
3049
#define __be16 u16
sys/dev/ixgbe/ixgbe_type.h
3288
u16 pad2; /* end spacing to ensure length is mult. of dword2 */
sys/dev/ixgbe/ixgbe_type.h
3305
u16 length;
sys/dev/ixgbe/ixgbe_type.h
3306
u16 pad2;
sys/dev/ixgbe/ixgbe_type.h
3307
u16 data;
sys/dev/ixgbe/ixgbe_type.h
3308
u16 pad3;
sys/dev/ixgbe/ixgbe_type.h
3314
u16 length;
sys/dev/ixgbe/ixgbe_type.h
3315
u16 pad2;
sys/dev/ixgbe/ixgbe_type.h
3316
u16 data;
sys/dev/ixgbe/ixgbe_type.h
3317
u16 pad3;
sys/dev/ixgbe/ixgbe_type.h
3324
u16 pad3;
sys/dev/ixgbe/ixgbe_type.h
3331
u16 pad;
sys/dev/ixgbe/ixgbe_type.h
3339
u16 rsv1;
sys/dev/ixgbe/ixgbe_type.h
3341
u16 pad;
sys/dev/ixgbe/ixgbe_type.h
381
u16 nvm_minor;
sys/dev/ixgbe/ixgbe_type.h
387
u16 oem_release;
sys/dev/ixgbe/ixgbe_type.h
391
u16 or_build;
sys/dev/ixgbe/ixgbe_type.h
3916
u16 func;
sys/dev/ixgbe/ixgbe_type.h
3918
u16 instance_id;
sys/dev/ixgbe/ixgbe_type.h
3925
u16 pause_time; /* Flow Control Pause timer */
sys/dev/ixgbe/ixgbe_type.h
395
u16 phy_fw_min;
sys/dev/ixgbe/ixgbe_type.h
400
u16 oem_specific;
sys/dev/ixgbe/ixgbe_type.h
4024
s32 (*read)(struct ixgbe_hw *, u16, u16 *);
sys/dev/ixgbe/ixgbe_type.h
4025
s32 (*read_buffer)(struct ixgbe_hw *, u16, u16, u16 *);
sys/dev/ixgbe/ixgbe_type.h
4026
s32 (*write)(struct ixgbe_hw *, u16, u16);
sys/dev/ixgbe/ixgbe_type.h
4027
s32 (*write_buffer)(struct ixgbe_hw *, u16, u16, u16 *);
sys/dev/ixgbe/ixgbe_type.h
4028
s32 (*validate_checksum)(struct ixgbe_hw *, u16 *);
sys/dev/ixgbe/ixgbe_type.h
4045
s32 (*get_device_caps)(struct ixgbe_hw *, u16 *);
sys/dev/ixgbe/ixgbe_type.h
4046
s32 (*get_wwn_prefix)(struct ixgbe_hw *, u16 *, u16 *);
sys/dev/ixgbe/ixgbe_type.h
4047
s32 (*get_fcoe_boot_status)(struct ixgbe_hw *, u16 *);
sys/dev/ixgbe/ixgbe_type.h
4110
s32 (*set_rlpml)(struct ixgbe_hw *, u16);
sys/dev/ixgbe/ixgbe_type.h
4118
s32 (*set_fw_drv_ver)(struct ixgbe_hw *, u8, u8, u8, u8, u16,
sys/dev/ixgbe/ixgbe_type.h
4154
s32 (*read_reg)(struct ixgbe_hw *, u32, u32, u16 *);
sys/dev/ixgbe/ixgbe_type.h
4155
s32 (*write_reg)(struct ixgbe_hw *, u32, u32, u16);
sys/dev/ixgbe/ixgbe_type.h
4156
s32 (*read_reg_mdi)(struct ixgbe_hw *, u32, u32, u16 *);
sys/dev/ixgbe/ixgbe_type.h
4157
s32 (*write_reg_mdi)(struct ixgbe_hw *, u32, u32, u16);
sys/dev/ixgbe/ixgbe_type.h
4162
s32 (*get_firmware_version)(struct ixgbe_hw *, u16 *);
sys/dev/ixgbe/ixgbe_type.h
4180
s32 (*read_link)(struct ixgbe_hw *, u8 addr, u16 reg, u16 *val);
sys/dev/ixgbe/ixgbe_type.h
4181
s32 (*read_link_unlocked)(struct ixgbe_hw *, u8 addr, u16 reg,
sys/dev/ixgbe/ixgbe_type.h
4182
u16 *val);
sys/dev/ixgbe/ixgbe_type.h
4183
s32 (*write_link)(struct ixgbe_hw *, u8 addr, u16 reg, u16 val);
sys/dev/ixgbe/ixgbe_type.h
4184
s32 (*write_link_unlocked)(struct ixgbe_hw *, u8 addr, u16 reg,
sys/dev/ixgbe/ixgbe_type.h
4185
u16 val);
sys/dev/ixgbe/ixgbe_type.h
4200
u16 word_size;
sys/dev/ixgbe/ixgbe_type.h
4201
u16 address_bits;
sys/dev/ixgbe/ixgbe_type.h
4202
u16 word_page_size;
sys/dev/ixgbe/ixgbe_type.h
4203
u16 ctrl_word_3;
sys/dev/ixgbe/ixgbe_type.h
4214
u16 wwnn_prefix;
sys/dev/ixgbe/ixgbe_type.h
4216
u16 wwpn_prefix;
sys/dev/ixgbe/ixgbe_type.h
4231
u16 max_msix_vectors;
sys/dev/ixgbe/ixgbe_type.h
4284
u16 device_id;
sys/dev/ixgbe/ixgbe_type.h
4285
u16 vendor_id;
sys/dev/ixgbe/ixgbe_type.h
4286
u16 subsystem_device_id;
sys/dev/ixgbe/ixgbe_type.h
4287
u16 subsystem_vendor_id;
sys/dev/ixgbe/ixgbe_type.h
787
u16 watchdog_timer; /* usec units */
sys/dev/ixgbe/ixgbe_type_e610.h
1881
u16 module_id;
sys/dev/ixgbe/ixgbe_type_e610.h
1900
u16 options;
sys/dev/ixgbe/ixgbe_type_e610.h
1906
u16 data_size;
sys/dev/ixgbe/ixgbe_type_e610.h
1912
u16 size;
sys/dev/ixgbe/ixgbe_type_e610.h
1913
u16 head;
sys/dev/ixgbe/ixgbe_type_e610.h
1914
u16 tail;
sys/dev/ixgbe/ixgbe_type_e610.h
2045
u16 max_frame_size;
sys/dev/ixgbe/ixgbe_type_e610.h
2046
u16 link_speed;
sys/dev/ixgbe/ixgbe_type_e610.h
2047
u16 req_speeds;
sys/dev/ixgbe/ixgbe_type_e610.h
2206
u16 msg_len;
sys/dev/ixgbe/ixgbe_type_e610.h
2207
u16 buf_len;
sys/dev/ixgbe/ixgbe_type_e610.h
2237
u16 build; /* Build version of OROM */
sys/dev/ixgbe/ixgbe_type_e610.h
2256
u16 cust_ver; /* customer version */
sys/dev/ixgbe/ixgbe_type_e610.h
2287
u16 sr_words; /* Shadow RAM size in words */
sys/dev/ixgbe/ixgbe_type_e610.h
85
#define HI_WORD(x) ((u16)(((x) >> 16) & 0xFFFF))
sys/dev/ixgbe/ixgbe_type_e610.h
86
#define LO_WORD(x) ((u16)((x) & 0xFFFF))
sys/dev/ixgbe/ixgbe_vf.c
254
u16 i;
sys/dev/ixgbe/ixgbe_vf.c
306
vector = ((mc_addr[4] >> 4) | (((u16)mc_addr[5]) << 4));
sys/dev/ixgbe/ixgbe_vf.c
309
vector = ((mc_addr[4] >> 3) | (((u16)mc_addr[5]) << 5));
sys/dev/ixgbe/ixgbe_vf.c
312
vector = ((mc_addr[4] >> 2) | (((u16)mc_addr[5]) << 6));
sys/dev/ixgbe/ixgbe_vf.c
315
vector = ((mc_addr[4]) | (((u16)mc_addr[5]) << 8));
sys/dev/ixgbe/ixgbe_vf.c
329
u32 *retmsg, u16 size)
sys/dev/ixgbe/ixgbe_vf.c
387
u16 *vector_list = (u16 *)&msgbuf[1];
sys/dev/ixgbe/ixgbe_vf.c
414
vector_list[i] = (u16)vector;
sys/dev/ixgbe/ixgbe_vf.c
52
u16 i;
sys/dev/ixgbe/ixgbe_vf.c
712
s32 ixgbevf_rlpml_set_vf(struct ixgbe_hw *hw, u16 max_size)
sys/dev/ixgbe/ixgbe_vf.h
140
s32 ixgbevf_rlpml_set_vf(struct ixgbe_hw *hw, u16 max_size);
sys/dev/ixgbe/ixgbe_x540.c
342
u16 ext_ability = 0;
sys/dev/ixgbe/ixgbe_x540.c
369
u16 eeprom_size;
sys/dev/ixgbe/ixgbe_x540.c
378
eeprom_size = (u16)((eec & IXGBE_EEC_SIZE) >>
sys/dev/ixgbe/ixgbe_x540.c
398
s32 ixgbe_read_eerd_X540(struct ixgbe_hw *hw, u16 offset, u16 *data)
sys/dev/ixgbe/ixgbe_x540.c
424
u16 offset, u16 words, u16 *data)
sys/dev/ixgbe/ixgbe_x540.c
449
s32 ixgbe_write_eewr_X540(struct ixgbe_hw *hw, u16 offset, u16 data)
sys/dev/ixgbe/ixgbe_x540.c
475
u16 offset, u16 words, u16 *data)
sys/dev/ixgbe/ixgbe_x540.c
504
u16 i, j;
sys/dev/ixgbe/ixgbe_x540.c
505
u16 checksum = 0;
sys/dev/ixgbe/ixgbe_x540.c
506
u16 length = 0;
sys/dev/ixgbe/ixgbe_x540.c
507
u16 pointer = 0;
sys/dev/ixgbe/ixgbe_x540.c
508
u16 word = 0;
sys/dev/ixgbe/ixgbe_x540.c
509
u16 ptr_start = IXGBE_PCIE_ANALOG_PTR;
sys/dev/ixgbe/ixgbe_x540.c
565
checksum = (u16)IXGBE_EEPROM_SUM - checksum;
sys/dev/ixgbe/ixgbe_x540.c
579
u16 *checksum_val)
sys/dev/ixgbe/ixgbe_x540.c
582
u16 checksum;
sys/dev/ixgbe/ixgbe_x540.c
583
u16 read_checksum = 0;
sys/dev/ixgbe/ixgbe_x540.c
604
checksum = (u16)(status & 0xffff);
sys/dev/ixgbe/ixgbe_x540.c
644
u16 checksum;
sys/dev/ixgbe/ixgbe_x540.c
65
u16 i;
sys/dev/ixgbe/ixgbe_x540.c
665
checksum = (u16)(status & 0xffff);
sys/dev/ixgbe/ixgbe_x540.h
50
s32 ixgbe_read_eerd_X540(struct ixgbe_hw *hw, u16 offset, u16 *data);
sys/dev/ixgbe/ixgbe_x540.h
51
s32 ixgbe_read_eerd_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words,
sys/dev/ixgbe/ixgbe_x540.h
52
u16 *data);
sys/dev/ixgbe/ixgbe_x540.h
53
s32 ixgbe_write_eewr_X540(struct ixgbe_hw *hw, u16 offset, u16 data);
sys/dev/ixgbe/ixgbe_x540.h
54
s32 ixgbe_write_eewr_buffer_X540(struct ixgbe_hw *hw, u16 offset, u16 words,
sys/dev/ixgbe/ixgbe_x540.h
55
u16 *data);
sys/dev/ixgbe/ixgbe_x540.h
57
s32 ixgbe_validate_eeprom_checksum_X540(struct ixgbe_hw *hw, u16 *checksum_val);
sys/dev/ixgbe/ixgbe_x550.c
1016
u16 eeprom_size;
sys/dev/ixgbe/ixgbe_x550.c
1025
eeprom_size = (u16)((eec & IXGBE_EEC_SIZE) >>
sys/dev/ixgbe/ixgbe_x550.c
113
static s32 ixgbe_read_cs4227(struct ixgbe_hw *hw, u16 reg, u16 *value)
sys/dev/ixgbe/ixgbe_x550.c
126
static s32 ixgbe_write_cs4227(struct ixgbe_hw *hw, u16 reg, u16 value)
sys/dev/ixgbe/ixgbe_x550.c
180
u16 value;
sys/dev/ixgbe/ixgbe_x550.c
1903
u16 reg;
sys/dev/ixgbe/ixgbe_x550.c
1990
u16 reg;
sys/dev/ixgbe/ixgbe_x550.c
2503
u16 reg;
sys/dev/ixgbe/ixgbe_x550.c
253
u16 value = 0;
sys/dev/ixgbe/ixgbe_x550.c
2568
u16 reg_slice, reg_val;
sys/dev/ixgbe/ixgbe_x550.c
2662
u16 reg_phy_ext;
sys/dev/ixgbe/ixgbe_x550.c
2893
u16 autoneg_status;
sys/dev/ixgbe/ixgbe_x550.c
2932
u16 speed;
sys/dev/ixgbe/ixgbe_x550.c
3060
s32 ixgbe_read_ee_hostif_X550(struct ixgbe_hw *hw, u16 offset, u16 *data)
sys/dev/ixgbe/ixgbe_x550.c
3075
buffer.length = IXGBE_CPU_TO_BE16(sizeof(u16));
sys/dev/ixgbe/ixgbe_x550.c
3087
*data = (u16)IXGBE_READ_REG_ARRAY(hw, IXGBE_FLEX_MNG,
sys/dev/ixgbe/ixgbe_x550.c
3105
u16 offset, u16 words, u16 *data)
sys/dev/ixgbe/ixgbe_x550.c
3110
u16 words_to_read;
sys/dev/ixgbe/ixgbe_x550.c
3154
data[current_word] = (u16)(value & 0xffff);
sys/dev/ixgbe/ixgbe_x550.c
3159
data[current_word] = (u16)(value & 0xffff);
sys/dev/ixgbe/ixgbe_x550.c
3179
s32 ixgbe_write_ee_hostif_data_X550(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_x550.c
3180
u16 data)
sys/dev/ixgbe/ixgbe_x550.c
3193
buffer.length = IXGBE_CPU_TO_BE16(sizeof(u16));
sys/dev/ixgbe/ixgbe_x550.c
3223
s32 ixgbe_write_ee_hostif_X550(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_x550.c
3224
u16 data)
sys/dev/ixgbe/ixgbe_x550.c
3252
u16 offset, u16 words, u16 *data)
sys/dev/ixgbe/ixgbe_x550.c
3293
static s32 ixgbe_checksum_ptr_x550(struct ixgbe_hw *hw, u16 ptr,
sys/dev/ixgbe/ixgbe_x550.c
3294
u16 size, u16 *csum, u16 *buffer,
sys/dev/ixgbe/ixgbe_x550.c
3297
u16 buf[256];
sys/dev/ixgbe/ixgbe_x550.c
3299
u16 length, bufsz, i, start;
sys/dev/ixgbe/ixgbe_x550.c
3300
u16 *local_buffer;
sys/dev/ixgbe/ixgbe_x550.c
3362
s32 ixgbe_calc_checksum_X550(struct ixgbe_hw *hw, u16 *buffer, u32 buffer_size)
sys/dev/ixgbe/ixgbe_x550.c
3364
u16 eeprom_ptrs[IXGBE_EEPROM_LAST_WORD + 1];
sys/dev/ixgbe/ixgbe_x550.c
3365
u16 *local_buffer;
sys/dev/ixgbe/ixgbe_x550.c
3367
u16 checksum = 0;
sys/dev/ixgbe/ixgbe_x550.c
3368
u16 pointer, i, size;
sys/dev/ixgbe/ixgbe_x550.c
3432
checksum = (u16)IXGBE_EEPROM_SUM - checksum;
sys/dev/ixgbe/ixgbe_x550.c
3456
s32 ixgbe_validate_eeprom_checksum_X550(struct ixgbe_hw *hw, u16 *checksum_val)
sys/dev/ixgbe/ixgbe_x550.c
3459
u16 checksum;
sys/dev/ixgbe/ixgbe_x550.c
3460
u16 read_checksum = 0;
sys/dev/ixgbe/ixgbe_x550.c
3478
checksum = (u16)(status & 0xffff);
sys/dev/ixgbe/ixgbe_x550.c
3512
u16 checksum = 0;
sys/dev/ixgbe/ixgbe_x550.c
3530
checksum = (u16)(status & 0xffff);
sys/dev/ixgbe/ixgbe_x550.c
3576
u16 ext_ability = 0;
sys/dev/ixgbe/ixgbe_x550.c
3716
u16 an_10g_cntl_reg, autoneg_reg, speed;
sys/dev/ixgbe/ixgbe_x550.c
3823
u16 an_lp_status;
sys/dev/ixgbe/ixgbe_x550.c
3825
u16 word = hw->eeprom.ctrl_word_3;
sys/dev/ixgbe/ixgbe_x550.c
399
s32 ixgbe_fw_phy_activity(struct ixgbe_hw *hw, u16 activity,
sys/dev/ixgbe/ixgbe_x550.c
406
u16 retries = FW_PHY_ACT_RETRIES;
sys/dev/ixgbe/ixgbe_x550.c
408
u16 i;
sys/dev/ixgbe/ixgbe_x550.c
4319
u32 device_type, u16 *phy_data)
sys/dev/ixgbe/ixgbe_x550.c
4347
u32 device_type, u16 phy_data)
sys/dev/ixgbe/ixgbe_x550.c
440
u16 fw_speed;
sys/dev/ixgbe/ixgbe_x550.c
4461
u16 i, autoneg_status = 0;
sys/dev/ixgbe/ixgbe_x550.c
4518
u16 phy_data;
sys/dev/ixgbe/ixgbe_x550.c
4543
u16 phy_data;
sys/dev/ixgbe/ixgbe_x550.c
4577
u8 build, u8 sub, u16 len, const char *driver_ver)
sys/dev/ixgbe/ixgbe_x550.c
460
u16 phy_speeds;
sys/dev/ixgbe/ixgbe_x550.c
461
u16 phy_id_lo;
sys/dev/ixgbe/ixgbe_x550.c
463
u16 i;
sys/dev/ixgbe/ixgbe_x550.c
521
u32 device_type, u16 *phy_data)
sys/dev/ixgbe/ixgbe_x550.c
528
u32 device_type, u16 phy_data)
sys/dev/ixgbe/ixgbe_x550.c
544
u16 reg, u16 *val)
sys/dev/ixgbe/ixgbe_x550.c
560
u16 reg, u16 *val)
sys/dev/ixgbe/ixgbe_x550.c
575
u8 addr, u16 reg, u16 val)
sys/dev/ixgbe/ixgbe_x550.c
591
u8 addr, u16 reg, u16 val)
sys/dev/ixgbe/ixgbe_x550.c
706
u16 i;
sys/dev/ixgbe/ixgbe_x550.h
101
u32 device_type, u16 *phy_data);
sys/dev/ixgbe/ixgbe_x550.h
103
u32 device_type, u16 phy_data);
sys/dev/ixgbe/ixgbe_x550.h
47
s32 ixgbe_calc_checksum_X550(struct ixgbe_hw *hw, u16 *buffer, u32 buffer_size);
sys/dev/ixgbe/ixgbe_x550.h
48
s32 ixgbe_validate_eeprom_checksum_X550(struct ixgbe_hw *hw, u16 *checksum_val);
sys/dev/ixgbe/ixgbe_x550.h
51
u16 offset, u16 words, u16 *data);
sys/dev/ixgbe/ixgbe_x550.h
52
s32 ixgbe_write_ee_hostif_X550(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_x550.h
53
u16 data);
sys/dev/ixgbe/ixgbe_x550.h
55
u16 offset, u16 words, u16 *data);
sys/dev/ixgbe/ixgbe_x550.h
56
s32 ixgbe_read_ee_hostif_X550(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_x550.h
57
u16 *data);
sys/dev/ixgbe/ixgbe_x550.h
58
s32 ixgbe_write_ee_hostif_data_X550(struct ixgbe_hw *hw, u16 offset,
sys/dev/ixgbe/ixgbe_x550.h
59
u16 data);
sys/dev/ixgbe/ixgbe_x550.h
69
u8 build, u8 ver, u16 len, const char *str);
sys/dev/ixl/i40e_adminq.c
1047
u16 opcode)
sys/dev/ixl/i40e_adminq.c
1068
u16 *pending)
sys/dev/ixl/i40e_adminq.c
1071
u16 ntc = hw->aq.arq.next_to_clean;
sys/dev/ixl/i40e_adminq.c
1074
u16 desc_idx;
sys/dev/ixl/i40e_adminq.c
1075
u16 datalen;
sys/dev/ixl/i40e_adminq.c
1076
u16 flags;
sys/dev/ixl/i40e_adminq.c
1077
u16 ntu;
sys/dev/ixl/i40e_adminq.c
1141
desc->datalen = CPU_TO_LE16((u16)bi->size);
sys/dev/ixl/i40e_adminq.c
185
desc->datalen = CPU_TO_LE16((u16)bi->size);
sys/dev/ixl/i40e_adminq.c
648
u16 oem_hi = 0, oem_lo = 0;
sys/dev/ixl/i40e_adminq.c
649
u16 eetrack_hi = 0;
sys/dev/ixl/i40e_adminq.c
650
u16 eetrack_lo = 0;
sys/dev/ixl/i40e_adminq.c
651
u16 cfg_ptr = 0;
sys/dev/ixl/i40e_adminq.c
779
u16 i40e_clean_asq(struct i40e_hw *hw)
sys/dev/ixl/i40e_adminq.c
783
u16 ntc = asq->next_to_clean;
sys/dev/ixl/i40e_adminq.c
844
u16 buff_size,
sys/dev/ixl/i40e_adminq.c
852
u16 retval = 0;
sys/dev/ixl/i40e_adminq.h
100
u16 arq_buf_size; /* receive queue buffer size */
sys/dev/ixl/i40e_adminq.h
101
u16 asq_buf_size; /* send queue buffer size */
sys/dev/ixl/i40e_adminq.h
102
u16 fw_maj_ver; /* firmware major version */
sys/dev/ixl/i40e_adminq.h
103
u16 fw_min_ver; /* firmware minor version */
sys/dev/ixl/i40e_adminq.h
105
u16 api_maj_ver; /* api major version */
sys/dev/ixl/i40e_adminq.h
106
u16 api_min_ver; /* api minor version */
sys/dev/ixl/i40e_adminq.h
164
u16 opcode);
sys/dev/ixl/i40e_adminq.h
56
u16 count; /* Number of descriptors */
sys/dev/ixl/i40e_adminq.h
57
u16 rx_buf_len; /* Admin Receive Queue buffer length */
sys/dev/ixl/i40e_adminq.h
60
u16 next_to_use;
sys/dev/ixl/i40e_adminq.h
61
u16 next_to_clean;
sys/dev/ixl/i40e_adminq.h
75
u16 flags_ena;
sys/dev/ixl/i40e_adminq.h
76
u16 flags_dis;
sys/dev/ixl/i40e_adminq.h
88
u16 msg_len;
sys/dev/ixl/i40e_adminq.h
89
u16 buf_len;
sys/dev/ixl/i40e_adminq.h
98
u16 num_arq_entries; /* receive queue depth */
sys/dev/ixl/i40e_adminq.h
99
u16 num_asq_entries; /* send queue depth */
sys/dev/ixl/i40e_adminq_cmd.h
1503
u16 general_fields[32];
sys/dev/ixl/i40e_adminq_cmd.h
1544
u16 general_fields[32];
sys/dev/ixl/i40e_common.c
1049
u16 *flags,
sys/dev/ixl/i40e_common.c
1076
u16 flags, u8 *mac_addr,
sys/dev/ixl/i40e_common.c
1087
cmd_data->mac_sah = CPU_TO_LE16((u16)mac_addr[0] << 8 | mac_addr[1]);
sys/dev/ixl/i40e_common.c
1109
u16 flags = 0;
sys/dev/ixl/i40e_common.c
1131
u16 flags = 0;
sys/dev/ixl/i40e_common.c
1190
u16 pba_word = 0;
sys/dev/ixl/i40e_common.c
1191
u16 pba_size = 0;
sys/dev/ixl/i40e_common.c
1192
u16 pba_ptr = 0;
sys/dev/ixl/i40e_common.c
1193
u16 i = 0;
sys/dev/ixl/i40e_common.c
1662
u16 max_delay = I40E_MAX_PHY_TIMEOUT, total_delay = 0;
sys/dev/ixl/i40e_common.c
1663
u16 abilities_size = sizeof(struct i40e_aq_get_phy_abilities_resp);
sys/dev/ixl/i40e_common.c
1672
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_BUF);
sys/dev/ixl/i40e_common.c
1674
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_LB);
sys/dev/ixl/i40e_common.c
1852
u16 max_frame_size,
sys/dev/ixl/i40e_common.c
1853
bool crc_en, u16 pacing,
sys/dev/ixl/i40e_common.c
1967
u16 command_flags;
sys/dev/ixl/i40e_common.c
2060
u16 mask,
sys/dev/ixl/i40e_common.c
2235
static bool i40e_hw_ver_ge(struct i40e_hw *hw, u16 maj, u16 min)
sys/dev/ixl/i40e_common.c
2271
desc.flags |= CPU_TO_LE16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
sys/dev/ixl/i40e_common.c
2295
u16 seid,
sys/dev/ixl/i40e_common.c
2323
u16 seid,
sys/dev/ixl/i40e_common.c
2353
u16 seid, bool set,
sys/dev/ixl/i40e_common.c
2361
u16 flags = 0;
sys/dev/ixl/i40e_common.c
2393
u16 seid, bool set, struct i40e_asq_cmd_details *cmd_details)
sys/dev/ixl/i40e_common.c
2399
u16 flags = 0;
sys/dev/ixl/i40e_common.c
2425
u16 seid, bool set,
sys/dev/ixl/i40e_common.c
2432
u16 flags = 0;
sys/dev/ixl/i40e_common.c
2463
u16 seid, bool enable, u16 vid,
sys/dev/ixl/i40e_common.c
2470
u16 flags = 0;
sys/dev/ixl/i40e_common.c
2497
u16 seid, bool enable, u16 vid,
sys/dev/ixl/i40e_common.c
2504
u16 flags = 0;
sys/dev/ixl/i40e_common.c
2537
u16 seid, bool enable, u16 vid,
sys/dev/ixl/i40e_common.c
2544
u16 flags = 0;
sys/dev/ixl/i40e_common.c
2572
u16 seid, bool set_filter,
sys/dev/ixl/i40e_common.c
2605
u16 seid, bool enable,
sys/dev/ixl/i40e_common.c
2612
u16 flags = 0;
sys/dev/ixl/i40e_common.c
2651
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_BUF);
sys/dev/ixl/i40e_common.c
2692
desc.flags |= CPU_TO_LE16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
sys/dev/ixl/i40e_common.c
2715
u16 buf_size, u16 *start_seid,
sys/dev/ixl/i40e_common.c
2725
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_BUF);
sys/dev/ixl/i40e_common.c
2727
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_LB);
sys/dev/ixl/i40e_common.c
2747
u16 flags, u16 valid_flags, u8 mode,
sys/dev/ixl/i40e_common.c
2783
u16 *fw_major_version, u16 *fw_minor_version,
sys/dev/ixl/i40e_common.c
2785
u16 *api_major_version, u16 *api_minor_version,
sys/dev/ixl/i40e_common.c
2837
u16 len;
sys/dev/ixl/i40e_common.c
2969
enum i40e_status_code i40e_aq_add_veb(struct i40e_hw *hw, u16 uplink_seid,
sys/dev/ixl/i40e_common.c
2970
u16 downlink_seid, u8 enabled_tc,
sys/dev/ixl/i40e_common.c
2971
bool default_port, u16 *veb_seid,
sys/dev/ixl/i40e_common.c
2981
u16 veb_flags = 0;
sys/dev/ixl/i40e_common.c
3028
u16 veb_seid, u16 *switch_id,
sys/dev/ixl/i40e_common.c
3029
bool *floating, u16 *statistic_index,
sys/dev/ixl/i40e_common.c
3030
u16 *vebs_used, u16 *vebs_free,
sys/dev/ixl/i40e_common.c
3059
u16 flags = LE16_TO_CPU(cmd_resp->veb_flags);
sys/dev/ixl/i40e_common.c
3081
enum i40e_status_code i40e_aq_add_macvlan(struct i40e_hw *hw, u16 seid,
sys/dev/ixl/i40e_common.c
3083
u16 count, struct i40e_asq_cmd_details *cmd_details)
sys/dev/ixl/i40e_common.c
3089
u16 buf_size;
sys/dev/ixl/i40e_common.c
3109
desc.flags |= CPU_TO_LE16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
sys/dev/ixl/i40e_common.c
3111
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_LB);
sys/dev/ixl/i40e_common.c
3129
enum i40e_status_code i40e_aq_remove_macvlan(struct i40e_hw *hw, u16 seid,
sys/dev/ixl/i40e_common.c
3131
u16 count, struct i40e_asq_cmd_details *cmd_details)
sys/dev/ixl/i40e_common.c
3137
u16 buf_size;
sys/dev/ixl/i40e_common.c
3151
desc.flags |= CPU_TO_LE16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
sys/dev/ixl/i40e_common.c
3153
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_LB);
sys/dev/ixl/i40e_common.c
3179
u16 opcode, u16 sw_seid, u16 rule_type, u16 id,
sys/dev/ixl/i40e_common.c
3180
u16 count, __le16 *mr_list,
sys/dev/ixl/i40e_common.c
3182
u16 *rule_id, u16 *rules_used, u16 *rules_free)
sys/dev/ixl/i40e_common.c
3190
u16 buf_size;
sys/dev/ixl/i40e_common.c
3203
desc.flags |= CPU_TO_LE16((u16)(I40E_AQ_FLAG_BUF |
sys/dev/ixl/i40e_common.c
3206
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_LB);
sys/dev/ixl/i40e_common.c
3238
enum i40e_status_code i40e_aq_add_mirrorrule(struct i40e_hw *hw, u16 sw_seid,
sys/dev/ixl/i40e_common.c
3239
u16 rule_type, u16 dest_vsi, u16 count, __le16 *mr_list,
sys/dev/ixl/i40e_common.c
3241
u16 *rule_id, u16 *rules_used, u16 *rules_free)
sys/dev/ixl/i40e_common.c
325
void *buffer, u16 buf_len)
sys/dev/ixl/i40e_common.c
3269
enum i40e_status_code i40e_aq_delete_mirrorrule(struct i40e_hw *hw, u16 sw_seid,
sys/dev/ixl/i40e_common.c
3270
u16 rule_type, u16 rule_id, u16 count, __le16 *mr_list,
sys/dev/ixl/i40e_common.c
3272
u16 *rules_used, u16 *rules_free)
sys/dev/ixl/i40e_common.c
3297
enum i40e_status_code i40e_aq_add_vlan(struct i40e_hw *hw, u16 seid,
sys/dev/ixl/i40e_common.c
330
u16 len;
sys/dev/ixl/i40e_common.c
3305
u16 buf_size;
sys/dev/ixl/i40e_common.c
331
u16 i;
sys/dev/ixl/i40e_common.c
3319
desc.flags |= CPU_TO_LE16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
sys/dev/ixl/i40e_common.c
3321
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_LB);
sys/dev/ixl/i40e_common.c
3337
enum i40e_status_code i40e_aq_remove_vlan(struct i40e_hw *hw, u16 seid,
sys/dev/ixl/i40e_common.c
3345
u16 buf_size;
sys/dev/ixl/i40e_common.c
3359
desc.flags |= CPU_TO_LE16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
sys/dev/ixl/i40e_common.c
3361
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_LB);
sys/dev/ixl/i40e_common.c
3381
enum i40e_status_code i40e_aq_send_msg_to_vf(struct i40e_hw *hw, u16 vfid,
sys/dev/ixl/i40e_common.c
3382
u32 v_opcode, u32 v_retval, u8 *msg, u16 msglen,
sys/dev/ixl/i40e_common.c
3394
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_SI);
sys/dev/ixl/i40e_common.c
3396
desc.flags |= CPU_TO_LE16((u16)(I40E_AQ_FLAG_BUF |
sys/dev/ixl/i40e_common.c
3399
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_LB);
sys/dev/ixl/i40e_common.c
3558
u32 offset, u16 length, void *data,
sys/dev/ixl/i40e_common.c
3584
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_BUF);
sys/dev/ixl/i40e_common.c
3586
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_LB);
sys/dev/ixl/i40e_common.c
3606
u16 buf_size, u16 *element_count,
sys/dev/ixl/i40e_common.c
3615
desc.flags |= CPU_TO_LE16((u16)(I40E_AQ_FLAG_BUF));
sys/dev/ixl/i40e_common.c
3617
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_LB);
sys/dev/ixl/i40e_common.c
3620
cmd->element_id = CPU_TO_LE16((u16)(0xffff & field_id));
sys/dev/ixl/i40e_common.c
3622
cmd->element_id_msw = CPU_TO_LE16((u16)(field_id >> 16));
sys/dev/ixl/i40e_common.c
3644
u8 cmd_flags, void *data, u16 buf_size,
sys/dev/ixl/i40e_common.c
3645
u16 element_count,
sys/dev/ixl/i40e_common.c
3654
desc.flags |= CPU_TO_LE16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
sys/dev/ixl/i40e_common.c
3656
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_LB);
sys/dev/ixl/i40e_common.c
3731
void *buff, u16 buff_size,
sys/dev/ixl/i40e_common.c
3758
u32 offset, u16 length, bool last_command,
sys/dev/ixl/i40e_common.c
3807
u16 id, ocp_cfg_word0;
sys/dev/ixl/i40e_common.c
4070
hw->num_wol_proxy_filters = (u16)number;
sys/dev/ixl/i40e_common.c
4071
hw->wol_proxy_vsi_seid = (u16)logical_id;
sys/dev/ixl/i40e_common.c
4161
void *buff, u16 buff_size, u16 *data_size,
sys/dev/ixl/i40e_common.c
4179
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_BUF);
sys/dev/ixl/i40e_common.c
4181
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_LB);
sys/dev/ixl/i40e_common.c
4210
u32 offset, u16 length, void *data,
sys/dev/ixl/i40e_common.c
4246
desc.flags |= CPU_TO_LE16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
sys/dev/ixl/i40e_common.c
4248
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_LB);
sys/dev/ixl/i40e_common.c
4270
u8 mib_type, void *buff, u16 buff_size,
sys/dev/ixl/i40e_common.c
4271
u16 *local_len, u16 *remote_len,
sys/dev/ixl/i40e_common.c
4286
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_BUF);
sys/dev/ixl/i40e_common.c
4294
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_BUF);
sys/dev/ixl/i40e_common.c
4296
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_LB);
sys/dev/ixl/i40e_common.c
4320
u8 mib_type, void *buff, u16 buff_size,
sys/dev/ixl/i40e_common.c
4334
desc.flags |= CPU_TO_LE16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
sys/dev/ixl/i40e_common.c
4336
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_LB);
sys/dev/ixl/i40e_common.c
446
u16 vsi_id, bool pf_lut,
sys/dev/ixl/i40e_common.c
447
u8 *lut, u16 lut_size,
sys/dev/ixl/i40e_common.c
4525
void *buff, u16 buff_size,
sys/dev/ixl/i40e_common.c
4536
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_BUF);
sys/dev/ixl/i40e_common.c
4586
u16 udp_port, u8 protocol_index,
sys/dev/ixl/i40e_common.c
463
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_BUF);
sys/dev/ixl/i40e_common.c
464
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_RD);
sys/dev/ixl/i40e_common.c
4648
u16 count,
sys/dev/ixl/i40e_common.c
4655
u16 length = count * sizeof(*buf);
sys/dev/ixl/i40e_common.c
4660
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_BUF);
sys/dev/ixl/i40e_common.c
4662
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_LB);
sys/dev/ixl/i40e_common.c
467
CPU_TO_LE16((u16)((vsi_id <<
sys/dev/ixl/i40e_common.c
4680
enum i40e_status_code i40e_aq_delete_element(struct i40e_hw *hw, u16 seid,
sys/dev/ixl/i40e_common.c
470
cmd_resp->vsi_id |= CPU_TO_LE16((u16)I40E_AQC_SET_RSS_LUT_VSI_VALID);
sys/dev/ixl/i40e_common.c
4711
enum i40e_status_code i40e_aq_add_pvirt(struct i40e_hw *hw, u16 flags,
sys/dev/ixl/i40e_common.c
4712
u16 mac_seid, u16 vsi_seid,
sys/dev/ixl/i40e_common.c
4713
u16 *ret_seid)
sys/dev/ixl/i40e_common.c
473
cmd_resp->flags |= CPU_TO_LE16((u16)
sys/dev/ixl/i40e_common.c
4753
u16 vsi_seid, u16 tag, u16 queue_num,
sys/dev/ixl/i40e_common.c
4754
u16 *tags_used, u16 *tags_free,
sys/dev/ixl/i40e_common.c
478
cmd_resp->flags |= CPU_TO_LE16((u16)
sys/dev/ixl/i40e_common.c
4801
enum i40e_status_code i40e_aq_remove_tag(struct i40e_hw *hw, u16 vsi_seid,
sys/dev/ixl/i40e_common.c
4802
u16 tag, u16 *tags_used, u16 *tags_free,
sys/dev/ixl/i40e_common.c
4850
enum i40e_status_code i40e_aq_add_mcast_etag(struct i40e_hw *hw, u16 pv_seid,
sys/dev/ixl/i40e_common.c
4851
u16 etag, u8 num_tags_in_buf, void *buf,
sys/dev/ixl/i40e_common.c
4852
u16 *tags_used, u16 *tags_free,
sys/dev/ixl/i40e_common.c
4861
u16 length = sizeof(u16) * num_tags_in_buf;
sys/dev/ixl/i40e_common.c
4873
desc.flags |= CPU_TO_LE16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
sys/dev/ixl/i40e_common.c
4900
enum i40e_status_code i40e_aq_remove_mcast_etag(struct i40e_hw *hw, u16 pv_seid,
sys/dev/ixl/i40e_common.c
4901
u16 etag, u16 *tags_used, u16 *tags_free,
sys/dev/ixl/i40e_common.c
4947
enum i40e_status_code i40e_aq_update_tag(struct i40e_hw *hw, u16 vsi_seid,
sys/dev/ixl/i40e_common.c
4948
u16 old_tag, u16 new_tag, u16 *tags_used,
sys/dev/ixl/i40e_common.c
4949
u16 *tags_free,
sys/dev/ixl/i40e_common.c
498
enum i40e_status_code i40e_aq_get_rss_lut(struct i40e_hw *hw, u16 vsi_id,
sys/dev/ixl/i40e_common.c
499
bool pf_lut, u8 *lut, u16 lut_size)
sys/dev/ixl/i40e_common.c
5059
enum i40e_status_code i40e_aq_add_statistics(struct i40e_hw *hw, u16 seid,
sys/dev/ixl/i40e_common.c
5060
u16 vlan_id, u16 *stat_index,
sys/dev/ixl/i40e_common.c
5096
enum i40e_status_code i40e_aq_remove_statistics(struct i40e_hw *hw, u16 seid,
sys/dev/ixl/i40e_common.c
5097
u16 vlan_id, u16 stat_index,
sys/dev/ixl/i40e_common.c
5130
u16 bad_frame_vsi, bool save_bad_pac,
sys/dev/ixl/i40e_common.c
5137
u16 command_flags = 0;
sys/dev/ixl/i40e_common.c
515
enum i40e_status_code i40e_aq_set_rss_lut(struct i40e_hw *hw, u16 vsi_id,
sys/dev/ixl/i40e_common.c
516
bool pf_lut, u8 *lut, u16 lut_size)
sys/dev/ixl/i40e_common.c
5169
static enum i40e_status_code i40e_aq_tx_sched_cmd(struct i40e_hw *hw, u16 seid,
sys/dev/ixl/i40e_common.c
5170
void *buff, u16 buff_size,
sys/dev/ixl/i40e_common.c
5204
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_BUF);
sys/dev/ixl/i40e_common.c
5206
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_RD);
sys/dev/ixl/i40e_common.c
5208
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_LB);
sys/dev/ixl/i40e_common.c
5228
u16 seid, u16 credit, u8 max_credit,
sys/dev/ixl/i40e_common.c
5257
u16 seid, u16 credit, u8 max_bw,
sys/dev/ixl/i40e_common.c
5285
u16 seid,
sys/dev/ixl/i40e_common.c
5302
u16 seid,
sys/dev/ixl/i40e_common.c
531
u16 vsi_id,
sys/dev/ixl/i40e_common.c
5319
struct i40e_hw *hw, u16 seid,
sys/dev/ixl/i40e_common.c
5336
u16 seid,
sys/dev/ixl/i40e_common.c
5353
u16 seid,
sys/dev/ixl/i40e_common.c
5370
u16 seid,
sys/dev/ixl/i40e_common.c
5387
u16 seid,
sys/dev/ixl/i40e_common.c
539
u16 key_size = sizeof(struct i40e_aqc_get_set_rss_key_data);
sys/dev/ixl/i40e_common.c
5404
u16 seid,
sys/dev/ixl/i40e_common.c
549
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_BUF);
sys/dev/ixl/i40e_common.c
550
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_RD);
sys/dev/ixl/i40e_common.c
553
CPU_TO_LE16((u16)((vsi_id <<
sys/dev/ixl/i40e_common.c
556
cmd_resp->vsi_id |= CPU_TO_LE16((u16)I40E_AQC_SET_RSS_KEY_VSI_VALID);
sys/dev/ixl/i40e_common.c
5588
u8 *mac_addr, u16 ethtype, u16 flags,
sys/dev/ixl/i40e_common.c
5589
u16 vsi_seid, u16 queue, bool is_add,
sys/dev/ixl/i40e_common.c
5640
u16 seid)
sys/dev/ixl/i40e_common.c
5643
u16 flag = I40E_AQC_ADD_CONTROL_PACKET_FLAGS_IGNORE_MAC |
sys/dev/ixl/i40e_common.c
5646
u16 ethtype = I40E_FLOW_CONTROL_ETHTYPE;
sys/dev/ixl/i40e_common.c
5672
u16 tnl_type;
sys/dev/ixl/i40e_common.c
5698
u16 seid,
sys/dev/ixl/i40e_common.c
5706
u16 buff_len;
sys/dev/ixl/i40e_common.c
571
u16 vsi_id,
sys/dev/ixl/i40e_common.c
5713
desc.flags |= CPU_TO_LE16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
sys/dev/ixl/i40e_common.c
5737
i40e_aq_add_cloud_filters_bb(struct i40e_hw *hw, u16 seid,
sys/dev/ixl/i40e_common.c
5745
u16 buff_len;
sys/dev/ixl/i40e_common.c
5753
desc.flags |= CPU_TO_LE16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
sys/dev/ixl/i40e_common.c
5759
u16 tnl_type;
sys/dev/ixl/i40e_common.c
5794
i40e_aq_rem_cloud_filters(struct i40e_hw *hw, u16 seid,
sys/dev/ixl/i40e_common.c
5802
u16 buff_len;
sys/dev/ixl/i40e_common.c
5809
desc.flags |= CPU_TO_LE16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
sys/dev/ixl/i40e_common.c
5833
i40e_aq_rem_cloud_filters_bb(struct i40e_hw *hw, u16 seid,
sys/dev/ixl/i40e_common.c
5841
u16 buff_len;
sys/dev/ixl/i40e_common.c
5849
desc.flags |= CPU_TO_LE16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
sys/dev/ixl/i40e_common.c
5855
u16 tnl_type;
sys/dev/ixl/i40e_common.c
586
u16 vsi_id,
sys/dev/ixl/i40e_common.c
5907
desc.flags |= CPU_TO_LE16((u16)(I40E_AQ_FLAG_BUF | I40E_AQ_FLAG_RD));
sys/dev/ixl/i40e_common.c
5990
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_LB);
sys/dev/ixl/i40e_common.c
6071
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_LB);
sys/dev/ixl/i40e_common.c
6190
void i40e_set_pci_config_data(struct i40e_hw *hw, u16 link_status)
sys/dev/ixl/i40e_common.c
6245
u8 table_id, u32 start_index, u16 buff_size,
sys/dev/ixl/i40e_common.c
6246
void *buff, u16 *ret_buff_size,
sys/dev/ixl/i40e_common.c
6263
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_BUF);
sys/dev/ixl/i40e_common.c
6265
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_LB);
sys/dev/ixl/i40e_common.c
6407
u16 bwd_size = sizeof(*bw_data);
sys/dev/ixl/i40e_common.c
6413
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_BUF);
sys/dev/ixl/i40e_common.c
6414
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_RD);
sys/dev/ixl/i40e_common.c
6433
u16 reg, u8 phy_addr, u16 *value)
sys/dev/ixl/i40e_common.c
6438
u16 retry = 1000;
sys/dev/ixl/i40e_common.c
6478
u16 reg, u8 phy_addr, u16 value)
sys/dev/ixl/i40e_common.c
6483
u16 retry = 1000;
sys/dev/ixl/i40e_common.c
6519
u8 page, u16 reg, u8 phy_addr, u16 *value)
sys/dev/ixl/i40e_common.c
6523
u16 retry = 1000;
sys/dev/ixl/i40e_common.c
6593
u8 page, u16 reg, u8 phy_addr, u16 value)
sys/dev/ixl/i40e_common.c
6597
u16 retry = 1000;
sys/dev/ixl/i40e_common.c
6660
u8 page, u16 reg, u8 phy_addr, u16 value)
sys/dev/ixl/i40e_common.c
6699
u8 page, u16 reg, u8 phy_addr, u16 *value)
sys/dev/ixl/i40e_common.c
6755
u16 led_ctl = 0;
sys/dev/ixl/i40e_common.c
6756
u16 gpio_led_port;
sys/dev/ixl/i40e_common.c
6757
u16 led_reg;
sys/dev/ixl/i40e_common.c
6758
u16 led_addr = I40E_PHY_LED_PROV_REG_1;
sys/dev/ixl/i40e_common.c
6822
enum i40e_status_code i40e_led_get_reg(struct i40e_hw *hw, u16 led_addr,
sys/dev/ixl/i40e_common.c
6840
(u16 *)reg_val);
sys/dev/ixl/i40e_common.c
6851
enum i40e_status_code i40e_led_set_reg(struct i40e_hw *hw, u16 led_addr,
sys/dev/ixl/i40e_common.c
6868
(u16)reg_val);
sys/dev/ixl/i40e_common.c
6881
enum i40e_status_code i40e_led_get_phy(struct i40e_hw *hw, u16 *led_addr,
sys/dev/ixl/i40e_common.c
6882
u16 *val)
sys/dev/ixl/i40e_common.c
6885
u16 gpio_led_port;
sys/dev/ixl/i40e_common.c
6887
u16 temp_addr;
sys/dev/ixl/i40e_common.c
6889
u16 reg_val;
sys/dev/ixl/i40e_common.c
6898
*val = (u16)reg_val_aq;
sys/dev/ixl/i40e_common.c
6931
u16 led_addr, u32 mode)
sys/dev/ixl/i40e_common.c
7422
i40e_aq_run_phy_activity(struct i40e_hw *hw, u16 activity_id, u32 dnl_opcode,
sys/dev/ixl/i40e_common.c
7471
u8 *msg, u16 msglen,
sys/dev/ixl/i40e_common.c
7479
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_SI);
sys/dev/ixl/i40e_common.c
7483
desc.flags |= CPU_TO_LE16((u16)(I40E_AQ_FLAG_BUF
sys/dev/ixl/i40e_common.c
7486
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_LB);
sys/dev/ixl/i40e_common.c
7572
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_BUF);
sys/dev/ixl/i40e_common.c
7573
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_RD);
sys/dev/ixl/i40e_common.c
7609
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_BUF);
sys/dev/ixl/i40e_common.c
7610
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_RD);
sys/dev/ixl/i40e_common.c
7649
u16 cmd_flags = 0;
sys/dev/ixl/i40e_common.c
7650
u16 valid_flags = 0;
sys/dev/ixl/i40e_common.c
7651
u16 buff_len = 0;
sys/dev/ixl/i40e_common.c
7680
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_BUF);
sys/dev/ixl/i40e_common.c
7681
desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_RD);
sys/dev/ixl/i40e_common.c
7701
u16 *wake_reason,
sys/dev/ixl/i40e_dcb.c
1026
u16 offset = 0, typelength, i;
sys/dev/ixl/i40e_dcb.c
1030
typelength = (u16)((I40E_TLV_TYPE_ORG << I40E_LLDP_TLV_TYPE_SHIFT) |
sys/dev/ixl/i40e_dcb.c
1100
u16 offset = 0, typelength, i;
sys/dev/ixl/i40e_dcb.c
1105
typelength = (u16)((I40E_TLV_TYPE_ORG << I40E_LLDP_TLV_TYPE_SHIFT) |
sys/dev/ixl/i40e_dcb.c
1165
u16 typelength;
sys/dev/ixl/i40e_dcb.c
1167
typelength = (u16)((I40E_TLV_TYPE_ORG << I40E_LLDP_TLV_TYPE_SHIFT) |
sys/dev/ixl/i40e_dcb.c
1201
u16 typelength, length, offset = 0;
sys/dev/ixl/i40e_dcb.c
1237
typelength = (u16)((I40E_TLV_TYPE_ORG << I40E_LLDP_TLV_TYPE_SHIFT) |
sys/dev/ixl/i40e_dcb.c
1250
u16 tlvid)
sys/dev/ixl/i40e_dcb.c
1282
u16 miblen;
sys/dev/ixl/i40e_dcb.c
1312
enum i40e_status_code i40e_dcb_config_to_lldp(u8 *lldpmib, u16 *miblen,
sys/dev/ixl/i40e_dcb.c
1315
u16 length, offset = 0, tlvid = I40E_TLV_ID_START;
sys/dev/ixl/i40e_dcb.c
1318
u16 typelength;
sys/dev/ixl/i40e_dcb.c
1324
length = (u16)((typelength & I40E_LLDP_TLV_LEN_MASK) >>
sys/dev/ixl/i40e_dcb.c
1358
u16 mem;
sys/dev/ixl/i40e_dcb.c
141
u16 offset = 0;
sys/dev/ixl/i40e_dcb.c
222
u16 typelength;
sys/dev/ixl/i40e_dcb.c
223
u16 offset = 0;
sys/dev/ixl/i40e_dcb.c
224
u16 length;
sys/dev/ixl/i40e_dcb.c
229
length = (u16)((typelength & I40E_LLDP_TLV_LEN_MASK) >>
sys/dev/ixl/i40e_dcb.c
313
u16 offset = 0;
sys/dev/ixl/i40e_dcb.c
394
u16 length, typelength, offset = 0;
sys/dev/ixl/i40e_dcb.c
399
length = (u16)((typelength & I40E_LLDP_TLV_LEN_MASK) >>
sys/dev/ixl/i40e_dcb.c
449
u16 len, tlvlen, sublen, typelength;
sys/dev/ixl/i40e_dcb.c
45
enum i40e_status_code i40e_get_dcbx_status(struct i40e_hw *hw, u16 *status)
sys/dev/ixl/i40e_dcb.c
462
tlvlen = (u16)((typelength & I40E_LLDP_TLV_LEN_MASK) >>
sys/dev/ixl/i40e_dcb.c
473
sublen = (u16)((typelength &
sys/dev/ixl/i40e_dcb.c
53
*status = (u16)((reg & I40E_PRTDCB_GENS_DCBX_STATUS_MASK) >>
sys/dev/ixl/i40e_dcb.c
540
u16 type;
sys/dev/ixl/i40e_dcb.c
541
u16 length;
sys/dev/ixl/i40e_dcb.c
542
u16 typelength;
sys/dev/ixl/i40e_dcb.c
543
u16 offset = 0;
sys/dev/ixl/i40e_dcb.c
553
type = (u16)((typelength & I40E_LLDP_TLV_TYPE_MASK) >>
sys/dev/ixl/i40e_dcb.c
555
length = (u16)((typelength & I40E_LLDP_TLV_LEN_MASK) >>
sys/dev/ixl/i40e_dcb.c
628
u16 status, tlv_status = LE16_TO_CPU(cee_cfg->tlv_status);
sys/dev/ixl/i40e_dcb.c
629
u16 app_prio = LE16_TO_CPU(cee_cfg->oper_app_prio);
sys/dev/ixl/i40e_dcb.c
71
u16 offset = 0;
sys/dev/ixl/i40e_dcb.c
710
u16 app_prio = LE16_TO_CPU(cee_cfg->oper_app_prio);
sys/dev/ixl/i40e_dcb.h
222
u16 *status);
sys/dev/ixl/i40e_dcb.h
235
enum i40e_status_code i40e_dcb_config_to_lldp(u8 *lldpmib, u16 *miblen,
sys/dev/ixl/i40e_hmc.h
106
u16 first_sd_index; /* index of the first available SD */
sys/dev/ixl/i40e_lan_hmc.c
1039
u16 shift_width;
sys/dev/ixl/i40e_lan_hmc.c
1092
u16 shift_width;
sys/dev/ixl/i40e_lan_hmc.c
1300
u16 queue,
sys/dev/ixl/i40e_lan_hmc.c
1320
u16 queue)
sys/dev/ixl/i40e_lan_hmc.c
1339
u16 queue,
sys/dev/ixl/i40e_lan_hmc.c
1360
u16 queue,
sys/dev/ixl/i40e_lan_hmc.c
1380
u16 queue)
sys/dev/ixl/i40e_lan_hmc.c
1399
u16 queue,
sys/dev/ixl/i40e_lan_hmc.c
699
u16 offset;
sys/dev/ixl/i40e_lan_hmc.c
700
u16 size_of;
sys/dev/ixl/i40e_lan_hmc.c
701
u16 width;
sys/dev/ixl/i40e_lan_hmc.c
702
u16 lsb;
sys/dev/ixl/i40e_lan_hmc.c
770
u16 shift_width;
sys/dev/ixl/i40e_lan_hmc.c
808
u16 src_word, mask;
sys/dev/ixl/i40e_lan_hmc.c
810
u16 shift_width;
sys/dev/ixl/i40e_lan_hmc.c
823
src_word = *(u16 *)from;
sys/dev/ixl/i40e_lan_hmc.c
854
u16 shift_width;
sys/dev/ixl/i40e_lan_hmc.c
906
u16 shift_width;
sys/dev/ixl/i40e_lan_hmc.c
958
u16 shift_width;
sys/dev/ixl/i40e_lan_hmc.c
993
u16 dest_word, mask;
sys/dev/ixl/i40e_lan_hmc.c
995
u16 shift_width;
sys/dev/ixl/i40e_lan_hmc.h
180
u16 queue,
sys/dev/ixl/i40e_lan_hmc.h
183
u16 queue);
sys/dev/ixl/i40e_lan_hmc.h
185
u16 queue,
sys/dev/ixl/i40e_lan_hmc.h
188
u16 queue,
sys/dev/ixl/i40e_lan_hmc.h
191
u16 queue);
sys/dev/ixl/i40e_lan_hmc.h
193
u16 queue,
sys/dev/ixl/i40e_lan_hmc.h
50
u16 head;
sys/dev/ixl/i40e_lan_hmc.h
51
u16 cpuid; /* bigger than needed, see above for reason */
sys/dev/ixl/i40e_lan_hmc.h
53
u16 qlen;
sys/dev/ixl/i40e_lan_hmc.h
55
u16 dbuff; /* bigger than needed, see above for reason */
sys/dev/ixl/i40e_lan_hmc.h
57
u16 hbuff; /* bigger than needed, see above for reason */
sys/dev/ixl/i40e_lan_hmc.h
71
u16 lrxqthresh; /* bigger than needed, see above for reason */
sys/dev/ixl/i40e_lan_hmc.h
83
u16 head;
sys/dev/ixl/i40e_lan_hmc.h
90
u16 thead_wb;
sys/dev/ixl/i40e_lan_hmc.h
93
u16 qlen;
sys/dev/ixl/i40e_lan_hmc.h
99
u16 rdylist;
sys/dev/ixl/i40e_nvm.c
1395
void i40e_nvmupd_check_wait_event(struct i40e_hw *hw, u16 opcode,
sys/dev/ixl/i40e_nvm.c
1728
status = i40e_aq_read_nvm(hw, module, cmd->offset, (u16)cmd->data_size,
sys/dev/ixl/i40e_nvm.c
1767
status = i40e_aq_erase_nvm(hw, module, cmd->offset, (u16)cmd->data_size,
sys/dev/ixl/i40e_nvm.c
1810
(u16)cmd->data_size, bytes, last,
sys/dev/ixl/i40e_nvm.c
207
enum i40e_status_code i40e_read_nvm_word_srctl(struct i40e_hw *hw, u16 offset,
sys/dev/ixl/i40e_nvm.c
208
u16 *data)
sys/dev/ixl/i40e_nvm.c
235
*data = (u16)((sr_reg &
sys/dev/ixl/i40e_nvm.c
262
u16 words, void *data,
sys/dev/ixl/i40e_nvm.c
310
static enum i40e_status_code i40e_read_nvm_word_aq(struct i40e_hw *hw, u16 offset,
sys/dev/ixl/i40e_nvm.c
311
u16 *data)
sys/dev/ixl/i40e_nvm.c
335
u16 offset,
sys/dev/ixl/i40e_nvm.c
336
u16 *data)
sys/dev/ixl/i40e_nvm.c
353
enum i40e_status_code i40e_read_nvm_word(struct i40e_hw *hw, u16 offset,
sys/dev/ixl/i40e_nvm.c
354
u16 *data)
sys/dev/ixl/i40e_nvm.c
380
i40e_read_nvm_module_data(struct i40e_hw *hw, u8 module_ptr, u16 module_offset,
sys/dev/ixl/i40e_nvm.c
381
u16 data_offset, u16 words_data_size, u16 *data_ptr)
sys/dev/ixl/i40e_nvm.c
384
u16 specific_ptr = 0;
sys/dev/ixl/i40e_nvm.c
385
u16 ptr_value = 0;
sys/dev/ixl/i40e_nvm.c
386
u16 offset = 0;
sys/dev/ixl/i40e_nvm.c
452
static enum i40e_status_code i40e_read_nvm_buffer_srctl(struct i40e_hw *hw, u16 offset,
sys/dev/ixl/i40e_nvm.c
453
u16 *words, u16 *data)
sys/dev/ixl/i40e_nvm.c
456
u16 index, word;
sys/dev/ixl/i40e_nvm.c
485
static enum i40e_status_code i40e_read_nvm_buffer_aq(struct i40e_hw *hw, u16 offset,
sys/dev/ixl/i40e_nvm.c
486
u16 *words, u16 *data)
sys/dev/ixl/i40e_nvm.c
489
u16 read_size = *words;
sys/dev/ixl/i40e_nvm.c
491
u16 words_read = 0;
sys/dev/ixl/i40e_nvm.c
492
u16 i = 0;
sys/dev/ixl/i40e_nvm.c
503
(u16)(I40E_SR_SECTOR_SIZE_IN_WORDS -
sys/dev/ixl/i40e_nvm.c
544
u16 offset,
sys/dev/ixl/i40e_nvm.c
545
u16 *words, u16 *data)
sys/dev/ixl/i40e_nvm.c
564
enum i40e_status_code i40e_read_nvm_buffer(struct i40e_hw *hw, u16 offset,
sys/dev/ixl/i40e_nvm.c
565
u16 *words, u16 *data)
sys/dev/ixl/i40e_nvm.c
595
u32 offset, u16 words, void *data,
sys/dev/ixl/i40e_nvm.c
646
*((__le16 *)data) = CPU_TO_LE16(*((u16 *)data));
sys/dev/ixl/i40e_nvm.c
667
u16 words, void *data)
sys/dev/ixl/i40e_nvm.c
670
u16 *word_ptr = (u16 *)data;
sys/dev/ixl/i40e_nvm.c
695
enum i40e_status_code i40e_calc_nvm_checksum(struct i40e_hw *hw, u16 *checksum)
sys/dev/ixl/i40e_nvm.c
699
u16 pcie_alt_module = 0;
sys/dev/ixl/i40e_nvm.c
700
u16 checksum_local = 0;
sys/dev/ixl/i40e_nvm.c
701
u16 vpd_module = 0;
sys/dev/ixl/i40e_nvm.c
702
u16 *data;
sys/dev/ixl/i40e_nvm.c
703
u16 i = 0;
sys/dev/ixl/i40e_nvm.c
708
I40E_SR_SECTOR_SIZE_IN_WORDS * sizeof(u16));
sys/dev/ixl/i40e_nvm.c
711
data = (u16 *)vmem.va;
sys/dev/ixl/i40e_nvm.c
734
u16 words = I40E_SR_SECTOR_SIZE_IN_WORDS;
sys/dev/ixl/i40e_nvm.c
762
*checksum = (u16)I40E_SR_SW_CHECKSUM_BASE - checksum_local;
sys/dev/ixl/i40e_nvm.c
780
u16 checksum;
sys/dev/ixl/i40e_nvm.c
804
u16 *checksum)
sys/dev/ixl/i40e_nvm.c
807
u16 checksum_sr = 0;
sys/dev/ixl/i40e_nvm.c
808
u16 checksum_local = 0;
sys/dev/ixl/i40e_nvm.c
955
*((u16 *)&bytes[2]) = hw->nvm_wait_opcode;
sys/dev/ixl/i40e_osdep.c
245
u16
sys/dev/ixl/i40e_osdep.c
248
u16 value;
sys/dev/ixl/i40e_osdep.c
257
i40e_write_pci_cfg(struct i40e_hw *hw, u32 reg, u16 value)
sys/dev/ixl/i40e_osdep.h
124
#define __le16 u16
sys/dev/ixl/i40e_osdep.h
127
#define __be16 u16
sys/dev/ixl/i40e_osdep.h
171
u16 i40e_read_pci_cfg(struct i40e_hw *, u32);
sys/dev/ixl/i40e_osdep.h
172
void i40e_write_pci_cfg(struct i40e_hw *, u32, u16);
sys/dev/ixl/i40e_osdep.h
238
enum i40e_status_code i40e_read_nvm_word_srctl(struct i40e_hw *hw, u16 offset,
sys/dev/ixl/i40e_osdep.h
239
u16 *data);
sys/dev/ixl/i40e_prototype.h
102
enum i40e_status_code i40e_led_get_reg(struct i40e_hw *hw, u16 led_addr,
sys/dev/ixl/i40e_prototype.h
104
enum i40e_status_code i40e_led_set_reg(struct i40e_hw *hw, u16 led_addr,
sys/dev/ixl/i40e_prototype.h
120
u16 *fw_major_version, u16 *fw_minor_version,
sys/dev/ixl/i40e_prototype.h
122
u16 *api_major_version, u16 *api_minor_version,
sys/dev/ixl/i40e_prototype.h
132
enum i40e_status_code i40e_aq_set_default_vsi(struct i40e_hw *hw, u16 vsi_id,
sys/dev/ixl/i40e_prototype.h
134
enum i40e_status_code i40e_aq_clear_default_vsi(struct i40e_hw *hw, u16 vsi_id,
sys/dev/ixl/i40e_prototype.h
145
enum i40e_status_code i40e_aq_set_phy_int_mask(struct i40e_hw *hw, u16 mask,
sys/dev/ixl/i40e_prototype.h
148
u16 max_frame_size, bool crc_en, u16 pacing,
sys/dev/ixl/i40e_prototype.h
177
u16 vsi_id, bool set_filter,
sys/dev/ixl/i40e_prototype.h
180
u16 vsi_id, bool set, struct i40e_asq_cmd_details *cmd_details,
sys/dev/ixl/i40e_prototype.h
183
u16 vsi_id, bool set, struct i40e_asq_cmd_details *cmd_details);
sys/dev/ixl/i40e_prototype.h
185
u16 seid, bool set,
sys/dev/ixl/i40e_prototype.h
188
u16 seid, bool enable, u16 vid,
sys/dev/ixl/i40e_prototype.h
191
u16 seid, bool enable, u16 vid,
sys/dev/ixl/i40e_prototype.h
194
u16 seid, bool enable, u16 vid,
sys/dev/ixl/i40e_prototype.h
197
u16 seid, bool enable,
sys/dev/ixl/i40e_prototype.h
205
enum i40e_status_code i40e_aq_add_veb(struct i40e_hw *hw, u16 uplink_seid,
sys/dev/ixl/i40e_prototype.h
206
u16 downlink_seid, u8 enabled_tc,
sys/dev/ixl/i40e_prototype.h
207
bool default_port, u16 *pveb_seid,
sys/dev/ixl/i40e_prototype.h
211
u16 veb_seid, u16 *switch_id, bool *floating,
sys/dev/ixl/i40e_prototype.h
212
u16 *statistic_index, u16 *vebs_used,
sys/dev/ixl/i40e_prototype.h
213
u16 *vebs_free,
sys/dev/ixl/i40e_prototype.h
215
enum i40e_status_code i40e_aq_add_macvlan(struct i40e_hw *hw, u16 vsi_id,
sys/dev/ixl/i40e_prototype.h
217
u16 count, struct i40e_asq_cmd_details *cmd_details);
sys/dev/ixl/i40e_prototype.h
218
enum i40e_status_code i40e_aq_remove_macvlan(struct i40e_hw *hw, u16 vsi_id,
sys/dev/ixl/i40e_prototype.h
220
u16 count, struct i40e_asq_cmd_details *cmd_details);
sys/dev/ixl/i40e_prototype.h
221
enum i40e_status_code i40e_aq_add_mirrorrule(struct i40e_hw *hw, u16 sw_seid,
sys/dev/ixl/i40e_prototype.h
222
u16 rule_type, u16 dest_vsi, u16 count, __le16 *mr_list,
sys/dev/ixl/i40e_prototype.h
224
u16 *rule_id, u16 *rules_used, u16 *rules_free);
sys/dev/ixl/i40e_prototype.h
225
enum i40e_status_code i40e_aq_delete_mirrorrule(struct i40e_hw *hw, u16 sw_seid,
sys/dev/ixl/i40e_prototype.h
226
u16 rule_type, u16 rule_id, u16 count, __le16 *mr_list,
sys/dev/ixl/i40e_prototype.h
228
u16 *rules_used, u16 *rules_free);
sys/dev/ixl/i40e_prototype.h
230
enum i40e_status_code i40e_aq_add_vlan(struct i40e_hw *hw, u16 vsi_id,
sys/dev/ixl/i40e_prototype.h
233
enum i40e_status_code i40e_aq_remove_vlan(struct i40e_hw *hw, u16 vsi_id,
sys/dev/ixl/i40e_prototype.h
236
enum i40e_status_code i40e_aq_send_msg_to_vf(struct i40e_hw *hw, u16 vfid,
sys/dev/ixl/i40e_prototype.h
237
u32 v_opcode, u32 v_retval, u8 *msg, u16 msglen,
sys/dev/ixl/i40e_prototype.h
241
u16 buf_size, u16 *start_seid,
sys/dev/ixl/i40e_prototype.h
244
u16 flags, u16 valid_flags, u8 mode,
sys/dev/ixl/i40e_prototype.h
256
u32 offset, u16 length, void *data,
sys/dev/ixl/i40e_prototype.h
260
u32 offset, u16 length, bool last_command,
sys/dev/ixl/i40e_prototype.h
264
u16 buf_size, u16 *element_count,
sys/dev/ixl/i40e_prototype.h
267
u8 cmd_flags, void *data, u16 buf_size,
sys/dev/ixl/i40e_prototype.h
268
u16 element_count,
sys/dev/ixl/i40e_prototype.h
275
void *buff, u16 buff_size,
sys/dev/ixl/i40e_prototype.h
278
void *buff, u16 buff_size, u16 *data_size,
sys/dev/ixl/i40e_prototype.h
282
u32 offset, u16 length, void *data,
sys/dev/ixl/i40e_prototype.h
292
u8 mib_type, void *buff, u16 buff_size,
sys/dev/ixl/i40e_prototype.h
293
u16 *local_len, u16 *remote_len,
sys/dev/ixl/i40e_prototype.h
296
u8 mib_type, void *buff, u16 buff_size,
sys/dev/ixl/i40e_prototype.h
315
void *buff, u16 buff_size,
sys/dev/ixl/i40e_prototype.h
321
u16 udp_port, u8 protocol_index,
sys/dev/ixl/i40e_prototype.h
329
u16 count,
sys/dev/ixl/i40e_prototype.h
331
enum i40e_status_code i40e_aq_add_pvirt(struct i40e_hw *hw, u16 flags,
sys/dev/ixl/i40e_prototype.h
332
u16 mac_seid, u16 vsi_seid,
sys/dev/ixl/i40e_prototype.h
333
u16 *ret_seid);
sys/dev/ixl/i40e_prototype.h
335
u16 vsi_seid, u16 tag, u16 queue_num,
sys/dev/ixl/i40e_prototype.h
336
u16 *tags_used, u16 *tags_free,
sys/dev/ixl/i40e_prototype.h
338
enum i40e_status_code i40e_aq_remove_tag(struct i40e_hw *hw, u16 vsi_seid,
sys/dev/ixl/i40e_prototype.h
339
u16 tag, u16 *tags_used, u16 *tags_free,
sys/dev/ixl/i40e_prototype.h
341
enum i40e_status_code i40e_aq_add_mcast_etag(struct i40e_hw *hw, u16 pe_seid,
sys/dev/ixl/i40e_prototype.h
342
u16 etag, u8 num_tags_in_buf, void *buf,
sys/dev/ixl/i40e_prototype.h
343
u16 *tags_used, u16 *tags_free,
sys/dev/ixl/i40e_prototype.h
345
enum i40e_status_code i40e_aq_remove_mcast_etag(struct i40e_hw *hw, u16 pe_seid,
sys/dev/ixl/i40e_prototype.h
346
u16 etag, u16 *tags_used, u16 *tags_free,
sys/dev/ixl/i40e_prototype.h
348
enum i40e_status_code i40e_aq_update_tag(struct i40e_hw *hw, u16 vsi_seid,
sys/dev/ixl/i40e_prototype.h
349
u16 old_tag, u16 new_tag, u16 *tags_used,
sys/dev/ixl/i40e_prototype.h
350
u16 *tags_free,
sys/dev/ixl/i40e_prototype.h
352
enum i40e_status_code i40e_aq_add_statistics(struct i40e_hw *hw, u16 seid,
sys/dev/ixl/i40e_prototype.h
353
u16 vlan_id, u16 *stat_index,
sys/dev/ixl/i40e_prototype.h
355
enum i40e_status_code i40e_aq_remove_statistics(struct i40e_hw *hw, u16 seid,
sys/dev/ixl/i40e_prototype.h
356
u16 vlan_id, u16 stat_index,
sys/dev/ixl/i40e_prototype.h
359
u16 bad_frame_vsi, bool save_bad_pac,
sys/dev/ixl/i40e_prototype.h
362
enum i40e_status_code i40e_aq_delete_element(struct i40e_hw *hw, u16 seid,
sys/dev/ixl/i40e_prototype.h
365
u16 flags, u8 *mac_addr,
sys/dev/ixl/i40e_prototype.h
368
u16 seid, u16 credit, u8 max_credit,
sys/dev/ixl/i40e_prototype.h
374
struct i40e_hw *hw, u16 seid,
sys/dev/ixl/i40e_prototype.h
378
u16 seid,
sys/dev/ixl/i40e_prototype.h
384
u16 seid, u16 credit, u8 max_bw,
sys/dev/ixl/i40e_prototype.h
386
enum i40e_status_code i40e_aq_config_vsi_tc_bw(struct i40e_hw *hw, u16 seid,
sys/dev/ixl/i40e_prototype.h
390
u16 seid,
sys/dev/ixl/i40e_prototype.h
394
u16 seid,
sys/dev/ixl/i40e_prototype.h
398
u16 seid,
sys/dev/ixl/i40e_prototype.h
402
u16 seid,
sys/dev/ixl/i40e_prototype.h
406
u16 seid,
sys/dev/ixl/i40e_prototype.h
412
i40e_aq_add_cloud_filters_bb(struct i40e_hw *hw, u16 seid,
sys/dev/ixl/i40e_prototype.h
416
i40e_aq_add_cloud_filters(struct i40e_hw *hw, u16 vsi,
sys/dev/ixl/i40e_prototype.h
420
i40e_aq_rem_cloud_filters(struct i40e_hw *hw, u16 vsi,
sys/dev/ixl/i40e_prototype.h
424
i40e_aq_rem_cloud_filters_bb(struct i40e_hw *hw, u16 seid,
sys/dev/ixl/i40e_prototype.h
471
enum i40e_status_code i40e_read_nvm_word(struct i40e_hw *hw, u16 offset,
sys/dev/ixl/i40e_prototype.h
472
u16 *data);
sys/dev/ixl/i40e_prototype.h
474
i40e_read_nvm_module_data(struct i40e_hw *hw, u8 module_ptr, u16 module_offset,
sys/dev/ixl/i40e_prototype.h
475
u16 data_offset, u16 words_data_size, u16 *data_ptr);
sys/dev/ixl/i40e_prototype.h
476
enum i40e_status_code i40e_read_nvm_buffer(struct i40e_hw *hw, u16 offset,
sys/dev/ixl/i40e_prototype.h
477
u16 *words, u16 *data);
sys/dev/ixl/i40e_prototype.h
479
u32 offset, u16 words, void *data,
sys/dev/ixl/i40e_prototype.h
481
enum i40e_status_code __i40e_read_nvm_word(struct i40e_hw *hw, u16 offset,
sys/dev/ixl/i40e_prototype.h
482
u16 *data);
sys/dev/ixl/i40e_prototype.h
483
enum i40e_status_code __i40e_read_nvm_buffer(struct i40e_hw *hw, u16 offset,
sys/dev/ixl/i40e_prototype.h
484
u16 *words, u16 *data);
sys/dev/ixl/i40e_prototype.h
488
u32 offset, u16 words, void *data);
sys/dev/ixl/i40e_prototype.h
489
enum i40e_status_code i40e_calc_nvm_checksum(struct i40e_hw *hw, u16 *checksum);
sys/dev/ixl/i40e_prototype.h
492
u16 *checksum);
sys/dev/ixl/i40e_prototype.h
496
void i40e_nvmupd_check_wait_event(struct i40e_hw *hw, u16 opcode,
sys/dev/ixl/i40e_prototype.h
499
void i40e_set_pci_config_data(struct i40e_hw *hw, u16 link_status);
sys/dev/ixl/i40e_prototype.h
559
u8 *msg, u16 msglen,
sys/dev/ixl/i40e_prototype.h
564
u8 *mac_addr, u16 ethtype, u16 flags,
sys/dev/ixl/i40e_prototype.h
565
u16 vsi_seid, u16 queue, bool is_add,
sys/dev/ixl/i40e_prototype.h
569
u8 table_id, u32 start_index, u16 buff_size,
sys/dev/ixl/i40e_prototype.h
57
u16 i40e_clean_asq(struct i40e_hw *hw);
sys/dev/ixl/i40e_prototype.h
570
void *buff, u16 *ret_buff_size,
sys/dev/ixl/i40e_prototype.h
574
u16 vsi_seid);
sys/dev/ixl/i40e_prototype.h
603
i40e_aq_run_phy_activity(struct i40e_hw *hw, u16 activity_id, u32 opcode,
sys/dev/ixl/i40e_prototype.h
620
u16 *wake_reason,
sys/dev/ixl/i40e_prototype.h
625
u16 reg, u8 phy_addr, u16 *value);
sys/dev/ixl/i40e_prototype.h
627
u16 reg, u8 phy_addr, u16 value);
sys/dev/ixl/i40e_prototype.h
629
u8 page, u16 reg, u8 phy_addr, u16 *value);
sys/dev/ixl/i40e_prototype.h
631
u8 page, u16 reg, u8 phy_addr, u16 value);
sys/dev/ixl/i40e_prototype.h
633
u8 page, u16 reg, u8 phy_addr, u16 *value);
sys/dev/ixl/i40e_prototype.h
635
u8 page, u16 reg, u8 phy_addr, u16 value);
sys/dev/ixl/i40e_prototype.h
64
u16 *events_pending);
sys/dev/ixl/i40e_prototype.h
68
u16 buff_size,
sys/dev/ixl/i40e_prototype.h
74
void *desc, void *buffer, u16 buf_len);
sys/dev/ixl/i40e_prototype.h
80
enum i40e_status_code i40e_aq_get_rss_lut(struct i40e_hw *hw, u16 seid,
sys/dev/ixl/i40e_prototype.h
81
bool pf_lut, u8 *lut, u16 lut_size);
sys/dev/ixl/i40e_prototype.h
82
enum i40e_status_code i40e_aq_set_rss_lut(struct i40e_hw *hw, u16 seid,
sys/dev/ixl/i40e_prototype.h
83
bool pf_lut, u8 *lut, u16 lut_size);
sys/dev/ixl/i40e_prototype.h
85
u16 seid,
sys/dev/ixl/i40e_prototype.h
88
u16 seid,
sys/dev/ixl/i40e_prototype.h
97
u16 led_addr, u32 mode);
sys/dev/ixl/i40e_prototype.h
98
enum i40e_status_code i40e_led_get_phy(struct i40e_hw *hw, u16 *led_addr,
sys/dev/ixl/i40e_prototype.h
99
u16 *val);
sys/dev/ixl/i40e_type.h
1397
u16 seid;
sys/dev/ixl/i40e_type.h
1398
u16 uplink_seid;
sys/dev/ixl/i40e_type.h
1399
u16 vsi_number;
sys/dev/ixl/i40e_type.h
1400
u16 vsis_allocated;
sys/dev/ixl/i40e_type.h
1401
u16 vsis_unallocated;
sys/dev/ixl/i40e_type.h
1402
u16 flags;
sys/dev/ixl/i40e_type.h
1410
u16 seid;
sys/dev/ixl/i40e_type.h
1411
u16 uplink_seid;
sys/dev/ixl/i40e_type.h
1412
u16 veb_number;
sys/dev/ixl/i40e_type.h
1413
u16 vebs_allocated;
sys/dev/ixl/i40e_type.h
1414
u16 vebs_unallocated;
sys/dev/ixl/i40e_type.h
1415
u16 flags;
sys/dev/ixl/i40e_type.h
1667
u16 mac_etype_used; /* Used perfect match MAC/EtherType filters */
sys/dev/ixl/i40e_type.h
1668
u16 etype_used; /* Used perfect EtherType filters */
sys/dev/ixl/i40e_type.h
1669
u16 mac_etype_free; /* Un-used perfect match MAC/EtherType filters */
sys/dev/ixl/i40e_type.h
1670
u16 etype_free; /* Un-used perfect EtherType filters */
sys/dev/ixl/i40e_type.h
1684
u16 length;
sys/dev/ixl/i40e_type.h
1685
u16 adminstatus;
sys/dev/ixl/i40e_type.h
1686
u16 msgfasttx;
sys/dev/ixl/i40e_type.h
1687
u16 msgtxinterval;
sys/dev/ixl/i40e_type.h
1688
u16 txparams;
sys/dev/ixl/i40e_type.h
1689
u16 timers;
sys/dev/ixl/i40e_type.h
1690
u16 crc8;
sys/dev/ixl/i40e_type.h
267
u16 max_frame_size;
sys/dev/ixl/i40e_type.h
453
u16 max_fcoeq;
sys/dev/ixl/i40e_type.h
468
u16 sr_size; /* Shadow RAM size in words */
sys/dev/ixl/i40e_type.h
470
u16 version; /* NVM package version */
sys/dev/ixl/i40e_type.h
559
u16 size;
sys/dev/ixl/i40e_type.h
617
u16 func;
sys/dev/ixl/i40e_type.h
618
u16 device;
sys/dev/ixl/i40e_type.h
619
u16 lan_id;
sys/dev/ixl/i40e_type.h
620
u16 bus_id;
sys/dev/ixl/i40e_type.h
667
u16 protocolid;
sys/dev/ixl/i40e_type.h
697
u16 device_id;
sys/dev/ixl/i40e_type.h
698
u16 vendor_id;
sys/dev/ixl/i40e_type.h
699
u16 subsystem_device_id;
sys/dev/ixl/i40e_type.h
700
u16 subsystem_vendor_id;
sys/dev/ixl/i40e_type.h
710
u16 fdir_shared_filter_count;
sys/dev/ixl/i40e_type.h
714
u16 main_vsi_seid;
sys/dev/ixl/i40e_type.h
717
u16 partition_id;
sys/dev/ixl/i40e_type.h
718
u16 num_partitions;
sys/dev/ixl/i40e_type.h
719
u16 num_ports;
sys/dev/ixl/i40e_type.h
722
u16 numa_node;
sys/dev/ixl/i40e_type.h
733
u16 nvm_wait_opcode;
sys/dev/ixl/i40e_type.h
739
u16 dcbx_status;
sys/dev/ixl/i40e_type.h
747
u16 num_wol_proxy_filters;
sys/dev/ixl/i40e_type.h
748
u16 wol_proxy_vsi_seid;
sys/dev/ixl/i40e_type.h
762
u16 switch_tag;
sys/dev/ixl/i40e_type.h
763
u16 first_tag;
sys/dev/ixl/i40e_type.h
764
u16 second_tag;
sys/dev/ixl/i40e_type.h
91
#define I40E_HI_WORD(x) ((u16)(((x) >> 16) & 0xFFFF))
sys/dev/ixl/i40e_type.h
92
#define I40E_LO_WORD(x) ((u16)((x) & 0xFFFF))
sys/dev/ixl/if_ixl.c
119
static void ixl_if_vlan_register(if_ctx_t ctx, u16 vtag);
sys/dev/ixl/if_ixl.c
120
static void ixl_if_vlan_unregister(if_ctx_t ctx, u16 vtag);
sys/dev/ixl/if_ixl.c
1387
ixl_process_adminq(struct ixl_pf *pf, u16 *pending)
sys/dev/ixl/if_ixl.c
1393
u16 opcode;
sys/dev/ixl/if_ixl.c
1448
u16 pending;
sys/dev/ixl/if_ixl.c
1734
ixl_if_vlan_register(if_ctx_t ctx, u16 vtag)
sys/dev/ixl/if_ixl.c
1771
ixl_if_vlan_unregister(if_ctx_t ctx, u16 vtag)
sys/dev/ixl/ixl.h
185
#define IXL_FILTER_VLAN (u16)(1 << 0)
sys/dev/ixl/ixl.h
186
#define IXL_FILTER_MC (u16)(1 << 1)
sys/dev/ixl/ixl.h
319
u16 flags;
sys/dev/ixl/ixl.h
422
u16 vsi_num;
sys/dev/ixl/ixl.h
424
u16 seid;
sys/dev/ixl/ixl.h
425
u16 uplink_seid;
sys/dev/ixl/ixl.h
426
u16 downlink_seid;
sys/dev/ixl/ixl.h
435
u16 num_macs;
sys/dev/ixl/ixl.h
443
u16 num_vlans;
sys/dev/ixl/ixl_iw.h
58
u16 mtu;
sys/dev/ixl/ixl_iw.h
60
u16 qs_handle[IXL_IW_MAX_USER_PRIORITY];
sys/dev/ixl/ixl_pf.h
106
u16 vf_num;
sys/dev/ixl/ixl_pf.h
300
void ixl_register_vlan(void *, if_t, u16);
sys/dev/ixl/ixl_pf.h
301
void ixl_unregister_vlan(void *, if_t, u16);
sys/dev/ixl/ixl_pf.h
390
int ixl_disable_tx_ring(struct ixl_pf *, struct ixl_pf_qtag *, u16);
sys/dev/ixl/ixl_pf.h
391
int ixl_disable_rx_ring(struct ixl_pf *, struct ixl_pf_qtag *, u16);
sys/dev/ixl/ixl_pf.h
392
int ixl_disable_ring(struct ixl_pf *pf, struct ixl_pf_qtag *, u16);
sys/dev/ixl/ixl_pf.h
395
int ixl_enable_tx_ring(struct ixl_pf *, struct ixl_pf_qtag *, u16);
sys/dev/ixl/ixl_pf.h
396
int ixl_enable_rx_ring(struct ixl_pf *, struct ixl_pf_qtag *, u16);
sys/dev/ixl/ixl_pf.h
397
int ixl_enable_ring(struct ixl_pf *pf, struct ixl_pf_qtag *, u16);
sys/dev/ixl/ixl_pf_i2c.c
648
u16 datai2c = 0;
sys/dev/ixl/ixl_pf_i2c.c
651
datai2c = ((u16)upperbyte << 8) | (u16)data;
sys/dev/ixl/ixl_pf_iflib.c
247
u16 vector = 1;
sys/dev/ixl/ixl_pf_iflib.c
573
u16 max_rxmax = rxr->mbuf_sz * hw->func_caps.rx_buf_chain_len;
sys/dev/ixl/ixl_pf_iflib.c
626
u16 rx_itr;
sys/dev/ixl/ixl_pf_iflib.c
627
u16 rx_latency = 0;
sys/dev/ixl/ixl_pf_iflib.c
699
u16 tx_itr;
sys/dev/ixl/ixl_pf_iflib.c
700
u16 tx_latency = 0;
sys/dev/ixl/ixl_pf_main.c
1669
ixl_enable_tx_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u16 vsi_qidx)
sys/dev/ixl/ixl_pf_main.c
1674
u16 pf_qidx;
sys/dev/ixl/ixl_pf_main.c
1705
ixl_enable_rx_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u16 vsi_qidx)
sys/dev/ixl/ixl_pf_main.c
1710
u16 pf_qidx;
sys/dev/ixl/ixl_pf_main.c
1739
ixl_enable_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u16 vsi_qidx)
sys/dev/ixl/ixl_pf_main.c
1755
ixl_disable_tx_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u16 vsi_qidx)
sys/dev/ixl/ixl_pf_main.c
1760
u16 pf_qidx;
sys/dev/ixl/ixl_pf_main.c
1794
ixl_disable_rx_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u16 vsi_qidx)
sys/dev/ixl/ixl_pf_main.c
1799
u16 pf_qidx;
sys/dev/ixl/ixl_pf_main.c
1827
ixl_disable_ring(struct ixl_pf *pf, struct ixl_pf_qtag *qtag, u16 vsi_qidx)
sys/dev/ixl/ixl_pf_main.c
1848
u16 vf_num, queue;
sys/dev/ixl/ixl_pf_main.c
1921
u16 queue;
sys/dev/ixl/ixl_pf_main.c
194
u16 oem_build = (u16)((hw->nvm.oem_ver >> 16) & 0xFFFF);
sys/dev/ixl/ixl_pf_main.c
2284
u16 stat_idx = vsi->info.stat_counter_idx;
sys/dev/ixl/ixl_pf_main.c
2878
static u16 speedmap[SPEED_MAP_SIZE] = {
sys/dev/ixl/ixl_pf_main.c
3066
u16 link;
sys/dev/ixl/ixl_pf_main.c
386
u16 needed;
sys/dev/ixl/ixl_pf_main.c
3866
ixl_switch_element_string(struct sbuf *s, u8 element_type, u16 seid)
sys/dev/ixl/ixl_pf_main.c
3939
u16 next = 0;
sys/dev/ixl/ixl_pf_main.c
4583
u16 curr_buff_size = 4096;
sys/dev/ixl/ixl_pf_main.c
4587
u16 ret_buff_size;
sys/dev/ixl/ixl_pf_main.c
51
static char * ixl_switch_element_string(struct sbuf *, u8, u16);
sys/dev/ixl/ixl_pf_main.c
911
u16 next = 0;
sys/dev/ixl/ixl_pf_qmgr.c
105
alloc_size = (u16)next_power_of_two(num);
sys/dev/ixl/ixl_pf_qmgr.c
134
u16 i, qidx;
sys/dev/ixl/ixl_pf_qmgr.c
145
u16 first_index = qtag->qidx[0];
sys/dev/ixl/ixl_pf_qmgr.c
178
ixl_pf_qmgr_get_first_free(struct ixl_pf_qmgr *qmgr, u16 start)
sys/dev/ixl/ixl_pf_qmgr.c
204
ixl_pf_qmgr_mark_queue_enabled(struct ixl_pf_qtag *qtag, u16 vsi_qidx, bool tx)
sys/dev/ixl/ixl_pf_qmgr.c
209
u16 pf_qidx = ixl_pf_qidx_from_vsi_qidx(qtag, vsi_qidx);
sys/dev/ixl/ixl_pf_qmgr.c
217
ixl_pf_qmgr_mark_queue_disabled(struct ixl_pf_qtag *qtag, u16 vsi_qidx, bool tx)
sys/dev/ixl/ixl_pf_qmgr.c
222
u16 pf_qidx = ixl_pf_qidx_from_vsi_qidx(qtag, vsi_qidx);
sys/dev/ixl/ixl_pf_qmgr.c
230
ixl_pf_qmgr_mark_queue_configured(struct ixl_pf_qtag *qtag, u16 vsi_qidx, bool tx)
sys/dev/ixl/ixl_pf_qmgr.c
235
u16 pf_qidx = ixl_pf_qidx_from_vsi_qidx(qtag, vsi_qidx);
sys/dev/ixl/ixl_pf_qmgr.c
243
ixl_pf_qmgr_is_queue_enabled(struct ixl_pf_qtag *qtag, u16 vsi_qidx, bool tx)
sys/dev/ixl/ixl_pf_qmgr.c
248
u16 pf_qidx = ixl_pf_qidx_from_vsi_qidx(qtag, vsi_qidx);
sys/dev/ixl/ixl_pf_qmgr.c
256
ixl_pf_qmgr_is_queue_configured(struct ixl_pf_qtag *qtag, u16 vsi_qidx, bool tx)
sys/dev/ixl/ixl_pf_qmgr.c
261
u16 pf_qidx = ixl_pf_qidx_from_vsi_qidx(qtag, vsi_qidx);
sys/dev/ixl/ixl_pf_qmgr.c
274
for (u16 i = 0; i < qtag->num_allocated; i++) {
sys/dev/ixl/ixl_pf_qmgr.c
275
u16 pf_qidx = ixl_pf_qidx_from_vsi_qidx(qtag, i);
sys/dev/ixl/ixl_pf_qmgr.c
284
u16
sys/dev/ixl/ixl_pf_qmgr.c
285
ixl_pf_qidx_from_vsi_qidx(struct ixl_pf_qtag *qtag, u16 index)
sys/dev/ixl/ixl_pf_qmgr.c
40
ixl_pf_qmgr_init(struct ixl_pf_qmgr *qmgr, u16 num_queues)
sys/dev/ixl/ixl_pf_qmgr.c
55
ixl_pf_qmgr_alloc_contiguous(struct ixl_pf_qmgr *qmgr, u16 num, struct ixl_pf_qtag *qtag)
sys/dev/ixl/ixl_pf_qmgr.c
60
u16 alloc_size;
sys/dev/ixl/ixl_pf_qmgr.c
66
alloc_size = (u16)next_power_of_two(num);
sys/dev/ixl/ixl_pf_qmgr.c
95
ixl_pf_qmgr_alloc_scattered(struct ixl_pf_qmgr *qmgr, u16 num, struct ixl_pf_qtag *qtag)
sys/dev/ixl/ixl_pf_qmgr.c
99
u16 alloc_size;
sys/dev/ixl/ixl_pf_qmgr.h
101
void ixl_pf_qmgr_mark_queue_enabled(struct ixl_pf_qtag *qtag, u16 vsi_qidx, bool tx);
sys/dev/ixl/ixl_pf_qmgr.h
102
void ixl_pf_qmgr_mark_queue_disabled(struct ixl_pf_qtag *qtag, u16 vsi_qidx, bool tx);
sys/dev/ixl/ixl_pf_qmgr.h
103
void ixl_pf_qmgr_mark_queue_configured(struct ixl_pf_qtag *qtag, u16 vsi_qidx, bool tx);
sys/dev/ixl/ixl_pf_qmgr.h
104
bool ixl_pf_qmgr_is_queue_enabled(struct ixl_pf_qtag *qtag, u16 vsi_qidx, bool tx);
sys/dev/ixl/ixl_pf_qmgr.h
105
bool ixl_pf_qmgr_is_queue_configured(struct ixl_pf_qtag *qtag, u16 vsi_qidx, bool tx);
sys/dev/ixl/ixl_pf_qmgr.h
109
u16 ixl_pf_qidx_from_vsi_qidx(struct ixl_pf_qtag *qtag, u16 index);
sys/dev/ixl/ixl_pf_qmgr.h
63
u16 num_queues;
sys/dev/ixl/ixl_pf_qmgr.h
77
u16 qidx[IXL_MAX_SCATTERED_QUEUES];
sys/dev/ixl/ixl_pf_qmgr.h
78
u16 first_qidx;
sys/dev/ixl/ixl_pf_qmgr.h
80
u16 num_allocated;
sys/dev/ixl/ixl_pf_qmgr.h
81
u16 num_active;
sys/dev/ixl/ixl_pf_qmgr.h
85
int ixl_pf_qmgr_init(struct ixl_pf_qmgr *qmgr, u16 num_queues);
sys/dev/ixl/ixl_pf_qmgr.h
89
int ixl_pf_qmgr_get_first_free(struct ixl_pf_qmgr *qmgr, u16 start);
sys/dev/ixl/ixl_pf_qmgr.h
93
int ixl_pf_qmgr_alloc_scattered(struct ixl_pf_qmgr *qmgr, u16 num, struct ixl_pf_qtag *qtag);
sys/dev/ixl/ixl_pf_qmgr.h
95
int ixl_pf_qmgr_alloc_contiguous(struct ixl_pf_qmgr *qmgr, u16 num, struct ixl_pf_qtag *qtag);
sys/dev/ixl/ixl_txrx.c
665
u16 plen;
sys/dev/ixl/virtchnl.h
233
u16 vsi_id;
sys/dev/ixl/virtchnl.h
234
u16 num_queue_pairs;
sys/dev/ixl/virtchnl.h
236
u16 qset_handle;
sys/dev/ixl/virtchnl.h
266
u16 num_vsis;
sys/dev/ixl/virtchnl.h
267
u16 num_queue_pairs;
sys/dev/ixl/virtchnl.h
268
u16 max_vectors;
sys/dev/ixl/virtchnl.h
269
u16 max_mtu;
sys/dev/ixl/virtchnl.h
288
u16 vsi_id;
sys/dev/ixl/virtchnl.h
289
u16 queue_id;
sys/dev/ixl/virtchnl.h
290
u16 ring_len; /* number of descriptors, multiple of 8 */
sys/dev/ixl/virtchnl.h
291
u16 headwb_enabled; /* deprecated with AVF 1.0 */
sys/dev/ixl/virtchnl.h
306
u16 vsi_id;
sys/dev/ixl/virtchnl.h
307
u16 queue_id;
sys/dev/ixl/virtchnl.h
309
u16 hdr_size;
sys/dev/ixl/virtchnl.h
310
u16 splithdr_enabled; /* deprecated with AVF 1.0 */
sys/dev/ixl/virtchnl.h
337
u16 vsi_id;
sys/dev/ixl/virtchnl.h
338
u16 num_queue_pairs;
sys/dev/ixl/virtchnl.h
357
u16 num_queue_pairs;
sys/dev/ixl/virtchnl.h
368
u16 vsi_id;
sys/dev/ixl/virtchnl.h
369
u16 vector_id;
sys/dev/ixl/virtchnl.h
370
u16 rxq_map;
sys/dev/ixl/virtchnl.h
371
u16 txq_map;
sys/dev/ixl/virtchnl.h
372
u16 rxitr_idx;
sys/dev/ixl/virtchnl.h
373
u16 txitr_idx;
sys/dev/ixl/virtchnl.h
379
u16 num_vectors;
sys/dev/ixl/virtchnl.h
394
u16 vsi_id;
sys/dev/ixl/virtchnl.h
395
u16 pad;
sys/dev/ixl/virtchnl.h
422
u16 vsi_id;
sys/dev/ixl/virtchnl.h
423
u16 num_elements;
sys/dev/ixl/virtchnl.h
444
u16 vsi_id;
sys/dev/ixl/virtchnl.h
445
u16 num_elements;
sys/dev/ixl/virtchnl.h
446
u16 vlan_id[1];
sys/dev/ixl/virtchnl.h
457
u16 vsi_id;
sys/dev/ixl/virtchnl.h
458
u16 flags;
sys/dev/ixl/virtchnl.h
484
u16 vsi_id;
sys/dev/ixl/virtchnl.h
485
u16 key_len;
sys/dev/ixl/virtchnl.h
492
u16 vsi_id;
sys/dev/ixl/virtchnl.h
493
u16 lut_entries;
sys/dev/ixl/virtchnl.h
565
u16 ceq_idx;
sys/dev/ixl/virtchnl.h
566
u16 aeq_idx;
sys/dev/ixl/virtchnl.h
608
u8 *msg, u16 msglen)
sys/dev/ixl/virtchnl.h
675
valid_len += vfl->num_elements * sizeof(u16);
sys/dev/mlx4/cmd.h
246
u16 vxlan_udp_dport;
sys/dev/mlx4/cmd.h
270
u16 op, unsigned long timeout, int native);
sys/dev/mlx4/cmd.h
274
u8 op_modifier, u16 op, unsigned long timeout,
sys/dev/mlx4/cmd.h
283
u32 in_modifier, u8 op_modifier, u16 op,
sys/dev/mlx4/cmd.h
296
u32 in_modifier, u8 op_modifier, u16 op,
sys/dev/mlx4/cmd.h
310
int mlx4_set_vf_vlan(struct mlx4_dev *dev, int port, int vf, u16 vlan,
sys/dev/mlx4/cmd.h
325
u16 *vlan, u8 *qos);
sys/dev/mlx4/cq.h
174
u16 count, u16 period);
sys/dev/mlx4/device.h
1133
int mlx4_srq_alloc(struct mlx4_dev *dev, u32 pdn, u32 cqn, u16 xrcdn,
sys/dev/mlx4/device.h
1171
extern const u16 __sw_id_hw[];
sys/dev/mlx4/device.h
1173
static inline int map_hw_to_sw_id(u16 header_id)
sys/dev/mlx4/device.h
1258
u16 priority;
sys/dev/mlx4/device.h
1291
u16 rsvd2;
sys/dev/mlx4/device.h
1293
u16 rsvd3;
sys/dev/mlx4/device.h
1295
u16 rsvd4;
sys/dev/mlx4/device.h
1383
int mlx4_SET_PORT_BEACON(struct mlx4_dev *dev, u8 port, u16 time);
sys/dev/mlx4/device.h
1392
int mlx4_find_cached_vlan(struct mlx4_dev *dev, u8 port, u16 vid, int *idx);
sys/dev/mlx4/device.h
1393
int mlx4_register_vlan(struct mlx4_dev *dev, u8 port, u16 vlan, int *index);
sys/dev/mlx4/device.h
1394
void mlx4_unregister_vlan(struct mlx4_dev *dev, u8 port, u16 vlan);
sys/dev/mlx4/device.h
1440
int port, int qpn, u16 prio, u64 *reg_id);
sys/dev/mlx4/device.h
1499
int mlx4_config_roce_v2_port(struct mlx4_dev *dev, u16 udp_port);
sys/dev/mlx4/device.h
1522
u16 offset, u16 size, u8 *data);
sys/dev/mlx4/device.h
503
u16 num_rates; /* Number of different rates */
sys/dev/mlx4/device.h
505
u16 min_val;
sys/dev/mlx4/device.h
507
u16 max_val;
sys/dev/mlx4/device.h
594
u16 stat_rate_support;
sys/dev/mlx4/device.h
611
u16 sqp_demux;
sys/dev/mlx4/device.h
617
u16 hca_core_clock;
sys/dev/mlx4/device.h
738
u16 irq;
sys/dev/mlx4/device.h
790
u16 reserved2;
sys/dev/mlx4/device.h
902
u16 reserved1;
sys/dev/mlx4/device.h
978
u16 mtu;
sys/dev/mlx4/device.h
980
u16 vl_cap;
sys/dev/mlx4/device.h
981
u16 max_gid;
sys/dev/mlx4/device.h
982
u16 max_pkey;
sys/dev/mlx4/mlx4_core/fw.h
188
u16 log_mc_entry_sz;
sys/dev/mlx4/mlx4_core/fw.h
189
u16 log_mc_hash_sz;
sys/dev/mlx4/mlx4_core/fw.h
190
u16 hca_core_clock; /* Internal Clock Frequency (in MHz) */
sys/dev/mlx4/mlx4_core/fw.h
195
u16 num_sys_eqs;
sys/dev/mlx4/mlx4_core/fw.h
205
u16 cqe_size; /* For use only when CQE stride feature enabled */
sys/dev/mlx4/mlx4_core/fw.h
206
u16 eqe_size; /* For use only when EQE stride feature enabled */
sys/dev/mlx4/mlx4_core/fw.h
215
u16 gid_cap;
sys/dev/mlx4/mlx4_core/fw.h
216
u16 pkey_cap;
sys/dev/mlx4/mlx4_core/fw.h
251
int mlx4_map_cmd(struct mlx4_dev *dev, u16 op, struct mlx4_icm *icm, u64 virt);
sys/dev/mlx4/mlx4_core/fw.h
60
u16 eth_mtu;
sys/dev/mlx4/mlx4_core/fw.h
63
u16 wavelength;
sys/dev/mlx4/mlx4_core/fw.h
90
u16 stat_rate_support;
sys/dev/mlx4/mlx4_core/fw_qos.h
85
u8 *pg, u16 *ratelimit);
sys/dev/mlx4/mlx4_core/fw_qos.h
99
u16 *availible_vpp, u8 *vpp_p_up);
sys/dev/mlx4/mlx4_core/mlx4.h
1195
void mlx4_cmd_event(struct mlx4_dev *dev, u16 token, u8 status, u64 out_param);
sys/dev/mlx4/mlx4_core/mlx4.h
1199
int mlx4_comm_cmd(struct mlx4_dev *dev, u8 cmd, u16 param,
sys/dev/mlx4/mlx4_core/mlx4.h
1200
u16 op, unsigned long timeout);
sys/dev/mlx4/mlx4_core/mlx4.h
1229
void __mlx4_unregister_vlan(struct mlx4_dev *dev, u8 port, u16 vlan);
sys/dev/mlx4/mlx4_core/mlx4.h
1230
int __mlx4_register_vlan(struct mlx4_dev *dev, u8 port, u16 vlan, int *index);
sys/dev/mlx4/mlx4_core/mlx4.h
180
u16 op;
sys/dev/mlx4/mlx4_core/mlx4.h
181
u16 token;
sys/dev/mlx4/mlx4_core/mlx4.h
192
u16 reserved;
sys/dev/mlx4/mlx4_core/mlx4.h
199
u16 opcode;
sys/dev/mlx4/mlx4_core/mlx4.h
325
u16 reserved1[3];
sys/dev/mlx4/mlx4_core/mlx4.h
346
u16 reserved1[3];
sys/dev/mlx4/mlx4_core/mlx4.h
379
u16 reserved4;
sys/dev/mlx4/mlx4_core/mlx4.h
390
u16 irq;
sys/dev/mlx4/mlx4_core/mlx4.h
391
u16 have_irq;
sys/dev/mlx4/mlx4_core/mlx4.h
409
u16 token;
sys/dev/mlx4/mlx4_core/mlx4.h
430
u16 fw_pages;
sys/dev/mlx4/mlx4_core/mlx4.h
481
u16 mtu[MLX4_MAX_PORTS + 1];
sys/dev/mlx4/mlx4_core/mlx4.h
488
u16 eq_pi;
sys/dev/mlx4/mlx4_core/mlx4.h
489
u16 eq_ci;
sys/dev/mlx4/mlx4_core/mlx4.h
502
u16 default_vlan;
sys/dev/mlx4/mlx4_core/mlx4.h
582
u16 max_mtu[MLX4_MAX_PORTS + 1];
sys/dev/mlx4/mlx4_core/mlx4.h
629
u16 token_mask;
sys/dev/mlx4/mlx4_core/mlx4.h
651
u16 vlan_id;
sys/dev/mlx4/mlx4_core/mlx4.h
652
u16 orig_vlan_id;
sys/dev/mlx4/mlx4_core/mlx4.h
778
u16 reserved1;
sys/dev/mlx4/mlx4_core/mlx4.h
789
u16 reserved3;
sys/dev/mlx4/mlx4_core/mlx4.h
792
u16 reserved4;
sys/dev/mlx4/mlx4_core/mlx4_catas.c
54
u16 vendor_id = 0;
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
131
u16 token;
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
188
static int mlx4_internal_err_ret_value(struct mlx4_dev *dev, u16 op,
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
1956
u16 availible_vpp;
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
2097
u16 param, u8 toggle)
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
217
static int mlx4_closing_cmd_fatal_error(u16 op, u8 fw_status)
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
240
static int mlx4_cmd_reset_flow(struct mlx4_dev *dev, u16 op, u8 op_modifier,
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
262
static int mlx4_comm_cmd_post(struct mlx4_dev *dev, u8 cmd, u16 param)
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
288
static int mlx4_comm_cmd_poll(struct mlx4_dev *dev, u8 cmd, u16 param,
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
2994
int mlx4_set_vf_vlan(struct mlx4_dev *dev, int port, int vf, u16 vlan, u8 qos,
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
3134
u16 *vlan, u8 *qos)
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
339
u16 param, u16 op, unsigned long timeout)
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
407
int mlx4_comm_cmd(struct mlx4_dev *dev, u8 cmd, u16 param,
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
408
u16 op, unsigned long timeout)
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
433
u32 in_modifier, u8 op_modifier, u16 op, u16 token,
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
519
u16 op, unsigned long timeout)
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
530
vhcr->opcode = cpu_to_be16((((u16) op_modifier) << 12) | (op & 0xfff));
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
584
u16 op, unsigned long timeout)
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
666
void mlx4_cmd_event(struct mlx4_dev *dev, u16 token, u8 status, u64 out_param)
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
685
u16 op, unsigned long timeout)
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
782
u16 op, unsigned long timeout, int native)
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
847
static int query_pkey_block(struct mlx4_dev *dev, u8 port, u16 index, u16 *pkey,
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
873
static int get_full_pkey_table(struct mlx4_dev *dev, u8 port, u16 *table,
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
909
u16 *table;
sys/dev/mlx4/mlx4_core/mlx4_cq.c
118
u16 count, u16 period)
sys/dev/mlx4/mlx4_core/mlx4_fw.c
1265
u16 field16;
sys/dev/mlx4/mlx4_core/mlx4_fw.c
1399
u16 short_field;
sys/dev/mlx4/mlx4_core/mlx4_fw.c
1474
u16 field;
sys/dev/mlx4/mlx4_core/mlx4_fw.c
1501
int mlx4_map_cmd(struct mlx4_dev *dev, u16 op, struct mlx4_icm *icm, u64 virt)
sys/dev/mlx4/mlx4_core/mlx4_fw.c
1608
u16 cmd_if_rev;
sys/dev/mlx4/mlx4_core/mlx4_fw.c
1990
MLX4_PUT(inbox, (u16) MLX4_FS_NUM_OF_L2_ADDR,
sys/dev/mlx4/mlx4_core/mlx4_fw.c
1997
MLX4_PUT(inbox, (u16) MLX4_FS_NUM_OF_L2_ADDR,
sys/dev/mlx4/mlx4_core/mlx4_fw.c
209
u16 field16;
sys/dev/mlx4/mlx4_core/mlx4_fw.c
2265
u16 field;
sys/dev/mlx4/mlx4_core/mlx4_fw.c
2504
int mlx4_config_roce_v2_port(struct mlx4_dev *dev, u16 udp_port)
sys/dev/mlx4/mlx4_core/mlx4_fw.c
2677
u16 token;
sys/dev/mlx4/mlx4_core/mlx4_fw.c
2678
u16 type;
sys/dev/mlx4/mlx4_core/mlx4_fw.c
2880
static int mlx4_ACCESS_REG(struct mlx4_dev *dev, u16 reg_id,
sys/dev/mlx4/mlx4_core/mlx4_fw.c
2882
u16 reg_len, void *reg_data)
sys/dev/mlx4/mlx4_core/mlx4_fw.c
2906
reg_len = min(reg_len, (u16)(sizeof(inbuf->reg_data)));
sys/dev/mlx4/mlx4_core/mlx4_fw.c
2966
u16 reg_id = be16_to_cpu(inbuf->reg_id);
sys/dev/mlx4/mlx4_core/mlx4_fw.c
730
u16 size;
sys/dev/mlx4/mlx4_core/mlx4_fw.c
731
u16 stat_rate;
sys/dev/mlx4/mlx4_core/mlx4_fw_qos.c
112
u8 *pg, u16 *ratelimit)
sys/dev/mlx4/mlx4_core/mlx4_fw_qos.c
128
u16 r;
sys/dev/mlx4/mlx4_core/mlx4_fw_qos.c
160
u16 *availible_vpp, u8 *vpp_p_up)
sys/dev/mlx4/mlx4_core/mlx4_fw_qos.c
182
*availible_vpp = (u16)be32_to_cpu(out_param->availible_vpp);
sys/dev/mlx4/mlx4_core/mlx4_mcg.c
1050
int port, int qpn, u16 prio, u64 *reg_id)
sys/dev/mlx4/mlx4_core/mlx4_mcg.c
108
u16 *hash, u8 op_mod)
sys/dev/mlx4/mlx4_core/mlx4_mcg.c
703
u16 hash;
sys/dev/mlx4/mlx4_core/mlx4_mcg.c
789
const u16 __sw_id_hw[] = {
sys/dev/mlx4/mlx4_core/mlx4_port.c
1264
u16 mtu, prev_mtu;
sys/dev/mlx4/mlx4_core/mlx4_port.c
1685
int mlx4_SET_PORT_BEACON(struct mlx4_dev *dev, u8 port, u16 time)
sys/dev/mlx4/mlx4_core/mlx4_port.c
1891
static inline const char *cable_info_mad_err_str(u16 mad_status)
sys/dev/mlx4/mlx4_core/mlx4_port.c
1933
u16 offset, u16 size, u8 *data)
sys/dev/mlx4/mlx4_core/mlx4_port.c
1938
u16 i2c_addr;
sys/dev/mlx4/mlx4_core/mlx4_port.c
558
int mlx4_find_cached_vlan(struct mlx4_dev *dev, u8 port, u16 vid, int *idx)
sys/dev/mlx4/mlx4_core/mlx4_port.c
577
int __mlx4_register_vlan(struct mlx4_dev *dev, u8 port, u16 vlan,
sys/dev/mlx4/mlx4_core/mlx4_port.c
668
u16 dup_vlan = MLX4_VLAN_MASK & be32_to_cpu(dup_table->entries[i]);
sys/dev/mlx4/mlx4_core/mlx4_port.c
740
int mlx4_register_vlan(struct mlx4_dev *dev, u8 port, u16 vlan, int *index)
sys/dev/mlx4/mlx4_core/mlx4_port.c
762
void __mlx4_unregister_vlan(struct mlx4_dev *dev, u8 port, u16 vlan)
sys/dev/mlx4/mlx4_core/mlx4_port.c
826
void mlx4_unregister_vlan(struct mlx4_dev *dev, u8 port, u16 vlan)
sys/dev/mlx4/mlx4_core/mlx4_qp.c
932
u16 mlx4_qp_roce_entropy(struct mlx4_dev *dev, u32 qpn)
sys/dev/mlx4/mlx4_core/mlx4_qp.c
94
static const u16 op[MLX4_QP_NUM_STATE][MLX4_QP_NUM_STATE] = {
sys/dev/mlx4/mlx4_core/mlx4_qp.c
942
u16 folded_dst = folded_qp(dest_qpn);
sys/dev/mlx4/mlx4_core/mlx4_qp.c
943
u16 folded_src = folded_qp(qpn);
sys/dev/mlx4/mlx4_core/mlx4_reset.c
47
u16 devctl;
sys/dev/mlx4/mlx4_core/mlx4_reset.c
48
u16 linkctl;
sys/dev/mlx4/mlx4_core/mlx4_reset.c
49
u16 vendor;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
2076
static int vlan_add_to_slave(struct mlx4_dev *dev, int slave, u16 vlan,
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
2110
static void vlan_del_from_slave(struct mlx4_dev *dev, int slave, u16 vlan,
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
2157
u16 vlan;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
2177
vlan = (u16) in_param;
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
64
u16 vlan;
sys/dev/mlx4/mlx4_core/mlx4_srq.c
162
int mlx4_srq_alloc(struct mlx4_dev *dev, u32 pdn, u32 cqn, u16 xrcd,
sys/dev/mlx4/mlx4_en/en.h
283
u16 stride;
sys/dev/mlx4/mlx4_en/en.h
284
u16 cqn; /* index of port CQ associated with this ring */
sys/dev/mlx4/mlx4_en/en.h
290
u16 poll_cnt;
sys/dev/mlx4/mlx4_en/en.h
340
u16 log_stride;
sys/dev/mlx4/mlx4_en/en.h
341
u16 cqn; /* index of port CQ associated with this ring */
sys/dev/mlx4/mlx4_en/en.h
402
u16 moder_time;
sys/dev/mlx4/mlx4_en/en.h
403
u16 moder_cnt;
sys/dev/mlx4/mlx4_en/en.h
558
u16 rx_usecs;
sys/dev/mlx4/mlx4_en/en.h
559
u16 rx_frames;
sys/dev/mlx4/mlx4_en/en.h
560
u16 tx_usecs;
sys/dev/mlx4/mlx4_en/en.h
561
u16 tx_frames;
sys/dev/mlx4/mlx4_en/en.h
637
u16 maxrate[IEEE_8021QAZ_MAX_TCS];
sys/dev/mlx4/mlx4_en/en.h
809
u16 mlx4_en_select_queue(if_t dev, struct mbuf *mb);
sys/dev/mlx4/mlx4_en/en.h
815
u32 size, u16 stride, int node, int queue_idx);
sys/dev/mlx4/mlx4_en/en.h
848
const u32 *mlx4_en_get_rss_key(struct mlx4_en_priv *priv, u16 *keylen);
sys/dev/mlx4/mlx4_en/en_port.h
99
u16 reserved3[5];
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
292
u16 rxq_index, u32 flow_id)
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
403
static void mlx4_en_vlan_rx_add_vid(void *arg, if_t dev, u16 vid)
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
430
static void mlx4_en_vlan_rx_kill_vid(void *arg, if_t dev, u16 vid)
sys/dev/mlx4/mlx4_en/mlx4_en_rx.c
998
u16 *keylen)
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
354
u16 index;
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
355
u16 new_index, ring_index, stamp_index;
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
484
static u16
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
487
u16 retval;
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
57
u16 stride, int node, int queue_idx)
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
607
u16 mlx4_en_select_queue(if_t dev, struct mbuf *mb)
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
654
u16 index;
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
655
u16 ds_cnt;
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
656
u16 ihs;
sys/dev/mlx4/mlx4_ib/mlx4_ib.h
284
u16 vid;
sys/dev/mlx4/mlx4_ib/mlx4_ib.h
287
u16 candidate_vid;
sys/dev/mlx4/mlx4_ib/mlx4_ib.h
313
u16 xrcdn;
sys/dev/mlx4/mlx4_ib/mlx4_ib.h
343
u16 wqe_ctr;
sys/dev/mlx4/mlx4_ib/mlx4_ib.h
506
u16 phys_pkey_cache[MLX4_MAX_PORTS][MLX4_MAX_PORT_PKEYS];
sys/dev/mlx4/mlx4_ib/mlx4_ib.h
732
int mlx4_ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period);
sys/dev/mlx4/mlx4_ib/mlx4_ib.h
745
int slave_sgid_index, u8 *s_mac, u16 vlan_tag);
sys/dev/mlx4/mlx4_ib/mlx4_ib.h
779
u16 *out_mad_pkey_index);
sys/dev/mlx4/mlx4_ib/mlx4_ib.h
791
int __mlx4_ib_query_pkey(struct ib_device *ibdev, u8 port, u16 index,
sys/dev/mlx4/mlx4_ib/mlx4_ib.h
792
u16 *pkey, int netw_view);
sys/dev/mlx4/mlx4_ib/mlx4_ib.h
833
enum ib_qp_type dest_qpt, u16 pkey_index, u32 remote_qpn,
sys/dev/mlx4/mlx4_ib/mlx4_ib.h
835
u16 vlan_id, struct ib_mad *mad);
sys/dev/mlx4/mlx4_ib/mlx4_ib_ah.c
154
int slave_sgid_index, u8 *s_mac, u16 vlan_tag)
sys/dev/mlx4/mlx4_ib/mlx4_ib_ah.c
82
u16 vlan_tag = 0xffff;
sys/dev/mlx4/mlx4_ib/mlx4_ib_cq.c
662
u16 wqe_ctr;
sys/dev/mlx4/mlx4_ib/mlx4_ib_cq.c
728
wq->tail += (u16) (wqe_ctr - (u16) wq->tail);
sys/dev/mlx4/mlx4_ib/mlx4_ib_cq.c
94
int mlx4_ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period)
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
1101
u16 i;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
1166
u16 lid = be16_to_cpu(eqe->event.port_mgmt_change.params.port_info.mstr_sm_lid);
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
1324
enum ib_qp_type dest_qpt, u16 pkey_index,
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
1326
u8 *s_mac, u16 vlan_id, struct ib_mad *mad)
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
1337
u16 wire_pkey_ix;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
1454
u16 vlan_id;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
149
u16 reserved2[2];
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
187
static void update_sm_ah(struct mlx4_ib_dev *dev, u8 port_num, u16 lid, u8 sl)
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
2133
(u16)(dev->dev->persist->num_vfs + 1));
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
218
u16 prev_lid)
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
221
u16 lid;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
442
u8 port, u16 pkey, u16 *ix)
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
446
u16 slot_pkey;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
464
*ix = (u16) pkey_ix;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
475
*ix = (u16) partial_ix;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
498
u16 tun_pkey_ix;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
499
u16 cached_pkey;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
518
u16 pkey_ix;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
578
u16 vlan = 0;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
602
tun_mad->hdr.sl_vid = cpu_to_be16(((u16)(wc->sl)) << 12);
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
768
u16 slid, prev_lid = 0;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
951
u16 *out_mad_pkey_index)
sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
1482
static const u16 __mlx4_domain[] = {
sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
1787
static int mlx4_ib_mcg_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
1865
static int mlx4_ib_mcg_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
908
int __mlx4_ib_query_pkey(struct ib_device *ibdev, u8 port, u16 index,
sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
909
u16 *pkey, int netw_view)
sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
941
static int mlx4_ib_query_pkey(struct ib_device *ibdev, u8 port, u16 index, u16 *pkey)
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
319
struct ib_sa_mad *req_sa_mad, u16 status)
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
383
static u16 cmp_rec(struct ib_sa_mcmember_data *src,
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
587
u16 status;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
610
u16 status;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
649
u16 status;
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
1140
u16 xrcdn = 0;
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
1395
u64 smac, u16 vlan_tag, struct mlx4_qp_path *path,
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
1516
u16 vlan_id, u8 *smac)
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
1778
u16 vlan = 0xffff;
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2306
u16 pkey;
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2436
u16 pkey;
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2442
u16 vlan = 0xffff;
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2587
u16 ether_type;
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2588
u16 pcp = (be32_to_cpu(ah->av.ib.sl_tclass_flowlabel) >> 29) << 13;
sys/dev/mlx4/mlx4_ib/mlx4_ib_srq.c
184
(u16) dev->dev->caps.reserved_xrcds;
sys/dev/mlx4/mlx4_ib/mlx4_ib_srq.c
83
u16 xrcdn;
sys/dev/mlx4/mlx4_ib/mlx4_ib_sysfs.c
146
u16 pkey;
sys/dev/mlx4/qp.h
133
u16 reserved;
sys/dev/mlx4/qp.h
356
u16 reserved3;
sys/dev/mlx4/qp.h
473
u16 rate_unit;
sys/dev/mlx4/qp.h
474
u16 rate_val;
sys/dev/mlx4/qp.h
499
static inline u16 folded_qp(u32 q)
sys/dev/mlx4/qp.h
501
u16 res;
sys/dev/mlx4/qp.h
507
u16 mlx4_qp_roce_entropy(struct mlx4_dev *dev, u32 qpn);
sys/dev/mlx4/srq.h
37
u16 reserved1;
sys/dev/mlx4/stats.h
111
u16 tx_coal_avg;
sys/dev/mlx4/stats.h
112
u16 rx_coal_avg;
sys/dev/mlx5/cmd.h
34
u16 num_entries;
sys/dev/mlx5/cmd.h
35
u16 func_id;
sys/dev/mlx5/cq.h
170
struct mlx5_core_cq *cq, u16 cq_period,
sys/dev/mlx5/cq.h
171
u16 cq_max_count);
sys/dev/mlx5/cq.h
174
u16 cq_period,
sys/dev/mlx5/cq.h
175
u16 cq_max_count,
sys/dev/mlx5/cq.h
179
u16 cq_period, u16 cq_max_count,
sys/dev/mlx5/device.h
121
u16 _v = v; \
sys/dev/mlx5/device.h
1325
static inline u16 mlx5_to_sw_pkey_sz(int pkey_sz)
sys/dev/mlx5/device.h
138
case sizeof(u16): \
sys/dev/mlx5/device.h
57
#define __mlx5_mask16(typ, fld) ((u16)((1ull << __mlx5_bit_sz(typ, fld)) - 1))
sys/dev/mlx5/device.h
754
static inline u16 get_cqe_vlan(struct mlx5_cqe64 *cqe)
sys/dev/mlx5/diagnostics.h
148
int mlx5_core_supports_diagnostics(struct mlx5_core_dev *mdev, u16 counter_id);
sys/dev/mlx5/diagnostics.h
37
u16 counter_id;
sys/dev/mlx5/driver.h
1048
u16 lwm, int is_srq);
sys/dev/mlx5/driver.h
1065
int mlx5_core_alloc_pd(struct mlx5_core_dev *dev, u32 *pdn, u16 uid);
sys/dev/mlx5/driver.h
1066
int mlx5_core_dealloc_pd(struct mlx5_core_dev *dev, u32 pdn, u16 uid);
sys/dev/mlx5/driver.h
1068
u16 opmod, u8 port);
sys/dev/mlx5/driver.h
1079
void mlx5_core_req_pages_handler(struct mlx5_core_dev *dev, u16 func_id,
sys/dev/mlx5/driver.h
1110
u16 reg_num, int arg, int write);
sys/dev/mlx5/driver.h
1140
int mlx5_set_dropless_mode(struct mlx5_core_dev *dev, u16 timeout);
sys/dev/mlx5/driver.h
1141
int mlx5_query_dropless_mode(struct mlx5_core_dev *dev, u16 *timeout);
sys/dev/mlx5/driver.h
1149
int mlx5_vxlan_udp_port_add(struct mlx5_core_dev *dev, u16 port);
sys/dev/mlx5/driver.h
1150
int mlx5_vxlan_udp_port_delete(struct mlx5_core_dev *dev, u16 port);
sys/dev/mlx5/driver.h
1164
u8 num_of_samples, u16 sample_index,
sys/dev/mlx5/driver.h
1169
int mlx5_vsc_set_space(struct mlx5_core_dev *mdev, u16 space);
sys/dev/mlx5/driver.h
1176
u16 *p_power, u8 *p_status);
sys/dev/mlx5/driver.h
1219
const u8 *mac, bool vlan, u16 vlan_id);
sys/dev/mlx5/driver.h
1245
int mlx5_rl_add_rate(struct mlx5_core_dev *dev, u32 rate, u32 burst, u16 *index);
sys/dev/mlx5/driver.h
1248
int mlx5e_query_rate_limit_cmd(struct mlx5_core_dev *dev, u16 index, u32 *scq_handle);
sys/dev/mlx5/driver.h
239
u16 load_done;
sys/dev/mlx5/driver.h
243
u16 func_id;
sys/dev/mlx5/driver.h
251
u16 inlen;
sys/dev/mlx5/driver.h
252
u16 outlen;
sys/dev/mlx5/driver.h
328
u16 cmdif_rev;
sys/dev/mlx5/driver.h
401
u16 syndrome;
sys/dev/mlx5/driver.h
402
u16 reserved;
sys/dev/mlx5/driver.h
403
u16 bg;
sys/dev/mlx5/driver.h
404
u16 app_tag;
sys/dev/mlx5/driver.h
567
u16 burst;
sys/dev/mlx5/driver.h
568
u16 index;
sys/dev/mlx5/driver.h
575
u16 max_size;
sys/dev/mlx5/driver.h
674
u16 id;
sys/dev/mlx5/driver.h
684
u16 num_of_samples;
sys/dev/mlx5/driver.h
685
u16 sample_index;
sys/dev/mlx5/driver.h
801
u16 ib_link_width_cap;
sys/dev/mlx5/driver.h
802
u16 ib_proto_cap;
sys/dev/mlx5/driver.h
804
u16 ib_link_width_admin;
sys/dev/mlx5/driver.h
805
u16 ib_proto_admin;
sys/dev/mlx5/driver.h
807
u16 ib_link_width_oper;
sys/dev/mlx5/driver.h
808
u16 ib_proto_oper;
sys/dev/mlx5/driver.h
821
u16 max_mtu;
sys/dev/mlx5/driver.h
822
u16 admin_mtu;
sys/dev/mlx5/driver.h
823
u16 oper_mtu;
sys/dev/mlx5/driver.h
852
u16 uid;
sys/dev/mlx5/driver.h
890
u16 op;
sys/dev/mlx5/driver.h
926
static inline u16 fw_rev_maj(struct mlx5_core_dev *dev)
sys/dev/mlx5/driver.h
931
static inline u16 fw_rev_min(struct mlx5_core_dev *dev)
sys/dev/mlx5/driver.h
936
static inline u16 fw_rev_sub(struct mlx5_core_dev *dev)
sys/dev/mlx5/driver.h
941
static inline u16 cmdif_rev_get(struct mlx5_core_dev *dev)
sys/dev/mlx5/driver.h
946
static inline int mlx5_get_gid_table_len(u16 param)
sys/dev/mlx5/fs.h
159
u16 num;
sys/dev/mlx5/fs.h
160
u16 vhca_id;
sys/dev/mlx5/fs.h
194
u16 ethtype;
sys/dev/mlx5/fs.h
195
u16 vid;
sys/dev/mlx5/fs.h
262
u16 uid;
sys/dev/mlx5/fs.h
288
struct mlx5_flow_table_attr *ft_attr, u16 vport);
sys/dev/mlx5/mlx5_accel/ipsec.h
112
u16 sport;
sys/dev/mlx5/mlx5_accel/ipsec.h
113
u16 dport;
sys/dev/mlx5/mlx5_accel/ipsec.h
165
u16 kspi; /* Stack allocated unique SA identifier */
sys/dev/mlx5/mlx5_accel/ipsec.h
167
u16 vid;
sys/dev/mlx5/mlx5_accel/ipsec.h
171
u16 dport;
sys/dev/mlx5/mlx5_accel/ipsec.h
172
u16 sport;
sys/dev/mlx5/mlx5_accel/ipsec.h
194
u16 vid;
sys/dev/mlx5/mlx5_accel/mlx5_ipsec.c
338
u16 vid = VLAN_NONE;
sys/dev/mlx5/mlx5_accel/mlx5_ipsec.c
607
struct mlx5_accel_pol_xfrm_attrs *attrs, struct inpcb *inp, u16 vid)
sys/dev/mlx5/mlx5_accel/mlx5_ipsec.c
659
u16 vid = VLAN_NONE;
sys/dev/mlx5/mlx5_accel/mlx5_ipsec_fs.c
1040
u16 kspi)
sys/dev/mlx5/mlx5_accel/mlx5_ipsec_fs.c
161
u16 kspi);
sys/dev/mlx5/mlx5_accel/mlx5_ipsec_fs.c
1661
static void ipsec_roce_setup_udp_dport(struct mlx5_flow_spec *spec, u16 dport)
sys/dev/mlx5/mlx5_accel/mlx5_ipsec_fs.c
197
setup_fte_vid(struct mlx5_flow_spec *spec, u16 vid)
sys/dev/mlx5/mlx5_accel/mlx5_ipsec_offload.c
418
u16 type;
sys/dev/mlx5/mlx5_core/eswitch.h
109
u16 vlan;
sys/dev/mlx5/mlx5_core/eswitch.h
118
u16 enabled_events;
sys/dev/mlx5/mlx5_core/eswitch.h
165
int vport, u16 vlan, u8 qos);
sys/dev/mlx5/mlx5_core/flow_table.h
41
u16 vport,
sys/dev/mlx5/mlx5_core/flow_table.h
42
u16 num_groups,
sys/dev/mlx5/mlx5_core/flow_table.h
50
int mlx5_set_flow_table_root(struct mlx5_core_dev *mdev, u16 op_mod,
sys/dev/mlx5/mlx5_core/flow_table.h
56
int mlx5_create_flow_counter(struct mlx5_core_dev *dev, u16 *cnt_id);
sys/dev/mlx5/mlx5_core/flow_table.h
57
void mlx5_destroy_flow_counter(struct mlx5_core_dev *dev, u16 cnt_id);
sys/dev/mlx5/mlx5_core/flow_table.h
59
u32 num_counters, u16 *cnt_ids,
sys/dev/mlx5/mlx5_core/flow_table.h
61
int mlx5_reset_flow_counter(struct mlx5_core_dev *dev, u16 cnt_id);
sys/dev/mlx5/mlx5_core/fs_core.h
173
u16 vport;
sys/dev/mlx5/mlx5_core/mlx5_cmd.c
1003
u16 op;
sys/dev/mlx5/mlx5_core/mlx5_cmd.c
1310
u16 opcode = MLX5_GET(mbox_in, in, opcode);
sys/dev/mlx5/mlx5_core/mlx5_cmd.c
1558
u16 cmd_if_rev;
sys/dev/mlx5/mlx5_core/mlx5_cmd.c
323
static int mlx5_internal_err_ret_value(struct mlx5_core_dev *dev, u16 op,
sys/dev/mlx5/mlx5_core/mlx5_cmd.c
698
u16 opcode;
sys/dev/mlx5/mlx5_core/mlx5_cmd.c
699
u16 op_mod;
sys/dev/mlx5/mlx5_core/mlx5_cmd.c
723
u16 op = MLX5_GET(mbox_in, ent->lay->in, opcode);
sys/dev/mlx5/mlx5_core/mlx5_cmd.c
783
static u16 msg_to_opcode(struct mlx5_cmd_msg *in)
sys/dev/mlx5/mlx5_core/mlx5_core.h
129
u16 *monitor_opcode,
sys/dev/mlx5/mlx5_core/mlx5_cq.c
217
u16 cq_period,
sys/dev/mlx5/mlx5_core/mlx5_cq.c
218
u16 cq_max_count)
sys/dev/mlx5/mlx5_core/mlx5_cq.c
227
u16 cq_period,
sys/dev/mlx5/mlx5_core/mlx5_cq.c
228
u16 cq_max_count,
sys/dev/mlx5/mlx5_core/mlx5_cq.c
239
u16 cq_period, u16 cq_max_count, u8 cq_mode, u8 cq_eqn)
sys/dev/mlx5/mlx5_core/mlx5_diag_cnt.c
29
static int enable_cnt_id(struct mlx5_core_dev *dev, u16 id);
sys/dev/mlx5/mlx5_core/mlx5_diag_cnt.c
325
enable_cnt_id(struct mlx5_core_dev *dev, u16 id)
sys/dev/mlx5/mlx5_core/mlx5_diag_cnt.c
363
u16 in_sz;
sys/dev/mlx5/mlx5_core/mlx5_diag_cnt.c
426
u16 out_sz;
sys/dev/mlx5/mlx5_core/mlx5_diag_cnt.c
479
u16 out_sz;
sys/dev/mlx5/mlx5_core/mlx5_diagnostics.c
122
u16 counter_id =
sys/dev/mlx5/mlx5_core/mlx5_diagnostics.c
195
u16 counter_id = MLX5_GET(
sys/dev/mlx5/mlx5_core/mlx5_diagnostics.c
271
int mlx5_core_supports_diagnostics(struct mlx5_core_dev *dev, u16 counter_id)
sys/dev/mlx5/mlx5_core/mlx5_diagnostics.c
51
int size, u16 counter_id)
sys/dev/mlx5/mlx5_core/mlx5_diagnostics.c
69
u64 *array, int size, u16 counter_id, u64 value)
sys/dev/mlx5/mlx5_core/mlx5_eq.c
339
u16 func_id = be16_to_cpu(eqe->data.req_pages.func_id);
sys/dev/mlx5/mlx5_core/mlx5_eq.c
356
u16 vport_num = be16_to_cpu(vc_eqe->vport_num);
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
1143
u16 vport_num = be16_to_cpu(vc_eqe->vport_num);
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
1222
u16 vlan;
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
1246
int vport, u16 vlan, u8 qos)
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
133
u16 *vlan, u8 *qos)
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
170
static int modify_esw_vport_context_cmd(struct mlx5_core_dev *dev, u16 vport,
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
186
u16 vlan, u8 qos, bool set)
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
88
static int arm_vport_context_events_cmd(struct mlx5_core_dev *dev, u16 vport,
sys/dev/mlx5/mlx5_core/mlx5_eswitch.c
934
static void esw_cleanup_vport(struct mlx5_eswitch *esw, u16 vport_num)
sys/dev/mlx5/mlx5_core/mlx5_fs_core.c
1118
u16 vport)
sys/dev/mlx5/mlx5_core/mlx5_fs_core.c
1214
struct mlx5_flow_table_attr *ft_attr, u16 vport)
sys/dev/mlx5/mlx5_core/mlx5_fs_core.c
811
static struct mlx5_flow_table *alloc_flow_table(int level, u16 vport,
sys/dev/mlx5/mlx5_core/mlx5_fw.c
381
u16 component_index, u32 update_handle,
sys/dev/mlx5/mlx5_core/mlx5_fw.c
425
u32 offset, u16 size,
sys/dev/mlx5/mlx5_core/mlx5_fw.c
455
u16 component_index,
sys/dev/mlx5/mlx5_core/mlx5_fw.c
458
u16 *mcda_max_write_size)
sys/dev/mlx5/mlx5_core/mlx5_fw.c
490
u16 component_index, u32 *p_max_size,
sys/dev/mlx5/mlx5_core/mlx5_fw.c
491
u8 *p_align_bits, u16 *p_max_write_size)
sys/dev/mlx5/mlx5_core/mlx5_fw.c
522
u16 component_index, u32 component_size)
sys/dev/mlx5/mlx5_core/mlx5_fw.c
533
u8 *data, u16 size, u32 offset)
sys/dev/mlx5/mlx5_core/mlx5_fw.c
543
u16 component_index)
sys/dev/mlx5/mlx5_core/mlx5_health.c
547
u16 power;
sys/dev/mlx5/mlx5_core/mlx5_mad.c
35
u16 opmod, u8 port)
sys/dev/mlx5/mlx5_core/mlx5_main.c
1850
u16 did;
sys/dev/mlx5/mlx5_core/mlx5_main.c
271
u16 *p_power, u8 *p_status)
sys/dev/mlx5/mlx5_core/mlx5_main.c
392
static u16 to_fw_pkey_sz(struct mlx5_core_dev *dev, u32 size)
sys/dev/mlx5/mlx5_core/mlx5_main.c
420
u16 opmod = (cap_type << 1) | (cap_mode & 0x01);
sys/dev/mlx5/mlx5_core/mlx5_main.c
613
static int mlx5_core_enable_hca(struct mlx5_core_dev *dev, u16 func_id)
sys/dev/mlx5/mlx5_core/mlx5_mpfs.c
44
u8 vlan_valid, u16 vlan)
sys/dev/mlx5/mlx5_core/mlx5_pagealloc.c
254
alloc_4k(struct mlx5_core_dev *dev, u64 *addr, u16 func_id)
sys/dev/mlx5/mlx5_core/mlx5_pagealloc.c
297
static int mlx5_cmd_query_pages(struct mlx5_core_dev *dev, u16 *func_id,
sys/dev/mlx5/mlx5_core/mlx5_pagealloc.c
319
static int give_pages(struct mlx5_core_dev *dev, u16 func_id, int npages,
sys/dev/mlx5/mlx5_core/mlx5_pagealloc.c
39
u16 func_id;
sys/dev/mlx5/mlx5_core/mlx5_pagealloc.c
478
void mlx5_core_req_pages_handler(struct mlx5_core_dev *dev, u16 func_id,
sys/dev/mlx5/mlx5_core/mlx5_pagealloc.c
499
u16 uninitialized_var(func_id);
sys/dev/mlx5/mlx5_core/mlx5_pd.c
34
int mlx5_core_alloc_pd(struct mlx5_core_dev *dev, u32 *pdn, u16 uid)
sys/dev/mlx5/mlx5_core/mlx5_pd.c
52
int mlx5_core_dealloc_pd(struct mlx5_core_dev *dev, u32 pdn, u16 uid)
sys/dev/mlx5/mlx5_core/mlx5_port.c
1067
u8 num_of_samples, u16 sample_index,
sys/dev/mlx5/mlx5_core/mlx5_port.c
1241
u16 *monitor_opcode, u8 *status_message, size_t sm_len)
sys/dev/mlx5/mlx5_core/mlx5_port.c
35
u16 reg_num, int arg, int write)
sys/dev/mlx5/mlx5_core/mlx5_port.c
488
int mlx5_query_dropless_mode(struct mlx5_core_dev *dev, u16 *timeout)
sys/dev/mlx5/mlx5_core/mlx5_port.c
508
int mlx5_set_dropless_mode(struct mlx5_core_dev *dev, u16 timeout)
sys/dev/mlx5/mlx5_core/mlx5_port.c
735
int mlx5_vxlan_udp_port_add(struct mlx5_core_dev *dev, u16 port)
sys/dev/mlx5/mlx5_core/mlx5_port.c
755
int mlx5_vxlan_udp_port_delete(struct mlx5_core_dev *dev, u16 port)
sys/dev/mlx5/mlx5_core/mlx5_qp.c
205
static int modify_qp_mbox_alloc(struct mlx5_core_dev *dev, u16 opcode, int qpn,
sys/dev/mlx5/mlx5_core/mlx5_qp.c
207
struct mbox_info *mbox, u16 uid)
sys/dev/mlx5/mlx5_core/mlx5_qp.c
290
int mlx5_core_qp_modify(struct mlx5_core_dev *dev, u16 opcode,
sys/dev/mlx5/mlx5_core/mlx5_qp.c
484
static void destroy_rq_tracked(struct mlx5_core_dev *dev, u32 rqn, u16 uid)
sys/dev/mlx5/mlx5_core/mlx5_qp.c
522
static void destroy_sq_tracked(struct mlx5_core_dev *dev, u32 sqn, u16 uid)
sys/dev/mlx5/mlx5_core/mlx5_rl.c
102
int mlx5_rl_add_rate(struct mlx5_core_dev *dev, u32 rate, u32 burst, u16 *index)
sys/dev/mlx5/mlx5_core/mlx5_rl.c
42
u32 rate, u16 burst)
sys/dev/mlx5/mlx5_core/mlx5_rl.c
46
u16 i;
sys/dev/mlx5/mlx5_core/mlx5_rl.c
60
u32 rate, u32 burst, u16 index)
sys/dev/mlx5/mlx5_core/mlx5_rl.c
75
u16 index, u32 *scq_handle)
sys/dev/mlx5/mlx5_core/mlx5_srq.c
206
static int arm_rmp_cmd(struct mlx5_core_dev *dev, struct mlx5_core_srq *srq, u16 lwm)
sys/dev/mlx5/mlx5_core/mlx5_srq.c
278
struct mlx5_core_srq *srq, u16 lwm)
sys/dev/mlx5/mlx5_core/mlx5_srq.c
356
u16 lwm, int is_srq)
sys/dev/mlx5/mlx5_core/mlx5_srq.c
468
u16 lwm, int is_srq)
sys/dev/mlx5/mlx5_core/mlx5_transobj.c
276
int mlx5_core_arm_rmp(struct mlx5_core_dev *dev, u32 rmpn, u16 lwm)
sys/dev/mlx5/mlx5_core/mlx5_transobj.c
352
int mlx5_core_arm_xsrq(struct mlx5_core_dev *dev, u32 xsrqn, u16 lwm)
sys/dev/mlx5/mlx5_core/mlx5_vport.c
102
static int mlx5_query_nic_vport_context(struct mlx5_core_dev *mdev, u16 vport,
sys/dev/mlx5/mlx5_core/mlx5_vport.c
1142
u16 vport_num, u16 gid_index, union ib_gid *gid)
sys/dev/mlx5/mlx5_core/mlx5_vport.c
1208
u8 port_num, u16 vf_num, u16 pkey_index,
sys/dev/mlx5/mlx5_core/mlx5_vport.c
1209
u16 *pkey)
sys/dev/mlx5/mlx5_core/mlx5_vport.c
1295
u16 vport, void *in, int inlen)
sys/dev/mlx5/mlx5_core/mlx5_vport.c
1316
u16 vlan, u8 cfi, u8 pcp)
sys/dev/mlx5/mlx5_core/mlx5_vport.c
133
int client_id, u16 *counter_set_id)
sys/dev/mlx5/mlx5_core/mlx5_vport.c
1452
u16 vport,
sys/dev/mlx5/mlx5_core/mlx5_vport.c
158
int client_id, u16 counter_set_id)
sys/dev/mlx5/mlx5_core/mlx5_vport.c
1616
u8 port_num, u16 vport_num,
sys/dev/mlx5/mlx5_core/mlx5_vport.c
180
u16 counter_set_id,
sys/dev/mlx5/mlx5_core/mlx5_vport.c
195
u16 counter_set_id,
sys/dev/mlx5/mlx5_core/mlx5_vport.c
213
u16 vport, u8 *min_inline)
sys/dev/mlx5/mlx5_core/mlx5_vport.c
252
u16 vport, u8 min_inline)
sys/dev/mlx5/mlx5_core/mlx5_vport.c
273
u16 vport, u8 *addr)
sys/dev/mlx5/mlx5_core/mlx5_vport.c
300
u16 vport, u8 *addr)
sys/dev/mlx5/mlx5_core/mlx5_vport.c
38
u16 vport, u32 *out, int outlen)
sys/dev/mlx5/mlx5_core/mlx5_vport.c
406
u16 *qkey_viol_cntr)
sys/dev/mlx5/mlx5_core/mlx5_vport.c
57
u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport)
sys/dev/mlx5/mlx5_core/mlx5_vport.c
586
int mlx5_set_nic_vport_vlan_list(struct mlx5_core_dev *dev, u16 vport,
sys/dev/mlx5/mlx5_core/mlx5_vport.c
587
u16 *vlan_list, int list_len)
sys/dev/mlx5/mlx5_core/mlx5_vport.c
67
u8 mlx5_query_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport)
sys/dev/mlx5/mlx5_core/mlx5_vport.c
712
u16 vport,
sys/dev/mlx5/mlx5_core/mlx5_vport.c
78
u16 vport, u8 state)
sys/dev/mlx5/mlx5_core/mlx5_vport.c
829
u16 vport,
sys/dev/mlx5/mlx5_core/mlx5_vport.c
830
u16 vlans[],
sys/dev/mlx5/mlx5_core/mlx5_vport.c
889
u16 vlans[],
sys/dev/mlx5/mlx5_core/mlx5_vsc.c
109
int mlx5_vsc_set_space(struct mlx5_core_dev *mdev, u16 space)
sys/dev/mlx5/mlx5_core/transobj.h
54
int mlx5_core_arm_rmp(struct mlx5_core_dev *dev, u32 rmpn, u16 lwm);
sys/dev/mlx5/mlx5_core/transobj.h
58
int mlx5_core_arm_xsrq(struct mlx5_core_dev *dev, u32 rmpn, u16 lwm);
sys/dev/mlx5/mlx5_core/wq.h
102
static inline void *mlx5_wq_cyc_get_wqe(struct mlx5_wq_cyc *wq, u16 ix)
sys/dev/mlx5/mlx5_core/wq.h
107
static inline int mlx5_wq_cyc_cc_bigger(u16 cc1, u16 cc2)
sys/dev/mlx5/mlx5_core/wq.h
166
static inline void mlx5_wq_ll_push(struct mlx5_wq_ll *wq, u16 head_next)
sys/dev/mlx5/mlx5_core/wq.h
185
static inline void *mlx5_wq_ll_get_wqe(struct mlx5_wq_ll *wq, u16 ix)
sys/dev/mlx5/mlx5_core/wq.h
51
u16 sz_m1;
sys/dev/mlx5/mlx5_core/wq.h
73
u16 sz_m1;
sys/dev/mlx5/mlx5_core/wq.h
74
u16 head;
sys/dev/mlx5/mlx5_core/wq.h
75
u16 wqe_ctr;
sys/dev/mlx5/mlx5_core/wq.h
76
u16 cur_sz;
sys/dev/mlx5/mlx5_core/wq.h
97
static inline u16 mlx5_wq_cyc_ctr2ix(struct mlx5_wq_cyc *wq, u16 ctr)
sys/dev/mlx5/mlx5_en/en.h
1050
u16 ihs;
sys/dev/mlx5/mlx5_en/en.h
1223
void mlx5e_vlan_rx_add_vid(void *, if_t, u16);
sys/dev/mlx5/mlx5_en/en.h
1224
void mlx5e_vlan_rx_kill_vid(void *, if_t, u16);
sys/dev/mlx5/mlx5_en/en.h
1312
void mlx5e_iq_load_memory_single(struct mlx5e_iq *, u16, void *, size_t, u64 *, u32);
sys/dev/mlx5/mlx5_en/en.h
664
u16 num_channels;
sys/dev/mlx5/mlx5_en/en.h
669
u16 rx_cq_moderation_usec;
sys/dev/mlx5/mlx5_en/en.h
670
u16 rx_cq_moderation_pkts;
sys/dev/mlx5/mlx5_en/en.h
671
u16 tx_cq_moderation_usec;
sys/dev/mlx5/mlx5_en/en.h
672
u16 tx_cq_moderation_pkts;
sys/dev/mlx5/mlx5_en/en.h
676
u16 rx_hash_log_tbl_sz;
sys/dev/mlx5/mlx5_en/en.h
679
u16 tx_max_inline;
sys/dev/mlx5/mlx5_en/en.h
726
u16 fec_mask_50x[MLX5E_MAX_FEC_50X];
sys/dev/mlx5/mlx5_en/en.h
728
u16 fec_avail_50x[MLX5E_MAX_FEC_50X];
sys/dev/mlx5/mlx5_en/en.h
806
u16 cc; /* consumer counter */
sys/dev/mlx5/mlx5_en/en.h
807
u16 pc __aligned(MLX5E_CACHELINE_SIZE);
sys/dev/mlx5/mlx5_en/en.h
808
u16 running;
sys/dev/mlx5/mlx5_en/en.h
857
u16 cc;
sys/dev/mlx5/mlx5_en/en.h
860
u16 pc __aligned(MLX5E_CACHELINE_SIZE);
sys/dev/mlx5/mlx5_en/en.h
861
u16 cev_counter; /* completion event counter */
sys/dev/mlx5/mlx5_en/en.h
862
u16 cev_factor; /* completion event factor */
sys/dev/mlx5/mlx5_en/en.h
863
u16 cev_next_state; /* next completion event state */
sys/dev/mlx5/mlx5_en/en.h
867
u16 running; /* set if SQ is running */
sys/dev/mlx5/mlx5_en/en.h
884
u16 max_inline;
sys/dev/mlx5/mlx5_en/en.h
898
mlx5e_sq_has_room_for(struct mlx5e_sq *sq, u16 n)
sys/dev/mlx5/mlx5_en/en.h
900
u16 cc = sq->cc;
sys/dev/mlx5/mlx5_en/en.h
901
u16 pc = sq->pc;
sys/dev/mlx5/mlx5_en/en.h
909
u16 cc;
sys/dev/mlx5/mlx5_en/en.h
910
u16 pc;
sys/dev/mlx5/mlx5_en/mlx5_en_ethtool.c
551
u16 fec_mask_50x[MLX5E_MAX_FEC_50X];
sys/dev/mlx5/mlx5_en/mlx5_en_ethtool.c
552
u16 fec_cap_changed = 0;
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
618
u16 *vlans;
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
665
enum mlx5e_vlan_rule_type rule_type, u16 vid,
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
725
enum mlx5e_vlan_rule_type rule_type, u16 vid)
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
747
enum mlx5e_vlan_rule_type rule_type, u16 vid)
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
816
mlx5e_vlan_rx_add_vid(void *arg, if_t ifp, u16 vid)
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
831
mlx5e_vlan_rx_kill_vid(void *arg, if_t ifp, u16 vid)
sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c
610
u16 pi;
sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c
655
u16 pi;
sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls.c
689
u16 pi;
sys/dev/mlx5/mlx5_en/mlx5_en_iq.c
106
u16 pi = iq->pc & iq->wq.sz_m1;
sys/dev/mlx5/mlx5_en/mlx5_en_iq.c
45
u16 ci;
sys/dev/mlx5/mlx5_en/mlx5_en_iq.c
46
u16 iqcc;
sys/dev/mlx5/mlx5_en/mlx5_en_iq.c
465
mlx5e_iq_has_room_for(struct mlx5e_iq *iq, u16 n)
sys/dev/mlx5/mlx5_en/mlx5_en_iq.c
467
u16 cc = iq->cc;
sys/dev/mlx5/mlx5_en/mlx5_en_iq.c
468
u16 pc = iq->pc;
sys/dev/mlx5/mlx5_en/mlx5_en_iq.c
476
u16 pi;
sys/dev/mlx5/mlx5_en/mlx5_en_iq.c
513
mlx5e_iq_load_memory_single(struct mlx5e_iq *iq, u16 pi, void *buffer, size_t size,
sys/dev/mlx5/mlx5_en/mlx5_en_main.c
3266
u16 set_id;
sys/dev/mlx5/mlx5_en/mlx5_en_main.c
3881
static u16
sys/dev/mlx5/mlx5_en/mlx5_en_rx.c
36
struct mlx5e_rx_wqe *wqe, u16 ix)
sys/dev/mlx5/mlx5_en/mlx5_en_rx.c
486
u16 wqe_counter, int i)
sys/dev/mlx5/mlx5_en/mlx5_en_rx.c
516
u16 title_wqe_counter;
sys/dev/mlx5/mlx5_en/mlx5_en_rx.c
555
u16 wqe_counter;
sys/dev/mlx5/mlx5_en/mlx5_en_tx.c
1024
u16 sqcc;
sys/dev/mlx5/mlx5_en/mlx5_en_tx.c
1037
u16 sqcc_this;
sys/dev/mlx5/mlx5_en/mlx5_en_tx.c
1038
u16 delta;
sys/dev/mlx5/mlx5_en/mlx5_en_tx.c
1039
u16 x;
sys/dev/mlx5/mlx5_en/mlx5_en_tx.c
1040
u16 ci;
sys/dev/mlx5/mlx5_en/mlx5_en_tx.c
178
static inline u16
sys/dev/mlx5/mlx5_en/mlx5_en_tx.c
561
u16 pi;
sys/dev/mlx5/mlx5_en/mlx5_en_tx.c
57
u16 pi = sq->pc & sq->wq.sz_m1;
sys/dev/mlx5/mlx5_en/mlx5_en_tx.c
696
u16 ds_cnt;
sys/dev/mlx5/mlx5_en/mlx5_en_tx.c
697
u16 pi;
sys/dev/mlx5/mlx5_fpga/mlx5fpga_core.c
214
u16 pid;
sys/dev/mlx5/mlx5_fpga/mlx5fpga_core.c
512
u16 pid;
sys/dev/mlx5/mlx5_fpga/sdk.h
73
int (*add)(struct mlx5_fpga_device *fdev, u32 vid, u16 pid);
sys/dev/mlx5/mlx5_fpga_tools/mlx5fpga_tools_main.c
102
static int mlx5_fpga_tools_add(struct mlx5_fpga_device *fdev, u32 vid, u16 pid)
sys/dev/mlx5/mlx5_fpga_tools/mlx5fpga_tools_main.c
43
static int mlx5_fpga_tools_add(struct mlx5_fpga_device *fdev, u32 vid, u16 pid);
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
1080
void mlx5_ib_devx_destroy(struct mlx5_ib_dev *dev, u16 uid);
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
1089
static inline void mlx5_ib_devx_destroy(struct mlx5_ib_dev *dev, u16 uid) {}
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
141
u16 devx_uid;
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
152
u16 uid;
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
219
u16 opcode;
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
220
u16 next;
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
228
u16 unsig_count;
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
240
u16 cur_post;
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
241
u16 last_poll;
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
278
u16 uid;
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
318
u16 xrcdn;
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
506
u16 wqe_ctr;
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
636
u16 q_cnt_id;
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
937
int mlx5_ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period);
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
960
u16 *out_mad_pkey_index);
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
971
u16 *max_pkeys);
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
976
int mlx5_query_mad_ifc_pkey(struct ib_device *ibdev, u8 port, u16 index,
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
977
u16 *pkey);
sys/dev/mlx5/mlx5_ib/mlx5_ib_cq.c
1095
int mlx5_ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period)
sys/dev/mlx5/mlx5_ib/mlx5_ib_cq.c
171
u16 wqe_ctr;
sys/dev/mlx5/mlx5_ib/mlx5_ib_cq.c
229
u16 pkey = be32_to_cpu(cqe->pkey) & 0xffff;
sys/dev/mlx5/mlx5_ib/mlx5_ib_cq.c
384
u16 tail, u16 head)
sys/dev/mlx5/mlx5_ib/mlx5_ib_cq.c
386
u16 idx;
sys/dev/mlx5/mlx5_ib/mlx5_ib_cq.c
408
u16 syndrome = be16_to_cpu(cqe->syndrome);
sys/dev/mlx5/mlx5_ib/mlx5_ib_cq.c
529
u16 wqe_ctr;
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
1100
u16 obj_type = MLX5_GET(general_obj_in_cmd_hdr, in, obj_type);
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
1101
u16 uid = MLX5_GET(general_obj_in_cmd_hdr, in, uid);
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
1405
u16 obj_type = 0;
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
1409
u16 opcode;
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
165
u16 uid;
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
1684
u16 cmd_out_len;
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
1838
static bool is_valid_events_legacy(int num_events, u16 *event_type_num_list,
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
1858
int num_events, u16 *event_type_num_list,
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
1918
u16 *event_type_num_list;
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
192
void mlx5_ib_devx_destroy(struct mlx5_ib_dev *dev, u16 uid)
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
1924
u16 obj_type = 0;
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
1970
sizeof(u16));
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
206
u16 opcode = MLX5_GET(general_obj_in_cmd_hdr, devx_obj->dinbox, opcode);
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
228
u16 opcode = MLX5_GET(general_obj_in_cmd_hdr, devx_obj->dinbox, opcode);
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
2356
u16 obj_type = 0;
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
245
static bool is_legacy_unaffiliated_event_num(u16 event_num)
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
255
static bool is_legacy_obj_event_num(u16 event_num)
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
279
static u16 get_legacy_obj_type(u16 opcode)
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
2822
u16, UA_MANDATORY),
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
2842
UVERBS_ATTR_MIN_SIZE(sizeof(u16)),
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
295
static u16 get_dec_obj_type(struct devx_obj *obj, u16 event_num)
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
297
u16 opcode;
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
340
static u16 get_event_obj_type(unsigned long event_type, struct mlx5_eqe *eqe)
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
382
u16 opcode = MLX5_GET(general_obj_in_cmd_hdr, in, opcode);
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
620
u16 opcode;
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
65
u16 cmd_out_len;
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
691
u16 opcode = MLX5_GET(general_obj_in_cmd_hdr, in, opcode);
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
780
static bool devx_is_obj_create_cmd(const void *in, u16 *opcode)
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
815
u16 op_mod = MLX5_GET(set_fte_in, in, op_mod);
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
835
u16 opcode = MLX5_GET(general_obj_in_cmd_hdr, in, opcode);
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
867
u16 op_mod = MLX5_GET(set_fte_in, in, op_mod);
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
880
u16 opcode = MLX5_GET(general_obj_in_cmd_hdr, in, opcode);
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
916
u16 opcode = MLX5_GET(general_obj_in_cmd_hdr, in, opcode);
sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
945
u16 opcode = MLX5_GET(general_obj_in_cmd_hdr, in, opcode);
sys/dev/mlx5/mlx5_ib/mlx5_ib_gsi.c
269
u16 qp_index)
sys/dev/mlx5/mlx5_ib/mlx5_ib_gsi.c
308
static void setup_qp(struct mlx5_ib_gsi_qp *gsi, u16 qp_index)
sys/dev/mlx5/mlx5_ib/mlx5_ib_gsi.c
314
u16 pkey;
sys/dev/mlx5/mlx5_ib/mlx5_ib_gsi.c
363
u16 qp_index;
sys/dev/mlx5/mlx5_ib/mlx5_ib_mad.c
236
u16 *out_mad_pkey_index)
sys/dev/mlx5/mlx5_ib/mlx5_ib_mad.c
264
u16 packet_error;
sys/dev/mlx5/mlx5_ib/mlx5_ib_mad.c
331
u16 *max_pkeys)
sys/dev/mlx5/mlx5_ib/mlx5_ib_mad.c
424
int mlx5_query_mad_ifc_pkey(struct ib_device *ibdev, u8 port, u16 index,
sys/dev/mlx5/mlx5_ib/mlx5_ib_mad.c
425
u16 *pkey)
sys/dev/mlx5/mlx5_ib/mlx5_ib_mad.c
61
u16 slid;
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
1034
static int mlx5_ib_query_pkey(struct ib_device *ibdev, u8 port, u16 index,
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
1035
u16 *pkey)
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
1120
static u16 calc_dynamic_bfregs(int uars_per_sys_page)
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
1209
u16 uid)
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
1239
u16 uid)
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
1747
u16 uid = context ? context->devx_uid : 0;
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
2493
static int mlx5_ib_mcg_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
2506
static int mlx5_ib_mcg_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
292
u16 qkey_viol_cntr;
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
358
u16 vlan_id;
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
554
u16 *max_pkeys)
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
2100
u16 xrcdn = 0;
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
2681
static const u16 optab[MLX5_QP_NUM_STATE][MLX5_QP_NUM_STATE] = {
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
2729
u16 op;
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
3447
static u16 prot_field_size(enum ib_signature_type type)
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
3605
u16 block_size = sig_attrs->mem.sig.dif.pi_interval;
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
779
u16 uid;
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
80
u16 operation;
sys/dev/mlx5/mlx5_lib/mlx5_aso.c
25
u16 cc;
sys/dev/mlx5/mlx5_lib/mlx5_aso.c
26
u16 pc;
sys/dev/mlx5/mlx5_lib/mlx5_aso.c
355
u16 pi;
sys/dev/mlx5/mlx5_lib/mlx5_gid.c
123
const u8 *mac, bool vlan, u16 vlan_id)
sys/dev/mlx5/mpfs.h
31
u8 vlan_valid, u16 bbvlan);
sys/dev/mlx5/qp.h
437
u16 rsvd;
sys/dev/mlx5/qp.h
461
u16 wqe_index;
sys/dev/mlx5/qp.h
483
u16 uid;
sys/dev/mlx5/qp.h
589
int mlx5_core_qp_modify(struct mlx5_core_dev *dev, u16 opcode,
sys/dev/mlx5/srq.h
52
u16 uid;
sys/dev/mlx5/vport.h
105
u16 vport,
sys/dev/mlx5/vport.h
110
u16 vport,
sys/dev/mlx5/vport.h
111
u16 vlans[],
sys/dev/mlx5/vport.h
114
u16 vlans[],
sys/dev/mlx5/vport.h
137
u16 *qkey_viol_cntr);
sys/dev/mlx5/vport.h
145
u8 port_num, u16 vf_num, u16 pkey_index,
sys/dev/mlx5/vport.h
146
u16 *pkey);
sys/dev/mlx5/vport.h
148
u16 vport_num, u16 gid_index, union ib_gid *gid);
sys/dev/mlx5/vport.h
151
u16 vlan, u8 cfi, u8 pcp);
sys/dev/mlx5/vport.h
153
u8 port_num, u16 vport_num,
sys/dev/mlx5/vport.h
38
u16 *counter_set_id);
sys/dev/mlx5/vport.h
40
u16 counter_set_id);
sys/dev/mlx5/vport.h
42
u16 counter_set_id,
sys/dev/mlx5/vport.h
47
u16 counter_set_id,
sys/dev/mlx5/vport.h
61
u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport);
sys/dev/mlx5/vport.h
63
u16 vport);
sys/dev/mlx5/vport.h
65
u16 vport, u8 state);
sys/dev/mlx5/vport.h
73
u16 vport,
sys/dev/mlx5/vport.h
83
u16 vport, u8 *addr);
sys/dev/mlx5/vport.h
85
u16 vport, u8 *addr);
sys/dev/mlx5/vport.h
89
u16 vport, u8 *min_inline);
sys/dev/mlx5/vport.h
92
u16 vport, u8 min_inline);
sys/dev/mlx5/vport.h
97
int mlx5_set_nic_vport_vlan_list(struct mlx5_core_dev *dev, u16 vport,
sys/dev/mlx5/vport.h
98
u16 *vlan_list, int list_len);
sys/dev/mlxfw/mlxfw.h
68
int (*component_query)(struct mlxfw_dev *mlxfw_dev, u16 component_index,
sys/dev/mlxfw/mlxfw.h
70
u16 *p_max_write_size);
sys/dev/mlxfw/mlxfw.h
75
u16 component_index, u32 component_size);
sys/dev/mlxfw/mlxfw.h
78
u8 *data, u16 size, u32 offset);
sys/dev/mlxfw/mlxfw.h
81
u16 component_index);
sys/dev/mlxfw/mlxfw.h
97
u16 psid_size;
sys/dev/mlxfw/mlxfw_fsm.c
109
u16 comp_max_write_size;
sys/dev/mlxfw/mlxfw_fsm.c
112
u16 block_size;
sys/dev/mlxfw/mlxfw_fsm.c
150
block_size = (u16) min_t(u32, comp->data_size - offset,
sys/dev/mlxfw/mlxfw_mfa2.c
127
u16 idx;
sys/dev/mlxfw/mlxfw_mfa2.c
142
u16 dev_idx)
sys/dev/mlxfw/mlxfw_mfa2.c
148
u16 cptr_count;
sys/dev/mlxfw/mlxfw_mfa2.c
149
u16 cptr_idx;
sys/dev/mlxfw/mlxfw_mfa2.c
215
u16 comp_idx)
sys/dev/mlxfw/mlxfw_mfa2.c
256
u16 idx;
sys/dev/mlxfw/mlxfw_mfa2.c
359
const char *psid, u16 psid_size)
sys/dev/mlxfw/mlxfw_mfa2.c
401
u16 count;
sys/dev/mlxfw/mlxfw_mfa2.c
500
u16 comp_index)
sys/dev/mlxfw/mlxfw_mfa2.c
538
u16 comp_idx;
sys/dev/mlxfw/mlxfw_mfa2.h
38
u16 index;
sys/dev/mlxfw/mlxfw_mfa2_file.h
41
u16 dev_count;
sys/dev/mlxfw/mlxfw_mfa2_file.h
43
u16 component_count;
sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.c
107
u16 *p_count)
sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.c
110
u16 count = 0;
sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.c
111
u16 idx;
sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.c
54
u16 tlv_len;
sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.c
72
const struct mlxfw_mfa2_tlv *from_tlv, u16 count)
sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.c
75
u16 idx;
sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.c
86
enum mlxfw_mfa2_tlv_type type, u16 index)
sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.c
89
u16 skip = 0;
sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.c
90
u16 idx;
sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.h
49
const struct mlxfw_mfa2_tlv *from_tlv, u16 count);
sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.h
54
enum mlxfw_mfa2_tlv_type type, u16 index);
sys/dev/mlxfw/mlxfw_mfa2_tlv_multi.h
59
u16 *p_count);
sys/dev/mpr/mpr.c
2473
u16 sc_status;
sys/dev/mpr/mpr_config.c
1074
*mpi_reply, Mpi26PCIeDevicePage2_t *config_page, u32 form, u16 handle)
sys/dev/mpr/mpr_config.c
1081
u16 ioc_status;
sys/dev/mpr/mpr_config.c
1216
u16 ioc_status;
sys/dev/mpr/mpr_config.c
1348
u16 ioc_status;
sys/dev/mpr/mpr_config.c
1472
*mpi_reply, Mpi2RaidVolPage1_t *config_page, u32 form, u16 handle)
sys/dev/mpr/mpr_config.c
1479
u16 ioc_status;
sys/dev/mpr/mpr_config.c
1604
mpr_config_get_volume_wwid(struct mpr_softc *sc, u16 volume_handle, u64 *wwid)
sys/dev/mpr/mpr_config.c
1638
u16 ioc_status;
sys/dev/mpr/mpr_config.c
209
u16 ioc_status;
sys/dev/mpr/mpr_config.c
342
u16 ioc_status;
sys/dev/mpr/mpr_config.c
523
Mpi2DriverMappingPage0_t *config_page, u16 sz)
sys/dev/mpr/mpr_config.c
530
u16 ioc_status;
sys/dev/mpr/mpr_config.c
661
Mpi2DriverMappingPage0_t *config_page, u16 entry_idx)
sys/dev/mpr/mpr_config.c
668
u16 ioc_status;
sys/dev/mpr/mpr_config.c
77
u16 ioc_status;
sys/dev/mpr/mpr_config.c
800
*mpi_reply, Mpi2SasDevicePage0_t *config_page, u32 form, u16 handle)
sys/dev/mpr/mpr_config.c
807
u16 ioc_status;
sys/dev/mpr/mpr_config.c
937
*mpi_reply, Mpi26PCIeDevicePage0_t *config_page, u32 form, u16 handle)
sys/dev/mpr/mpr_config.c
944
u16 ioc_status;
sys/dev/mpr/mpr_mapping.c
1144
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_mapping.c
1322
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_mapping.c
1470
u16 slots = et_entry->num_slots, map_idx;
sys/dev/mpr/mpr_mapping.c
1498
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_mapping.c
1581
u16 dpm_idx;
sys/dev/mpr/mpr_mapping.c
1587
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_mapping.c
1592
u16 max_num_phy_ids = le16toh(sc->ioc_pg8.MaxNumPhysicalMappedIDs);
sys/dev/mpr/mpr_mapping.c
1838
u16 dpm_idx;
sys/dev/mpr/mpr_mapping.c
1844
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_mapping.c
1849
u16 max_num_phy_ids = le16toh(sc->ioc_pg8.MaxNumPhysicalMappedIDs);
sys/dev/mpr/mpr_mapping.c
2094
u16 entry_num;
sys/dev/mpr/mpr_mapping.c
2213
u16 slot_id, entry_num, num_slots;
sys/dev/mpr/mpr_mapping.c
2217
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_mapping.c
2218
u16 max_num_phy_ids = le16toh(sc->ioc_pg8.MaxNumPhysicalMappedIDs);
sys/dev/mpr/mpr_mapping.c
2409
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_mapping.c
245
u16 volume_mapping_flags;
sys/dev/mpr/mpr_mapping.c
246
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_mapping.c
2668
mpr_mapping_get_tid(struct mpr_softc *sc, uint64_t sas_address, u16 handle)
sys/dev/mpr/mpr_mapping.c
2693
mpr_mapping_get_tid_from_handle(struct mpr_softc *sc, u16 handle)
sys/dev/mpr/mpr_mapping.c
2707
mpr_mapping_get_raid_tid(struct mpr_softc *sc, u64 wwid, u16 volHandle)
sys/dev/mpr/mpr_mapping.c
2733
mpr_mapping_get_raid_tid_from_handle(struct mpr_softc *sc, u16 volHandle)
sys/dev/mpr/mpr_mapping.c
2752
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_mapping.c
2787
u16 new_num_slots;
sys/dev/mpr/mpr_mapping.c
291
_mapping_get_enc_idx_from_handle(struct mpr_softc *sc, u16 handle)
sys/dev/mpr/mpr_mapping.c
3036
u16 element_flags;
sys/dev/mpr/mpr_mapping.c
349
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_mapping.c
425
_mapping_get_ir_mt_idx_from_handle(struct mpr_softc *sc, u16 volHandle)
sys/dev/mpr/mpr_mapping.c
447
_mapping_get_mt_idx_from_handle(struct mpr_softc *sc, u16 handle)
sys/dev/mpr/mpr_mapping.c
517
u16 volume_mapping_flags;
sys/dev/mpr/mpr_mapping.c
540
static u16
sys/dev/mpr/mpr_mapping.c
543
u16 entry_num;
sys/dev/mpr/mpr_mapping.c
571
u16 entry_num;
sys/dev/mpr/mpr_mapping.c
573
u16 current_entry = MPR_DPM_BAD_IDX, missing_cnt, high_missing_cnt = 0;
sys/dev/mpr/mpr_mapping.c
651
u16 dpm_idx;
sys/dev/mpr/mpr_mapping.c
757
_mapping_add_to_removal_table(struct mpr_softc *sc, u16 dpm_idx)
sys/dev/mpr/mpr_mapping.c
804
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_mapping.c
919
u16 vol_mapping_flags;
sys/dev/mpr/mpr_mapping.c
921
u16 num_found;
sys/dev/mpr/mpr_mapping.c
926
u16 max_num_phy_ids = le16toh(sc->ioc_pg8.MaxNumPhysicalMappedIDs);
sys/dev/mpr/mpr_mapping.h
119
u64 *sas_address, u16 handle, u32 device_info, u8 *is_SATA_SSD);
sys/dev/mpr/mpr_sas.c
2170
u16 ioc_status = le16toh(mpi_reply->IOCStatus) &
sys/dev/mpr/mpr_sas.c
2428
u16 alloc_len;
sys/dev/mpr/mpr_sas.c
2697
alloc_len = ((u16)scsi_cdb[3] << 8) + scsi_cdb[4];
sys/dev/mpr/mpr_sas_lsi.c
1037
u64 *sas_address, u16 handle, u32 device_info, u8 *is_SATA_SSD)
sys/dev/mpr/mpr_sas_lsi.c
105
u16 reserved1[10]; /* 0-9 */
sys/dev/mpr/mpr_sas_lsi.c
106
u16 serial_number[10]; /* 10-19 */
sys/dev/mpr/mpr_sas_lsi.c
107
u16 reserved2[7]; /* 20-26 */
sys/dev/mpr/mpr_sas_lsi.c
108
u16 model_number[20]; /* 27-46*/
sys/dev/mpr/mpr_sas_lsi.c
109
u16 reserved3[170]; /* 47-216 */
sys/dev/mpr/mpr_sas_lsi.c
110
u16 rotational_speed; /* 217 */
sys/dev/mpr/mpr_sas_lsi.c
111
u16 reserved4[38]; /* 218-255 */
sys/dev/mpr/mpr_sas_lsi.c
1131
mprsas_get_sata_identify(struct mpr_softc *sc, u16 handle,
sys/dev/mpr/mpr_sas_lsi.c
118
static int mprsas_add_device(struct mpr_softc *sc, u16 handle, u8 linkrate);
sys/dev/mpr/mpr_sas_lsi.c
119
static int mprsas_add_pcie_device(struct mpr_softc *sc, u16 handle,
sys/dev/mpr/mpr_sas_lsi.c
121
static int mprsas_get_sata_identify(struct mpr_softc *sc, u16 handle,
sys/dev/mpr/mpr_sas_lsi.c
1255
mprsas_add_pcie_device(struct mpr_softc *sc, u16 handle, u8 linkrate)
sys/dev/mpr/mpr_sas_lsi.c
127
u64 *sas_address, u16 handle, u32 device_info, u8 *is_SATA_SSD);
sys/dev/mpr/mpr_sas_lsi.c
129
u16 handle);
sys/dev/mpr/mpr_sas_lsi.c
139
u16 sz;
sys/dev/mpr/mpr_sas_lsi.c
1391
mprsas_volume_add(struct mpr_softc *sc, u16 handle)
sys/dev/mpr/mpr_sas_lsi.c
1590
u16 volume_mapping_flags;
sys/dev/mpr/mpr_sas_lsi.c
1591
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mpr/mpr_sas_lsi.c
279
u16 elementType;
sys/dev/mpr/mpr_sas_lsi.c
816
mprsas_add_device(struct mpr_softc *sc, u16 handle, u8 linkrate)
sys/dev/mpr/mpr_sas_lsi.c
88
u16 event;
sys/dev/mpr/mprvar.h
151
u16 dpm_entry_num;
sys/dev/mpr/mprvar.h
152
u16 dev_handle;
sys/dev/mpr/mprvar.h
153
u16 reserved1;
sys/dev/mpr/mprvar.h
154
u16 id;
sys/dev/mpr/mprvar.h
179
u16 dpm_entry_num;
sys/dev/mpr/mprvar.h
180
u16 enc_handle;
sys/dev/mpr/mprvar.h
181
u16 num_slots;
sys/dev/mpr/mprvar.h
182
u16 start_slot;
sys/dev/mpr/mprvar.h
195
u16 dpm_entry_num;
sys/dev/mpr/mprvar.h
196
u16 dev_handle;
sys/dev/mpr/mprvar.h
859
Mpi2SasDevicePage0_t *, u32 , u16 );
sys/dev/mpr/mprvar.h
861
*mpi_reply, Mpi26PCIeDevicePage0_t *config_page, u32 form, u16 handle);
sys/dev/mpr/mprvar.h
863
*mpi_reply, Mpi26PCIeDevicePage2_t *config_page, u32 form, u16 handle);
sys/dev/mpr/mprvar.h
865
Mpi2DriverMappingPage0_t *, u16 );
sys/dev/mpr/mprvar.h
868
u16 handle);
sys/dev/mpr/mprvar.h
869
int mpr_config_get_volume_wwid(struct mpr_softc *sc, u16 volume_handle,
sys/dev/mpr/mprvar.h
890
Mpi2DriverMappingPage0_t *, u16 );
sys/dev/mpr/mprvar.h
894
unsigned int mpr_mapping_get_tid(struct mpr_softc *, uint64_t , u16);
sys/dev/mpr/mprvar.h
896
u16 handle);
sys/dev/mpr/mprvar.h
898
u16 volHandle);
sys/dev/mpr/mprvar.h
900
u16 volHandle);
sys/dev/mps/mps.c
2315
u16 sc_status;
sys/dev/mps/mps_config.c
1114
u16 ioc_status;
sys/dev/mps/mps_config.c
1238
*mpi_reply, Mpi2RaidVolPage1_t *config_page, u32 form, u16 handle)
sys/dev/mps/mps_config.c
1245
u16 ioc_status;
sys/dev/mps/mps_config.c
1370
mps_config_get_volume_wwid(struct mps_softc *sc, u16 volume_handle, u64 *wwid)
sys/dev/mps/mps_config.c
1404
u16 ioc_status;
sys/dev/mps/mps_config.c
210
u16 ioc_status;
sys/dev/mps/mps_config.c
562
Mpi2DriverMappingPage0_t *config_page, u16 sz)
sys/dev/mps/mps_config.c
569
u16 ioc_status;
sys/dev/mps/mps_config.c
700
Mpi2DriverMappingPage0_t *config_page, u16 entry_idx)
sys/dev/mps/mps_config.c
707
u16 ioc_status;
sys/dev/mps/mps_config.c
77
u16 ioc_status;
sys/dev/mps/mps_config.c
840
*mpi_reply, Mpi2SasDevicePage0_t *config_page, u32 form, u16 handle)
sys/dev/mps/mps_config.c
847
u16 ioc_status;
sys/dev/mps/mps_config.c
982
u16 ioc_status;
sys/dev/mps/mps_mapping.c
1106
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mps/mps_mapping.c
1280
u16 slots = et_entry->num_slots, map_idx;
sys/dev/mps/mps_mapping.c
1308
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mps/mps_mapping.c
1391
u16 dpm_idx;
sys/dev/mps/mps_mapping.c
1397
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mps/mps_mapping.c
1402
u16 max_num_phy_ids = le16toh(sc->ioc_pg8.MaxNumPhysicalMappedIDs);
sys/dev/mps/mps_mapping.c
1645
u16 entry_num;
sys/dev/mps/mps_mapping.c
1764
u16 slot_id, entry_num, num_slots;
sys/dev/mps/mps_mapping.c
1768
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mps/mps_mapping.c
1769
u16 max_num_phy_ids = le16toh(sc->ioc_pg8.MaxNumPhysicalMappedIDs);
sys/dev/mps/mps_mapping.c
1940
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mps/mps_mapping.c
2198
mps_mapping_get_tid(struct mps_softc *sc, uint64_t sas_address, u16 handle)
sys/dev/mps/mps_mapping.c
2223
mps_mapping_get_tid_from_handle(struct mps_softc *sc, u16 handle)
sys/dev/mps/mps_mapping.c
2237
mps_mapping_get_raid_tid(struct mps_softc *sc, u64 wwid, u16 volHandle)
sys/dev/mps/mps_mapping.c
2263
mps_mapping_get_raid_tid_from_handle(struct mps_softc *sc, u16 volHandle)
sys/dev/mps/mps_mapping.c
2282
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mps/mps_mapping.c
246
u16 volume_mapping_flags;
sys/dev/mps/mps_mapping.c
247
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mps/mps_mapping.c
2498
u16 element_flags;
sys/dev/mps/mps_mapping.c
292
_mapping_get_enc_idx_from_handle(struct mps_softc *sc, u16 handle)
sys/dev/mps/mps_mapping.c
350
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mps/mps_mapping.c
426
_mapping_get_ir_mt_idx_from_handle(struct mps_softc *sc, u16 volHandle)
sys/dev/mps/mps_mapping.c
448
_mapping_get_mt_idx_from_handle(struct mps_softc *sc, u16 handle)
sys/dev/mps/mps_mapping.c
519
u16 volume_mapping_flags;
sys/dev/mps/mps_mapping.c
542
static u16
sys/dev/mps/mps_mapping.c
545
u16 entry_num;
sys/dev/mps/mps_mapping.c
573
u16 entry_num;
sys/dev/mps/mps_mapping.c
575
u16 current_entry = MPS_DPM_BAD_IDX, missing_cnt, high_missing_cnt = 0;
sys/dev/mps/mps_mapping.c
653
u16 dpm_idx;
sys/dev/mps/mps_mapping.c
760
_mapping_add_to_removal_table(struct mps_softc *sc, u16 dpm_idx)
sys/dev/mps/mps_mapping.c
809
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mps/mps_mapping.c
881
u16 vol_mapping_flags;
sys/dev/mps/mps_mapping.c
883
u16 num_found;
sys/dev/mps/mps_mapping.c
888
u16 max_num_phy_ids = le16toh(sc->ioc_pg8.MaxNumPhysicalMappedIDs);
sys/dev/mps/mps_mapping.h
72
u64 *sas_address, u16 handle, u32 device_info, u8 *is_SATA_SSD);
sys/dev/mps/mps_sas.c
1913
u16 ioc_status = le16toh(mpi_reply->IOCStatus) &
sys/dev/mps/mps_sas.c
1967
u16 alloc_len;
sys/dev/mps/mps_sas.c
2243
alloc_len = ((u16)csio->cdb_io.cdb_bytes[3] << 8) +
sys/dev/mps/mps_sas_lsi.c
1029
mpssas_volume_add(struct mps_softc *sc, u16 handle)
sys/dev/mps/mps_sas_lsi.c
105
u16 reserved1[10]; /* 0-9 */
sys/dev/mps/mps_sas_lsi.c
106
u16 serial_number[10]; /* 10-19 */
sys/dev/mps/mps_sas_lsi.c
107
u16 reserved2[7]; /* 20-26 */
sys/dev/mps/mps_sas_lsi.c
108
u16 model_number[20]; /* 27-46*/
sys/dev/mps/mps_sas_lsi.c
109
u16 reserved3[170]; /* 47-216 */
sys/dev/mps/mps_sas_lsi.c
110
u16 rotational_speed; /* 217 */
sys/dev/mps/mps_sas_lsi.c
111
u16 reserved4[38]; /* 218-255 */
sys/dev/mps/mps_sas_lsi.c
118
static int mpssas_add_device(struct mps_softc *sc, u16 handle, u8 linkrate);
sys/dev/mps/mps_sas_lsi.c
119
static int mpssas_get_sata_identify(struct mps_softc *sc, u16 handle,
sys/dev/mps/mps_sas_lsi.c
1225
u16 volume_mapping_flags;
sys/dev/mps/mps_sas_lsi.c
1226
u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
sys/dev/mps/mps_sas_lsi.c
125
u64 *sas_address, u16 handle, u32 device_info, u8 *is_SATA_SSD);
sys/dev/mps/mps_sas_lsi.c
127
u16 handle);
sys/dev/mps/mps_sas_lsi.c
137
u16 sz;
sys/dev/mps/mps_sas_lsi.c
611
mpssas_add_device(struct mps_softc *sc, u16 handle, u8 linkrate){
sys/dev/mps/mps_sas_lsi.c
812
u64 *sas_address, u16 handle, u32 device_info, u8 *is_SATA_SSD)
sys/dev/mps/mps_sas_lsi.c
88
u16 event;
sys/dev/mps/mps_sas_lsi.c
906
mpssas_get_sata_identify(struct mps_softc *sc, u16 handle,
sys/dev/mps/mpsvar.h
123
u16 dpm_entry_num;
sys/dev/mps/mpsvar.h
124
u16 dev_handle;
sys/dev/mps/mpsvar.h
125
u16 reserved1;
sys/dev/mps/mpsvar.h
126
u16 id;
sys/dev/mps/mpsvar.h
151
u16 dpm_entry_num;
sys/dev/mps/mpsvar.h
152
u16 enc_handle;
sys/dev/mps/mpsvar.h
153
u16 num_slots;
sys/dev/mps/mpsvar.h
154
u16 start_slot;
sys/dev/mps/mpsvar.h
167
u16 dpm_entry_num;
sys/dev/mps/mpsvar.h
168
u16 dev_handle;
sys/dev/mps/mpsvar.h
775
Mpi2SasDevicePage0_t *, u32 , u16 );
sys/dev/mps/mpsvar.h
777
Mpi2DriverMappingPage0_t *, u16 );
sys/dev/mps/mpsvar.h
780
u16 handle);
sys/dev/mps/mpsvar.h
781
int mps_config_get_volume_wwid(struct mps_softc *sc, u16 volume_handle,
sys/dev/mps/mpsvar.h
799
Mpi2DriverMappingPage0_t *, u16 );
sys/dev/mps/mpsvar.h
803
unsigned int mps_mapping_get_tid(struct mps_softc *, uint64_t , u16);
sys/dev/mps/mpsvar.h
805
u16 handle);
sys/dev/mps/mpsvar.h
807
u16 volHandle);
sys/dev/mps/mpsvar.h
809
u16 volHandle);
sys/dev/mthca/mthca_cmd.c
1734
static const u16 op[IB_QPS_ERR + 1][IB_QPS_ERR + 1] = {
sys/dev/mthca/mthca_cmd.c
182
u16 token;
sys/dev/mthca/mthca_cmd.c
1959
u16 *hash)
sys/dev/mthca/mthca_cmd.c
202
u16 op,
sys/dev/mthca/mthca_cmd.c
203
u16 token)
sys/dev/mthca/mthca_cmd.c
206
u16 *offs = dev->cmd.dbell_offsets;
sys/dev/mthca/mthca_cmd.c
234
u16 op,
sys/dev/mthca/mthca_cmd.c
235
u16 token,
sys/dev/mthca/mthca_cmd.c
279
u16 op,
sys/dev/mthca/mthca_cmd.c
280
u16 token,
sys/dev/mthca/mthca_cmd.c
340
u16 op,
sys/dev/mthca/mthca_cmd.c
387
u16 token,
sys/dev/mthca/mthca_cmd.c
411
u16 op,
sys/dev/mthca/mthca_cmd.c
469
u16 op,
sys/dev/mthca/mthca_cmd.c
487
u16 op,
sys/dev/mthca/mthca_cmd.c
504
u16 op,
sys/dev/mthca/mthca_cmd.c
652
static int mthca_map_cmd(struct mthca_dev *dev, u16 op, struct mthca_icm *icm,
sys/dev/mthca/mthca_cmd.c
753
u16 max_off = 0;
sys/dev/mthca/mthca_cmd.c
995
u16 size;
sys/dev/mthca/mthca_cmd.c
996
u16 stat_rate;
sys/dev/mthca/mthca_cmd.h
148
u16 stat_rate_support;
sys/dev/mthca/mthca_cmd.h
209
u16 log_mc_entry_sz;
sys/dev/mthca/mthca_cmd.h
210
u16 mc_hash_sz;
sys/dev/mthca/mthca_cmd.h
227
u16 gid_cap;
sys/dev/mthca/mthca_cmd.h
228
u16 pkey_cap;
sys/dev/mthca/mthca_cmd.h
248
void mthca_cmd_event(struct mthca_dev *dev, u16 token,
sys/dev/mthca/mthca_cmd.h
322
u16 *hash);
sys/dev/mthca/mthca_cq.c
496
u16 checksum;
sys/dev/mthca/mthca_dev.h
131
u16 token_mask;
sys/dev/mthca/mthca_dev.h
134
u16 dbell_offsets[MTHCA_CMD_NUM_DBELL_DWORDS];
sys/dev/mthca/mthca_dev.h
176
u16 stat_rate_support;
sys/dev/mthca/mthca_dev.h
315
u16 fw_pages;
sys/dev/mthca/mthca_dev.h
578
int mthca_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
sys/dev/mthca/mthca_dev.h
579
int mthca_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
sys/dev/mthca/mthca_dev.h
588
u16 *out_mad_pkey_index);
sys/dev/mthca/mthca_eq.c
135
u16 reserved1;
sys/dev/mthca/mthca_mad.c
108
u16 prev_lid)
sys/dev/mthca/mthca_mad.c
118
u16 lid = be16_to_cpu(pinfo->lid);
sys/dev/mthca/mthca_mad.c
204
u16 *out_mad_pkey_index)
sys/dev/mthca/mthca_mad.c
207
u16 slid = in_wc ? in_wc->slid : be16_to_cpu(IB_LID_PERMISSIVE);
sys/dev/mthca/mthca_mad.c
208
u16 prev_lid = 0;
sys/dev/mthca/mthca_mad.c
75
u8 port_num, u16 lid, u8 sl)
sys/dev/mthca/mthca_mcg.c
120
int mthca_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
sys/dev/mthca/mthca_mcg.c
125
u16 hash;
sys/dev/mthca/mthca_mcg.c
214
int mthca_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid)
sys/dev/mthca/mthca_mcg.c
219
u16 hash;
sys/dev/mthca/mthca_mcg.c
65
u16 *hash, int *prev, int *index)
sys/dev/mthca/mthca_provider.c
234
u8 port, u16 index, u16 *pkey)
sys/dev/mthca/mthca_provider.h
112
u16 msi_x_vector;
sys/dev/mthca/mthca_provider.h
113
u16 msi_x_entry;
sys/dev/mthca/mthca_provider.h
234
u16 counter; /* Arbel only */
sys/dev/mthca/mthca_qp.c
1491
u16 pkey;
sys/dev/mthca/mthca_reset.c
56
u16 devctl;
sys/dev/mthca/mthca_reset.c
57
u16 linkctl;
sys/dev/mthca/mthca_srq.c
69
u16 reserved1;
sys/dev/qat/include/common/adf_accel_devices.h
379
u16 *ring_to_svc_map);
sys/dev/qat/include/common/adf_accel_devices.h
421
u16 ring_mask);
sys/dev/qat/include/common/adf_accel_devices.h
429
u16 ring_to_svc_map,
sys/dev/qat/include/common/adf_accel_devices.h
464
u16 asym_rings_mask;
sys/dev/qat/include/common/adf_accel_devices.h
467
u16 ring_to_svc_map;
sys/dev/qat/include/common/adf_cfg.h
35
u16 num_user_processes;
sys/dev/qat/include/common/adf_cfg.h
79
u16 *ring_to_svc_map);
sys/dev/qat/include/common/adf_cfg_common.h
133
u16 total_num_inst;
sys/dev/qat/include/common/adf_cfg_common.h
163
u16 in_use;
sys/dev/qat/include/common/adf_cfg_common.h
164
u16 max_cfg_svc_num;
sys/dev/qat/include/common/adf_pfvf_msg.h
260
u16 map;
sys/dev/qat/include/common/adf_uio_control.h
19
u16 rings_used;
sys/dev/qat/include/common/adf_uio_control.h
9
u16 ring_mask;
sys/dev/qat/include/icp_qat_fw_init_admin.h
131
u16 version_minor_num;
sys/dev/qat/include/icp_qat_fw_init_admin.h
132
u16 version_major_num;
sys/dev/qat/include/icp_qat_fw_init_admin.h
138
u16 error_count;
sys/dev/qat/include/icp_qat_fw_init_admin.h
139
u16 latest_error;
sys/dev/qat/include/icp_qat_fw_init_admin.h
150
u16 resrvd4;
sys/dev/qat/include/icp_qat_fw_init_admin.h
155
u16 compression_algos;
sys/dev/qat/include/icp_qat_fw_init_admin.h
156
u16 checksum_algos;
sys/dev/qat/include/icp_qat_fw_init_admin.h
165
u16 keygen_algos;
sys/dev/qat/include/icp_qat_fw_init_admin.h
166
u16 other;
sys/dev/qat/include/icp_qat_fw_init_admin.h
167
u16 public_key_algos;
sys/dev/qat/include/icp_qat_fw_init_admin.h
168
u16 prime_algos;
sys/dev/qat/include/icp_qat_fw_init_admin.h
175
u16 resrvd9;
sys/dev/qat/include/icp_qat_fw_init_admin.h
201
u16 req_heartbeat_cnt;
sys/dev/qat/include/icp_qat_fw_init_admin.h
202
u16 resp_heartbeat_cnt;
sys/dev/qat/include/icp_qat_fw_init_admin.h
63
u16 init_cfg_sz;
sys/dev/qat/include/icp_qat_fw_init_admin.h
73
u16 ibuf_size_in_kb;
sys/dev/qat/qat_common/adf_cfg_bundle.c
164
u16 ring_to_svc_map = GET_HW_DATA(accel_dev)->ring_to_svc_map;
sys/dev/qat/qat_common/adf_cfg_device.c
288
u16 *ring_to_svc_map)
sys/dev/qat/qat_common/adf_cfg_device.c
336
u16 ena_srv_mask;
sys/dev/qat/qat_common/adf_cfg_device.c
337
u16 service_type;
sys/dev/qat/qat_common/adf_cfg_device.c
338
u16 asym_mask = 0;
sys/dev/qat/qat_common/adf_cfg_device.c
373
u16 ena_srv_mask = GET_HW_DATA(accel_dev)->ring_to_svc_map;
sys/dev/qat/qat_common/adf_cfg_device.c
68
u16 rng_to_svc_msk;
sys/dev/qat/qat_common/adf_freebsd_uio_cleanup.c
122
u16 ring_mask = 0;
sys/dev/qat/qat_common/adf_heartbeat.c
116
u16 *count_s;
sys/dev/qat/qat_common/adf_heartbeat.c
140
count_s = (u16 *)(last_s + (max_aes * hb_ctrs));
sys/dev/qat/qat_common/adf_heartbeat.c
153
u16 *count = count_s + ae * hb_ctrs;
sys/dev/qat/qat_common/adf_heartbeat.c
156
u16 req = curr[thr].req_heartbeat_cnt;
sys/dev/qat/qat_common/adf_heartbeat.c
157
u16 resp = curr[thr].resp_heartbeat_cnt;
sys/dev/qat/qat_common/adf_heartbeat.c
158
u16 last = prev[thr].resp_heartbeat_cnt;
sys/dev/qat/qat_common/adf_heartbeat.c
162
u16 retry = ++count[thr];
sys/dev/qat/qat_hw/qat_4xxx/adf_4xxx_hw_data.c
128
get_ring_to_svc_map(struct adf_accel_dev *accel_dev, u16 *ring_to_svc_map)
sys/dev/qat/qat_hw/qat_4xxx/adf_4xxx_hw_data.c
637
u16 ring_to_svc_map,
sys/dev/qat/qat_hw/qat_4xxx/adf_4xxx_hw_data.c
839
u16 ena_srv_mask;
sys/dev/qat/qat_hw/qat_4xxx/adf_4xxx_hw_data.c
840
u16 service_type;
sys/dev/qat/qat_hw/qat_4xxx/adf_4xxx_hw_data.c
86
u16 rng_to_svc_msk;
sys/dev/qat/qat_hw/qat_4xxxvf/adf_4xxxvf_hw_data.c
278
u16 ring_to_svc_map,
sys/dev/qat/qat_hw/qat_4xxxvf/adf_4xxxvf_hw_data.c
291
get_ring_to_svc_map(struct adf_accel_dev *accel_dev, u16 *ring_to_svc_map)
sys/dev/qat/qat_hw/qat_4xxxvf/adf_4xxxvf_hw_data.c
56
u16 rng_to_svc_msk;
sys/dev/qat/qat_hw/qat_c4xxx/adf_c4xxx_hw_data.c
117
u16 ae_thread[ADF_NUM_THREADS_PER_AE];
sys/dev/qat/qat_hw/qat_c4xxx/adf_c4xxx_res_part.c
21
u16 ring_to_svc_map = accel_dev->hw_device->ring_to_svc_map;
sys/dev/qlnx/qlnxe/ecore.h
1007
int ecore_configure_vport_wfq(struct ecore_dev *p_dev, u16 vp_id, u32 rate);
sys/dev/qlnx/qlnxe/ecore.h
1031
u16 ecore_get_cm_pq_idx(struct ecore_hwfn *p_hwfn, u32 pq_flags);
sys/dev/qlnx/qlnxe/ecore.h
1032
u16 ecore_get_cm_pq_idx_mcos(struct ecore_hwfn *p_hwfn, u8 tc);
sys/dev/qlnx/qlnxe/ecore.h
1033
u16 ecore_get_cm_pq_idx_vf(struct ecore_hwfn *p_hwfn, u16 vf);
sys/dev/qlnx/qlnxe/ecore.h
1034
u16 ecore_get_cm_pq_idx_rl(struct ecore_hwfn *p_hwfn, u8 qpid);
sys/dev/qlnx/qlnxe/ecore.h
1045
u16 ecore_init_qm_get_num_vfs(struct ecore_hwfn *p_hwfn);
sys/dev/qlnx/qlnxe/ecore.h
1046
u16 ecore_init_qm_get_num_pf_rls(struct ecore_hwfn *p_hwfn);
sys/dev/qlnx/qlnxe/ecore.h
1047
u16 ecore_init_qm_get_num_vports(struct ecore_hwfn *p_hwfn);
sys/dev/qlnx/qlnxe/ecore.h
1048
u16 ecore_init_qm_get_num_pqs(struct ecore_hwfn *p_hwfn);
sys/dev/qlnx/qlnxe/ecore.h
300
u16 port;
sys/dev/qlnx/qlnxe/ecore.h
477
u16 opaque_fid;
sys/dev/qlnx/qlnxe/ecore.h
478
u16 ovlan;
sys/dev/qlnx/qlnxe/ecore.h
486
u16 num_iscsi_conns;
sys/dev/qlnx/qlnxe/ecore.h
487
u16 num_fcoe_conns;
sys/dev/qlnx/qlnxe/ecore.h
502
u16 mtu;
sys/dev/qlnx/qlnxe/ecore.h
547
u16 start_pq;
sys/dev/qlnx/qlnxe/ecore.h
549
u16 pure_lb_pq;
sys/dev/qlnx/qlnxe/ecore.h
550
u16 offload_pq;
sys/dev/qlnx/qlnxe/ecore.h
551
u16 low_latency_pq;
sys/dev/qlnx/qlnxe/ecore.h
552
u16 pure_ack_pq;
sys/dev/qlnx/qlnxe/ecore.h
553
u16 ooo_pq;
sys/dev/qlnx/qlnxe/ecore.h
554
u16 first_vf_pq;
sys/dev/qlnx/qlnxe/ecore.h
555
u16 first_mcos_pq;
sys/dev/qlnx/qlnxe/ecore.h
556
u16 first_rl_pq;
sys/dev/qlnx/qlnxe/ecore.h
557
u16 num_pqs;
sys/dev/qlnx/qlnxe/ecore.h
558
u16 num_vf_pqs;
sys/dev/qlnx/qlnxe/ecore.h
752
u16 wid_count;
sys/dev/qlnx/qlnxe/ecore.h
812
u16 vendor_id;
sys/dev/qlnx/qlnxe/ecore.h
813
u16 device_id;
sys/dev/qlnx/qlnxe/ecore.h
819
u16 chip_num;
sys/dev/qlnx/qlnxe/ecore.h
888
u16 rx_coalesce_usecs;
sys/dev/qlnx/qlnxe/ecore.h
889
u16 tx_coalesce_usecs;
sys/dev/qlnx/qlnxe/ecore_chain.h
134
u16 elem_per_page;
sys/dev/qlnx/qlnxe/ecore_chain.h
135
u16 elem_per_page_mask;
sys/dev/qlnx/qlnxe/ecore_chain.h
136
u16 elem_size;
sys/dev/qlnx/qlnxe/ecore_chain.h
137
u16 next_page_mask;
sys/dev/qlnx/qlnxe/ecore_chain.h
138
u16 usable_per_page;
sys/dev/qlnx/qlnxe/ecore_chain.h
191
static OSAL_INLINE u16 ecore_chain_get_prod_idx(struct ecore_chain *p_chain)
sys/dev/qlnx/qlnxe/ecore_chain.h
205
static OSAL_INLINE u16 ecore_chain_get_cons_idx(struct ecore_chain *p_chain)
sys/dev/qlnx/qlnxe/ecore_chain.h
222
#define ECORE_U16_MAX ((u16)~0U)
sys/dev/qlnx/qlnxe/ecore_chain.h
225
static OSAL_INLINE u16 ecore_chain_get_elem_left(struct ecore_chain *p_chain)
sys/dev/qlnx/qlnxe/ecore_chain.h
227
u16 used;
sys/dev/qlnx/qlnxe/ecore_chain.h
231
used = (u16)(((u32)ECORE_U16_MAX + 1 +
sys/dev/qlnx/qlnxe/ecore_chain.h
240
return (u16)(p_chain->capacity - used);
sys/dev/qlnx/qlnxe/ecore_chain.h
282
u16 ecore_chain_get_elem_per_page(struct ecore_chain *p_chain)
sys/dev/qlnx/qlnxe/ecore_chain.h
289
u16 ecore_chain_get_usable_per_page(struct ecore_chain *p_chain)
sys/dev/qlnx/qlnxe/ecore_chain.h
340
*(u16 *)idx_to_inc += (u16)p_chain->elem_unusable;
sys/dev/qlnx/qlnxe/ecore_chain.h
342
*(u32 *)idx_to_inc += (u16)p_chain->elem_unusable;
sys/dev/qlnx/qlnxe/ecore_chain.h
349
if (++(*(u16 *)page_to_inc) == p_chain->page_cnt)
sys/dev/qlnx/qlnxe/ecore_chain.h
350
*(u16 *)page_to_inc = 0;
sys/dev/qlnx/qlnxe/ecore_chain.h
351
page_index = *(u16 *)page_to_inc;
sys/dev/qlnx/qlnxe/ecore_chain.h
398
p_chain->u.chain16.cons_idx += (u16)num;
sys/dev/qlnx/qlnxe/ecore_chain.h
572
p_chain->pbl.c.pbl_u16.prod_page_idx = (u16)reset_val;
sys/dev/qlnx/qlnxe/ecore_chain.h
573
p_chain->pbl.c.pbl_u16.cons_page_idx = (u16)reset_val;
sys/dev/qlnx/qlnxe/ecore_chain.h
69
u16 prod_page_idx;
sys/dev/qlnx/qlnxe/ecore_chain.h
70
u16 cons_page_idx;
sys/dev/qlnx/qlnxe/ecore_chain.h
773
p_chain->pbl.c.pbl_u16.prod_page_idx = (u16)page_idx;
sys/dev/qlnx/qlnxe/ecore_chain.h
779
p_chain->u.chain16.prod_idx = (u16)prod_idx;
sys/dev/qlnx/qlnxe/ecore_chain.h
804
p_chain->pbl.c.pbl_u16.cons_page_idx = (u16)page_idx;
sys/dev/qlnx/qlnxe/ecore_chain.h
810
p_chain->u.chain16.cons_idx = (u16)cons_idx;
sys/dev/qlnx/qlnxe/ecore_chain.h
86
u16 prod_idx;
sys/dev/qlnx/qlnxe/ecore_chain.h
87
u16 cons_idx;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2448
u16 dword_offset,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2449
u16 range,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2726
u16 *modes_buf_offset)
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
2915
u16 modes_buf_offset;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3103
u16 modes_buf_offset;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3286
u16 modes_buf_offset;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
3463
u16 modes_buf_offset;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4184
u16 rule_id,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4186
u16 fail_entry_id,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4258
u16 modes_buf_offset;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4303
u16 entry_id;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4312
u16 num_reg_entries = 1;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4414
u16 modes_buf_offset;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
4988
u16 buf_size_kb)
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5032
u16 dest_addr_hi16,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5033
u16 data_limit_size_kb,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5383
u16 count_to_next)
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5450
u16 dword_offset, range = 0;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
6408
u16 modes_buf_offset;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
139
u16 buf_size_kb);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
181
u16 dest_addr_hi16,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
182
u16 data_limit_size_kb,
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.h
423
u16 count_to_next);
sys/dev/qlnx/qlnxe/ecore_dcbx.c
1029
u16 val;
sys/dev/qlnx/qlnxe/ecore_dcbx.c
105
static bool ecore_dcbx_iscsi_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee)
sys/dev/qlnx/qlnxe/ecore_dcbx.c
118
static bool ecore_dcbx_fcoe_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee)
sys/dev/qlnx/qlnxe/ecore_dcbx.c
130
static bool ecore_dcbx_roce_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee)
sys/dev/qlnx/qlnxe/ecore_dcbx.c
142
static bool ecore_dcbx_roce_v2_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee)
sys/dev/qlnx/qlnxe/ecore_dcbx.c
156
u16 proto_id, bool ieee)
sys/dev/qlnx/qlnxe/ecore_dcbx.c
301
u32 app_prio_bitmap, u16 id,
sys/dev/qlnx/qlnxe/ecore_dcbx.c
339
u16 protocol_id;
sys/dev/qlnx/qlnxe/ecore_dcbx.c
93
static bool ecore_dcbx_default_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee)
sys/dev/qlnx/qlnxe/ecore_dcbx.h
54
u16 iwarp_port;
sys/dev/qlnx/qlnxe/ecore_dcbx_api.h
113
u16 proto_id;
sys/dev/qlnx/qlnxe/ecore_dcbx_api.h
119
u16 num_app_entries;
sys/dev/qlnx/qlnxe/ecore_dcbx_api.h
221
u16 buf_size;
sys/dev/qlnx/qlnxe/ecore_dev.c
1226
u16 source_port_or_eth_type, u16 dest_port,
sys/dev/qlnx/qlnxe/ecore_dev.c
1268
u16 source_port_or_eth_type, u16 dest_port,
sys/dev/qlnx/qlnxe/ecore_dev.c
1302
u16 source_port_or_eth_type, u16 dest_port)
sys/dev/qlnx/qlnxe/ecore_dev.c
1422
u16 source_port_or_eth_type,
sys/dev/qlnx/qlnxe/ecore_dev.c
1423
u16 dest_port)
sys/dev/qlnx/qlnxe/ecore_dev.c
1844
u16 ecore_init_qm_get_num_vfs(struct ecore_hwfn *p_hwfn)
sys/dev/qlnx/qlnxe/ecore_dev.c
1851
u16 ecore_init_qm_get_num_pf_rls(struct ecore_hwfn *p_hwfn)
sys/dev/qlnx/qlnxe/ecore_dev.c
1853
u16 num_pf_rls, num_vfs = ecore_init_qm_get_num_vfs(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_dev.c
1856
num_pf_rls = (u16)OSAL_MIN_T(u32, RESC_NUM(p_hwfn, ECORE_RL),
sys/dev/qlnx/qlnxe/ecore_dev.c
1857
(u16)OSAL_MIN_T(u32, RESC_NUM(p_hwfn, ECORE_VPORT),
sys/dev/qlnx/qlnxe/ecore_dev.c
1873
u16 ecore_init_qm_get_num_vports(struct ecore_hwfn *p_hwfn)
sys/dev/qlnx/qlnxe/ecore_dev.c
1883
u16 ecore_init_qm_get_num_pqs(struct ecore_hwfn *p_hwfn)
sys/dev/qlnx/qlnxe/ecore_dev.c
1904
qm_info->start_pq = (u16)RESC_START(p_hwfn, ECORE_PQ);
sys/dev/qlnx/qlnxe/ecore_dev.c
2002
u16 pq_idx = qm_info->num_pqs, max_pq = ecore_init_qm_get_num_pqs(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_dev.c
2030
static u16 *ecore_init_qm_get_idx_from_flags(struct ecore_hwfn *p_hwfn,
sys/dev/qlnx/qlnxe/ecore_dev.c
2067
u32 pq_flags, u16 pq_val)
sys/dev/qlnx/qlnxe/ecore_dev.c
2069
u16 *base_pq_idx = ecore_init_qm_get_idx_from_flags(p_hwfn, pq_flags);
sys/dev/qlnx/qlnxe/ecore_dev.c
2075
u16 ecore_get_cm_pq_idx(struct ecore_hwfn *p_hwfn, u32 pq_flags)
sys/dev/qlnx/qlnxe/ecore_dev.c
2077
u16 *base_pq_idx = ecore_init_qm_get_idx_from_flags(p_hwfn, pq_flags);
sys/dev/qlnx/qlnxe/ecore_dev.c
2082
u16 ecore_get_cm_pq_idx_mcos(struct ecore_hwfn *p_hwfn, u8 tc)
sys/dev/qlnx/qlnxe/ecore_dev.c
2092
u16 ecore_get_cm_pq_idx_vf(struct ecore_hwfn *p_hwfn, u16 vf)
sys/dev/qlnx/qlnxe/ecore_dev.c
2094
u16 max_vf = ecore_init_qm_get_num_vfs(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_dev.c
2102
u16 ecore_get_cm_pq_idx_rl(struct ecore_hwfn *p_hwfn, u8 rl)
sys/dev/qlnx/qlnxe/ecore_dev.c
2104
u16 max_rl = ecore_init_qm_get_num_pf_rls(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_dev.c
2184
u16 vf_idx, num_vfs = ecore_init_qm_get_num_vfs(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_dev.c
2197
u16 pf_rls_idx, num_pf_rls = ecore_init_qm_get_num_pf_rls(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_dev.c
2566
rc = ecore_eq_alloc(p_hwfn, (u16)n_eqes);
sys/dev/qlnx/qlnxe/ecore_dev.c
2695
u16 id, bool is_vf)
sys/dev/qlnx/qlnxe/ecore_dev.c
2965
u16 num_pfs, pf_id;
sys/dev/qlnx/qlnxe/ecore_dev.c
3034
ecore_fid_pretend(p_hwfn, p_ptt, (u16)concrete_fid);
sys/dev/qlnx/qlnxe/ecore_dev.c
3374
p_hwfn->wid_count = (u16)n_cpus;
sys/dev/qlnx/qlnxe/ecore_dev.c
3484
u16 ctrl;
sys/dev/qlnx/qlnxe/ecore_dev.c
3770
u16 ether_type;
sys/dev/qlnx/qlnxe/ecore_dev.c
413
u16 source_port_or_eth_type;
sys/dev/qlnx/qlnxe/ecore_dev.c
414
u16 dest_port;
sys/dev/qlnx/qlnxe/ecore_dev.c
4524
p_hwfn->hw_info.opaque_fid = (u16) REG_RD(p_hwfn,
sys/dev/qlnx/qlnxe/ecore_dev.c
5706
u16 device_id_mask;
sys/dev/qlnx/qlnxe/ecore_dev.c
5734
p_dev->chip_num = (u16)GET_FIELD(tmp, CHIP_NUM);
sys/dev/qlnx/qlnxe/ecore_dev.c
6371
u16 src_id, u16 *dst_id)
sys/dev/qlnx/qlnxe/ecore_dev.c
6374
u16 min, max;
sys/dev/qlnx/qlnxe/ecore_dev.c
6376
min = (u16)RESC_START(p_hwfn, ECORE_L2_QUEUE);
sys/dev/qlnx/qlnxe/ecore_dev.c
6468
u16 rx_coal, u16 tx_coal,
sys/dev/qlnx/qlnxe/ecore_dev.c
6511
u16 coalesce,
sys/dev/qlnx/qlnxe/ecore_dev.c
6551
u16 coalesce,
sys/dev/qlnx/qlnxe/ecore_dev.c
6643
u16 vport_id, u32 req_rate,
sys/dev/qlnx/qlnxe/ecore_dev.c
6720
u16 vp_id, u32 rate)
sys/dev/qlnx/qlnxe/ecore_dev.c
6751
u16 i;
sys/dev/qlnx/qlnxe/ecore_dev.c
6783
int ecore_configure_vport_wfq(struct ecore_dev *p_dev, u16 vp_id, u32 rate)
sys/dev/qlnx/qlnxe/ecore_dev_api.h
589
u16 src_id,
sys/dev/qlnx/qlnxe/ecore_dev_api.h
590
u16 *dst_id);
sys/dev/qlnx/qlnxe/ecore_dev_api.h
716
u16 source_port_or_eth_type, u16 dest_port);
sys/dev/qlnx/qlnxe/ecore_dev_api.h
730
u16 source_port_or_eth_type,
sys/dev/qlnx/qlnxe/ecore_dev_api.h
731
u16 dest_port);
sys/dev/qlnx/qlnxe/ecore_dev_api.h
771
u16 id,
sys/dev/qlnx/qlnxe/ecore_dev_api.h
784
ecore_get_queue_coalesce(struct ecore_hwfn *p_hwfn, u16 *coal,
sys/dev/qlnx/qlnxe/ecore_dev_api.h
804
ecore_set_queue_coalesce(struct ecore_hwfn *p_hwfn, u16 rx_coal,
sys/dev/qlnx/qlnxe/ecore_dev_api.h
805
u16 tx_coal, void *p_handle);
sys/dev/qlnx/qlnxe/ecore_fcoe_api.h
39
u16 conn_id;
sys/dev/qlnx/qlnxe/ecore_fcoe_api.h
58
u16 dst_mac_addr_lo;
sys/dev/qlnx/qlnxe/ecore_fcoe_api.h
59
u16 dst_mac_addr_mid;
sys/dev/qlnx/qlnxe/ecore_fcoe_api.h
60
u16 dst_mac_addr_hi;
sys/dev/qlnx/qlnxe/ecore_fcoe_api.h
61
u16 src_mac_addr_lo;
sys/dev/qlnx/qlnxe/ecore_fcoe_api.h
62
u16 src_mac_addr_mid;
sys/dev/qlnx/qlnxe/ecore_fcoe_api.h
63
u16 src_mac_addr_hi;
sys/dev/qlnx/qlnxe/ecore_fcoe_api.h
65
u16 tx_max_fc_pay_len;
sys/dev/qlnx/qlnxe/ecore_fcoe_api.h
66
u16 e_d_tov_timer_val;
sys/dev/qlnx/qlnxe/ecore_fcoe_api.h
67
u16 rec_tov_timer_val;
sys/dev/qlnx/qlnxe/ecore_fcoe_api.h
68
u16 rx_max_fc_pay_len;
sys/dev/qlnx/qlnxe/ecore_fcoe_api.h
69
u16 vlan_tag;
sys/dev/qlnx/qlnxe/ecore_fcoe_api.h
70
u16 physical_q0;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
250
u16 data;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
262
u16 names_offset /* Offset of this block attention names in the debug attention name offsets array */;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
263
u16 reserved1;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
266
u16 regs_offset /* Offset of this blocks attention registers in the attention registers array (in dbg_attn_reg units) */;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
287
u16 block_attn_offset /* The offset of this registers attentions within the blocks attentions list (a value in the range 0..number of block attentions-1) */;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
288
u16 reserved;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
304
u16 names_offset /* Offset of this registers block attention names in the attention name offsets array */;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
313
u16 data;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
326
u16 block_attn_offset /* The offset of this registers attentions within the blocks attentions list (a value in the range 0..number of block attentions-1) */;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
353
u16 lines_offset /* Offset of this blocks lines in the Debug Bus lines array. */;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
363
u16 names_offset /* Offset of this blocks lines in the debug bus line name offsets array. */;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
442
u16 data_size /* size in dwords of the data following this header */;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
457
u16 num_entries /* number of registers entries to check */;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
474
u16 size /* register size in dwords */;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
492
u16 rule_id /* Failing rule index */;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
493
u16 mem_entry_id /* Failing memory entry index */;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
511
u16 size /* register size in dwords */;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
519
u16 rule_id /* Idle Check rule ID */;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
526
u16 reg_offset /* offset of this rules registers in the idle check register array (in dbg_idle_chk_reg units) */;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
527
u16 imm_offset /* offset of this rules immediate values in the immediate values array (in dwords) */;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
558
u16 data;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
697
u16 hw_id_mask /* The HW IDs of the recorded HW blocks, where bits i*3..i*3+2 contain the HW ID of dword/qword i */;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
708
u16 reserved;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
834
u16 reserved2;
sys/dev/qlnx/qlnxe/ecore_hsi_debug_tools.h
987
u16 reserved2;
sys/dev/qlnx/qlnxe/ecore_hsi_init_func.h
109
u16 num_pbf_cmd_lines /* number of PBF command lines that can be used by this port */;
sys/dev/qlnx/qlnxe/ecore_hsi_init_func.h
110
u16 num_btb_blocks /* number of BTB blocks that can be used by this port */;
sys/dev/qlnx/qlnxe/ecore_hsi_init_func.h
111
u16 reserved;
sys/dev/qlnx/qlnxe/ecore_hsi_init_func.h
131
u16 vport_wfq /* WFQ weight. A value of 0 means dont configure. ignored if VPORT WFQ is globally disabled. */;
sys/dev/qlnx/qlnxe/ecore_hsi_init_func.h
132
u16 first_tx_pq_id[NUM_OF_TCS] /* the first Tx PQ ID associated with this VPORT for each TC. */;
sys/dev/qlnx/qlnxe/ecore_hsi_init_func.h
62
u16 weight /* An arbitration weight. Valid only if use_wfq is set. */;
sys/dev/qlnx/qlnxe/ecore_hsi_init_func.h
79
u16 lb_mac_rate /* Global MAC+LB RL rate (in Mbps). If set to 0, the RL will be disabled. */;
sys/dev/qlnx/qlnxe/ecore_hsi_init_func.h
80
u16 lb_rate /* Global LB RL rate (in Mbps). If set to 0, the RL will be disabled. */;
sys/dev/qlnx/qlnxe/ecore_hsi_init_func.h
82
u16 tc_rate[NUM_OF_PHYS_TCS] /* RL rate per physical TC (in Mbps). If set to 0, the RL will be disabled. */;
sys/dev/qlnx/qlnxe/ecore_hsi_init_tool.h
198
u16 callback_id /* Callback ID */;
sys/dev/qlnx/qlnxe/ecore_hsi_init_tool.h
199
u16 block_id /* Blocks ID */;
sys/dev/qlnx/qlnxe/ecore_hsi_init_tool.h
227
u16 reserved2;
sys/dev/qlnx/qlnxe/ecore_hsi_init_tool.h
228
u16 modes_buf_offset /* offset (in bytes) in modes expression buffer */;
sys/dev/qlnx/qlnxe/ecore_hsi_init_tool.h
283
u16 size /* array size in dwords */;
sys/dev/qlnx/qlnxe/ecore_hsi_init_tool.h
284
u16 offset /* array start offset in dwords */;
sys/dev/qlnx/qlnxe/ecore_hsi_init_tool.h
392
u16 m1 /* multiplier 1 */;
sys/dev/qlnx/qlnxe/ecore_hsi_init_tool.h
393
u16 m2 /* multiplier 2 */;
sys/dev/qlnx/qlnxe/ecore_hsi_init_tool.h
394
u16 m3 /* multiplier 3 */;
sys/dev/qlnx/qlnxe/ecore_hsi_init_tool.h
395
u16 size /* RAM field size */;
sys/dev/qlnx/qlnxe/ecore_hw.c
386
struct ecore_ptt *p_ptt, u16 fid)
sys/dev/qlnx/qlnxe/ecore_hw.c
388
u16 control = 0;
sys/dev/qlnx/qlnxe/ecore_hw.c
415
u16 control = 0;
sys/dev/qlnx/qlnxe/ecore_hw.c
431
u16 control = 0;
sys/dev/qlnx/qlnxe/ecore_hw.c
563
u16 opcode_b = 0;
sys/dev/qlnx/qlnxe/ecore_hw.c
869
cmd->length_dw = OSAL_CPU_TO_LE16((u16)length_dw);
sys/dev/qlnx/qlnxe/ecore_hw.c
917
u16 length_cur = 0, i = 0, cnt_split = 0, length_mod = 0;
sys/dev/qlnx/qlnxe/ecore_hw.c
920
u16 length_limit = DMAE_MAX_RW_SIZE;
sys/dev/qlnx/qlnxe/ecore_hw.h
213
u16 fid);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1274
u16 dest_port)
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1352
u16 dest_port)
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1446
u16 pf_id)
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1475
u16 pf_id,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1582
void ecore_config_vf_zone_size_mode(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u16 mode, bool runtime_init)
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1605
u32 ecore_get_mstorm_queue_stat_offset(struct ecore_hwfn *p_hwfn, u16 stat_cnt_id, u16 vf_zone_size_mode)
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1620
u32 ecore_get_mstorm_eth_vf_prods_offset(struct ecore_hwfn *p_hwfn, u8 vf_id, u8 vf_queue_id, u16 vf_zone_size_mode)
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1694
void ecore_calc_session_ctx_validation(void *p_ctx_mem, u16 ctx_size, u8 ctx_type, u32 cid)
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1711
void ecore_calc_task_ctx_validation(void *p_ctx_mem, u16 ctx_size, u8 ctx_type, u32 tid)
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1788
u16 ind_table_value)
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1792
u16 rss_ind_entry[RSS_IND_TABLE_ENTRY_PER_LINE];
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
1793
u16 rss_ind_mask [RSS_IND_TABLE_ENTRY_PER_LINE];
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
262
u16 cmdq_lines)
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
287
u16 phys_lines, phys_lines_per_tc;
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
390
u16 start_pq,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
391
u16 num_pf_pqs,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
392
u16 num_vf_pqs,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
401
u16 num_pqs, first_pq_group, last_pq_group, i, j, pq_id, pq_group;
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
426
u16 first_tx_pq_id;
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
46
static u16 con_region_offsets[3][NUM_OF_CONNECTION_TYPES_E4] = {
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
501
u16 i, j, pq_id, pq_group;
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
51
static u16 task_region_offsets[1][NUM_OF_CONNECTION_TYPES_E4] = {
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
536
u16 pf_wfq,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
538
u16 num_tx_pqs,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
543
u16 i;
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
594
u16 vport_pq_id;
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
697
u16 num_pf_pqs,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
698
u16 num_vf_pqs)
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
757
u16 start_pq,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
758
u16 num_pf_pqs,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
759
u16 num_vf_pqs,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
762
u16 pf_wfq,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
810
u16 pf_wfq)
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
846
u16 first_tx_pq_id[NUM_OF_TCS],
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
847
u16 vport_wfq)
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
849
u16 vport_pq_id;
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
898
u16 start_pq,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.c
899
u16 num_pqs)
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
123
u16 start_pq,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
124
u16 num_pf_pqs,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
125
u16 num_vf_pqs,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
128
u16 pf_wfq,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
147
u16 pf_wfq);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
178
u16 first_tx_pq_id[NUM_OF_TCS],
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
179
u16 vport_wfq);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
216
u16 start_pq,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
217
u16 num_pqs);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
322
u16 dest_port);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
358
u16 dest_port);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
403
u16 pf_id);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
419
u16 pf_id,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
442
u16 mode,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
454
u16 stat_cnt_id,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
455
u16 vf_zone_size_mode);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
469
u16 vf_zone_size_mode);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
491
u16 ctx_size,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
505
u16 ctx_size,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
52
u16 num_pf_pqs,
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
53
u16 num_vf_pqs);
sys/dev/qlnx/qlnxe/ecore_init_fw_funcs.h
548
u16 ind_table_value);
sys/dev/qlnx/qlnxe/ecore_init_ops.c
109
u16 rt_offset,
sys/dev/qlnx/qlnxe/ecore_init_ops.c
110
u16 size,
sys/dev/qlnx/qlnxe/ecore_init_ops.c
115
u16 i, segment;
sys/dev/qlnx/qlnxe/ecore_init_ops.c
461
u16 *p_offset, int modes)
sys/dev/qlnx/qlnxe/ecore_init_ops.c
489
u16 offset = OSAL_LE16_TO_CPU(p_cmd->modes_buf_offset);
sys/dev/qlnx/qlnxe/ecore_init_values.h
3924
ARRAY_DECL u16 init_ops_size = 0xee4;
sys/dev/qlnx/qlnxe/ecore_init_values.h
3927
ARRAY_DECL u16 init_ops_offsets[] = {
sys/dev/qlnx/qlnxe/ecore_int.c
1004
u16 deasserted_bits)
sys/dev/qlnx/qlnxe/ecore_int.c
1161
u16 index = 0, asserted_bits, deasserted_bits;
sys/dev/qlnx/qlnxe/ecore_int.c
1237
u16 rc = 0;
sys/dev/qlnx/qlnxe/ecore_int.c
1282
u16 tmp_index = sb_attn->index;
sys/dev/qlnx/qlnxe/ecore_int.c
1441
u8 pf_id, u16 vf_number, u8 vf_valid)
sys/dev/qlnx/qlnxe/ecore_int.c
1488
u16 igu_sb_id, u32 pi_index,
sys/dev/qlnx/qlnxe/ecore_int.c
1531
dma_addr_t sb_phys, u16 igu_sb_id,
sys/dev/qlnx/qlnxe/ecore_int.c
1532
u16 vf_number, u8 vf_valid)
sys/dev/qlnx/qlnxe/ecore_int.c
1617
u16 igu_id;
sys/dev/qlnx/qlnxe/ecore_int.c
1635
static u16 ecore_get_pf_igu_sb_id(struct ecore_hwfn *p_hwfn,
sys/dev/qlnx/qlnxe/ecore_int.c
1636
u16 vector_id)
sys/dev/qlnx/qlnxe/ecore_int.c
1639
u16 igu_id;
sys/dev/qlnx/qlnxe/ecore_int.c
1656
u16 ecore_get_igu_sb_id(struct ecore_hwfn *p_hwfn, u16 sb_id)
sys/dev/qlnx/qlnxe/ecore_int.c
1658
u16 igu_sb_id;
sys/dev/qlnx/qlnxe/ecore_int.c
1687
u16 sb_id)
sys/dev/qlnx/qlnxe/ecore_int.c
1743
u16 sb_id)
sys/dev/qlnx/qlnxe/ecore_int.c
1869
u16 ecore_int_get_sp_sb_id(struct ecore_hwfn *p_hwfn)
sys/dev/qlnx/qlnxe/ecore_int.c
1971
u16 igu_sb_id,
sys/dev/qlnx/qlnxe/ecore_int.c
1973
u16 opaque_fid)
sys/dev/qlnx/qlnxe/ecore_int.c
2028
u16 igu_sb_id, u16 opaque, bool b_set)
sys/dev/qlnx/qlnxe/ecore_int.c
2076
u16 igu_sb_id = 0;
sys/dev/qlnx/qlnxe/ecore_int.c
2114
u16 igu_sb_id;
sys/dev/qlnx/qlnxe/ecore_int.c
2139
u16 vfs = p_hwfn->p_dev->p_iov_info->total_vfs;
sys/dev/qlnx/qlnxe/ecore_int.c
2270
u16 igu_sb_id)
sys/dev/qlnx/qlnxe/ecore_int.c
2293
u16 igu_sb_id;
sys/dev/qlnx/qlnxe/ecore_int.c
2381
u16 sb_id, bool b_to_vf)
sys/dev/qlnx/qlnxe/ecore_int.c
2385
u16 igu_sb_id = 0, vf_num = 0;
sys/dev/qlnx/qlnxe/ecore_int.c
2456
vf_num = (u16)p_hwfn->p_dev->p_iov_info->first_vf_in_pf;
sys/dev/qlnx/qlnxe/ecore_int.c
2633
u8 timer_res, u16 sb_id, bool tx)
sys/dev/qlnx/qlnxe/ecore_int.c
2674
u16 sbid = p_sb->igu_sb_id;
sys/dev/qlnx/qlnxe/ecore_int.c
2689
p_info->pi[i] = (u16)ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_int.c
786
u16 index;
sys/dev/qlnx/qlnxe/ecore_int.c
795
u16 known_attn;
sys/dev/qlnx/qlnxe/ecore_int.c
801
static u16 ecore_attn_update_idx(struct ecore_hwfn *p_hwfn,
sys/dev/qlnx/qlnxe/ecore_int.c
804
u16 rc = 0, index;
sys/dev/qlnx/qlnxe/ecore_int.c
827
u16 asserted_bits)
sys/dev/qlnx/qlnxe/ecore_int.h
104
u16 ecore_get_igu_sb_id(struct ecore_hwfn *p_hwfn, u16 sb_id);
sys/dev/qlnx/qlnxe/ecore_int.h
187
u16 ecore_int_get_sp_sb_id(struct ecore_hwfn *p_hwfn);
sys/dev/qlnx/qlnxe/ecore_int.h
201
u16 sb_id,
sys/dev/qlnx/qlnxe/ecore_int.h
202
u16 opaque,
sys/dev/qlnx/qlnxe/ecore_int.h
219
u16 igu_sb_id,
sys/dev/qlnx/qlnxe/ecore_int.h
220
u16 vf_number,
sys/dev/qlnx/qlnxe/ecore_int.h
274
u16 vf_number, u8 vf_valid);
sys/dev/qlnx/qlnxe/ecore_int.h
278
u8 timer_res, u16 sb_id, bool tx);
sys/dev/qlnx/qlnxe/ecore_int.h
59
u16 igu_sb_id;
sys/dev/qlnx/qlnxe/ecore_int.h
67
u16 igu_dsb_id;
sys/dev/qlnx/qlnxe/ecore_int_api.h
262
u16 sb_id);
sys/dev/qlnx/qlnxe/ecore_int_api.h
290
u16 sb_id);
sys/dev/qlnx/qlnxe/ecore_int_api.h
362
u16 sb_id, bool b_to_vf);
sys/dev/qlnx/qlnxe/ecore_int_api.h
54
u16 igu_sb_id;
sys/dev/qlnx/qlnxe/ecore_int_api.h
69
u16 pi[PIS_PER_SB_E4];
sys/dev/qlnx/qlnxe/ecore_int_api.h
84
static OSAL_INLINE u16 ecore_sb_update_sb_idx(struct ecore_sb_info *sb_info)
sys/dev/qlnx/qlnxe/ecore_int_api.h
87
u16 rc = 0;
sys/dev/qlnx/qlnxe/ecore_iov_api.h
103
u16 rel_vf_id;
sys/dev/qlnx/qlnxe/ecore_iov_api.h
109
u16 num_queues;
sys/dev/qlnx/qlnxe/ecore_iov_api.h
115
u16 req_rx_queue[ECORE_MAX_VF_CHAINS_PER_PF];
sys/dev/qlnx/qlnxe/ecore_iov_api.h
116
u16 req_tx_queue[ECORE_MAX_VF_CHAINS_PER_PF];
sys/dev/qlnx/qlnxe/ecore_iov_api.h
154
u16 rel_vf_id);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
165
u16 ctrl; /* SR-IOV Control */
sys/dev/qlnx/qlnxe/ecore_iov_api.h
166
u16 total_vfs; /* total VFs associated with the PF */
sys/dev/qlnx/qlnxe/ecore_iov_api.h
167
u16 num_vfs; /* number of vfs that have been started */
sys/dev/qlnx/qlnxe/ecore_iov_api.h
168
u16 initial_vfs; /* initial VFs associated with the PF */
sys/dev/qlnx/qlnxe/ecore_iov_api.h
169
u16 nr_virtfn; /* number of VFs available */
sys/dev/qlnx/qlnxe/ecore_iov_api.h
170
u16 offset; /* first VF Routing ID offset */
sys/dev/qlnx/qlnxe/ecore_iov_api.h
171
u16 stride; /* following VF stride */
sys/dev/qlnx/qlnxe/ecore_iov_api.h
172
u16 vf_device_id; /* VF device id */
sys/dev/qlnx/qlnxe/ecore_iov_api.h
200
u16 rel_vf_id,
sys/dev/qlnx/qlnxe/ecore_iov_api.h
246
u16 rel_vf_id);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
258
u16 vf_id,
sys/dev/qlnx/qlnxe/ecore_iov_api.h
284
u16 rel_vf_id);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
297
u16 vfid,
sys/dev/qlnx/qlnxe/ecore_iov_api.h
312
u16 vfid,
sys/dev/qlnx/qlnxe/ecore_iov_api.h
326
u16 rel_vf_id);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
358
u16 vfid, bool b_enabled_only);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
427
u16 *opaque_fid);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
438
u16 pvid, int vfid);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
521
u16 rel_vf_id,
sys/dev/qlnx/qlnxe/ecore_iov_api.h
523
u16 *p_req_virt_size);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
534
u16 rel_vf_id,
sys/dev/qlnx/qlnxe/ecore_iov_api.h
536
u16 *p_reply_virt_size);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
564
u16 rel_vf_id);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
574
u16 ecore_iov_bulletin_get_forced_vlan(struct ecore_hwfn *p_hwfn,
sys/dev/qlnx/qlnxe/ecore_iov_api.h
575
u16 rel_vf_id);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
614
u16 rel_vf_id);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
625
u16 rel_vf_id);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
636
u16 rel_vf_id);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
647
u16 rel_vf_id);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
658
u16 rel_vf_id);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
669
u16 rel_vf_id);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
680
u16 rel_vf_id);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
691
u16 rel_vf_id);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
732
u16 rx_coal, u16 tx_coal,
sys/dev/qlnx/qlnxe/ecore_iov_api.h
733
u16 vf_id, u16 qid);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
743
u16 ecore_iov_get_next_active_vf(struct ecore_hwfn *p_hwfn, u16 rel_vf_id);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
745
u16 vxlan_port, u16 geneve_port);
sys/dev/qlnx/qlnxe/ecore_iov_api.h
763
static OSAL_INLINE void ecore_iov_set_vf_to_disable(struct ecore_dev OSAL_UNUSED *p_dev, u16 OSAL_UNUSED rel_vf_id, u8 OSAL_UNUSED to_disable) {}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
766
static OSAL_INLINE enum _ecore_status_t ecore_iov_release_hw_for_vf(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_ptt OSAL_UNUSED *p_ptt, u16 OSAL_UNUSED rel_vf_id) {return ECORE_SUCCESS;}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
767
static OSAL_INLINE enum _ecore_status_t ecore_iov_set_vf_ctx(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED vf_id, OSAL_UNUSED void *ctx) {return ECORE_INVAL;}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
769
static OSAL_INLINE enum _ecore_status_t ecore_iov_single_vf_flr_cleanup(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_ptt OSAL_UNUSED *p_ptt, u16 OSAL_UNUSED rel_vf_id) {return ECORE_INVAL;}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
770
static OSAL_INLINE void ecore_iov_set_link(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED vfid, struct ecore_mcp_link_params OSAL_UNUSED *params, struct ecore_mcp_link_state OSAL_UNUSED *link, struct ecore_mcp_link_capabilities OSAL_UNUSED *p_caps) {}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
771
static OSAL_INLINE void ecore_iov_get_link(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED vfid, struct ecore_mcp_link_params OSAL_UNUSED *params, struct ecore_mcp_link_state OSAL_UNUSED *link, struct ecore_mcp_link_capabilities OSAL_UNUSED *p_caps) {}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
772
static OSAL_INLINE bool ecore_iov_is_vf_pending_flr(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED rel_vf_id) {return false;}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
782
static OSAL_INLINE struct ecore_public_vf_info* ecore_iov_get_public_vf_info(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED vfid, bool OSAL_UNUSED b_enabled_only) {return OSAL_NULL;}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
789
static OSAL_INLINE void ecore_iov_get_vfs_opaque_fid(struct ecore_hwfn OSAL_UNUSED *p_hwfn, int OSAL_UNUSED vfid, u16 OSAL_UNUSED *opaque_fid) {}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
790
static OSAL_INLINE void ecore_iov_bulletin_set_forced_vlan(struct ecore_hwfn OSAL_UNUSED p_hwfn, u16 OSAL_UNUSED pvid, int OSAL_UNUSED vfid) {}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
798
static OSAL_INLINE void ecore_iov_get_vf_req_virt_mbx_params(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED rel_vf_id, void OSAL_UNUSED **pp_req_virt_addr, u16 OSAL_UNUSED *p_req_virt_size) {}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
799
static OSAL_INLINE void ecore_iov_get_vf_reply_virt_mbx_params(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED rel_vf_id, void OSAL_UNUSED **pp_reply_virt_addr, u16 OSAL_UNUSED *p_reply_virt_size) {}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
802
static OSAL_INLINE u8 *ecore_iov_bulletin_get_forced_mac(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED rel_vf_id) {return OSAL_NULL;}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
803
static OSAL_INLINE u16 ecore_iov_bulletin_get_forced_vlan(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED rel_vf_id) {return 0;}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
806
static OSAL_INLINE u8 ecore_iov_get_vf_num_rxqs(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED rel_vf_id) {return 0;}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
807
static OSAL_INLINE u8 ecore_iov_get_vf_num_active_rxqs(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED rel_vf_id) {return 0;}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
808
static OSAL_INLINE void *ecore_iov_get_vf_ctx(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED rel_vf_id) {return OSAL_NULL;}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
809
static OSAL_INLINE u8 ecore_iov_get_vf_num_sbs(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED rel_vf_id) {return 0;}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
810
static OSAL_INLINE bool ecore_iov_is_vf_wait_for_acquire(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED rel_vf_id) {return false;}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
811
static OSAL_INLINE bool ecore_iov_is_vf_acquired_not_initialized(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED rel_vf_id) {return false;}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
812
static OSAL_INLINE bool ecore_iov_is_vf_initialized(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED rel_vf_id) {return false;}
sys/dev/qlnx/qlnxe/ecore_iov_api.h
816
static OSAL_INLINE void ecore_iov_bulletin_set_udp_ports(struct ecore_hwfn OSAL_UNUSED *p_hwfn, int OSAL_UNUSED vfid, u16 OSAL_UNUSED vxlan_port, u16 OSAL_UNUSED geneve_port) { return; }
sys/dev/qlnx/qlnxe/ecore_iov_api.h
817
static OSAL_INLINE u16 ecore_iov_get_next_active_vf(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED rel_vf_id) { return MAX_NUM_VFS_E4; }
sys/dev/qlnx/qlnxe/ecore_iov_api.h
99
u16 forced_vlan;
sys/dev/qlnx/qlnxe/ecore_iscsi.h
44
u16 max_num_outstanding_tasks;
sys/dev/qlnx/qlnxe/ecore_iscsi_api.h
113
u16 syn_ip_payload_length;
sys/dev/qlnx/qlnxe/ecore_iscsi_api.h
116
u16 vlan_id;
sys/dev/qlnx/qlnxe/ecore_iscsi_api.h
117
u16 tcp_flags;
sys/dev/qlnx/qlnxe/ecore_iscsi_api.h
132
u16 srtt;
sys/dev/qlnx/qlnxe/ecore_iscsi_api.h
133
u16 rtt_var;
sys/dev/qlnx/qlnxe/ecore_iscsi_api.h
150
u16 remote_port;
sys/dev/qlnx/qlnxe/ecore_iscsi_api.h
151
u16 local_port;
sys/dev/qlnx/qlnxe/ecore_iscsi_api.h
152
u16 mss;
sys/dev/qlnx/qlnxe/ecore_iscsi_api.h
155
u16 da_timeout_value;
sys/dev/qlnx/qlnxe/ecore_iscsi_api.h
171
u16 physical_q0;
sys/dev/qlnx/qlnxe/ecore_iscsi_api.h
172
u16 physical_q1;
sys/dev/qlnx/qlnxe/ecore_iscsi_api.h
181
u16 application_tag;
sys/dev/qlnx/qlnxe/ecore_iscsi_api.h
182
u16 application_tag_mask;
sys/dev/qlnx/qlnxe/ecore_iscsi_api.h
92
u16 conn_id;
sys/dev/qlnx/qlnxe/ecore_iwarp.c
100
ecore_iwarp_get_curr_fpdu(struct ecore_hwfn *p_hwfn, u16 cid);
sys/dev/qlnx/qlnxe/ecore_iwarp.c
1030
ep->cm_info.ord = (u8)OSAL_MIN_T(u16,
sys/dev/qlnx/qlnxe/ecore_iwarp.c
1034
ep->cm_info.ird = (u8)OSAL_MIN_T(u16,
sys/dev/qlnx/qlnxe/ecore_iwarp.c
1129
u16 mpa_ird, mpa_ord;
sys/dev/qlnx/qlnxe/ecore_iwarp.c
1315
u16 mpa_ird, mpa_ord;
sys/dev/qlnx/qlnxe/ecore_iwarp.c
1323
mpa_ird = (u16)ep->cm_info.ird;
sys/dev/qlnx/qlnxe/ecore_iwarp.c
1324
mpa_ord = (u16)ep->cm_info.ord;
sys/dev/qlnx/qlnxe/ecore_iwarp.c
1440
ep->mss = OSAL_MIN_T(u16, ECORE_IWARP_MAX_FW_MSS, ep->mss);
sys/dev/qlnx/qlnxe/ecore_iwarp.c
1905
(u16)buf->buff_size,
sys/dev/qlnx/qlnxe/ecore_iwarp.c
2017
u16 eth_type;
sys/dev/qlnx/qlnxe/ecore_iwarp.c
2112
ecore_iwarp_get_curr_fpdu(struct ecore_hwfn *p_hwfn, u16 cid)
sys/dev/qlnx/qlnxe/ecore_iwarp.c
2164
u16 tcp_payload_len,
sys/dev/qlnx/qlnxe/ecore_iwarp.c
2169
u16 mpa_len;
sys/dev/qlnx/qlnxe/ecore_iwarp.c
2184
mpa_len = ntohs(*((u16 *)(mpa_data)));
sys/dev/qlnx/qlnxe/ecore_iwarp.c
2204
u16 tcp_payload_size, u8 placement_offset)
sys/dev/qlnx/qlnxe/ecore_iwarp.c
2228
u16 tcp_payload_size)
sys/dev/qlnx/qlnxe/ecore_iwarp.c
2240
if ((fpdu->mpa_frag_len + tcp_payload_size) > (u16)buf->buff_size) {
sys/dev/qlnx/qlnxe/ecore_iwarp.c
2291
u16 mpa_len;
sys/dev/qlnx/qlnxe/ecore_iwarp.c
2401
u16 tcp_payload_size,
sys/dev/qlnx/qlnxe/ecore_iwarp.c
2503
u16 eth_type;
sys/dev/qlnx/qlnxe/ecore_iwarp.c
259
u16 physical_queue;
sys/dev/qlnx/qlnxe/ecore_iwarp.c
285
qp->icid = (u16)cid;
sys/dev/qlnx/qlnxe/ecore_iwarp.c
2877
ep->mss = OSAL_MIN_T(u16, ECORE_IWARP_MAX_FW_MSS, ep->mss);
sys/dev/qlnx/qlnxe/ecore_iwarp.c
2885
ep->syn_ip_payload_length = (u16)payload_len;
sys/dev/qlnx/qlnxe/ecore_iwarp.c
3012
fpdu = ecore_iwarp_get_curr_fpdu(p_hwfn, (u16)unalign_data.cid);
sys/dev/qlnx/qlnxe/ecore_iwarp.c
3117
u16 n_ooo_bufs;
sys/dev/qlnx/qlnxe/ecore_iwarp.c
3235
(u16)p_hwfn->p_rdma_info->num_qps);
sys/dev/qlnx/qlnxe/ecore_iwarp.c
3243
iwarp_info->max_num_partial_fpdus = (u16)p_hwfn->p_rdma_info->num_qps;
sys/dev/qlnx/qlnxe/ecore_iwarp.c
3315
params->iwarp.ooo_num_rx_bufs = (u16)n_ooo_bufs;
sys/dev/qlnx/qlnxe/ecore_iwarp.c
3613
u16 OSAL_UNUSED echo,
sys/dev/qlnx/qlnxe/ecore_iwarp.c
3619
u16 cid;
sys/dev/qlnx/qlnxe/ecore_iwarp.c
3670
cid = (u16)OSAL_LE32_TO_CPU(fw_handle->lo);
sys/dev/qlnx/qlnxe/ecore_iwarp.c
762
u16 physical_q;
sys/dev/qlnx/qlnxe/ecore_iwarp.c
91
u16 OSAL_UNUSED echo,
sys/dev/qlnx/qlnxe/ecore_iwarp.c
991
u16 mpa_ord, mpa_ird;
sys/dev/qlnx/qlnxe/ecore_iwarp.h
105
u16 rcv_wnd_size;
sys/dev/qlnx/qlnxe/ecore_iwarp.h
106
u16 max_mtu;
sys/dev/qlnx/qlnxe/ecore_iwarp.h
107
u16 num_ooo_rx_bufs;
sys/dev/qlnx/qlnxe/ecore_iwarp.h
121
u16 max_num_partial_fpdus;
sys/dev/qlnx/qlnxe/ecore_iwarp.h
173
u16 mss;
sys/dev/qlnx/qlnxe/ecore_iwarp.h
186
u16 syn_ip_payload_length;
sys/dev/qlnx/qlnxe/ecore_iwarp.h
203
u16 port;
sys/dev/qlnx/qlnxe/ecore_iwarp.h
204
u16 vlan;
sys/dev/qlnx/qlnxe/ecore_iwarp.h
74
u16 tcp_payload_len;
sys/dev/qlnx/qlnxe/ecore_iwarp.h
90
u16 mpa_frag_len;
sys/dev/qlnx/qlnxe/ecore_iwarp.h
91
u16 fpdu_length;
sys/dev/qlnx/qlnxe/ecore_iwarp.h
92
u16 incomplete_bytes;
sys/dev/qlnx/qlnxe/ecore_l2.c
1011
u16 opaque_fid,
sys/dev/qlnx/qlnxe/ecore_l2.c
1013
u16 bd_max_bytes,
sys/dev/qlnx/qlnxe/ecore_l2.c
1016
u16 cqe_pbl_size,
sys/dev/qlnx/qlnxe/ecore_l2.c
1212
dma_addr_t pbl_addr, u16 pbl_size,
sys/dev/qlnx/qlnxe/ecore_l2.c
1213
u16 pq_id)
sys/dev/qlnx/qlnxe/ecore_l2.c
1254
dma_addr_t pbl_addr, u16 pbl_size,
sys/dev/qlnx/qlnxe/ecore_l2.c
1275
ecore_eth_tx_queue_start(struct ecore_hwfn *p_hwfn, u16 opaque_fid,
sys/dev/qlnx/qlnxe/ecore_l2.c
1278
dma_addr_t pbl_addr, u16 pbl_size,
sys/dev/qlnx/qlnxe/ecore_l2.c
1366
u16 opaque_fid,
sys/dev/qlnx/qlnxe/ecore_l2.c
1513
u16 opaque_fid,
sys/dev/qlnx/qlnxe/ecore_l2.c
166
u16 queue_id = p_cid->rel.queue_id;
sys/dev/qlnx/qlnxe/ecore_l2.c
1732
u16 opaque_fid;
sys/dev/qlnx/qlnxe/ecore_l2.c
1755
u16 statistics_bin)
sys/dev/qlnx/qlnxe/ecore_l2.c
1773
u16 statistics_bin)
sys/dev/qlnx/qlnxe/ecore_l2.c
1832
u16 statistics_bin)
sys/dev/qlnx/qlnxe/ecore_l2.c
1850
u16 statistics_bin)
sys/dev/qlnx/qlnxe/ecore_l2.c
1878
u16 statistics_bin)
sys/dev/qlnx/qlnxe/ecore_l2.c
1896
u16 statistics_bin)
sys/dev/qlnx/qlnxe/ecore_l2.c
2019
u16 statistics_bin, bool b_get_port_stats)
sys/dev/qlnx/qlnxe/ecore_l2.c
2185
u16 abs_rx_q_id = 0;
sys/dev/qlnx/qlnxe/ecore_l2.c
2231
p_ramrod->vport_id = OSAL_CPU_TO_LE16 ((u16)abs_vport_id);
sys/dev/qlnx/qlnxe/ecore_l2.c
2248
u16 *p_rx_coal)
sys/dev/qlnx/qlnxe/ecore_l2.c
2275
*p_rx_coal = (u16)(coalesce << timer_res);
sys/dev/qlnx/qlnxe/ecore_l2.c
2284
u16 *p_tx_coal)
sys/dev/qlnx/qlnxe/ecore_l2.c
230
u16 opaque_fid, u32 cid,
sys/dev/qlnx/qlnxe/ecore_l2.c
2311
*p_tx_coal = (u16)(coalesce << timer_res);
sys/dev/qlnx/qlnxe/ecore_l2.c
2317
ecore_get_queue_coalesce(struct ecore_hwfn *p_hwfn, u16 *p_coal,
sys/dev/qlnx/qlnxe/ecore_l2.c
323
ecore_eth_queue_to_cid(struct ecore_hwfn *p_hwfn, u16 opaque_fid,
sys/dev/qlnx/qlnxe/ecore_l2.c
368
ecore_eth_queue_to_cid_pf(struct ecore_hwfn *p_hwfn, u16 opaque_fid,
sys/dev/qlnx/qlnxe/ecore_l2.c
383
u16 rx_mode = 0, tx_err = 0;
sys/dev/qlnx/qlnxe/ecore_l2.c
450
p_tpa->tpa_max_size = (u16)-1;
sys/dev/qlnx/qlnxe/ecore_l2.c
500
u16 capabilities = 0;
sys/dev/qlnx/qlnxe/ecore_l2.c
625
u16 state = 0;
sys/dev/qlnx/qlnxe/ecore_l2.c
654
u16 state = 0;
sys/dev/qlnx/qlnxe/ecore_l2.c
681
u16 val;
sys/dev/qlnx/qlnxe/ecore_l2.c
826
u16 opaque_fid,
sys/dev/qlnx/qlnxe/ecore_l2.c
927
u16 bd_max_bytes,
sys/dev/qlnx/qlnxe/ecore_l2.c
930
u16 cqe_pbl_size)
sys/dev/qlnx/qlnxe/ecore_l2.c
986
u16 bd_max_bytes,
sys/dev/qlnx/qlnxe/ecore_l2.c
989
u16 cqe_pbl_size,
sys/dev/qlnx/qlnxe/ecore_l2.h
118
ecore_eth_queue_to_cid(struct ecore_hwfn *p_hwfn, u16 opaque_fid,
sys/dev/qlnx/qlnxe/ecore_l2.h
142
u16 bd_max_bytes,
sys/dev/qlnx/qlnxe/ecore_l2.h
145
u16 cqe_pbl_size);
sys/dev/qlnx/qlnxe/ecore_l2.h
161
dma_addr_t pbl_addr, u16 pbl_size,
sys/dev/qlnx/qlnxe/ecore_l2.h
162
u16 pq_id);
sys/dev/qlnx/qlnxe/ecore_l2.h
168
u16 coalesce,
sys/dev/qlnx/qlnxe/ecore_l2.h
173
u16 coalesce,
sys/dev/qlnx/qlnxe/ecore_l2.h
179
u16 *p_hw_coal);
sys/dev/qlnx/qlnxe/ecore_l2.h
184
u16 *p_hw_coal);
sys/dev/qlnx/qlnxe/ecore_l2.h
45
u16 queue_id;
sys/dev/qlnx/qlnxe/ecore_l2.h
80
u16 sb_igu_id;
sys/dev/qlnx/qlnxe/ecore_l2.h
84
u16 opaque_fid;
sys/dev/qlnx/qlnxe/ecore_l2_api.h
126
u16 tpa_max_size;
sys/dev/qlnx/qlnxe/ecore_l2_api.h
127
u16 tpa_min_size_to_start;
sys/dev/qlnx/qlnxe/ecore_l2_api.h
128
u16 tpa_min_size_to_cont;
sys/dev/qlnx/qlnxe/ecore_l2_api.h
160
u16 vlan;
sys/dev/qlnx/qlnxe/ecore_l2_api.h
253
u16 opaque_fid,
sys/dev/qlnx/qlnxe/ecore_l2_api.h
255
u16 bd_max_bytes,
sys/dev/qlnx/qlnxe/ecore_l2_api.h
258
u16 cqe_pbl_size,
sys/dev/qlnx/qlnxe/ecore_l2_api.h
299
u16 opaque_fid,
sys/dev/qlnx/qlnxe/ecore_l2_api.h
303
u16 pbl_size,
sys/dev/qlnx/qlnxe/ecore_l2_api.h
333
u16 opaque_fid;
sys/dev/qlnx/qlnxe/ecore_l2_api.h
335
u16 mtu; /* VPORT MTU */
sys/dev/qlnx/qlnxe/ecore_l2_api.h
366
u16 opaque_fid;
sys/dev/qlnx/qlnxe/ecore_l2_api.h
378
u16 default_vlan;
sys/dev/qlnx/qlnxe/ecore_l2_api.h
424
u16 opaque_fid,
sys/dev/qlnx/qlnxe/ecore_l2_api.h
429
u16 opaque_fid,
sys/dev/qlnx/qlnxe/ecore_l2_api.h
486
u16 statistics_bin, bool b_get_port_stats);
sys/dev/qlnx/qlnxe/ecore_l2_api.h
516
u16 length;
sys/dev/qlnx/qlnxe/ecore_l2_api.h
519
#define ECORE_RFS_NTUPLE_QID_RSS ((u16)-1)
sys/dev/qlnx/qlnxe/ecore_l2_api.h
520
u16 qid;
sys/dev/qlnx/qlnxe/ecore_l2_api.h
75
u16 queue_id;
sys/dev/qlnx/qlnxe/ecore_ll2.c
1148
struct ecore_ll2_info *p_ll2_info, u16 mtu)
sys/dev/qlnx/qlnxe/ecore_ll2.c
1153
u16 buf_idx;
sys/dev/qlnx/qlnxe/ecore_ll2.c
1161
u16 num_desc = p_ll2_info->input.rx_num_desc;
sys/dev/qlnx/qlnxe/ecore_ll2.c
126
u16 cur_frag_idx = 0;
sys/dev/qlnx/qlnxe/ecore_ll2.c
1537
u16 bd_prod, cq_prod;
sys/dev/qlnx/qlnxe/ecore_ll2.c
1572
u16 buf_len,
sys/dev/qlnx/qlnxe/ecore_ll2.c
1662
u16 prod_idx = ecore_chain_get_prod_idx(p_tx_chain);
sys/dev/qlnx/qlnxe/ecore_ll2.c
1666
u16 bd_data = 0, frag_idx;
sys/dev/qlnx/qlnxe/ecore_ll2.c
1746
u16 bd_prod;
sys/dev/qlnx/qlnxe/ecore_ll2.c
1852
u16 nbytes)
sys/dev/qlnx/qlnxe/ecore_ll2.c
1857
u16 cur_send_frag_num = 0;
sys/dev/qlnx/qlnxe/ecore_ll2.c
214
u16 new_idx = 0, num_bds = 0, num_bds_in_packet = 0;
sys/dev/qlnx/qlnxe/ecore_ll2.c
425
u16 cq_new_idx = 0, cq_old_idx = 0;
sys/dev/qlnx/qlnxe/ecore_ll2.c
541
u16 packet_length = 0, parse_flags = 0, vlan = 0;
sys/dev/qlnx/qlnxe/ecore_ll2.c
545
u16 cq_new_idx = 0, cq_old_idx = 0;
sys/dev/qlnx/qlnxe/ecore_ll2.c
691
u16 l4_hdr_offset_w;
sys/dev/qlnx/qlnxe/ecore_ll2.c
770
u16 new_idx = 0, num_bds = 0;
sys/dev/qlnx/qlnxe/ecore_ll2.c
835
u16 cqe_pbl_size;
sys/dev/qlnx/qlnxe/ecore_ll2.c
859
cqe_pbl_size = (u16)ecore_chain_get_page_cnt(&p_rx->rcq_chain);
sys/dev/qlnx/qlnxe/ecore_ll2.c
899
u16 pq_id = 0, pbl_size;
sys/dev/qlnx/qlnxe/ecore_ll2.c
932
pbl_size = (u16)ecore_chain_get_page_cnt(&p_tx->txq_chain);
sys/dev/qlnx/qlnxe/ecore_ll2.h
102
u16 cur_completing_bd_idx;
sys/dev/qlnx/qlnxe/ecore_ll2.h
105
u16 bds_idx;
sys/dev/qlnx/qlnxe/ecore_ll2.h
106
u16 cur_send_frag_num;
sys/dev/qlnx/qlnxe/ecore_ll2.h
107
u16 cur_completing_frag_num;
sys/dev/qlnx/qlnxe/ecore_ll2.h
53
u16 buf_length;
sys/dev/qlnx/qlnxe/ecore_ll2.h
56
u16 parse_flags;
sys/dev/qlnx/qlnxe/ecore_ll2.h
57
u16 packet_length;
sys/dev/qlnx/qlnxe/ecore_ll2.h
58
u16 vlan;
sys/dev/qlnx/qlnxe/ecore_ll2.h
65
u16 bd_used;
sys/dev/qlnx/qlnxe/ecore_ll2.h
71
u16 frag_len;
sys/dev/qlnx/qlnxe/ecore_ll2_api.h
106
u16 packet_length;
sys/dev/qlnx/qlnxe/ecore_ll2_api.h
107
u16 data_length;
sys/dev/qlnx/qlnxe/ecore_ll2_api.h
115
u16 qp_id;
sys/dev/qlnx/qlnxe/ecore_ll2_api.h
162
u16 mtu; /* Maximum bytes that can be placed on a BD*/
sys/dev/qlnx/qlnxe/ecore_ll2_api.h
163
u16 rx_num_desc;
sys/dev/qlnx/qlnxe/ecore_ll2_api.h
166
u16 rx_num_ooo_buffers;
sys/dev/qlnx/qlnxe/ecore_ll2_api.h
171
u16 tx_num_desc;
sys/dev/qlnx/qlnxe/ecore_ll2_api.h
237
u16 buf_len,
sys/dev/qlnx/qlnxe/ecore_ll2_api.h
244
u16 vlan;
sys/dev/qlnx/qlnxe/ecore_ll2_api.h
246
u16 l4_hdr_offset_w; /* from start of packet */
sys/dev/qlnx/qlnxe/ecore_ll2_api.h
250
u16 first_frag_len;
sys/dev/qlnx/qlnxe/ecore_ll2_api.h
307
u16 nbytes);
sys/dev/qlnx/qlnxe/ecore_ll2_api.h
96
u16 parse_flags;
sys/dev/qlnx/qlnxe/ecore_ll2_api.h
97
u16 err_flags;
sys/dev/qlnx/qlnxe/ecore_ll2_api.h
98
u16 vlan;
sys/dev/qlnx/qlnxe/ecore_mcp.c
136
u16 expected_seq_num;
sys/dev/qlnx/qlnxe/ecore_mcp.c
144
u16 expected_seq_num)
sys/dev/qlnx/qlnxe/ecore_mcp.c
173
ecore_mcp_cmd_get_elem(struct ecore_hwfn *p_hwfn, u16 seq_num)
sys/dev/qlnx/qlnxe/ecore_mcp.c
1806
p_hwfn->mcp_info->func_info.ovlan = (u16)shmem_info.ovlan_stag &
sys/dev/qlnx/qlnxe/ecore_mcp.c
2160
u16 i;
sys/dev/qlnx/qlnxe/ecore_mcp.c
246
p_info->mfw_mb_length = (u16)ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
259
p_info->mfw_mb_length = (u16)ecore_rd(p_hwfn, p_ptt,
sys/dev/qlnx/qlnxe/ecore_mcp.c
2699
info->ovlan = (u16)(shmem_info.ovlan_stag & FUNC_MF_CFG_OV_STAG_MASK);
sys/dev/qlnx/qlnxe/ecore_mcp.c
2701
info->mtu = (u16)shmem_info.mtu_size;
sys/dev/qlnx/qlnxe/ecore_mcp.c
3151
p_table->num_wwpn = (u16)p_npiv_table->fc_npiv_cfg.num_of_npiv;
sys/dev/qlnx/qlnxe/ecore_mcp.c
3152
p_table->num_wwnn = (u16)p_npiv_table->fc_npiv_cfg.num_of_npiv;
sys/dev/qlnx/qlnxe/ecore_mcp.c
3167
u16 mtu)
sys/dev/qlnx/qlnxe/ecore_mcp.c
3685
u16 gpio, u32 *gpio_val)
sys/dev/qlnx/qlnxe/ecore_mcp.c
3706
u16 gpio, u16 gpio_val)
sys/dev/qlnx/qlnxe/ecore_mcp.c
3728
u16 gpio, u32 *gpio_direction,
sys/dev/qlnx/qlnxe/ecore_mcp.c
4244
*(u16 *)lldp_mac_addr = OSAL_BE16_TO_CPU(*(u16 *)&lldp_mac.mac_upper);
sys/dev/qlnx/qlnxe/ecore_mcp.c
4269
lldp_mac.mac_upper = OSAL_CPU_TO_BE16(*(u16 *)lldp_mac_addr);
sys/dev/qlnx/qlnxe/ecore_mcp.c
440
u16 seq_num;
sys/dev/qlnx/qlnxe/ecore_mcp.c
443
seq_num = (u16)(mcp_resp & FW_MSG_SEQ_NUMBER_MASK);
sys/dev/qlnx/qlnxe/ecore_mcp.c
4498
u16 vlan)
sys/dev/qlnx/qlnxe/ecore_mcp.c
484
u16 seq_num)
sys/dev/qlnx/qlnxe/ecore_mcp.c
544
u16 seq_num;
sys/dev/qlnx/qlnxe/ecore_mcp.h
77
u16 drv_mb_seq;
sys/dev/qlnx/qlnxe/ecore_mcp.h
79
u16 drv_pulse_seq;
sys/dev/qlnx/qlnxe/ecore_mcp.h
89
u16 mfw_mb_length;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1149
u16 gpio, u32 *gpio_val);
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1163
u16 gpio, u16 gpio_val);
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1179
u16 gpio, u32 *gpio_direction,
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
1369
u16 vlan);
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
139
u16 ovlan;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
141
u16 mtu;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
223
u16 num_wwpn;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
224
u16 num_wwnn;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
297
u16 lso_maxoff_size;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
299
u16 lso_minseg_size;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
303
u16 tx_descr_size;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
305
u16 rx_descr_size;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
307
u16 netq_count;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
313
u16 tx_descr_qdepth;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
315
u16 rx_descr_qdepth;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
339
u16 msec;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
340
u16 usec;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
362
u16 switch_portnum;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
382
u16 fip_tx_descr_size;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
384
u16 fip_rx_descr_size;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
386
u16 link_failures;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
394
u16 fcoe_txq_depth;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
396
u16 fcoe_rxq_depth;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
406
u16 crc_count;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
411
u16 losync_err;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
413
u16 losig_err;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
415
u16 primtive_err;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
417
u16 disparity_err;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
419
u16 code_violation_err;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
537
u16 boot_taget_portal;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
539
u16 frame_size;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
541
u16 tx_desc_size;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
543
u16 rx_desc_size;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
547
u16 tx_desc_qdepth;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
549
u16 rx_desc_qdepth;
sys/dev/qlnx/qlnxe/ecore_mcp_api.h
876
struct ecore_ptt *p_ptt, u16 mtu);
sys/dev/qlnx/qlnxe/ecore_ooo.c
102
u16 max_num_archipelagos = 0, cid_base;
sys/dev/qlnx/qlnxe/ecore_ooo.c
104
u16 max_num_isles = 0;
sys/dev/qlnx/qlnxe/ecore_ooo.c
111
cid_base =(u16)ecore_cxt_get_proto_cid_start(p_hwfn,
sys/dev/qlnx/qlnxe/ecore_ooo.c
117
(u16)ecore_cxt_get_proto_cid_count(p_hwfn,
sys/dev/qlnx/qlnxe/ecore_ooo.c
120
cid_base = (u16)ecore_cxt_get_proto_cid_start(p_hwfn,
sys/dev/qlnx/qlnxe/ecore_ooo.h
45
u16 packet_length;
sys/dev/qlnx/qlnxe/ecore_ooo.h
46
u16 parse_flags;
sys/dev/qlnx/qlnxe/ecore_ooo.h
47
u16 vlan;
sys/dev/qlnx/qlnxe/ecore_ooo.h
76
u16 max_num_archipelagos;
sys/dev/qlnx/qlnxe/ecore_ooo.h
77
u16 cid_base;
sys/dev/qlnx/qlnxe/ecore_proto_if.h
101
u16 num_cons;
sys/dev/qlnx/qlnxe/ecore_proto_if.h
102
u16 num_tasks;
sys/dev/qlnx/qlnxe/ecore_proto_if.h
105
u16 half_way_close_timeout;
sys/dev/qlnx/qlnxe/ecore_proto_if.h
106
u16 bdq_xoff_threshold[3];
sys/dev/qlnx/qlnxe/ecore_proto_if.h
107
u16 bdq_xon_threshold[3];
sys/dev/qlnx/qlnxe/ecore_proto_if.h
108
u16 cmdq_xoff_threshold;
sys/dev/qlnx/qlnxe/ecore_proto_if.h
109
u16 cmdq_xon_threshold;
sys/dev/qlnx/qlnxe/ecore_proto_if.h
110
u16 rq_buffer_size;
sys/dev/qlnx/qlnxe/ecore_proto_if.h
157
u16 max_cnqs;
sys/dev/qlnx/qlnxe/ecore_proto_if.h
160
u16 iwarp_port;
sys/dev/qlnx/qlnxe/ecore_proto_if.h
43
u16 num_cons;
sys/dev/qlnx/qlnxe/ecore_proto_if.h
66
u16 num_cons;
sys/dev/qlnx/qlnxe/ecore_proto_if.h
67
u16 num_tasks;
sys/dev/qlnx/qlnxe/ecore_proto_if.h
70
u16 sq_num_pbl_pages;
sys/dev/qlnx/qlnxe/ecore_proto_if.h
72
u16 cq_num_entries;
sys/dev/qlnx/qlnxe/ecore_proto_if.h
73
u16 cmdq_num_entries;
sys/dev/qlnx/qlnxe/ecore_proto_if.h
74
u16 rq_buffer_log_size;
sys/dev/qlnx/qlnxe/ecore_proto_if.h
75
u16 mtu;
sys/dev/qlnx/qlnxe/ecore_proto_if.h
76
u16 dummy_icid;
sys/dev/qlnx/qlnxe/ecore_proto_if.h
77
u16 bdq_xoff_threshold[2];
sys/dev/qlnx/qlnxe/ecore_proto_if.h
78
u16 bdq_xon_threshold[2];
sys/dev/qlnx/qlnxe/ecore_proto_if.h
79
u16 rq_buffer_size;
sys/dev/qlnx/qlnxe/ecore_proto_if.h
93
u16 cq_num_entries;
sys/dev/qlnx/qlnxe/ecore_proto_if.h
94
u16 cmdq_num_entries;
sys/dev/qlnx/qlnxe/ecore_proto_if.h
96
u16 tx_sws_timer;
sys/dev/qlnx/qlnxe/ecore_rdma.c
1093
out_params->dpi = (u16)returned_id;
sys/dev/qlnx/qlnxe/ecore_rdma.c
1159
void ecore_rdma_cnq_prod_update(void *rdma_cxt, u8 qz_offset, u16 prod)
sys/dev/qlnx/qlnxe/ecore_rdma.c
1162
u16 qz_num;
sys/dev/qlnx/qlnxe/ecore_rdma.c
1185
u16 *pd)
sys/dev/qlnx/qlnxe/ecore_rdma.c
1202
*pd = (u16)returned_id;
sys/dev/qlnx/qlnxe/ecore_rdma.c
1209
u16 pd)
sys/dev/qlnx/qlnxe/ecore_rdma.c
1222
u16 *xrcd_id)
sys/dev/qlnx/qlnxe/ecore_rdma.c
1239
*xrcd_id = (u16)returned_id;
sys/dev/qlnx/qlnxe/ecore_rdma.c
1246
u16 xrcd_id)
sys/dev/qlnx/qlnxe/ecore_rdma.c
1260
u16 icid)
sys/dev/qlnx/qlnxe/ecore_rdma.c
1285
u16 *icid)
sys/dev/qlnx/qlnxe/ecore_rdma.c
1310
*icid = (u16)(returned_id +
sys/dev/qlnx/qlnxe/ecore_rdma.c
1443
void ecore_rdma_set_fw_mac(u16 *p_fw_mac, u8 *p_ecore_mac)
sys/dev/qlnx/qlnxe/ecore_rdma.c
2044
u16 ecore_rdma_get_fw_srq_id(struct ecore_hwfn *p_hwfn, u16 id, bool is_xrc)
sys/dev/qlnx/qlnxe/ecore_rdma.c
2060
u16 opaque_fid, fw_srq_id;
sys/dev/qlnx/qlnxe/ecore_rdma.c
2100
u16 opaque_fid, fw_srq_id;
sys/dev/qlnx/qlnxe/ecore_rdma.c
2152
u16 opaque_fid, fw_srq_id;
sys/dev/qlnx/qlnxe/ecore_rdma.c
2197
fw_srq_id = ecore_rdma_get_fw_srq_id(p_hwfn, (u16) returned_id,
sys/dev/qlnx/qlnxe/ecore_rdma.c
2217
out_params->srq_id = (u16)returned_id;
sys/dev/qlnx/qlnxe/ecore_rdma.c
2587
u16 dpi)
sys/dev/qlnx/qlnxe/ecore_rdma.c
303
p_rdma_info->queue_zone_base = (u16) RESC_START(p_hwfn, ECORE_L2_QUEUE);
sys/dev/qlnx/qlnxe/ecore_rdma.c
304
p_rdma_info->max_queue_zones = (u16) RESC_NUM(p_hwfn, ECORE_L2_QUEUE);
sys/dev/qlnx/qlnxe/ecore_rdma.c
417
p_rdma_info->srq_id_offset = (u16)ecore_cxt_get_xrc_srq_count(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_rdma.c
805
u16 igu_sb_id, sb_id;
sys/dev/qlnx/qlnxe/ecore_rdma.c
868
sb_id = (u16)OSAL_GET_RDMA_SB_ID(p_hwfn, cnq_id);
sys/dev/qlnx/qlnxe/ecore_rdma.h
127
u16 srq_id_offset;
sys/dev/qlnx/qlnxe/ecore_rdma.h
128
u16 queue_zone_base;
sys/dev/qlnx/qlnxe/ecore_rdma.h
129
u16 max_queue_zones;
sys/dev/qlnx/qlnxe/ecore_rdma.h
151
u16 icid;
sys/dev/qlnx/qlnxe/ecore_rdma.h
152
u16 qp_idx;
sys/dev/qlnx/qlnxe/ecore_rdma.h
167
u16 pd; /* Protection domain */
sys/dev/qlnx/qlnxe/ecore_rdma.h
168
u16 pkey; /* Primary P_key index */
sys/dev/qlnx/qlnxe/ecore_rdma.h
170
u16 mtu;
sys/dev/qlnx/qlnxe/ecore_rdma.h
171
u16 srq_id;
sys/dev/qlnx/qlnxe/ecore_rdma.h
174
u16 dpi;
sys/dev/qlnx/qlnxe/ecore_rdma.h
176
u16 vlan_id;
sys/dev/qlnx/qlnxe/ecore_rdma.h
185
u16 udp_src_port; /* RoCEv2 only */
sys/dev/qlnx/qlnxe/ecore_rdma.h
191
u16 sq_cq_id; /* The cq to be associated with the send queue*/
sys/dev/qlnx/qlnxe/ecore_rdma.h
192
u16 sq_num_pages;
sys/dev/qlnx/qlnxe/ecore_rdma.h
203
u16 rq_cq_id; /* The cq to be associated with the receive queue */
sys/dev/qlnx/qlnxe/ecore_rdma.h
204
u16 rq_num_pages;
sys/dev/qlnx/qlnxe/ecore_rdma.h
222
u16 xrcd_id;
sys/dev/qlnx/qlnxe/ecore_rdma.h
269
ecore_rdma_set_fw_mac(u16 *p_fw_mac, u8 *p_ecore_mac);
sys/dev/qlnx/qlnxe/ecore_rdma.h
274
u16 ecore_rdma_get_fw_srq_id(struct ecore_hwfn *p_hwfn, u16 id, bool is_xrc);
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
117
u16 max_inline;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
149
u16 max_srq_wr; /* Maximum number of WRs per SRQ */
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
315
u16 ooo_num_rx_bufs;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
337
u16 max_mtu;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
347
u16 dpi;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
351
u16 wid_count;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
365
u16 words[8];
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
376
u16 pd;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
408
u16 dpi;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
411
u16 pbl_num_pages;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
416
u16 int_timeout;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
422
u16 num_pages;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
423
u16 pd_id;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
424
u16 page_size;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
428
u16 xrcd_id;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
435
u16 icid;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
444
u16 num_cq_notif;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
451
u16 icid;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
455
u16 pbl_num_pages;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
472
u16 pd;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
473
u16 dpi;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
474
u16 sq_cq_id;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
475
u16 sq_num_pages;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
478
u16 rq_cq_id;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
479
u16 rq_num_pages;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
481
u16 srq_id;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
484
u16 xrcd_id;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
490
u16 icid;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
532
u16 pkey;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
538
u16 mtu;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
544
u16 udp_src_port; /* RoCEv2 only */
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
546
u16 vlan_id;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
569
u16 mtu;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
584
u16 pkey_index;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
596
u16 srq_id;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
600
u16 srq_id;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
606
u16 srq_id;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
676
u16 *pd);
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
685
u16 *icid);
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
714
ecore_roce_destroy_ud_qp(void *rdma_cxt, u16 cid);
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
718
u16 pd);
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
721
ecore_rdma_alloc_xrcd(void *rdma_cxt, u16 *xrcd_id);
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
724
ecore_rdma_free_xrcd(void *rdma_cxt, u16 xrcd_id);
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
751
u16 dpi);
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
787
void ecore_rdma_cnq_prod_update(void *rdma_cxt, u8 cnq_index, u16 prod);
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
845
u16 remote_port;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
846
u16 local_port;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
847
u16 vlan;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
849
u16 private_data_len;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
877
u16 mss;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
904
u16 port;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
905
u16 vlan;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
917
u16 private_data_len;
sys/dev/qlnx/qlnxe/ecore_rdma_api.h
926
u16 private_data_len;
sys/dev/qlnx/qlnxe/ecore_roce.c
1291
enum _ecore_status_t ecore_roce_destroy_ud_qp(void *rdma_cxt, u16 cid)
sys/dev/qlnx/qlnxe/ecore_roce.c
1337
u16 icid, qp_idx;
sys/dev/qlnx/qlnxe/ecore_roce.c
1511
static void ecore_roce_free_icid(struct ecore_hwfn *p_hwfn, u16 icid)
sys/dev/qlnx/qlnxe/ecore_roce.c
263
static void ecore_roce_free_cid_pair(struct ecore_hwfn *p_hwfn, u16 cid)
sys/dev/qlnx/qlnxe/ecore_roce.c
272
static void ecore_roce_free_qp(struct ecore_hwfn *p_hwfn, u16 qp_idx)
sys/dev/qlnx/qlnxe/ecore_roce.c
326
struct ecore_hwfn *p_hwfn, u16 *qp_idx16)
sys/dev/qlnx/qlnxe/ecore_roce.c
367
*qp_idx16 = (u16)qp_idx;
sys/dev/qlnx/qlnxe/ecore_roce.c
372
ecore_roce_free_qp(p_hwfn, (u16)qp_idx);
sys/dev/qlnx/qlnxe/ecore_roce.c
394
u16 regular_latency_queue, low_latency_queue;
sys/dev/qlnx/qlnxe/ecore_roce.c
400
u16 fw_srq_id;
sys/dev/qlnx/qlnxe/ecore_roce.c
563
u16 regular_latency_queue, low_latency_queue;
sys/dev/qlnx/qlnxe/ecore_roce.c
60
static void ecore_roce_free_icid(struct ecore_hwfn *p_hwfn, u16 icid);
sys/dev/qlnx/qlnxe/ecore_roce.c
65
u16 OSAL_UNUSED echo,
sys/dev/qlnx/qlnxe/ecore_roce.c
70
u16 icid = (u16)OSAL_LE32_TO_CPU(
sys/dev/qlnx/qlnxe/ecore_roce.h
73
u16 *qp_idx16);
sys/dev/qlnx/qlnxe/ecore_roce_api.h
106
u16 max_inline;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
138
u16 max_srq_wr; /* Maximum number of WRs per SRQ */
sys/dev/qlnx/qlnxe/ecore_roce_api.h
248
u16 rl_max_rate; /* Maximum rate in 1.6 Mbps resolution */
sys/dev/qlnx/qlnxe/ecore_roce_api.h
249
u16 rl_r_ai; /* Active increase rate */
sys/dev/qlnx/qlnxe/ecore_roce_api.h
250
u16 rl_r_hai; /* Hyper active increase rate */
sys/dev/qlnx/qlnxe/ecore_roce_api.h
251
u16 dcqcn_g; /* Alpha update gain in 1/64K resolution */
sys/dev/qlnx/qlnxe/ecore_roce_api.h
270
u16 ooo_num_rx_bufs;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
292
u16 max_mtu;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
302
u16 dpi;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
306
u16 wid_count;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
315
u16 dpi;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
318
u16 pbl_num_pages;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
323
u16 int_timeout;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
329
u16 icid;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
333
u16 pbl_num_pages;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
356
u16 pd;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
357
u16 dpi;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
358
u16 sq_cq_id;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
359
u16 sq_num_pages;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
362
u16 rq_cq_id;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
363
u16 rq_num_pages;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
365
u16 srq_id;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
372
u16 icid;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
381
u16 icid;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
390
u16 num_cq_notif;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
396
u16 words[8];
sys/dev/qlnx/qlnxe/ecore_roce_api.h
437
u16 pkey;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
443
u16 mtu;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
449
u16 udp_src_port; /* RoCEv2 only */
sys/dev/qlnx/qlnxe/ecore_roce_api.h
451
u16 vlan_id;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
474
u16 mtu;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
489
u16 pkey_index;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
500
u16 pd;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
529
u16 num_pages;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
530
u16 pd_id;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
531
u16 page_size;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
535
u16 srq_id;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
539
u16 srq_id;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
544
u16 srq_id;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
599
u16 *pd);
sys/dev/qlnx/qlnxe/ecore_roce_api.h
608
u16 *icid);
sys/dev/qlnx/qlnxe/ecore_roce_api.h
636
ecore_roce_destroy_ud_qp(void *rdma_cxt, u16 cid);
sys/dev/qlnx/qlnxe/ecore_roce_api.h
640
u16 pd);
sys/dev/qlnx/qlnxe/ecore_roce_api.h
667
u16 dpi);
sys/dev/qlnx/qlnxe/ecore_roce_api.h
701
void ecore_rdma_cnq_prod_update(void *rdma_cxt, u8 cnq_index, u16 prod);
sys/dev/qlnx/qlnxe/ecore_roce_api.h
739
u16 remote_port;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
740
u16 local_port;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
741
u16 vlan;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
743
u16 private_data_len;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
771
u16 mss;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
798
u16 port;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
799
u16 vlan;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
811
u16 private_data_len;
sys/dev/qlnx/qlnxe/ecore_roce_api.h
820
u16 private_data_len;
sys/dev/qlnx/qlnxe/ecore_sp_commands.c
328
u16 sb = ecore_int_get_sp_sb_id(p_hwfn);
sys/dev/qlnx/qlnxe/ecore_sp_commands.c
519
static u16 ecore_sp_rl_mb_to_qm(u32 mb_val)
sys/dev/qlnx/qlnxe/ecore_sp_commands.c
521
return (u16)OSAL_MIN_T(u32, (u16)(~0U), QM_RL_RESOLUTION(mb_val));
sys/dev/qlnx/qlnxe/ecore_sp_commands.c
524
static u16 ecore_sp_rl_gd_denom(u32 gd)
sys/dev/qlnx/qlnxe/ecore_sp_commands.c
526
return gd ? (u16)OSAL_MIN_T(u32, (u16)(~0U), FW_GD_RESOLUTION(gd)) : 0;
sys/dev/qlnx/qlnxe/ecore_sp_commands.h
45
u16 opaque_fid;
sys/dev/qlnx/qlnxe/ecore_spq.c
270
u16 physical_q;
sys/dev/qlnx/qlnxe/ecore_spq.c
322
u16 echo = ecore_chain_get_prod_idx(p_chain);
sys/dev/qlnx/qlnxe/ecore_spq.c
407
u16 prod)
sys/dev/qlnx/qlnxe/ecore_spq.c
427
u16 fw_cons_idx = OSAL_LE16_TO_CPU(*p_eq->p_fw_cons);
sys/dev/qlnx/qlnxe/ecore_spq.c
488
enum _ecore_status_t ecore_eq_alloc(struct ecore_hwfn *p_hwfn, u16 num_elem)
sys/dev/qlnx/qlnxe/ecore_spq.h
160
u16 echo,
sys/dev/qlnx/qlnxe/ecore_spq.h
289
enum _ecore_status_t ecore_eq_alloc(struct ecore_hwfn *p_hwfn, u16 num_elem);
sys/dev/qlnx/qlnxe/ecore_spq.h
312
u16 prod);
sys/dev/qlnx/qlnxe/ecore_sriov.c
1062
u16 vfid,
sys/dev/qlnx/qlnxe/ecore_sriov.c
1108
u16 qid, num_irqs;
sys/dev/qlnx/qlnxe/ecore_sriov.c
1159
if (qid > (u16)RESC_NUM(p_hwfn, ECORE_L2_QUEUE)) {
sys/dev/qlnx/qlnxe/ecore_sriov.c
1163
(u16)RESC_NUM(p_hwfn, ECORE_L2_QUEUE));
sys/dev/qlnx/qlnxe/ecore_sriov.c
1168
if (qid > (u16)RESC_NUM(p_hwfn, ECORE_L2_QUEUE)) {
sys/dev/qlnx/qlnxe/ecore_sriov.c
1172
(u16)RESC_NUM(p_hwfn, ECORE_L2_QUEUE));
sys/dev/qlnx/qlnxe/ecore_sriov.c
1181
vf->relative_vf_id, p_params->num_queues, (u16)cids);
sys/dev/qlnx/qlnxe/ecore_sriov.c
1182
num_irqs = OSAL_MIN_T(u16, p_params->num_queues, ((u16)cids));
sys/dev/qlnx/qlnxe/ecore_sriov.c
1238
u16 rel_vf_id)
sys/dev/qlnx/qlnxe/ecore_sriov.c
1297
static bool ecore_iov_tlv_supported(u16 tlvtype)
sys/dev/qlnx/qlnxe/ecore_sriov.c
1304
u16 tlv)
sys/dev/qlnx/qlnxe/ecore_sriov.c
1328
u16 expected_tlv)
sys/dev/qlnx/qlnxe/ecore_sriov.c
1358
void *ecore_add_tlv(u8 **offset, u16 type, u16 length)
sys/dev/qlnx/qlnxe/ecore_sriov.c
1375
u16 i = 1, total_length = 0;
sys/dev/qlnx/qlnxe/ecore_sriov.c
1417
u16 length,
sys/dev/qlnx/qlnxe/ecore_sriov.c
1419
u16 OSAL_UNUSED length,
sys/dev/qlnx/qlnxe/ecore_sriov.c
1467
static u16 ecore_iov_vport_to_tlv(enum ecore_iov_vport_update_flag flag)
sys/dev/qlnx/qlnxe/ecore_sriov.c
1491
static u16 ecore_iov_prep_vp_update_resp_tlvs(struct ecore_hwfn *p_hwfn,
sys/dev/qlnx/qlnxe/ecore_sriov.c
1494
u8 status, u16 tlvs_mask,
sys/dev/qlnx/qlnxe/ecore_sriov.c
1495
u16 tlvs_accepted)
sys/dev/qlnx/qlnxe/ecore_sriov.c
1498
u16 size, total_len, i;
sys/dev/qlnx/qlnxe/ecore_sriov.c
1538
u16 type, u16 length, u8 status)
sys/dev/qlnx/qlnxe/ecore_sriov.c
1552
u16 relative_vf_id,
sys/dev/qlnx/qlnxe/ecore_sriov.c
167
u16 opaque_vfid)
sys/dev/qlnx/qlnxe/ecore_sriov.c
1677
(u16 *)&p_resp->hw_qid[i]);
sys/dev/qlnx/qlnxe/ecore_sriov.c
2136
vf_info = ecore_iov_get_vf_info(p_hwfn, (u16)vf->relative_vf_id, true);
sys/dev/qlnx/qlnxe/ecore_sriov.c
217
u16 relative_vf_id,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2274
u16 length;
sys/dev/qlnx/qlnxe/ecore_sriov.c
2427
u16 tunn_feature_mask)
sys/dev/qlnx/qlnxe/ecore_sriov.c
2464
u8 tun_cls, u8 update_port, u16 port)
sys/dev/qlnx/qlnxe/ecore_sriov.c
2498
u16 tunn_feature_mask = 0;
sys/dev/qlnx/qlnxe/ecore_sriov.c
2547
u16 geneve_port;
sys/dev/qlnx/qlnxe/ecore_sriov.c
258
u16 qid,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2583
u16 length;
sys/dev/qlnx/qlnxe/ecore_sriov.c
2626
u16 pq;
sys/dev/qlnx/qlnxe/ecore_sriov.c
2689
u16 rxq_id,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2736
u16 txq_id,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2764
u16 length = sizeof(struct pfvf_def_resp_tlv);
sys/dev/qlnx/qlnxe/ecore_sriov.c
2802
u16 length = sizeof(struct pfvf_def_resp_tlv);
sys/dev/qlnx/qlnxe/ecore_sriov.c
2842
u16 length = sizeof(struct pfvf_def_resp_tlv);
sys/dev/qlnx/qlnxe/ecore_sriov.c
2850
u16 i;
sys/dev/qlnx/qlnxe/ecore_sriov.c
288
u16 rx_qid,
sys/dev/qlnx/qlnxe/ecore_sriov.c
2889
u16 qid = req->rx_qid + i;
sys/dev/qlnx/qlnxe/ecore_sriov.c
2910
void *p_tlvs_list, u16 req_type)
sys/dev/qlnx/qlnxe/ecore_sriov.c
2946
struct ecore_iov_vf_mbx *p_mbx, u16 *tlvs_mask)
sys/dev/qlnx/qlnxe/ecore_sriov.c
2949
u16 tlv = CHANNEL_TLV_VPORT_UPDATE_ACTIVATE;
sys/dev/qlnx/qlnxe/ecore_sriov.c
2968
struct ecore_iov_vf_mbx *p_mbx, u16 *tlvs_mask)
sys/dev/qlnx/qlnxe/ecore_sriov.c
2971
u16 tlv = CHANNEL_TLV_VPORT_UPDATE_VLAN_STRIP;
sys/dev/qlnx/qlnxe/ecore_sriov.c
2993
struct ecore_iov_vf_mbx *p_mbx, u16 *tlvs_mask)
sys/dev/qlnx/qlnxe/ecore_sriov.c
2996
u16 tlv = CHANNEL_TLV_VPORT_UPDATE_TX_SWITCH;
sys/dev/qlnx/qlnxe/ecore_sriov.c
3020
u16 *tlvs_mask)
sys/dev/qlnx/qlnxe/ecore_sriov.c
3023
u16 tlv = CHANNEL_TLV_VPORT_UPDATE_MCAST;
sys/dev/qlnx/qlnxe/ecore_sriov.c
303
u16 tx_qid,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3040
struct ecore_iov_vf_mbx *p_mbx, u16 *tlvs_mask)
sys/dev/qlnx/qlnxe/ecore_sriov.c
3044
u16 tlv = CHANNEL_TLV_VPORT_UPDATE_ACCEPT_PARAM;
sys/dev/qlnx/qlnxe/ecore_sriov.c
3063
u16 *tlvs_mask)
sys/dev/qlnx/qlnxe/ecore_sriov.c
3066
u16 tlv = CHANNEL_TLV_VPORT_UPDATE_ACCEPT_ANY_VLAN;
sys/dev/qlnx/qlnxe/ecore_sriov.c
3086
u16 *tlvs_mask, u16 *tlvs_accepted)
sys/dev/qlnx/qlnxe/ecore_sriov.c
3089
u16 tlv = CHANNEL_TLV_VPORT_UPDATE_RSS;
sys/dev/qlnx/qlnxe/ecore_sriov.c
3091
u16 table_size;
sys/dev/qlnx/qlnxe/ecore_sriov.c
3092
u16 i, q_idx;
sys/dev/qlnx/qlnxe/ecore_sriov.c
3120
table_size = OSAL_MIN_T(u16, OSAL_ARRAY_SIZE(p_rss->rss_ind_table),
sys/dev/qlnx/qlnxe/ecore_sriov.c
3152
u16 *tlvs_mask)
sys/dev/qlnx/qlnxe/ecore_sriov.c
3155
u16 tlv = CHANNEL_TLV_VPORT_UPDATE_SGE_TPA;
sys/dev/qlnx/qlnxe/ecore_sriov.c
318
u16 sb_idx)
sys/dev/qlnx/qlnxe/ecore_sriov.c
3213
u16 tlvs_mask = 0, tlvs_accepted = 0;
sys/dev/qlnx/qlnxe/ecore_sriov.c
3215
u16 length;
sys/dev/qlnx/qlnxe/ecore_sriov.c
3547
u16 length = sizeof(struct pfvf_def_resp_tlv);
sys/dev/qlnx/qlnxe/ecore_sriov.c
3564
u16 length = sizeof(struct pfvf_def_resp_tlv);
sys/dev/qlnx/qlnxe/ecore_sriov.c
3599
u16 coal = 0, qid, i;
sys/dev/qlnx/qlnxe/ecore_sriov.c
3667
u16 rx_coal, tx_coal;
sys/dev/qlnx/qlnxe/ecore_sriov.c
3668
u16 qid;
sys/dev/qlnx/qlnxe/ecore_sriov.c
369
p_vf = ecore_iov_get_vf_info(p_hwfn, (u16)vfid, true);
sys/dev/qlnx/qlnxe/ecore_sriov.c
3743
u16 rx_coal, u16 tx_coal,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3744
u16 vf_id, u16 qid)
sys/dev/qlnx/qlnxe/ecore_sriov.c
3835
ecore_fid_pretend(p_hwfn, p_ptt, (u16)p_vf->concrete_fid);
sys/dev/qlnx/qlnxe/ecore_sriov.c
3843
ecore_fid_pretend(p_hwfn, p_ptt, (u16)p_hwfn->hw_info.concrete_fid);
sys/dev/qlnx/qlnxe/ecore_sriov.c
3925
u16 rel_vf_id,
sys/dev/qlnx/qlnxe/ecore_sriov.c
3937
u16 vfid = p_vf->abs_vf_id;
sys/dev/qlnx/qlnxe/ecore_sriov.c
4001
u16 i;
sys/dev/qlnx/qlnxe/ecore_sriov.c
4022
u16 rel_vf_id)
sys/dev/qlnx/qlnxe/ecore_sriov.c
4044
u16 i;
sys/dev/qlnx/qlnxe/ecore_sriov.c
4069
u16 rel_vf_id = p_vf->relative_vf_id;
sys/dev/qlnx/qlnxe/ecore_sriov.c
4091
u16 vfid,
sys/dev/qlnx/qlnxe/ecore_sriov.c
4119
p_vf = ecore_iov_get_vf_info(p_hwfn, (u16)vfid, true);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4284
ecore_sriov_get_vf_from_absid(struct ecore_hwfn *p_hwfn, u16 abs_vfid)
sys/dev/qlnx/qlnxe/ecore_sriov.c
4299
u16 abs_vfid,
sys/dev/qlnx/qlnxe/ecore_sriov.c
4370
u16 rel_vf_id)
sys/dev/qlnx/qlnxe/ecore_sriov.c
4377
u16 ecore_iov_get_next_active_vf(struct ecore_hwfn *p_hwfn, u16 rel_vf_id)
sys/dev/qlnx/qlnxe/ecore_sriov.c
4380
u16 i;
sys/dev/qlnx/qlnxe/ecore_sriov.c
4400
vf_info = ecore_iov_get_vf_info(p_hwfn, (u16)vfid, true);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4430
vf_info = ecore_iov_get_vf_info(p_hwfn, (u16)vfid, true);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4461
vf_info = ecore_iov_get_vf_info(p_hwfn, (u16)vfid, true);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4495
vf_info = ecore_iov_get_vf_info(p_hwfn, (u16)vfid, true);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4533
u16 *opaque_fid)
sys/dev/qlnx/qlnxe/ecore_sriov.c
4537
vf_info = ecore_iov_get_vf_info(p_hwfn, (u16)vfid, true);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4546
u16 pvid, int vfid)
sys/dev/qlnx/qlnxe/ecore_sriov.c
4551
vf_info = ecore_iov_get_vf_info(p_hwfn, (u16)vfid, true);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4575
int vfid, u16 vxlan_port, u16 geneve_port)
sys/dev/qlnx/qlnxe/ecore_sriov.c
4579
vf_info = ecore_iov_get_vf_info(p_hwfn, (u16)vfid, true);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4601
p_vf_info = ecore_iov_get_vf_info(p_hwfn, (u16)vfid, true);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4612
p_vf_info = ecore_iov_get_vf_info(p_hwfn, (u16)vfid, true);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4623
vf_info = ecore_iov_get_vf_info(p_hwfn, (u16)vfid, true);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4642
vf = ecore_iov_get_vf_info(p_hwfn, (u16)vfid, true);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4671
u16 rel_vf_id,
sys/dev/qlnx/qlnxe/ecore_sriov.c
4673
u16 *p_req_virt_size)
sys/dev/qlnx/qlnxe/ecore_sriov.c
4689
u16 rel_vf_id,
sys/dev/qlnx/qlnxe/ecore_sriov.c
4691
u16 *p_reply_virt_size)
sys/dev/qlnx/qlnxe/ecore_sriov.c
4709
u16 rel_vf_id)
sys/dev/qlnx/qlnxe/ecore_sriov.c
4734
u16 rel_vf_id)
sys/dev/qlnx/qlnxe/ecore_sriov.c
4748
u16 ecore_iov_bulletin_get_forced_vlan(struct ecore_hwfn *p_hwfn,
sys/dev/qlnx/qlnxe/ecore_sriov.c
4749
u16 rel_vf_id)
sys/dev/qlnx/qlnxe/ecore_sriov.c
4772
vf = ecore_iov_get_vf_info(p_hwfn, (u16)vfid, true);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4804
vf = ecore_iov_get_vf_info(ECORE_LEADING_HWFN(p_dev), (u16)vfid, true);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4818
vf = ecore_iov_get_vf_info(p_hwfn, (u16)vfid, true);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4832
u16 rel_vf_id)
sys/dev/qlnx/qlnxe/ecore_sriov.c
4844
u16 rel_vf_id)
sys/dev/qlnx/qlnxe/ecore_sriov.c
4856
u16 rel_vf_id)
sys/dev/qlnx/qlnxe/ecore_sriov.c
4868
u16 rel_vf_id)
sys/dev/qlnx/qlnxe/ecore_sriov.c
4880
u16 rel_vf_id)
sys/dev/qlnx/qlnxe/ecore_sriov.c
4892
u16 rel_vf_id)
sys/dev/qlnx/qlnxe/ecore_sriov.c
4904
u16 rel_vf_id)
sys/dev/qlnx/qlnxe/ecore_sriov.c
4916
u16 rel_vf_id)
sys/dev/qlnx/qlnxe/ecore_sriov.c
4934
vf_info = ecore_iov_get_vf_info(p_hwfn, (u16)vfid, true);
sys/dev/qlnx/qlnxe/ecore_sriov.c
4952
vf_info = ecore_iov_get_vf_info(p_hwfn, (u16)vfid, true);
sys/dev/qlnx/qlnxe/ecore_sriov.c
536
u16 num_vfs = 0;
sys/dev/qlnx/qlnxe/ecore_sriov.c
751
u16 rel_vf_id,
sys/dev/qlnx/qlnxe/ecore_sriov.c
771
u16 i;
sys/dev/qlnx/qlnxe/ecore_sriov.c
783
u16 vf_id,
sys/dev/qlnx/qlnxe/ecore_sriov.c
817
ecore_fid_pretend(p_hwfn, p_ptt, (u16)vf->concrete_fid);
sys/dev/qlnx/qlnxe/ecore_sriov.c
822
ecore_fid_pretend(p_hwfn, p_ptt, (u16)p_hwfn->hw_info.concrete_fid);
sys/dev/qlnx/qlnxe/ecore_sriov.c
838
ecore_fid_pretend(p_hwfn, p_ptt, (u16)vf->concrete_fid);
sys/dev/qlnx/qlnxe/ecore_sriov.c
851
ecore_fid_pretend(p_hwfn, p_ptt, (u16)p_hwfn->hw_info.concrete_fid);
sys/dev/qlnx/qlnxe/ecore_sriov.c
874
p_vf = ecore_iov_get_vf_info(p_hwfn, (u16)i, true);
sys/dev/qlnx/qlnxe/ecore_sriov.c
918
ecore_fid_pretend(p_hwfn, p_ptt, (u16)vf->concrete_fid);
sys/dev/qlnx/qlnxe/ecore_sriov.c
927
ecore_fid_pretend(p_hwfn, p_ptt, (u16)p_hwfn->hw_info.concrete_fid);
sys/dev/qlnx/qlnxe/ecore_sriov.c
952
u16 qzone_id = 0;
sys/dev/qlnx/qlnxe/ecore_sriov.c
981
u16 num_rx_queues)
sys/dev/qlnx/qlnxe/ecore_sriov.c
990
(u16)p_hwfn->hw_info.p_igu_info->usage.free_cnt_iov;
sys/dev/qlnx/qlnxe/ecore_sriov.h
101
u16 fw_rx_qid;
sys/dev/qlnx/qlnxe/ecore_sriov.h
102
u16 fw_tx_qid;
sys/dev/qlnx/qlnxe/ecore_sriov.h
117
u16 vid;
sys/dev/qlnx/qlnxe/ecore_sriov.h
149
u16 opaque_fid;
sys/dev/qlnx/qlnxe/ecore_sriov.h
150
u16 mtu;
sys/dev/qlnx/qlnxe/ecore_sriov.h
164
u16 rx_coal;
sys/dev/qlnx/qlnxe/ecore_sriov.h
165
u16 tx_coal;
sys/dev/qlnx/qlnxe/ecore_sriov.h
173
u16 igu_sbs[ECORE_MAX_VF_CHAINS_PER_PF];
sys/dev/qlnx/qlnxe/ecore_sriov.h
240
void *ecore_add_tlv(u8 **offset, u16 type, u16 length);
sys/dev/qlnx/qlnxe/ecore_sriov.h
302
void *p_tlvs_list, u16 req_type);
sys/dev/qlnx/qlnxe/ecore_sriov.h
316
u16 relative_vf_id,
sys/dev/qlnx/qlnxe/ecore_sriov.h
320
static OSAL_INLINE void *ecore_add_tlv(u8 OSAL_UNUSED **offset, OSAL_UNUSED u16 type, OSAL_UNUSED u16 length) {return OSAL_NULL;}
sys/dev/qlnx/qlnxe/ecore_sriov.h
328
static OSAL_INLINE void *ecore_iov_search_list_tlvs(struct ecore_hwfn OSAL_UNUSED *p_hwfn, void OSAL_UNUSED *p_tlvs_list, u16 OSAL_UNUSED req_type) {return OSAL_NULL;}
sys/dev/qlnx/qlnxe/ecore_sriov.h
329
static OSAL_INLINE struct ecore_vf_info *ecore_iov_get_vf_info(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED relative_vf_id, bool OSAL_UNUSED b_enabled_only) {return OSAL_NULL;}
sys/dev/qlnx/qlnxe/ecore_tcp_ip.h
101
u16 payload_len;
sys/dev/qlnx/qlnxe/ecore_tcp_ip.h
110
u16 source;
sys/dev/qlnx/qlnxe/ecore_tcp_ip.h
111
u16 dest;
sys/dev/qlnx/qlnxe/ecore_tcp_ip.h
114
u16 res1:4,
sys/dev/qlnx/qlnxe/ecore_tcp_ip.h
124
u16 window;
sys/dev/qlnx/qlnxe/ecore_tcp_ip.h
125
u16 check;
sys/dev/qlnx/qlnxe/ecore_tcp_ip.h
126
u16 urg_ptr;
sys/dev/qlnx/qlnxe/ecore_tcp_ip.h
62
u16 h_proto; /* packet type ID field */
sys/dev/qlnx/qlnxe/ecore_tcp_ip.h
69
u16 tot_len;
sys/dev/qlnx/qlnxe/ecore_tcp_ip.h
70
u16 id;
sys/dev/qlnx/qlnxe/ecore_tcp_ip.h
71
u16 frag_off;
sys/dev/qlnx/qlnxe/ecore_tcp_ip.h
74
u16 check;
sys/dev/qlnx/qlnxe/ecore_tcp_ip.h
83
u16 h_vlan_proto;
sys/dev/qlnx/qlnxe/ecore_tcp_ip.h
84
u16 h_vlan_TCI;
sys/dev/qlnx/qlnxe/ecore_tcp_ip.h
85
u16 h_vlan_encapsulated_proto;
sys/dev/qlnx/qlnxe/ecore_tcp_ip.h
91
u16 u6_addr16[8];
sys/dev/qlnx/qlnxe/ecore_utils.h
58
#define USHRT_MAX ((u16)(~0U))
sys/dev/qlnx/qlnxe/ecore_vf.c
1108
u16 mtu,
sys/dev/qlnx/qlnxe/ecore_vf.c
1194
u16 tlv)
sys/dev/qlnx/qlnxe/ecore_vf.c
1234
u16 tlv;
sys/dev/qlnx/qlnxe/ecore_vf.c
1262
u16 size, tlv;
sys/dev/qlnx/qlnxe/ecore_vf.c
1605
u16 *p_coal,
sys/dev/qlnx/qlnxe/ecore_vf.c
1638
ecore_vf_pf_set_coalesce(struct ecore_hwfn *p_hwfn, u16 rx_coal, u16 tx_coal,
sys/dev/qlnx/qlnxe/ecore_vf.c
1679
u16 ecore_vf_get_igu_sb_id(struct ecore_hwfn *p_hwfn,
sys/dev/qlnx/qlnxe/ecore_vf.c
1680
u16 sb_id)
sys/dev/qlnx/qlnxe/ecore_vf.c
1693
u16 sb_id, struct ecore_sb_info *p_sb)
sys/dev/qlnx/qlnxe/ecore_vf.c
1886
u16 *p_vxlan_port,
sys/dev/qlnx/qlnxe/ecore_vf.c
1887
u16 *p_geneve_port)
sys/dev/qlnx/qlnxe/ecore_vf.c
1898
bool ecore_vf_bulletin_get_forced_vlan(struct ecore_hwfn *hwfn, u16 *dst_pvid)
sys/dev/qlnx/qlnxe/ecore_vf.c
1920
u16 *fw_major, u16 *fw_minor, u16 *fw_rev,
sys/dev/qlnx/qlnxe/ecore_vf.c
1921
u16 *fw_eng)
sys/dev/qlnx/qlnxe/ecore_vf.c
51
u16 type, u16 length)
sys/dev/qlnx/qlnxe/ecore_vf.c
532
p_hwfn->hw_info.opaque_fid = (u16)REG_RD(p_hwfn, reg);
sys/dev/qlnx/qlnxe/ecore_vf.c
695
u8 *p_update_port, u16 *p_udp_port)
sys/dev/qlnx/qlnxe/ecore_vf.c
724
u16 feature_mask, u8 tunn_mode, u8 tunn_cls,
sys/dev/qlnx/qlnxe/ecore_vf.c
741
u16 feat_mask = p_resp->tunn_feature_mask;
sys/dev/qlnx/qlnxe/ecore_vf.c
830
u16 bd_max_bytes,
sys/dev/qlnx/qlnxe/ecore_vf.c
833
u16 cqe_pbl_size,
sys/dev/qlnx/qlnxe/ecore_vf.c
839
u16 rx_qid = p_cid->rel.queue_id;
sys/dev/qlnx/qlnxe/ecore_vf.c
954
dma_addr_t pbl_addr, u16 pbl_size,
sys/dev/qlnx/qlnxe/ecore_vf.c
960
u16 qid = p_cid->rel.queue_id;
sys/dev/qlnx/qlnxe/ecore_vf.h
109
u16 rx_coal, u16 tx_coal,
sys/dev/qlnx/qlnxe/ecore_vf.h
139
u16 bd_max_bytes,
sys/dev/qlnx/qlnxe/ecore_vf.h
142
u16 cqe_pbl_size,
sys/dev/qlnx/qlnxe/ecore_vf.h
160
dma_addr_t pbl_addr, u16 pbl_size,
sys/dev/qlnx/qlnxe/ecore_vf.h
247
u16 ecore_vf_get_igu_sb_id(struct ecore_hwfn *p_hwfn,
sys/dev/qlnx/qlnxe/ecore_vf.h
248
u16 sb_id);
sys/dev/qlnx/qlnxe/ecore_vf.h
258
u16 sb_id, struct ecore_sb_info *p_sb);
sys/dev/qlnx/qlnxe/ecore_vf.h
277
u16 mtu,
sys/dev/qlnx/qlnxe/ecore_vf.h
343
static OSAL_INLINE enum _ecore_status_t ecore_vf_pf_rxq_start(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_queue_cid OSAL_UNUSED *p_cid, u16 OSAL_UNUSED bd_max_bytes, dma_addr_t OSAL_UNUSED bd_chain_phys_addr, dma_addr_t OSAL_UNUSED cqe_pbl_addr, u16 OSAL_UNUSED cqe_pbl_size, void OSAL_IOMEM OSAL_UNUSED **pp_prod) {return ECORE_INVAL;}
sys/dev/qlnx/qlnxe/ecore_vf.h
344
static OSAL_INLINE enum _ecore_status_t ecore_vf_pf_txq_start(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_queue_cid OSAL_UNUSED *p_cid, dma_addr_t OSAL_UNUSED pbl_addr, u16 OSAL_UNUSED pbl_size, void OSAL_IOMEM OSAL_UNUSED **pp_doorbell) {return ECORE_INVAL;}
sys/dev/qlnx/qlnxe/ecore_vf.h
353
static OSAL_INLINE u16 ecore_vf_get_igu_sb_id(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED sb_id) {return 0;}
sys/dev/qlnx/qlnxe/ecore_vf.h
354
static OSAL_INLINE void ecore_vf_set_sb_info(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED sb_id, struct ecore_sb_info OSAL_UNUSED *p_sb) {}
sys/dev/qlnx/qlnxe/ecore_vf.h
355
static OSAL_INLINE enum _ecore_status_t ecore_vf_pf_vport_start(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u8 OSAL_UNUSED vport_id, u16 OSAL_UNUSED mtu, u8 OSAL_UNUSED inner_vlan_removal, enum ecore_tpa_mode OSAL_UNUSED tpa_mode, u8 OSAL_UNUSED max_buffers_per_cqe, u8 OSAL_UNUSED only_untagged, u8 OSAL_UNUSED zero_placement_offset) {return ECORE_INVAL;}
sys/dev/qlnx/qlnxe/ecore_vf.h
96
u16 *p_coal,
sys/dev/qlnx/qlnxe/ecore_vf_api.h
160
bool ecore_vf_bulletin_get_forced_vlan(struct ecore_hwfn *hwfn, u16 *dst_pvid);
sys/dev/qlnx/qlnxe/ecore_vf_api.h
184
u16 *fw_major,
sys/dev/qlnx/qlnxe/ecore_vf_api.h
185
u16 *fw_minor,
sys/dev/qlnx/qlnxe/ecore_vf_api.h
186
u16 *fw_rev,
sys/dev/qlnx/qlnxe/ecore_vf_api.h
187
u16 *fw_eng);
sys/dev/qlnx/qlnxe/ecore_vf_api.h
189
u16 *p_vxlan_port, u16 *p_geneve_port);
sys/dev/qlnx/qlnxe/ecore_vf_api.h
224
static OSAL_INLINE void ecore_vf_get_fw_version(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED *fw_major, u16 OSAL_UNUSED *fw_minor, u16 OSAL_UNUSED *fw_rev, u16 OSAL_UNUSED *fw_eng) {}
sys/dev/qlnx/qlnxe/ecore_vf_api.h
225
static OSAL_INLINE void ecore_vf_bulletin_get_udp_ports(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u16 OSAL_UNUSED *p_vxlan_port, u16 OSAL_UNUSED *p_geneve_port) { return; }
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
139
u16 opaque_fid; /* ME register value */
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
166
u16 rss_ind_table[T_ETH_INDIRECTION_TABLE_SIZE];
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
190
u16 fw_major;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
191
u16 fw_minor;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
192
u16 fw_rev;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
193
u16 fw_eng;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
214
u16 db_size;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
219
u16 chip_rev;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
288
u16 cqe_pbl_size;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
289
u16 hw_sb;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
290
u16 rx_qid;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
291
u16 hc_rate; /* desired interrupts per sec. */
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
293
u16 bd_max_bytes;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
294
u16 stat_id;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
305
u16 pbl_size;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
306
u16 stat_id;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
307
u16 tx_qid;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
308
u16 hw_sb;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
311
u16 hc_rate; /* desired interrupts per sec. */
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
320
u16 rx_qid;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
338
u16 tx_qid;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
355
u16 rx_qid;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
373
u16 vlan_tag;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
385
u16 dep1;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
386
u16 mtu;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
451
u16 sge_tpa_flags;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
465
u16 deprecated_sge_buff_size;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
466
u16 tpa_max_size;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
467
u16 tpa_min_size_to_start;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
468
u16 tpa_min_size_to_cont;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
490
u16 vlan;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
491
u16 padding[3];
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
508
u16 geneve_port;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
509
u16 vxlan_port;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
516
u16 tunn_feature_mask;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
527
u16 vxlan_udp_port;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
528
u16 geneve_udp_port;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
537
u16 rx_coal;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
538
u16 tx_coal;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
539
u16 qid;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
545
u16 qid;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
552
u16 coal;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
57
u16 hw_sb_id; /* aka absolute igu id, used to ack the sb */
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
650
u16 vxlan_udp_port;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
651
u16 geneve_udp_port;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
660
u16 pvid;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
661
u16 padding5;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
74
u16 type;
sys/dev/qlnx/qlnxe/ecore_vfpf_if.h
75
u16 length;
sys/dev/qlnx/qlnxe/mcp_private.h
208
u16 valid;
sys/dev/qlnx/qlnxe/mcp_private.h
209
u16 type_len;
sys/dev/qlnx/qlnxe/mcp_private.h
217
typedef u16(*lldp_prepare_tlv_func)(u8 port, lldp_agent_e lldp_agent, u8 *buffer);
sys/dev/qlnx/qlnxe/mcp_private.h
220
u16 valid;
sys/dev/qlnx/qlnxe/mcp_private.h
240
u16 len;
sys/dev/qlnx/qlnxe/mcp_private.h
246
u16 lldp_ttl;
sys/dev/qlnx/qlnxe/mcp_private.h
335
u16 req_len;
sys/dev/qlnx/qlnxe/mcp_private.h
336
u16 rsp_len;
sys/dev/qlnx/qlnxe/mcp_private.h
360
u16 req_seq_num; /* sequence */
sys/dev/qlnx/qlnxe/mcp_private.h
363
u16 ack_timer_counter;
sys/dev/qlnx/qlnxe/mcp_private.h
365
u16 num_retries; /* retries */
sys/dev/qlnx/qlnxe/mcp_private.h
371
typedef void (*ulp_rx_indication_t)(u8 port, u16 subtype, u32 pkt_len, u8 *pkt);
sys/dev/qlnx/qlnxe/mcp_private.h
375
u16 last_req_seq; /* lastSeq */
sys/dev/qlnx/qlnxe/mcp_private.h
384
u16 subtype;
sys/dev/qlnx/qlnxe/mcp_private.h
418
u16 rsvd2;
sys/dev/qlnx/qlnxe/mcp_private.h
465
u16 fcoe_cvid;
sys/dev/qlnx/qlnxe/mcp_private.h
69
u16 mba_ver;
sys/dev/qlnx/qlnxe/mcp_private.h
78
u16 size; /* number of allocated resources */
sys/dev/qlnx/qlnxe/mcp_private.h
79
u16 offset; /* Offset of the 1st resource */
sys/dev/qlnx/qlnxe/mcp_public.h
2197
u16 ether_type;
sys/dev/qlnx/qlnxe/mcp_public.h
2201
u16 cmd_id; /* Op code and response code */
sys/dev/qlnx/qlnxe/mcp_public.h
2210
u16 mcp_clock; /* MCP Clock in MHz */
sys/dev/qlnx/qlnxe/mcp_public.h
2211
u16 trace_size; /* Trace size in bytes */
sys/dev/qlnx/qlnxe/nvm_cfg.h
2010
u16 vendor_id;
sys/dev/qlnx/qlnxe/nvm_cfg.h
2011
u16 eth_did_suffix;
sys/dev/qlnx/qlnxe/nvm_cfg.h
2012
u16 sub_vendor_id;
sys/dev/qlnx/qlnxe/nvm_cfg.h
2013
u16 sub_device_id;
sys/dev/qlnx/qlnxe/qlnx_def.h
688
u16 sb_id);
sys/dev/qlnx/qlnxe/qlnx_os.c
2742
u16 idx;
sys/dev/qlnx/qlnxe/qlnx_os.c
2810
u16 hw_bd_cons;
sys/dev/qlnx/qlnxe/qlnx_os.c
2811
u16 ecore_cons_idx;
sys/dev/qlnx/qlnxe/qlnx_os.c
438
u16 hw_bd_cons;
sys/dev/qlnx/qlnxe/qlnx_os.c
439
u16 ecore_cons_idx;
sys/dev/qlnx/qlnxe/qlnx_os.c
5772
void *sb_virt_addr, bus_addr_t sb_phy_addr, u16 sb_id)
sys/dev/qlnx/qlnxe/qlnx_os.c
5776
u16 rel_sb_id;
sys/dev/qlnx/qlnxe/qlnx_os.c
5796
qlnx_alloc_mem_sb(qlnx_host_t *ha, struct ecore_sb_info *sb_info, u16 sb_id)
sys/dev/qlnx/qlnxe/qlnx_os.c
6282
u16 mtu,
sys/dev/qlnx/qlnxe/qlnx_os.c
7809
qlnx_sriov_enable_qid_config(struct ecore_hwfn *hwfn, u16 vfid,
sys/dev/qlnx/qlnxe/qlnx_os.c
7812
u16 base, i;
sys/dev/qlnx/qlnxe/spad_layout.h
161
u16 pme_status_pf_bitmap; /* 0xe20840 */
sys/dev/qlnx/qlnxe/spad_layout.h
162
#define PME_STATUS_PF_BITMAP *((u16*)(STRUCT_OFFSET(pme_status_pf_bitmap)))
sys/dev/qlnx/qlnxe/spad_layout.h
163
u16 pme_enable_pf_bitmap;
sys/dev/qlnx/qlnxe/spad_layout.h
164
#define PME_ENABLE_PF_BITMAP *((u16*)(STRUCT_OFFSET(pme_enable_pf_bitmap)))
sys/dev/qlnx/qlnxr/qlnxr_cm.c
133
*((u16 *)&qp->rqe_wr_id[qp->rq.gsi_cons].smac[4]) =
sys/dev/qlnx/qlnxr/qlnxr_cm.c
134
ntohs((u16)data->opaque_data_1);
sys/dev/qlnx/qlnxr/qlnxr_cm.c
463
qlnxr_get_vlan_id_gsi(struct ib_ah_attr *ah_attr, u16 *vlan_id)
sys/dev/qlnx/qlnxr/qlnxr_cm.c
465
u16 tmp_vlan_id;
sys/dev/qlnx/qlnxr/qlnxr_cm.c
492
u16 vlan_id = 0;
sys/dev/qlnx/qlnxr/qlnxr_cm.c
493
u16 ether_type;
sys/dev/qlnx/qlnxr/qlnxr_def.h
257
u16 max_inline;
sys/dev/qlnx/qlnxr/qlnxr_def.h
430
u16 dpi;
sys/dev/qlnx/qlnxr/qlnxr_def.h
456
u16 len;
sys/dev/qlnx/qlnxr/qlnxr_def.h
457
u16 entry_size; /* Size of an element in the queue */
sys/dev/qlnx/qlnxr/qlnxr_def.h
458
u16 id; /* qid, where to ring the doorbell. */
sys/dev/qlnx/qlnxr/qlnxr_def.h
459
u16 head, tail;
sys/dev/qlnx/qlnxr/qlnxr_def.h
478
u16 auto_speeds_supported;
sys/dev/qlnx/qlnxr/qlnxr_def.h
479
u16 fixed_speeds_supported;
sys/dev/qlnx/qlnxr/qlnxr_def.h
480
u16 phy_type;
sys/dev/qlnx/qlnxr/qlnxr_def.h
481
u16 interface_type;
sys/dev/qlnx/qlnxr/qlnxr_def.h
558
u16 prod; /* WQE prod index for SW ring */
sys/dev/qlnx/qlnxr/qlnxr_def.h
559
u16 cons; /* WQE cons index for SW ring */
sys/dev/qlnx/qlnxr/qlnxr_def.h
560
u16 wqe_cons;
sys/dev/qlnx/qlnxr/qlnxr_def.h
561
u16 gsi_cons; /* filled in by GSI implementation */
sys/dev/qlnx/qlnxr/qlnxr_def.h
562
u16 max_wr;
sys/dev/qlnx/qlnxr/qlnxr_def.h
601
u16 srq_id;
sys/dev/qlnx/qlnxr/qlnxr_def.h
644
u16 icid;
sys/dev/qlnx/qlnxr/qlnxr_def.h
645
u16 mtu;
sys/dev/qlnx/qlnxr/qlnxr_def.h
655
u16 wqe_cons;
sys/dev/qlnx/qlnxr/qlnxr_def.h
678
u16 vlan_id;
sys/dev/qlnx/qlnxr/qlnxr_os.c
300
u16 hw_comp_cons, sw_comp_cons;
sys/dev/qlnx/qlnxr/qlnxr_os.c
838
bool is_vlan, u16 vlan_id)
sys/dev/qlnx/qlnxr/qlnxr_os.c
951
u16 vlan_id;
sys/dev/qlnx/qlnxr/qlnxr_os.c
996
u16 vlan_id = 0xffff;
sys/dev/qlnx/qlnxr/qlnxr_user.h
107
u16 srq_id;
sys/dev/qlnx/qlnxr/qlnxr_user.h
68
u16 icid;
sys/dev/qlnx/qlnxr/qlnxr_user.h
90
u16 sq_icid;
sys/dev/qlnx/qlnxr/qlnxr_user.h
94
u16 rq_icid;
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
1735
u16 icid;
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
2989
qp->rq.max_wr = (u16)max_t(u32, attrs->cap.max_recv_wr, 1);
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
3651
qlnxr_mtu_int_to_enum(u16 mtu)
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
4764
u16 hw_cons,
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
4768
u16 cnt = 0;
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
5070
u16 hw_cons)
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
5072
u16 cnt = 0;
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
5584
u16 *out_mad_pkey_index)
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
706
u16 pd_id;
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
789
qlnxr_query_pkey(struct ib_device *ibdev, u8 port, u16 index, u16 *pkey)
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
810
u16 *vlan_id)
sys/dev/qlnx/qlnxr/qlnxr_verbs.c
814
u16 tmp_vlan_id;
sys/dev/qlnx/qlnxr/qlnxr_verbs.h
114
u16 index,
sys/dev/qlnx/qlnxr/qlnxr_verbs.h
115
u16 *pkey);
sys/dev/qlnx/qlnxr/qlnxr_verbs.h
137
u16 *out_mad_pkey_index);
sys/dev/sym/sym_defs.h
421
/*40*/ u16 nc_sien; /* -->: interrupt enable */
sys/dev/sym/sym_defs.h
422
/*42*/ u16 nc_sist; /* <--: interrupt status */
sys/dev/sym/sym_defs.h
442
/*4a*/ u16 nc_respid; /* sta: Reselect-IDs */
sys/dev/sym/sym_defs.h
461
/*50*/ u16 nc_sidl; /* Lowlevel: latched from scsi data */
sys/dev/sym/sym_defs.h
471
/*54*/ u16 nc_sodl; /* Lowlevel: data out to scsi data */
sys/dev/sym/sym_defs.h
487
/*58*/ u16 nc_sbdl; /* Lowlevel: data from scsi data */
sys/dev/sym/sym_defs.h
488
/*5a*/ u16 nc_5a_;
sys/dev/sym/sym_defs.h
503
/*bc*/ u16 nc_scntl4; /* C1010 only */
sys/dev/sym/sym_defs.h
533
/*e0*/ u16 nc_crcpad; /* CRC Value */
sys/dev/sym/sym_defs.h
540
/*f0*/ u16 nc_dfbc; /* DMA FIFO byte count */
sys/net80211/ieee80211_crypto_tkip.c
1010
if ((u16)(key->wk_keytsc) == 0 || key->wk_keytsc == 1) {
sys/net80211/ieee80211_crypto_tkip.c
1015
(u16) key->wk_keytsc);
sys/net80211/ieee80211_crypto_tkip.c
1033
u16 iv16;
sys/net80211/ieee80211_crypto_tkip.c
1040
iv16 = (u16) ctx->rx_rsc;
sys/net80211/ieee80211_crypto_tkip.c
517
static __inline u16 RotR1(u16 val)
sys/net80211/ieee80211_crypto_tkip.c
522
static __inline u8 Lo8(u16 val)
sys/net80211/ieee80211_crypto_tkip.c
527
static __inline u8 Hi8(u16 val)
sys/net80211/ieee80211_crypto_tkip.c
532
static __inline u16 Lo16(u32 val)
sys/net80211/ieee80211_crypto_tkip.c
537
static __inline u16 Hi16(u32 val)
sys/net80211/ieee80211_crypto_tkip.c
542
static __inline u16 Mk16(u8 hi, u8 lo)
sys/net80211/ieee80211_crypto_tkip.c
544
return lo | (((u16) hi) << 8);
sys/net80211/ieee80211_crypto_tkip.c
547
static __inline u16 Mk16_le(const u16 *v)
sys/net80211/ieee80211_crypto_tkip.c
552
static const u16 Sbox[256] = {
sys/net80211/ieee80211_crypto_tkip.c
587
static __inline u16 _S_(u16 v)
sys/net80211/ieee80211_crypto_tkip.c
589
u16 t = Sbox[Hi8(v)];
sys/net80211/ieee80211_crypto_tkip.c
595
static void tkip_mixing_phase1(u16 *TTAK, const u8 *TK, const u8 *TA, u32 IV32)
sys/net80211/ieee80211_crypto_tkip.c
620
static void tkip_mixing_phase2(u8 *WEPSeed, const u8 *TK, const u16 *TTAK,
sys/net80211/ieee80211_crypto_tkip.c
621
u16 IV16)
sys/net80211/ieee80211_crypto_tkip.c
625
u16 *PPK = (u16 *) &WEPSeed[4];
sys/net80211/ieee80211_crypto_tkip.c
636
PPK[0] += _S_(PPK[5] ^ Mk16_le((const u16 *) &TK[0]));
sys/net80211/ieee80211_crypto_tkip.c
637
PPK[1] += _S_(PPK[0] ^ Mk16_le((const u16 *) &TK[2]));
sys/net80211/ieee80211_crypto_tkip.c
638
PPK[2] += _S_(PPK[1] ^ Mk16_le((const u16 *) &TK[4]));
sys/net80211/ieee80211_crypto_tkip.c
639
PPK[3] += _S_(PPK[2] ^ Mk16_le((const u16 *) &TK[6]));
sys/net80211/ieee80211_crypto_tkip.c
640
PPK[4] += _S_(PPK[3] ^ Mk16_le((const u16 *) &TK[8]));
sys/net80211/ieee80211_crypto_tkip.c
641
PPK[5] += _S_(PPK[4] ^ Mk16_le((const u16 *) &TK[10]));
sys/net80211/ieee80211_crypto_tkip.c
643
PPK[0] += RotR1(PPK[5] ^ Mk16_le((const u16 *) &TK[12]));
sys/net80211/ieee80211_crypto_tkip.c
644
PPK[1] += RotR1(PPK[0] ^ Mk16_le((const u16 *) &TK[14]));
sys/net80211/ieee80211_crypto_tkip.c
655
WEPSeed[3] = Lo8((PPK[5] ^ Mk16_le((const u16 *) &TK[0])) >> 1);
sys/net80211/ieee80211_crypto_tkip.c
88
u16 tx_ttak[5];
sys/net80211/ieee80211_crypto_tkip.c
91
u16 rx_ttak[5];
sys/ofed/drivers/infiniband/core/ib_cache.c
462
u8 *port, u16 *index)
sys/ofed/drivers/infiniband/core/ib_cache.c
492
u16 *index)
sys/ofed/drivers/infiniband/core/ib_cache.c
509
u16 *index)
sys/ofed/drivers/infiniband/core/ib_cache.c
53
u16 table[0];
sys/ofed/drivers/infiniband/core/ib_cache.c
568
u16 *index)
sys/ofed/drivers/infiniband/core/ib_cache.c
902
u16 *index)
sys/ofed/drivers/infiniband/core/ib_cache.c
914
void *context, u16 *index)
sys/ofed/drivers/infiniband/core/ib_cache.c
929
u16 *pkey)
sys/ofed/drivers/infiniband/core/ib_cache.c
955
u16 pkey,
sys/ofed/drivers/infiniband/core/ib_cache.c
956
u16 *index)
sys/ofed/drivers/infiniband/core/ib_cache.c
996
u16 pkey,
sys/ofed/drivers/infiniband/core/ib_cache.c
997
u16 *index)
sys/ofed/drivers/infiniband/core/ib_cm.c
1499
static u16 cm_get_bth_pkey(struct cm_work *work)
sys/ofed/drivers/infiniband/core/ib_cm.c
1503
u16 pkey_index = work->mad_recv_wc->wc->pkey_index;
sys/ofed/drivers/infiniband/core/ib_cm.c
1504
u16 pkey;
sys/ofed/drivers/infiniband/core/ib_cm.c
238
u16 pkey_index;
sys/ofed/drivers/infiniband/core/ib_cm.c
3531
u16 attr_index;
sys/ofed/drivers/infiniband/core/ib_cm.c
3737
u16 attr_id;
sys/ofed/drivers/infiniband/core/ib_cma.c
1112
return htons((u16) (be64_to_cpu(sib->sib_sid) &
sys/ofed/drivers/infiniband/core/ib_cma.c
1222
static u16 cma_port_from_service_id(__be64 service_id)
sys/ofed/drivers/infiniband/core/ib_cma.c
1224
return (u16)be64_to_cpu(service_id);
sys/ofed/drivers/infiniband/core/ib_cma.c
2609
path_rec.qos_class = cpu_to_be16((u16) id_priv->tos);
sys/ofed/drivers/infiniband/core/ib_cma.c
2902
u16 pkey;
sys/ofed/drivers/infiniband/core/ib_cma.c
396
u16 pkey;
sys/ofed/drivers/infiniband/core/ib_cma.c
706
u16 pkey, index;
sys/ofed/drivers/infiniband/core/ib_cma.c
972
u16 pkey;
sys/ofed/drivers/infiniband/core/ib_device.c
808
u8 port_num, u16 index, u16 *pkey)
sys/ofed/drivers/infiniband/core/ib_device.c
877
u8 *port_num, u16 *index)
sys/ofed/drivers/infiniband/core/ib_device.c
920
u8 port_num, u16 pkey, u16 *index)
sys/ofed/drivers/infiniband/core/ib_device.c
923
u16 tmp_pkey;
sys/ofed/drivers/infiniband/core/ib_device.c
962
u16 pkey,
sys/ofed/drivers/infiniband/core/ib_mad.c
2183
u16 resp_mad_pkey_index = 0;
sys/ofed/drivers/infiniband/core/ib_mad.c
2952
u16 pkey_index;
sys/ofed/drivers/infiniband/core/ib_mad.c
700
static void build_smp_wc(struct ib_qp *qp, struct ib_cqe *cqe, u16 slid,
sys/ofed/drivers/infiniband/core/ib_mad.c
701
u16 pkey_index, u8 port_num, struct ib_wc *wc)
sys/ofed/drivers/infiniband/core/ib_mad.c
764
u16 out_mad_pkey_index = 0;
sys/ofed/drivers/infiniband/core/ib_mad.c
765
u16 drslid;
sys/ofed/drivers/infiniband/core/ib_mad.c
802
drslid = (u16)(opa_drslid & 0x0000ffff);
sys/ofed/drivers/infiniband/core/ib_mad.c
986
u32 remote_qpn, u16 pkey_index,
sys/ofed/drivers/infiniband/core/ib_mad_rmpp.c
70
u16 slid;
sys/ofed/drivers/infiniband/core/ib_multicast.c
114
u16 pkey_index;
sys/ofed/drivers/infiniband/core/ib_multicast.c
394
u16 pkey_index;
sys/ofed/drivers/infiniband/core/ib_multicast.c
520
u16 pkey_index = MCAST_INVALID_PKEY_INDEX;
sys/ofed/drivers/infiniband/core/ib_multicast.c
729
u16 gid_index;
sys/ofed/drivers/infiniband/core/ib_rdma_core.c
886
uverbs_get_uobject_from_file(u16 object_id, enum uverbs_obj_access access,
sys/ofed/drivers/infiniband/core/ib_roce_gid_mgmt.c
222
u16 index_num;
sys/ofed/drivers/infiniband/core/ib_sa_query.c
63
u16 pkey_index;
sys/ofed/drivers/infiniband/core/ib_sa_query.c
651
u16 gid_index;
sys/ofed/drivers/infiniband/core/ib_sysfs.c
438
u16 pkey;
sys/ofed/drivers/infiniband/core/ib_sysfs.c
472
u16 out_mad_pkey_index = 0;
sys/ofed/drivers/infiniband/core/ib_ud_header.c
344
u16 packet_length;
sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c
2719
static ssize_t spec_filter_size(const void *kern_spec_filter, u16 kern_filter_size,
sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c
2720
u16 ib_real_filter_sz)
sys/ofed/drivers/infiniband/core/ib_uverbs_ioctl.c
140
u16 len)
sys/ofed/drivers/infiniband/core/ib_uverbs_ioctl.c
155
u16 flags;
sys/ofed/drivers/infiniband/core/ib_uverbs_std_types_device.c
148
resp->lid = (u16)attr->lid;
sys/ofed/drivers/infiniband/core/ib_uverbs_std_types_device.c
149
resp->sm_lid = (u16)attr->sm_lid;
sys/ofed/drivers/infiniband/core/ib_uverbs_std_types_device.c
99
u16 object_id;
sys/ofed/drivers/infiniband/core/ib_verbs.c
1557
int ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period)
sys/ofed/drivers/infiniband/core/ib_verbs.c
1699
static bool is_valid_mcast_lid(struct ib_qp *qp, u16 lid)
sys/ofed/drivers/infiniband/core/ib_verbs.c
1737
int ib_attach_mcast(struct ib_qp *qp, union ib_gid *gid, u16 lid)
sys/ofed/drivers/infiniband/core/ib_verbs.c
1755
int ib_detach_mcast(struct ib_qp *qp, union ib_gid *gid, u16 lid)
sys/ofed/drivers/infiniband/core/ib_verbs.c
495
u16 vlan_id;
sys/ofed/drivers/infiniband/core/ib_verbs.c
508
u16 vlan_diff;
sys/ofed/drivers/infiniband/core/ib_verbs.c
528
u16 vlan_id, const union ib_gid *sgid,
sys/ofed/drivers/infiniband/core/ib_verbs.c
530
u16 *gid_index)
sys/ofed/drivers/infiniband/core/ib_verbs.c
577
u16 gid_index = 0;
sys/ofed/drivers/infiniband/core/ib_verbs.c
600
const u16 vlan_id = (wc->wc_flags & IB_WC_WITH_VLAN) ?
sys/ofed/drivers/infiniband/core/rdma_core.h
132
uapi_get_object(struct uverbs_api *uapi, u16 object_id)
sys/ofed/drivers/infiniband/core/rdma_core.h
64
uverbs_get_uobject_from_file(u16 object_id, enum uverbs_obj_access access,
sys/ofed/drivers/infiniband/core/rdma_core.h
91
u16 bundle_size;
sys/ofed/drivers/infiniband/core/uverbs.h
181
u16 lid;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h
173
u16 reserved;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h
309
u16 coalesce_usecs;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h
310
u16 max_coalesced_frames;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h
351
u16 pkey;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h
352
u16 pkey_index;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h
360
u16 local_lid;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h
509
int ipoib_mcast_attach(struct ipoib_dev_priv *priv, u16 mlid,
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c
656
u16 pkey_index = 0;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c
885
u16 new_index;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
1163
const union ib_gid *gid, u16 pkey_index, const struct sockaddr *addr,
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
1207
u16 pkey_index, const union ib_gid *gid,
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
1230
ipoib_get_net_dev_by_params(struct ib_device *dev, u8 port, u16 pkey,
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
1235
u16 pkey_index;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
91
struct ib_device *dev, u8 port, u16 pkey,
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_verbs.c
39
int ipoib_mcast_attach(struct ipoib_dev_priv *priv, u16 mlid, union ib_gid *mgid, int set_qkey)
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_verbs.c
43
u16 pkey_index;
sys/ofed/drivers/infiniband/ulp/sdp/sdp.h
283
u16 poll_cnt;
sys/ofed/drivers/infiniband/ulp/sdp/sdp.h
307
u16 rx_usecs;
sys/ofed/drivers/infiniband/ulp/sdp/sdp.h
308
u16 rx_frames;
sys/ofed/drivers/infiniband/ulp/sdp/sdp.h
309
u16 tx_usecs;
sys/ofed/drivers/infiniband/ulp/sdp/sdp.h
311
u16 rx_usecs_low;
sys/ofed/drivers/infiniband/ulp/sdp/sdp.h
313
u16 rx_usecs_high;
sys/ofed/drivers/infiniband/ulp/sdp/sdp.h
314
u16 sample_interval;
sys/ofed/drivers/infiniband/ulp/sdp/sdp.h
315
u16 adaptive_rx_coal;
sys/ofed/drivers/infiniband/util/madeye.c
160
static void print_status_details(u16 status)
sys/ofed/include/rdma/ib_addr.h
155
static inline u16 ib_addr_get_pkey(struct rdma_dev_addr *dev_addr)
sys/ofed/include/rdma/ib_addr.h
157
return ((u16)dev_addr->broadcast[8] << 8) | (u16)dev_addr->broadcast[9];
sys/ofed/include/rdma/ib_addr.h
160
static inline void ib_addr_set_pkey(struct rdma_dev_addr *dev_addr, u16 pkey)
sys/ofed/include/rdma/ib_addr.h
177
static inline u16 rdma_vlan_dev_vlan_id(if_t dev)
sys/ofed/include/rdma/ib_addr.h
359
static inline u16 rdma_get_vlan_id(union ib_gid *dgid)
sys/ofed/include/rdma/ib_addr.h
361
u16 vid;
sys/ofed/include/rdma/ib_cache.h
101
u16 *index);
sys/ofed/include/rdma/ib_cache.h
109
void *context, u16 *index);
sys/ofed/include/rdma/ib_cache.h
123
u16 *pkey);
sys/ofed/include/rdma/ib_cache.h
138
u16 pkey,
sys/ofed/include/rdma/ib_cache.h
139
u16 *index);
sys/ofed/include/rdma/ib_cache.h
154
u16 pkey,
sys/ofed/include/rdma/ib_cache.h
155
u16 *index);
sys/ofed/include/rdma/ib_cache.h
79
u16 *index);
sys/ofed/include/rdma/ib_cm.h
119
u16 bth_pkey;
sys/ofed/include/rdma/ib_cm.h
247
u16 bth_pkey;
sys/ofed/include/rdma/ib_cm.h
249
u16 pkey;
sys/ofed/include/rdma/ib_mad.h
803
u32 remote_qpn, u16 pkey_index,
sys/ofed/include/rdma/ib_sa.h
281
u16 data16[8];
sys/ofed/include/rdma/ib_verbs.h
1169
u16 pkey_index;
sys/ofed/include/rdma/ib_verbs.h
1170
u16 alt_pkey_index;
sys/ofed/include/rdma/ib_verbs.h
1289
u16 pkey_index; /* valid for GSI only */
sys/ofed/include/rdma/ib_verbs.h
1718
u16 size;
sys/ofed/include/rdma/ib_verbs.h
1732
u16 size;
sys/ofed/include/rdma/ib_verbs.h
1757
u16 size;
sys/ofed/include/rdma/ib_verbs.h
1775
u16 size;
sys/ofed/include/rdma/ib_verbs.h
1789
u16 size;
sys/ofed/include/rdma/ib_verbs.h
1804
u16 size;
sys/ofed/include/rdma/ib_verbs.h
1818
u16 size;
sys/ofed/include/rdma/ib_verbs.h
1833
u16 size;
sys/ofed/include/rdma/ib_verbs.h
1846
u16 size;
sys/ofed/include/rdma/ib_verbs.h
1853
u16 size;
sys/ofed/include/rdma/ib_verbs.h
1859
u16 size;
sys/ofed/include/rdma/ib_verbs.h
1864
u16 size;
sys/ofed/include/rdma/ib_verbs.h
1875
u16 size;
sys/ofed/include/rdma/ib_verbs.h
1882
u16 size;
sys/ofed/include/rdma/ib_verbs.h
1901
u16 size;
sys/ofed/include/rdma/ib_verbs.h
1902
u16 priority;
sys/ofed/include/rdma/ib_verbs.h
2216
u8 port_num, u16 index, u16 *pkey);
sys/ofed/include/rdma/ib_verbs.h
2272
int (*modify_cq)(struct ib_cq *cq, u16 cq_count,
sys/ofed/include/rdma/ib_verbs.h
2273
u16 cq_period);
sys/ofed/include/rdma/ib_verbs.h
2323
u16 lid);
sys/ofed/include/rdma/ib_verbs.h
2326
u16 lid);
sys/ofed/include/rdma/ib_verbs.h
2336
u16 *out_mad_pkey_index);
sys/ofed/include/rdma/ib_verbs.h
2420
u16 is_switch:1;
sys/ofed/include/rdma/ib_verbs.h
2462
u16 pkey,
sys/ofed/include/rdma/ib_verbs.h
2936
u8 port_num, u16 index, u16 *pkey);
sys/ofed/include/rdma/ib_verbs.h
2948
u8 *port_num, u16 *index);
sys/ofed/include/rdma/ib_verbs.h
2951
u8 port_num, u16 pkey, u16 *index);
sys/ofed/include/rdma/ib_verbs.h
320
u16 max_cq_moderation_count;
sys/ofed/include/rdma/ib_verbs.h
321
u16 max_cq_moderation_period;
sys/ofed/include/rdma/ib_verbs.h
3394
int ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period);
sys/ofed/include/rdma/ib_verbs.h
379
u16 max_pkeys;
sys/ofed/include/rdma/ib_verbs.h
3863
int ib_attach_mcast(struct ib_qp *qp, union ib_gid *gid, u16 lid);
sys/ofed/include/rdma/ib_verbs.h
3871
int ib_detach_mcast(struct ib_qp *qp, union ib_gid *gid, u16 lid);
sys/ofed/include/rdma/ib_verbs.h
3935
u16 pkey, const union ib_gid *gid,
sys/ofed/include/rdma/ib_verbs.h
603
u16 pkey_tbl_len;
sys/ofed/include/rdma/ib_verbs.h
604
u16 lid;
sys/ofed/include/rdma/ib_verbs.h
605
u16 sm_lid;
sys/ofed/include/rdma/ib_verbs.h
823
u16 dlid;
sys/ofed/include/rdma/ib_verbs.h
905
u16 pkey_index;
sys/ofed/include/rdma/ib_verbs.h
906
u16 slid;
sys/ofed/include/rdma/ib_verbs.h
911
u16 vlan_id;
sys/ofed/include/rdma/iw_cm.h
104
u16 private_data_len;
sys/ofed/include/rdma/rdma_vt.h
108
u16 pkey_violations;
sys/ofed/include/rdma/rdma_vt.h
109
u16 qkey_violations;
sys/ofed/include/rdma/rdma_vt.h
110
u16 mkey_violations;
sys/ofed/include/rdma/rdma_vt.h
128
u16 *pkey_table;
sys/ofed/include/rdma/rdma_vt.h
447
static inline u16 rvt_get_pkey(struct rvt_dev_info *rdi,
sys/ofed/include/rdma/rdma_vt.h
491
int port_index, u16 *pkey_table);
sys/ofed/include/rdma/rdma_vt.h
82
u16 pma_tag;
sys/ofed/include/rdma/rdma_vt.h
83
u16 mkey_lease_period;
sys/ofed/include/rdma/rdma_vt.h
84
u16 sm_lid;
sys/ofed/include/rdma/rdmavt_mr.h
110
u16 m; /* current index: mr->map[m] */
sys/ofed/include/rdma/rdmavt_mr.h
111
u16 n; /* current index: mr->map[m]->segs[n] */
sys/ofed/include/rdma/rdmavt_qp.h
286
u16 pmtu; /* decoded from path_mtu */
sys/ofed/include/rdma/rdmavt_qp.h
359
u16 s_hdrwords; /* size of s_hdr in 32 bit words */
sys/ofed/include/rdma/rdmavt_qp.h
360
u16 s_rdma_ack_cnt;
sys/ofed/include/rdma/rdmavt_qp.h
411
u16 limit;
sys/ofed/include/rdma/signature.h
57
u16 pi_interval;
sys/ofed/include/rdma/signature.h
58
u16 bg;
sys/ofed/include/rdma/signature.h
59
u16 app_tag;
sys/ofed/include/rdma/signature.h
64
u16 apptag_check_mask;
sys/ofed/include/rdma/uverbs_ioctl.h
123
u16 obj_type;
sys/ofed/include/rdma/uverbs_ioctl.h
124
u16 min_len;
sys/ofed/include/rdma/uverbs_ioctl.h
125
u16 max_len;
sys/ofed/include/rdma/uverbs_ioctl.h
322
u16 id;
sys/ofed/include/rdma/uverbs_ioctl.h
327
u16 id;
sys/ofed/include/rdma/uverbs_ioctl.h
336
u16 id;
sys/ofed/include/rdma/uverbs_ioctl.h
362
u16 object_id;
sys/ofed/include/rdma/uverbs_ioctl.h
365
u16 command_num;
sys/ofed/include/rdma/uverbs_ioctl.h
628
u16 len;
sys/ofed/include/rdma/uverbs_ioctl.h
629
u16 uattr_idx;
sys/ofed/include/rdma/uverbs_ioctl.h
640
u16 len;
sys/ofed/include/rdma/uverbs_ioctl.h
687
u16 idx)
sys/ofed/include/rdma/uverbs_ioctl.h
696
u16 idx)
sys/ofed/include/rdma/uverbs_ioctl.h
707
u16 idx)
sys/ofed/include/rdma/uverbs_ioctl.h
719
u16 idx)
sys/ofed/include/rdma/uverbs_ioctl.h
730
uverbs_attr_get_len(const struct uverbs_attr_bundle *attrs_bundle, u16 idx)
sys/ofed/include/rdma/uverbs_ioctl.h
748
uverbs_attr_ptr_get_array_size(struct uverbs_attr_bundle *attrs, u16 idx,
sys/ofed/include/rdma/uverbs_ioctl.h
771
const struct uverbs_attr_bundle *attrs_bundle, u16 attr_idx,
sys/ofed/include/rdma/uverbs_ioctl.h
793
const struct uverbs_attr_bundle *attrs_bundle, u16 idx)
sys/ofed/include/rdma/uverbs_ioctl.h
88
u16 len;
sys/ofed/include/rdma/uverbs_ioctl.h
90
u16 min_len;
sys/ofed/include/rdma/uverbs_ioctl.h
98
u16 obj_type;
sys/sys/disk.h
120
uint16_t u16;
tests/sys/sys/qmath_test.c
156
u16q_t u16;
tests/sys/sys/qmath_test.c
158
Q_INI(&u16, QTEST_IV, 0, QTEST_RPSHFT);
tests/sys/sys/qmath_test.c
159
Q_TOSTR(u16, -1, 10, buf, sizeof(buf));
tests/sys/sys/qmath_test.c
161
ATF_CHECK_EQ(sizeof(u16) << 3, Q_NTBITS(u16));
tests/sys/sys/qmath_test.c
162
ATF_CHECK_EQ(QTEST_RPSHFT, Q_NFBITS(u16));
tests/sys/sys/qmath_test.c
163
ATF_CHECK_EQ(QTEST_INTBITS(u16), Q_NIBITS(u16));
tests/sys/sys/qmath_test.c
164
ATF_CHECK_EQ(QTEST_QITRUNC(u16, UINT16_MAX), Q_IMAXVAL(u16));
tests/sys/sys/qmath_test.c
165
ATF_CHECK_EQ(0, Q_IMINVAL(u16));
usr.bin/sdiotool/linux_sdio_compat.c
66
u16 sdio_readw(struct sdio_func *func, unsigned int addr, int *err_ret) {
usr.bin/sdiotool/linux_sdio_compat.c
92
void sdio_writew(struct sdio_func *func, u16 b,
usr.bin/sdiotool/linux_sdio_compat.h
48
u16 sdio_readw(struct sdio_func *func, unsigned int addr, int *err_ret);
usr.bin/sdiotool/linux_sdio_compat.h
55
void sdio_writew(struct sdio_func *func, u16 b,
usr.bin/sdiotool/sdiotool.c
266
case sizeof(u16):
usr.bin/sdiotool/sdiotool.c
268
sdio_writew(func, *(u16 *)data, addr, &ret);
usr.bin/sdiotool/sdiotool.c
270
*(u16 *)data = sdio_readw(func, addr, &ret);
usr.sbin/diskinfo/diskinfo.c
310
arg.len = sizeof(arg.value.u16);
usr.sbin/diskinfo/diskinfo.c
313
if (ret < 0 || arg.value.u16 == DISK_RR_UNKNOWN)
usr.sbin/diskinfo/diskinfo.c
315
else if (arg.value.u16 == DISK_RR_NON_ROTATING)
usr.sbin/diskinfo/diskinfo.c
317
else if (arg.value.u16 >= DISK_RR_MIN && arg.value.u16 <= DISK_RR_MAX)
usr.sbin/diskinfo/diskinfo.c
318
snprintf(rate, buflen, "%d", arg.value.u16);