Symbol: mb
usr/src/cmd/awk_xpg4/awk1.c
1315
char *mb;
usr/src/cmd/awk_xpg4/awk1.c
1320
if ((mb = (char *)malloc(n)) == NULL) {
usr/src/cmd/awk_xpg4/awk1.c
1325
if ((n = wcstombs(mb, w, n)) == -1) {
usr/src/cmd/awk_xpg4/awk1.c
1328
free(mb);
usr/src/cmd/awk_xpg4/awk1.c
1334
if ((mb = (char *)realloc(mb, strlen(mb)+1)) == NULL) {
usr/src/cmd/awk_xpg4/awk1.c
1337
return (mb);
usr/src/cmd/awk_xpg4/awk1.c
1395
char mb[MB_LEN_MAX];
usr/src/cmd/awk_xpg4/awk1.c
1399
if ((n = wctomb(mb, *s)) == 0)
usr/src/cmd/awk_xpg4/awk2.c
949
char mb[MB_LEN_MAX];
usr/src/cmd/awk_xpg4/awk2.c
952
if ((mbl = wctomb(mb, c)) > 0) {
usr/src/cmd/awk_xpg4/awk2.c
953
mb[mbl] = '\0';
usr/src/cmd/awk_xpg4/awk2.c
954
(void) fputs(mb, fp);
usr/src/cmd/backup/dump/dumpmain.c
1047
(esize*(tp_bsize/DEV_BSIZE)), mb(esize), fetapes);
usr/src/cmd/backup/dump/dumpmain.c
1050
msg(msgp, (esize*(tp_bsize/DEV_BSIZE)), mb(esize));
usr/src/cmd/backup/dump/dumpmain.c
112
static char *mb(u_offset_t);
usr/src/cmd/backup/dump/dumpmain.c
115
static char *mb();
usr/src/cmd/backup/dump/dumpmain.c
1158
mb((u_offset_t)(unsigned)(spcl.c_tapea)),
usr/src/cmd/backup/dump/dumpmain.c
1164
mb((u_offset_t)(unsigned)(spcl.c_tapea)));
usr/src/cmd/cmd-inet/usr.bin/ftp/ftp.c
632
char mb[MB_LEN_MAX];
usr/src/cmd/cmd-inet/usr.bin/ftp/ftp.c
641
len = wctomb(mb, c);
usr/src/cmd/cmd-inet/usr.bin/ftp/ftp.c
645
bcopy(mb, pt, (size_t)len);
usr/src/cmd/dtrace/test/cmd/jdtrace/JDTrace.java
713
dtrace.setOption(Option.bufsize, Option.mb(4));
usr/src/cmd/dtrace/test/cmd/jdtrace/JDTrace.java
714
dtrace.setOption(Option.aggsize, Option.mb(4));
usr/src/cmd/dtrace/test/tst/common/java_api/src/TestStateMachine.java
102
consumer.setOption(Option.bufsize, Option.mb(1));
usr/src/cmd/dtrace/test/tst/common/java_api/src/TestStateMachine.java
458
consumer.setOption(Option.bufsize, Option.mb(1));
usr/src/cmd/format/misc.c
865
mb2bn(float mb)
usr/src/cmd/format/misc.c
869
n = (diskaddr_t)(mb * 1024.0 * (1024.0 / cur_blksz));
usr/src/cmd/fs.d/autofs/autod_parse.c
1791
struct mnttab mb; /* needed for hasmntopt() to get nfs version */
usr/src/cmd/fs.d/autofs/autod_parse.c
1860
mb.mnt_mntopts = mapopts;
usr/src/cmd/fs.d/autofs/autod_parse.c
1861
foundvers = nopt(&mb, MNTOPT_VERS, (int *)&nfsvers);
usr/src/cmd/fs.d/pcfs/common/pcfs_bpb.h
219
struct mboot mb;
usr/src/cmd/fs.d/pcfs/common/pcfs_common.c
459
struct mboot mb;
usr/src/cmd/fs.d/pcfs/common/pcfs_common.c
489
if (read(fd, &mb, bpsec) != (ssize_t)bpsec) {
usr/src/cmd/fs.d/pcfs/common/pcfs_common.c
495
if (ltohs(mb.signature) != BOOTSECSIG) {
usr/src/cmd/fs.d/pcfs/common/pcfs_common.c
498
ltohs(mb.signature));
usr/src/cmd/fs.d/pcfs/common/pcfs_common.c
505
(void) memcpy(part, mb.parts, sizeof (part));
usr/src/cmd/fs.d/pcfs/common/pcfs_common.c
665
(void) memcpy(part, mb.parts, sizeof (part));
usr/src/cmd/fs.d/pcfs/fsck/bpb.c
193
if (ltohs(ubpb.mb.signature) != BOOTSECSIG) {
usr/src/cmd/fs.d/pcfs/mkfs/mkfs_main.c
1635
if (ltohs(ubpb.mb.signature) != BOOTSECSIG) {
usr/src/cmd/fs.d/pcfs/mkfs/mkfs_main.c
513
struct mboot mb;
usr/src/cmd/fs.d/pcfs/mkfs/mkfs_main.c
541
if (read(fd, &mb, sizeof (mb)) != sizeof (mb)) {
usr/src/cmd/fs.d/pcfs/mkfs/mkfs_main.c
547
if (ltohs(mb.signature) != BOOTSECSIG) {
usr/src/cmd/fs.d/pcfs/mkfs/mkfs_main.c
558
(void) memcpy(part, mb.parts, sizeof (part));
usr/src/cmd/fs.d/pcfs/mkfs/mkfs_main.c
780
(void) memcpy(part, mb.parts, sizeof (part));
usr/src/cmd/fs.d/udfs/labelit/labelit.c
482
ud_convert2unicode(int8_t *mb, int8_t *comp, int32_t out_len)
usr/src/cmd/fs.d/udfs/labelit/labelit.c
490
len = mbstowcs(buf4c, mb, 127);
usr/src/cmd/ipf/tools/ip_fil.c
536
mb_t *mb;
usr/src/cmd/ipf/tools/ip_fil.c
540
mb = (mb_t *)m;
usr/src/cmd/ipf/tools/ip_fil.c
541
ip = MTOD(mb, ip_t *);
usr/src/cmd/ipf/tools/ipftest.c
233
m = &mb;
usr/src/cmd/ipf/tools/ipftest.c
298
m = &mb;
usr/src/cmd/ipf/tools/ipftest.c
76
mb_t mb, *m;
usr/src/cmd/ipf/tools/ipftest.c
80
m = &mb;
usr/src/cmd/localedef/wide.c
125
show_mb(const char *mb)
usr/src/cmd/localedef/wide.c
130
if (isascii(*mb) && isgraph(*mb)) {
usr/src/cmd/localedef/wide.c
131
buf[0] = *mb;
usr/src/cmd/localedef/wide.c
136
while (*mb != 0) {
usr/src/cmd/localedef/wide.c
138
(void) snprintf(scr, sizeof (scr), "\\x%02x", *mb);
usr/src/cmd/localedef/wide.c
140
mb++;
usr/src/cmd/localedef/wide.c
165
towide_none(wchar_t *c, const char *mb, unsigned n)
usr/src/cmd/localedef/wide.c
173
*c = (uint8_t)*mb;
usr/src/cmd/localedef/wide.c
178
tomb_none(char *mb, wchar_t wc)
usr/src/cmd/localedef/wide.c
184
*(uint8_t *)mb = (wc & 0xff);
usr/src/cmd/localedef/wide.c
185
mb[1] = 0;
usr/src/cmd/localedef/wide.c
193
towide_utf8(wchar_t *wc, const char *mb, unsigned n)
usr/src/cmd/localedef/wide.c
199
const uint8_t *s = (const uint8_t *)mb;
usr/src/cmd/localedef/wide.c
224
werr("utf8 encoding too large (%s)", show_mb(mb));
usr/src/cmd/localedef/wide.c
228
werr("incomplete utf8 sequence (%s)", show_mb(mb));
usr/src/cmd/localedef/wide.c
242
werr("illegal redundant utf8 encoding (%s)", show_mb(mb));
usr/src/cmd/localedef/wide.c
250
tomb_utf8(char *mb, wchar_t wc)
usr/src/cmd/localedef/wide.c
252
uint8_t *s = (uint8_t *)mb;
usr/src/cmd/localedef/wide.c
297
towide_dbcs(wchar_t *wc, const char *mb, unsigned n)
usr/src/cmd/localedef/wide.c
301
c = *(uint8_t *)mb;
usr/src/cmd/localedef/wide.c
309
werr("incomplete character sequence (%s)", show_mb(mb));
usr/src/cmd/localedef/wide.c
315
c |= (uint8_t)(mb[1]);
usr/src/cmd/localedef/wide.c
326
tomb_mbs(char *mb, wchar_t wc)
usr/src/cmd/localedef/wide.c
328
uint8_t *s = (uint8_t *)mb;
usr/src/cmd/localedef/wide.c
356
towide_big5(wchar_t *wc, const char *mb, unsigned n)
usr/src/cmd/localedef/wide.c
358
return (towide_dbcs(wc, mb, n));
usr/src/cmd/localedef/wide.c
366
towide_gbk(wchar_t *wc, const char *mb, unsigned n)
usr/src/cmd/localedef/wide.c
368
return (towide_dbcs(wc, mb, n));
usr/src/cmd/localedef/wide.c
376
towide_gb2312(wchar_t *wc, const char *mb, unsigned n)
usr/src/cmd/localedef/wide.c
378
return (towide_dbcs(wc, mb, n));
usr/src/cmd/localedef/wide.c
387
towide_gb18030(wchar_t *wc, const char *mb, unsigned n)
usr/src/cmd/localedef/wide.c
391
c = *(uint8_t *)mb;
usr/src/cmd/localedef/wide.c
399
werr("incomplete character sequence (%s)", show_mb(mb));
usr/src/cmd/localedef/wide.c
405
c |= (uint8_t)(mb[1]);
usr/src/cmd/localedef/wide.c
410
show_mb(mb));
usr/src/cmd/localedef/wide.c
414
c |= (uint8_t)(mb[2]);
usr/src/cmd/localedef/wide.c
416
c |= (uint8_t)(mb[3]);
usr/src/cmd/localedef/wide.c
430
towide_mskanji(wchar_t *wc, const char *mb, unsigned n)
usr/src/cmd/localedef/wide.c
434
c = *(uint8_t *)mb;
usr/src/cmd/localedef/wide.c
443
werr("incomplete character sequence (%s)", show_mb(mb));
usr/src/cmd/localedef/wide.c
449
c |= (uint8_t)(mb[1]);
usr/src/cmd/localedef/wide.c
463
towide_euc_impl(wchar_t *wc, const char *mb, unsigned n,
usr/src/cmd/localedef/wide.c
470
c = *(uint8_t *)mb;
usr/src/cmd/localedef/wide.c
497
werr("incomplete character sequence (%s)", show_mb(mb));
usr/src/cmd/localedef/wide.c
504
c |= (uint8_t)(mb[i]);
usr/src/cmd/localedef/wide.c
520
towide_euccn(wchar_t *wc, const char *mb, unsigned n)
usr/src/cmd/localedef/wide.c
522
return (towide_euc_impl(wc, mb, n, 0x8e, 4, 0, 0));
usr/src/cmd/localedef/wide.c
534
towide_eucjp(wchar_t *wc, const char *mb, unsigned n)
usr/src/cmd/localedef/wide.c
536
return (towide_euc_impl(wc, mb, n, 0x8e, 2, 0x8f, 3));
usr/src/cmd/localedef/wide.c
548
towide_euckr(wchar_t *wc, const char *mb, unsigned n)
usr/src/cmd/localedef/wide.c
550
return (towide_euc_impl(wc, mb, n, 0, 0, 0, 0));
usr/src/cmd/localedef/wide.c
562
towide_euctw(wchar_t *wc, const char *mb, unsigned n)
usr/src/cmd/localedef/wide.c
564
return (towide_euc_impl(wc, mb, n, 0x8e, 4, 0, 0));
usr/src/cmd/localedef/wide.c
572
to_wide(wchar_t *wc, const char *mb)
usr/src/cmd/localedef/wide.c
575
return (_towide(wc, mb, strlen(mb)));
usr/src/cmd/localedef/wide.c
579
to_mb(char *mb, wchar_t wc)
usr/src/cmd/localedef/wide.c
583
if ((rv = _tomb(mb, wc)) < 0) {
usr/src/cmd/mdb/common/modules/genunix/streams.c
1158
mblk_t mb;
usr/src/cmd/mdb/common/modules/genunix/streams.c
1163
if (mdb_vread(&mb, sizeof (mb), addr) == -1) {
usr/src/cmd/mdb/common/modules/genunix/streams.c
1168
mdb_printf("%p\n", mb.b_datap);
usr/src/cmd/mdb/common/modules/genunix/streams.c
1186
mblk_t mb;
usr/src/cmd/mdb/common/modules/genunix/streams.c
1199
if (mdb_vread(&mb, sizeof (mblk_t), addr) == -1) {
usr/src/cmd/mdb/common/modules/genunix/streams.c
1204
if (mdb_vread(&db, sizeof (dblk_t), (uintptr_t)mb.b_datap) == -1) {
usr/src/cmd/mdb/common/modules/genunix/streams.c
1209
if (mb.b_rptr < db.db_base || mb.b_rptr > db.db_lim)
usr/src/cmd/mdb/common/modules/genunix/streams.c
1212
if (mb.b_wptr < db.db_base || mb.b_wptr > db.db_lim)
usr/src/cmd/mdb/common/modules/mdb_ks/mdb_ks.c
1001
mb = hashtab[hashndx];
usr/src/cmd/mdb/common/modules/mdb_ks/mdb_ks.c
1002
while (mb) {
usr/src/cmd/mdb/common/modules/mdb_ks/mdb_ks.c
1003
if (mdb_vread(&mb_local, sizeof (mb_local), mb) == -1) {
usr/src/cmd/mdb/common/modules/mdb_ks/mdb_ks.c
1004
mdb_warn("failed to read struct bind at %p", mb);
usr/src/cmd/mdb/common/modules/mdb_ks/mdb_ks.c
1017
mb = (uintptr_t)mb_local.b_next;
usr/src/cmd/mdb/common/modules/mdb_ks/mdb_ks.c
1019
return (mb);
usr/src/cmd/mdb/common/modules/mdb_ks/mdb_ks.c
1683
mdb_mblk_count(const mblk_t *mb)
usr/src/cmd/mdb/common/modules/mdb_ks/mdb_ks.c
1688
if (mb == NULL)
usr/src/cmd/mdb/common/modules/mdb_ks/mdb_ks.c
1692
while (mb->b_next != NULL) {
usr/src/cmd/mdb/common/modules/mdb_ks/mdb_ks.c
1694
if (mdb_vread(&mblk, sizeof (mblk), (uintptr_t)mb->b_next) ==
usr/src/cmd/mdb/common/modules/mdb_ks/mdb_ks.c
1697
mb = &mblk;
usr/src/cmd/mdb/common/modules/mdb_ks/mdb_ks.c
996
uintptr_t mb;
usr/src/cmd/msgfmt/msgfmt.c
200
char mb;
usr/src/cmd/msgfmt/msgfmt.c
490
if ((mb = expand_meta(&linebufptr)) != '\0')
usr/src/cmd/msgfmt/msgfmt.c
491
bufptr[bufptr_index++] = mb;
usr/src/cmd/sh/print.c
87
char mb[MB_LEN_MAX + 1];
usr/src/cmd/sh/print.c
93
if ((len = wctomb(mb, c)) < 0) {
usr/src/cmd/sh/print.c
94
mb[0] = (unsigned char)c;
usr/src/cmd/sh/print.c
97
write(output, mb, len);
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
176
smb_msgbuf_t mb;
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
248
smb_msgbuf_init(&mb, ctx->ctx_obodybuf, ctx->ctx_obodylen, mbflags);
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
254
&mb, "8clwwll8cllwwl", /* offset, name (fmt) */
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
272
var_start = smb_msgbuf_used(&mb);
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
273
rc = smb_msgbuf_encode(&mb, "u", tmp_name);
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
274
var_end = smb_msgbuf_used(&mb);
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
280
save_scan = mb.scan;
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
281
mb.scan = mb.base + TARGET_NAME_OFFSET;
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
282
(void) smb_msgbuf_encode(&mb, "wwl", var_size, var_size, var_start);
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
283
mb.scan = save_scan;
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
303
var_start = smb_msgbuf_used(&mb);
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
308
if (encode_avpair_str(&mb, MsvAvNbComputerName, tmp_name) < 0)
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
316
if (encode_avpair_str(&mb, MsvAvNbDomainName, tmp_name) < 0)
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
323
if (encode_avpair_str(&mb, MsvAvDnsComputerName, tmp_name) < 0)
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
325
if (encode_avpair_str(&mb, MsvAvDnsDomainName, tmp_name) < 0)
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
335
if (encode_avpair_str(&mb, MsvAvNbDomainName, tmp_name) < 0)
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
341
if (encode_avpair_str(&mb, MsvAvDnsComputerName, tmp_name) < 0)
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
347
if (encode_avpair_str(&mb, MsvAvDnsDomainName, tmp_name) < 0)
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
352
if (smb_msgbuf_encode(&mb, "ww", MsvAvEOL, 0) < 0)
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
354
var_end = smb_msgbuf_used(&mb);
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
358
save_scan = mb.scan;
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
359
mb.scan = mb.base + TARGET_INFO_OFFSET;
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
360
(void) smb_msgbuf_encode(&mb, "wwl", var_size, var_size, var_start);
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
361
mb.scan = save_scan;
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
363
ctx->ctx_obodylen = smb_msgbuf_used(&mb);
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
364
smb_msgbuf_term(&mb);
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
371
smb_msgbuf_term(&mb);
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
376
encode_avpair_str(smb_msgbuf_t *mb, uint16_t AvId, char *name)
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
382
rc = smb_msgbuf_encode(mb, "wwU", AvId, len, name);
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
394
smb_msgbuf_t mb;
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
420
smb_msgbuf_init(&mb, ctx->ctx_ibodybuf, ctx->ctx_ibodylen, mbflags);
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
423
if (smb_msgbuf_decode(&mb, "12.") < 0)
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
425
if (decode_secbuf_bin(&mb, &hdr.h_lm_resp, &lm_resp) < 0)
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
427
if (decode_secbuf_bin(&mb, &hdr.h_nt_resp, &nt_resp) < 0)
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
429
if (decode_secbuf_str(&mb, &hdr.h_domain, &domain) < 0)
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
431
if (decode_secbuf_str(&mb, &hdr.h_user, &user) < 0)
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
433
if (decode_secbuf_str(&mb, &hdr.h_wksta, &wksta) < 0)
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
435
if (decode_secbuf_bin(&mb, &hdr.h_essn_key, &essn_key) < 0)
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
437
if (smb_msgbuf_decode(&mb, "l", &be->clnt_flags) < 0)
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
536
smb_msgbuf_term(&mb);
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
540
smb_msgbuf_term(&mb);
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
545
decode_secbuf_bin(smb_msgbuf_t *mb, struct sec_buf *sb, void **binp)
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
551
mb, "wwl",
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
558
if (sb->sb_offset > mb->max)
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
560
if (sb->sb_length > (mb->max - sb->sb_offset))
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
565
*binp = mb->base + sb->sb_offset;
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
570
decode_secbuf_str(smb_msgbuf_t *mb, struct sec_buf *sb, char **cpp)
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
577
mb, "wwl",
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
584
if (sb->sb_offset > mb->max)
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
586
if (sb->sb_length > (mb->max - sb->sb_offset))
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
591
save_scan = mb->scan;
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
592
mb->scan = mb->base + sb->sb_offset;
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
593
rc = smb_msgbuf_decode(mb, "#u", (int)sb->sb_length, cpp);
usr/src/cmd/smbsrv/smbd/smbd_ntlmssp.c
594
mb->scan = save_scan;
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
104
smb_msgbuf_t mb;
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
108
smb_msgbuf_init(&mb, temp, sizeof (temp), mbflags);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
111
rc = smb_msgbuf_encode(&mb, "5s", "one");
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
126
smb_msgbuf_term(&mb);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
134
smb_msgbuf_t mb;
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
138
smb_msgbuf_init(&mb, temp, sizeof (temp), mbflags);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
141
rc = smb_msgbuf_encode(&mb, "4s", "onetwo");
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
157
smb_msgbuf_term(&mb);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
165
smb_msgbuf_t mb;
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
170
smb_msgbuf_init(&mb, temp, 4, mbflags);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
173
rc = smb_msgbuf_encode(&mb, "s", "onetwo");
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
189
smb_msgbuf_term(&mb);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
200
smb_msgbuf_t mb;
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
204
smb_msgbuf_init(&mb, temp, sizeof (temp), mbflags);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
206
rc = smb_msgbuf_encode(&mb, "Uw", "one", 42);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
221
smb_msgbuf_term(&mb);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
232
smb_msgbuf_t mb;
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
236
smb_msgbuf_init(&mb, temp, sizeof (temp), mbflags);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
238
rc = smb_msgbuf_encode(&mb, "8Uw", "one.", 42);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
253
smb_msgbuf_term(&mb);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
260
smb_msgbuf_t mb;
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
264
smb_msgbuf_init(&mb, temp, sizeof (temp), mbflags);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
266
rc = smb_msgbuf_encode(&mb, "U", mbsa);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
281
smb_msgbuf_term(&mb);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
288
smb_msgbuf_t mb;
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
292
smb_msgbuf_init(&mb, temp, sizeof (temp), mbflags);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
294
rc = smb_msgbuf_encode(&mb, "U", mbsp);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
309
smb_msgbuf_term(&mb);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
317
smb_msgbuf_t mb;
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
321
smb_msgbuf_init(&mb, temp, sizeof (temp), mbflags);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
324
rc = smb_msgbuf_encode(&mb, "10U", "one");
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
339
smb_msgbuf_term(&mb);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
347
smb_msgbuf_t mb;
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
351
smb_msgbuf_init(&mb, temp, sizeof (temp), mbflags);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
354
rc = smb_msgbuf_encode(&mb, "8U", "onetwo");
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
370
smb_msgbuf_term(&mb);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
378
smb_msgbuf_t mb;
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
383
smb_msgbuf_init(&mb, temp, 8, mbflags);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
386
rc = smb_msgbuf_encode(&mb, "U", "onetwo");
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
402
smb_msgbuf_term(&mb);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
412
smb_msgbuf_t mb;
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
418
smb_msgbuf_init(&mb, wire, sizeof (wire), mbflags);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
420
rc = smb_msgbuf_decode(&mb, "sw", &s, &w);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
43
smb_msgbuf_t mb;
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
441
smb_msgbuf_term(&mb);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
451
smb_msgbuf_t mb;
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
457
smb_msgbuf_init(&mb, wire, sizeof (wire), mbflags);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
459
rc = smb_msgbuf_decode(&mb, "3s.w", &s, &w);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
47
smb_msgbuf_init(&mb, temp, sizeof (temp), mbflags);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
480
smb_msgbuf_term(&mb);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
488
smb_msgbuf_t mb;
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
49
rc = smb_msgbuf_encode(&mb, "sw", "one", 42);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
493
smb_msgbuf_init(&mb, wire, sizeof (wire), mbflags);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
495
rc = smb_msgbuf_decode(&mb, "3s", &s);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
500
if (mb.scan != mb.end) {
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
512
smb_msgbuf_term(&mb);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
522
smb_msgbuf_t mb;
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
528
smb_msgbuf_init(&mb, (uint8_t *)wire, sizeof (wire), mbflags);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
530
rc = smb_msgbuf_decode(&mb, "Uw", &s, &w);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
551
smb_msgbuf_term(&mb);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
561
smb_msgbuf_t mb;
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
567
smb_msgbuf_init(&mb, (uint8_t *)wire, sizeof (wire), mbflags);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
569
rc = smb_msgbuf_decode(&mb, "6U..w", &s, &w);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
590
smb_msgbuf_term(&mb);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
598
smb_msgbuf_t mb;
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
603
smb_msgbuf_init(&mb, (uint8_t *)wire, sizeof (wire), mbflags);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
605
rc = smb_msgbuf_decode(&mb, "6U", &s);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
610
if (mb.scan != mb.end) {
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
622
smb_msgbuf_term(&mb);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
628
smb_msgbuf_t mb;
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
633
smb_msgbuf_init(&mb, (uint8_t *)wcsa, sizeof (wcsa), mbflags);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
635
rc = smb_msgbuf_decode(&mb, "#U", sizeof (wcsa), &s);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
64
smb_msgbuf_term(&mb);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
648
smb_msgbuf_term(&mb);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
654
smb_msgbuf_t mb;
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
659
smb_msgbuf_init(&mb, (uint8_t *)wcsp, sizeof (wcsp), mbflags);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
661
rc = smb_msgbuf_decode(&mb, "#U", sizeof (wcsp), &s);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
674
smb_msgbuf_term(&mb);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
75
smb_msgbuf_t mb;
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
79
smb_msgbuf_init(&mb, temp, sizeof (temp), mbflags);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
81
rc = smb_msgbuf_encode(&mb, "4sw", "one.", 42);
usr/src/cmd/smbsrv/test-msgbuf/test_msgbuf.c
96
smb_msgbuf_term(&mb);
usr/src/common/smbsrv/smb_msgbuf.c
100
smb_msgbuf_dword_align(smb_msgbuf_t *mb)
usr/src/common/smbsrv/smb_msgbuf.c
102
mb->scan = (uint8_t *)((uintptr_t)(mb->scan + 3) & ~3);
usr/src/common/smbsrv/smb_msgbuf.c
110
smb_msgbuf_has_space(smb_msgbuf_t *mb, size_t size)
usr/src/common/smbsrv/smb_msgbuf.c
112
if (size > mb->max || (mb->scan + size) > mb->end)
usr/src/common/smbsrv/smb_msgbuf.c
122
smb_msgbuf_fset(smb_msgbuf_t *mb, uint32_t flags)
usr/src/common/smbsrv/smb_msgbuf.c
124
mb->flags |= flags;
usr/src/common/smbsrv/smb_msgbuf.c
131
smb_msgbuf_fclear(smb_msgbuf_t *mb, uint32_t flags)
usr/src/common/smbsrv/smb_msgbuf.c
133
mb->flags &= ~flags;
usr/src/common/smbsrv/smb_msgbuf.c
147
smb_msgbuf_init(smb_msgbuf_t *mb, uint8_t *buf, size_t size, uint32_t flags)
usr/src/common/smbsrv/smb_msgbuf.c
149
mb->scan = mb->base = buf;
usr/src/common/smbsrv/smb_msgbuf.c
150
mb->max = mb->count = size;
usr/src/common/smbsrv/smb_msgbuf.c
151
mb->end = &buf[size];
usr/src/common/smbsrv/smb_msgbuf.c
152
mb->flags = flags;
usr/src/common/smbsrv/smb_msgbuf.c
153
mb->mlist.next = 0;
usr/src/common/smbsrv/smb_msgbuf.c
163
smb_msgbuf_term(smb_msgbuf_t *mb)
usr/src/common/smbsrv/smb_msgbuf.c
165
smb_msgbuf_mlist_t *item = mb->mlist.next;
usr/src/common/smbsrv/smb_msgbuf.c
190
smb_msgbuf_decode(smb_msgbuf_t *mb, char *fmt, ...)
usr/src/common/smbsrv/smb_msgbuf.c
197
orig_scan = mb->scan;
usr/src/common/smbsrv/smb_msgbuf.c
198
rc = buf_decode(mb, fmt, ap);
usr/src/common/smbsrv/smb_msgbuf.c
203
mb->scan = orig_scan;
usr/src/common/smbsrv/smb_msgbuf.c
208
return (mb->scan - orig_scan);
usr/src/common/smbsrv/smb_msgbuf.c
220
buf_decode(smb_msgbuf_t *mb, char *fmt, va_list ap)
usr/src/common/smbsrv/smb_msgbuf.c
264
if (smb_msgbuf_has_space(mb, repc) == 0)
usr/src/common/smbsrv/smb_msgbuf.c
267
mb->scan += repc;
usr/src/common/smbsrv/smb_msgbuf.c
271
if (smb_msgbuf_has_space(mb, repc) == 0)
usr/src/common/smbsrv/smb_msgbuf.c
275
bcopy(mb->scan, bvalp, repc);
usr/src/common/smbsrv/smb_msgbuf.c
276
mb->scan += repc;
usr/src/common/smbsrv/smb_msgbuf.c
280
if (smb_msgbuf_has_space(mb, repc) == 0)
usr/src/common/smbsrv/smb_msgbuf.c
285
*bvalp++ = *mb->scan++;
usr/src/common/smbsrv/smb_msgbuf.c
290
rc = smb_msgbuf_has_space(mb, repc * sizeof (uint16_t));
usr/src/common/smbsrv/smb_msgbuf.c
296
*wvalp++ = LE_IN16(mb->scan);
usr/src/common/smbsrv/smb_msgbuf.c
297
mb->scan += sizeof (uint16_t);
usr/src/common/smbsrv/smb_msgbuf.c
302
rc = smb_msgbuf_has_space(mb, repc * sizeof (int32_t));
usr/src/common/smbsrv/smb_msgbuf.c
308
*lvalp++ = LE_IN32(mb->scan);
usr/src/common/smbsrv/smb_msgbuf.c
309
mb->scan += sizeof (int32_t);
usr/src/common/smbsrv/smb_msgbuf.c
314
rc = smb_msgbuf_has_space(mb, repc * sizeof (int64_t));
usr/src/common/smbsrv/smb_msgbuf.c
320
*llvalp++ = LE_IN64(mb->scan);
usr/src/common/smbsrv/smb_msgbuf.c
321
mb->scan += sizeof (int64_t);
usr/src/common/smbsrv/smb_msgbuf.c
326
if (mb->flags & SMB_MSGBUF_UNICODE)
usr/src/common/smbsrv/smb_msgbuf.c
334
rc = msgbuf_get_oem_string(mb, cvalpp, repc);
usr/src/common/smbsrv/smb_msgbuf.c
344
rc = msgbuf_get_unicode_string(mb, cvalpp, repc);
usr/src/common/smbsrv/smb_msgbuf.c
350
if (smb_msgbuf_has_space(mb, 4) == 0)
usr/src/common/smbsrv/smb_msgbuf.c
353
if (mb->scan[0] != 0xFF ||
usr/src/common/smbsrv/smb_msgbuf.c
354
mb->scan[1] != 'S' ||
usr/src/common/smbsrv/smb_msgbuf.c
355
mb->scan[2] != 'M' ||
usr/src/common/smbsrv/smb_msgbuf.c
356
mb->scan[3] != 'B') {
usr/src/common/smbsrv/smb_msgbuf.c
359
mb->scan += 4;
usr/src/common/smbsrv/smb_msgbuf.c
379
msgbuf_get_oem_string(smb_msgbuf_t *mb, char **strpp, int max_bytes)
usr/src/common/smbsrv/smb_msgbuf.c
402
if ((mb->scan + datalen) >= mb->end)
usr/src/common/smbsrv/smb_msgbuf.c
405
if (mb->scan[datalen - 1] == 0)
usr/src/common/smbsrv/smb_msgbuf.c
415
oembuf = smb_msgbuf_malloc(mb, datalen + 1);
usr/src/common/smbsrv/smb_msgbuf.c
418
bcopy(mb->scan, oembuf, datalen);
usr/src/common/smbsrv/smb_msgbuf.c
419
mb->scan += datalen;
usr/src/common/smbsrv/smb_msgbuf.c
427
mbs = smb_msgbuf_malloc(mb, mbsmax + 1);
usr/src/common/smbsrv/smb_msgbuf.c
449
msgbuf_get_unicode_string(smb_msgbuf_t *mb, char **strpp, int max_bytes)
usr/src/common/smbsrv/smb_msgbuf.c
464
smb_msgbuf_word_align(mb);
usr/src/common/smbsrv/smb_msgbuf.c
477
if ((mb->scan + datalen) >= mb->end)
usr/src/common/smbsrv/smb_msgbuf.c
480
if (mb->scan[datalen - 2] == 0 &&
usr/src/common/smbsrv/smb_msgbuf.c
481
mb->scan[datalen - 1] == 0)
usr/src/common/smbsrv/smb_msgbuf.c
491
wcsbuf = smb_msgbuf_malloc(mb, datalen + 2);
usr/src/common/smbsrv/smb_msgbuf.c
494
bcopy(mb->scan, wcsbuf, datalen);
usr/src/common/smbsrv/smb_msgbuf.c
495
mb->scan += datalen;
usr/src/common/smbsrv/smb_msgbuf.c
503
mbs = smb_msgbuf_malloc(mb, mbsmax + 1);
usr/src/common/smbsrv/smb_msgbuf.c
526
smb_msgbuf_encode(smb_msgbuf_t *mb, char *fmt, ...)
usr/src/common/smbsrv/smb_msgbuf.c
533
orig_scan = mb->scan;
usr/src/common/smbsrv/smb_msgbuf.c
534
rc = buf_encode(mb, fmt, ap);
usr/src/common/smbsrv/smb_msgbuf.c
539
mb->scan = orig_scan;
usr/src/common/smbsrv/smb_msgbuf.c
544
return (mb->scan - orig_scan);
usr/src/common/smbsrv/smb_msgbuf.c
556
buf_encode(smb_msgbuf_t *mb, char *fmt, va_list ap)
usr/src/common/smbsrv/smb_msgbuf.c
601
if (smb_msgbuf_has_space(mb, repc) == 0)
usr/src/common/smbsrv/smb_msgbuf.c
605
*mb->scan++ = 0;
usr/src/common/smbsrv/smb_msgbuf.c
609
if (smb_msgbuf_has_space(mb, repc) == 0)
usr/src/common/smbsrv/smb_msgbuf.c
613
bcopy(bvalp, mb->scan, repc);
usr/src/common/smbsrv/smb_msgbuf.c
614
mb->scan += repc;
usr/src/common/smbsrv/smb_msgbuf.c
618
if (smb_msgbuf_has_space(mb, repc) == 0)
usr/src/common/smbsrv/smb_msgbuf.c
623
*mb->scan++ = cval;
usr/src/common/smbsrv/smb_msgbuf.c
628
rc = smb_msgbuf_has_space(mb, repc * sizeof (uint16_t));
usr/src/common/smbsrv/smb_msgbuf.c
634
LE_OUT16(mb->scan, wval);
usr/src/common/smbsrv/smb_msgbuf.c
635
mb->scan += sizeof (uint16_t);
usr/src/common/smbsrv/smb_msgbuf.c
640
rc = smb_msgbuf_has_space(mb, repc * sizeof (int32_t));
usr/src/common/smbsrv/smb_msgbuf.c
646
LE_OUT32(mb->scan, lval);
usr/src/common/smbsrv/smb_msgbuf.c
647
mb->scan += sizeof (int32_t);
usr/src/common/smbsrv/smb_msgbuf.c
652
rc = smb_msgbuf_has_space(mb, repc * sizeof (int64_t));
usr/src/common/smbsrv/smb_msgbuf.c
658
LE_OUT64(mb->scan, llval);
usr/src/common/smbsrv/smb_msgbuf.c
659
mb->scan += sizeof (uint64_t);
usr/src/common/smbsrv/smb_msgbuf.c
66
smb_msgbuf_used(smb_msgbuf_t *mb)
usr/src/common/smbsrv/smb_msgbuf.c
664
if (mb->flags & SMB_MSGBUF_UNICODE)
usr/src/common/smbsrv/smb_msgbuf.c
672
rc = msgbuf_put_oem_string(mb, cvalp, repc);
usr/src/common/smbsrv/smb_msgbuf.c
682
rc = msgbuf_put_unicode_string(mb, cvalp, repc);
usr/src/common/smbsrv/smb_msgbuf.c
688
if (smb_msgbuf_has_space(mb, 4) == 0)
usr/src/common/smbsrv/smb_msgbuf.c
69
return (mb->scan - mb->base);
usr/src/common/smbsrv/smb_msgbuf.c
691
*mb->scan++ = 0xFF;
usr/src/common/smbsrv/smb_msgbuf.c
692
*mb->scan++ = 'S';
usr/src/common/smbsrv/smb_msgbuf.c
693
*mb->scan++ = 'M';
usr/src/common/smbsrv/smb_msgbuf.c
694
*mb->scan++ = 'B';
usr/src/common/smbsrv/smb_msgbuf.c
713
msgbuf_put_oem_string(smb_msgbuf_t *mb, char *mbs, int repc)
usr/src/common/smbsrv/smb_msgbuf.c
733
if ((mb->flags & SMB_MSGBUF_NOTERM) == 0)
usr/src/common/smbsrv/smb_msgbuf.c
741
oembuf = smb_msgbuf_malloc(mb, oemlen + 1);
usr/src/common/smbsrv/smb_msgbuf.c
757
if (smb_msgbuf_has_space(mb, 1) == 0)
usr/src/common/smbsrv/smb_msgbuf.c
759
*mb->scan++ = *s;
usr/src/common/smbsrv/smb_msgbuf.c
76
smb_msgbuf_size(smb_msgbuf_t *mb)
usr/src/common/smbsrv/smb_msgbuf.c
776
msgbuf_put_unicode_string(smb_msgbuf_t *mb, char *mbs, int repc)
usr/src/common/smbsrv/smb_msgbuf.c
78
return (mb->max);
usr/src/common/smbsrv/smb_msgbuf.c
785
smb_msgbuf_word_align(mb);
usr/src/common/smbsrv/smb_msgbuf.c
801
if ((mb->flags & SMB_MSGBUF_NOTERM) == 0)
usr/src/common/smbsrv/smb_msgbuf.c
810
wcsbuf = smb_msgbuf_malloc(mb, wcsbytes + 2);
usr/src/common/smbsrv/smb_msgbuf.c
82
smb_msgbuf_base(smb_msgbuf_t *mb)
usr/src/common/smbsrv/smb_msgbuf.c
827
if (smb_msgbuf_has_space(mb, sizeof (smb_wchar_t)) == 0)
usr/src/common/smbsrv/smb_msgbuf.c
830
LE_OUT16(mb->scan, wchar);
usr/src/common/smbsrv/smb_msgbuf.c
831
mb->scan += 2;
usr/src/common/smbsrv/smb_msgbuf.c
837
if (smb_msgbuf_has_space(mb, 1) == 0)
usr/src/common/smbsrv/smb_msgbuf.c
839
*mb->scan++ = '\0';
usr/src/common/smbsrv/smb_msgbuf.c
84
return (mb->base);
usr/src/common/smbsrv/smb_msgbuf.c
853
smb_msgbuf_malloc(smb_msgbuf_t *mb, size_t size)
usr/src/common/smbsrv/smb_msgbuf.c
865
item->next = mb->mlist.next;
usr/src/common/smbsrv/smb_msgbuf.c
867
mb->mlist.next = item;
usr/src/common/smbsrv/smb_msgbuf.c
91
smb_msgbuf_word_align(smb_msgbuf_t *mb)
usr/src/common/smbsrv/smb_msgbuf.c
93
mb->scan = (uint8_t *)((uintptr_t)(mb->scan + 1) & ~1);
usr/src/grub/grub-0.97/netboot/io.h
113
#define rmb() mb()
usr/src/grub/grub-0.97/netboot/io.h
114
#define wmb() mb();
usr/src/grub/grub-0.97/stage2/boot.c
140
pu.mb = (struct multiboot_header *) (buffer + i);
usr/src/grub/grub-0.97/stage2/boot.c
141
entry_addr = (entry_func) pu.mb->entry_addr;
usr/src/grub/grub-0.97/stage2/boot.c
142
cur_addr = pu.mb->load_addr;
usr/src/grub/grub-0.97/stage2/boot.c
144
grub_seek (i - (pu.mb->header_addr - cur_addr));
usr/src/grub/grub-0.97/stage2/boot.c
147
if (! pu.mb->load_end_addr)
usr/src/grub/grub-0.97/stage2/boot.c
148
pu.mb->load_end_addr = cur_addr + filemax;
usr/src/grub/grub-0.97/stage2/boot.c
150
text_len = pu.mb->load_end_addr - cur_addr;
usr/src/grub/grub-0.97/stage2/boot.c
154
if (! pu.mb->bss_end_addr)
usr/src/grub/grub-0.97/stage2/boot.c
155
pu.mb->bss_end_addr = pu.mb->load_end_addr;
usr/src/grub/grub-0.97/stage2/boot.c
157
bss_len = pu.mb->bss_end_addr - pu.mb->load_end_addr;
usr/src/grub/grub-0.97/stage2/boot.c
159
if (pu.mb->header_addr < pu.mb->load_addr
usr/src/grub/grub-0.97/stage2/boot.c
160
|| pu.mb->load_end_addr <= pu.mb->load_addr
usr/src/grub/grub-0.97/stage2/boot.c
161
|| pu.mb->bss_end_addr < pu.mb->load_end_addr
usr/src/grub/grub-0.97/stage2/boot.c
162
|| (pu.mb->header_addr - pu.mb->load_addr) > i)
usr/src/grub/grub-0.97/stage2/boot.c
51
struct multiboot_header *mb;
usr/src/lib/libc/port/stdio/flush.c
823
mbstate_t *mb;
usr/src/lib/libc/port/stdio/flush.c
837
mb = _getmbstate(iop);
usr/src/lib/libc/port/stdio/flush.c
838
if (mb != NULL)
usr/src/lib/libc/port/stdio/flush.c
839
(void) memset(mb, 0, sizeof (mbstate_t));
usr/src/lib/libc/port/stdio/flush.c
846
getiop(FILE *fp, rmutex_t *lk, mbstate_t *mb)
usr/src/lib/libc/port/stdio/flush.c
860
(void) memset(mb, 0, sizeof (mbstate_t));
usr/src/lib/libc/port/stdio/fopen.c
116
mb = _getmbstate(iop);
usr/src/lib/libc/port/stdio/fopen.c
117
if (mb != NULL)
usr/src/lib/libc/port/stdio/fopen.c
118
(void) memset(mb, 0, sizeof (mbstate_t));
usr/src/lib/libc/port/stdio/fopen.c
86
mbstate_t *mb;
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1237
dwarfstring mb;
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1240
dwarfstring_constructor(&mb);
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1241
dwarfstring_append_printf_u(&mb,"Specialop %3u", origop);
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1244
print_line_detail(dbg,dwarfstring_string(&mb),
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1246
dwarfstring_destructor(&mb);
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1315
dwarfstring mb;
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1410
dwarfstring_constructor(&mb);
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1411
dwarfstring_append_printf_i(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1414
dwarfstring_append_printf_u(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1417
_dwarf_printf(dbg,dwarfstring_string(&mb));
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1418
dwarfstring_destructor(&mb);
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1445
dwarfstring_constructor(&mb);
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1446
dwarfstring_append_printf_i(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1449
dwarfstring_append_printf_u(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1452
_dwarf_printf(dbg,dwarfstring_string(&mb));
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1453
dwarfstring_destructor(&mb);
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1501
dwarfstring_constructor(&mb);
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1502
dwarfstring_append_printf_i(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1505
_dwarf_printf(dbg,dwarfstring_string(&mb));
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1506
dwarfstring_destructor(&mb);
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1529
dwarfstring_constructor(&mb);
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1531
dwarfstring_append_printf_i(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1534
dwarfstring_append_printf_u(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1537
_dwarf_printf(dbg,dwarfstring_string(&mb));
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1538
dwarfstring_destructor(&mb);
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1578
dwarfstring_constructor(&mb);
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1579
dwarfstring_append_printf_u(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1583
_dwarf_printf(dbg,dwarfstring_string(&mb));
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1584
dwarfstring_destructor(&mb);
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1632
dwarfstring_constructor(&mb);
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1633
dwarfstring_append_printf_i(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1636
dwarfstring_append_printf_u(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1639
dwarfstring_append_printf_u(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1644
dwarfstring_string(&mb));
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1645
dwarfstring_destructor(&mb);
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1686
dwarfstring_constructor(&mb);
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1687
dwarfstring_append_printf_u(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1691
_dwarf_printf(dbg,dwarfstring_string(&mb));
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1692
dwarfstring_destructor(&mb);
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1767
dwarfstring_constructor(&mb);
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1768
dwarfstring_append_printf_i(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1773
dwarfstring_append_printf_u(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1776
dwarfstring_append_printf_u(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1781
dwarfstring_string(&mb));
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1782
dwarfstring_destructor(&mb);
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1786
dwarfstring_constructor(&mb);
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1787
dwarfstring_append_printf_i(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1791
dwarfstring_append_printf_u(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1795
dwarfstring_string(&mb));
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1796
dwarfstring_destructor(&mb);
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1820
dwarfstring_constructor(&mb);
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1821
dwarfstring_append_printf_i(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1825
dwarfstring_append_printf_u(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1829
dwarfstring_string(&mb));
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1869
dwarfstring_constructor(&mb);
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1870
dwarfstring_append_printf_i(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1873
dwarfstring_append_printf_u(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1876
dwarfstring_append_printf_i(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1879
dwarfstring_append_printf_u(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1882
dwarfstring_append_printf_i(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1885
dwarfstring_append_printf_u(&mb,
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1889
dwarfstring_string(&mb));
usr/src/lib/libdwarf/common/dwarf_line_table_reader_common.h
1890
dwarfstring_destructor(&mb);
usr/src/lib/libefi/common/rdwr_efi.c
623
smbios_info_t sys, mb;
usr/src/lib/libefi/common/rdwr_efi.c
645
smbios_info_common(shp, s_mb.smbstr_id, &mb) == SMB_ERR)
usr/src/lib/libefi/common/rdwr_efi.c
646
(void) memset(&mb, '\0', sizeof (mb));
usr/src/lib/libefi/common/rdwr_efi.c
680
(mb.smbi_manufacturer == NULL ||
usr/src/lib/libefi/common/rdwr_efi.c
681
strcasecmp(val, mb.smbi_manufacturer)))
usr/src/lib/libefi/common/rdwr_efi.c
684
(mb.smbi_product == NULL ||
usr/src/lib/libefi/common/rdwr_efi.c
685
strcasecmp(val, mb.smbi_product)))
usr/src/lib/libefi/common/rdwr_efi.c
688
(mb.smbi_version == NULL ||
usr/src/lib/libefi/common/rdwr_efi.c
689
strcasecmp(val, mb.smbi_version)))
usr/src/lib/libefi/common/rdwr_efi.c
722
struct mboot mb;
usr/src/lib/libefi/common/rdwr_efi.c
732
len = (vtoc->efi_lbasize == 0) ? sizeof (mb) : vtoc->efi_lbasize;
usr/src/lib/libefi/common/rdwr_efi.c
744
(void) memcpy(&mb, buf, sizeof (mb));
usr/src/lib/libefi/common/rdwr_efi.c
745
bzero(&mb, sizeof (mb));
usr/src/lib/libefi/common/rdwr_efi.c
746
mb.signature = LE_16(MBB_MAGIC);
usr/src/lib/libefi/common/rdwr_efi.c
748
(void) memcpy(&mb, buf, sizeof (mb));
usr/src/lib/libefi/common/rdwr_efi.c
749
if (mb.signature != LE_16(MBB_MAGIC)) {
usr/src/lib/libefi/common/rdwr_efi.c
750
bzero(&mb, sizeof (mb));
usr/src/lib/libefi/common/rdwr_efi.c
751
mb.signature = LE_16(MBB_MAGIC);
usr/src/lib/libefi/common/rdwr_efi.c
755
bzero(&mb.parts, sizeof (mb.parts));
usr/src/lib/libefi/common/rdwr_efi.c
756
cp = (uchar_t *)&mb.parts[slot * sizeof (struct ipart)];
usr/src/lib/libefi/common/rdwr_efi.c
788
(void) memcpy(buf, &mb, sizeof (mb));
usr/src/lib/libgrubmgmt/common/libgrub_fs.c
140
mb = (struct mboot *)(uintptr_t)boot_sect;
usr/src/lib/libgrubmgmt/common/libgrub_fs.c
141
ipart = (struct ipart *)(uintptr_t)mb->parts;
usr/src/lib/libgrubmgmt/common/libgrub_fs.c
96
struct mboot *mb;
usr/src/lib/libnsl/nss/inet_matchaddr.c
156
long mb;
usr/src/lib/libnsl/nss/inet_matchaddr.c
159
mb = strtol(mp, &ep, 10);
usr/src/lib/libnsl/nss/inet_matchaddr.c
160
if (errno != 0 || mb < 0 || mb > 32 || *ep != '\0') {
usr/src/lib/libnsl/nss/inet_matchaddr.c
164
if (mb != 0) {
usr/src/lib/libnsl/nss/inet_matchaddr.c
167
((sizeof (struct in_addr) * NBBY) - mb);
usr/src/lib/librpcsvc/common/mountlist_xdr.c
100
if (!xdr_dirpath(xdrs, &mb->ml_directory))
usr/src/lib/librpcsvc/common/mountlist_xdr.c
103
if (mb_prev != mb) {
usr/src/lib/librpcsvc/common/mountlist_xdr.c
104
mb_prev->ml_next = mb;
usr/src/lib/librpcsvc/common/mountlist_xdr.c
105
mb_prev = mb;
usr/src/lib/librpcsvc/common/mountlist_xdr.c
112
mountbody *mb;
usr/src/lib/librpcsvc/common/mountlist_xdr.c
114
mb = *objp;
usr/src/lib/librpcsvc/common/mountlist_xdr.c
117
more_data = mb != NULL;
usr/src/lib/librpcsvc/common/mountlist_xdr.c
125
if (!xdr_name(xdrs, &mb->ml_hostname))
usr/src/lib/librpcsvc/common/mountlist_xdr.c
127
if (!xdr_dirpath(xdrs, &mb->ml_directory))
usr/src/lib/librpcsvc/common/mountlist_xdr.c
130
mb = mb->ml_next;
usr/src/lib/librpcsvc/common/mountlist_xdr.c
55
mountbody *mb, *tmp;
usr/src/lib/librpcsvc/common/mountlist_xdr.c
60
mb = tmp;
usr/src/lib/librpcsvc/common/mountlist_xdr.c
61
tmp = mb->ml_next;
usr/src/lib/librpcsvc/common/mountlist_xdr.c
62
if (!xdr_name(xdrs, &mb->ml_hostname))
usr/src/lib/librpcsvc/common/mountlist_xdr.c
64
if (!xdr_dirpath(xdrs, &mb->ml_directory))
usr/src/lib/librpcsvc/common/mountlist_xdr.c
66
free(mb);
usr/src/lib/librpcsvc/common/mountlist_xdr.c
73
mountbody *mb;
usr/src/lib/librpcsvc/common/mountlist_xdr.c
83
mb = (mountbody *)malloc(sizeof (struct mountbody));
usr/src/lib/librpcsvc/common/mountlist_xdr.c
84
if (mb == NULL) {
usr/src/lib/librpcsvc/common/mountlist_xdr.c
89
mb->ml_hostname = NULL;
usr/src/lib/librpcsvc/common/mountlist_xdr.c
90
mb->ml_directory = NULL;
usr/src/lib/librpcsvc/common/mountlist_xdr.c
91
mb->ml_next = NULL;
usr/src/lib/librpcsvc/common/mountlist_xdr.c
94
mb_prev = mb;
usr/src/lib/librpcsvc/common/mountlist_xdr.c
95
*objp = mb;
usr/src/lib/librpcsvc/common/mountlist_xdr.c
98
if (!xdr_name(xdrs, &mb->ml_hostname))
usr/src/lib/libxcurses/src/libc/mse/restart.c
45
mbrtowc(wchar_t *wc, const char *mb, size_t n, mbstate_t *ps)
usr/src/lib/libxcurses/src/libc/mse/restart.c
47
return mbtowc(wc, mb, n);
usr/src/lib/libxcurses/src/libc/wide/wio_get.c
59
char mb;
usr/src/lib/libxcurses/src/libc/wide/wio_get.c
71
mb = (char) ch;
usr/src/lib/libxcurses/src/libc/wide/wio_get.c
75
if (mbrtowc((wchar_t *) 0, &mb, 1, &wio->_state) == -1
usr/src/lib/libxcurses/src/libc/xcurses/m_cc.c
151
char mb;
usr/src/lib/libxcurses/src/libc/xcurses/m_cc.c
155
mb = (char)(ch & A_CHARTEXT);
usr/src/lib/libxcurses/src/libc/xcurses/m_cc.c
157
if (mbtowc(cc->_wc, &mb, 1) < 0)
usr/src/lib/libxcurses/src/libc/xcurses/m_cc.c
174
unsigned char mb[MB_LEN_MAX];
usr/src/lib/libxcurses/src/libc/xcurses/m_cc.c
177
if (cc->_n != 1 || wctomb((char *) mb, cc->_wc[0]) != 1)
usr/src/lib/libxcurses/src/libc/xcurses/m_cc.c
181
ch |= COLOR_PAIR(cc->_co) | mb[0];
usr/src/lib/libxcurses/src/libc/xcurses/m_cc.c
263
char mb;
usr/src/lib/libxcurses/src/libc/xcurses/m_cc.c
271
mb = cur_term->_shell.c_cc[index];
usr/src/lib/libxcurses/src/libc/xcurses/m_cc.c
272
code = mbtowc(wcp, &mb, 1) < 0 ? ERR : OK;
usr/src/lib/libxcurses/src/libc/xcurses/m_cc.c
809
char mb[MB_LEN_MAX];
usr/src/lib/libxcurses/src/libc/xcurses/m_cc.c
813
j = wcrtomb(mb, cc->_wc[i], &__m_screen->_state);
usr/src/lib/libxcurses/src/libc/xcurses/m_cc.c
816
if (fwrite(mb, sizeof *mb, j, __m_screen->_of) == 0)
usr/src/lib/libxcurses/src/libc/xcurses/private.h
82
#define wcrtomb(mb, wc, state) wctomb(mb, wc)
usr/src/lib/libxcurses/src/libc/xcurses/private.h
84
#define mbrtowc(wc, mb, n, state) mbtowc(wc, mb, n)
usr/src/lib/libxcurses/src/libc/xcurses/wacs.c
170
unsigned char *acsc, mb[MB_LEN_MAX];
usr/src/lib/libxcurses/src/libc/xcurses/wacs.c
177
|| acs->_n != 1 || wctomb((char *) mb, acs->_wc[0]) != 1)
usr/src/lib/libxcurses/src/libc/xcurses/wacs.c
192
if (acsc[i] == *mb) {
usr/src/lib/libxcurses/src/libc/xcurses/wget_wch.c
58
char mb[MB_LEN_MAX];
usr/src/lib/libxcurses/src/libc/xcurses/wget_wch.c
64
if (!ISEMPTY() || (len = wctomb(mb, wc)) < 0)
usr/src/lib/libxcurses/src/libc/xcurses/wget_wch.c
68
PUSH(mb[i]);
usr/src/lib/libxcurses/src/libc/xcurses/wgetn_ws.c
188
char mb[MB_LEN_MAX];
usr/src/lib/libxcurses/src/libc/xcurses/wgetn_ws.c
193
len = wctomb(mb, (wchar_t) wc);
usr/src/lib/libxcurses2/src/libc/xcurses/m_cc.c
1002
j = wctomb(mb, cc->_wc[i]);
usr/src/lib/libxcurses2/src/libc/xcurses/m_cc.c
1015
if (fwrite(mb, sizeof (*mb), (size_t)j, __m_screen->_of) == 0) {
usr/src/lib/libxcurses2/src/libc/xcurses/m_cc.c
158
char mb;
usr/src/lib/libxcurses2/src/libc/xcurses/m_cc.c
162
mb = (char)(ch & A_CHARTEXT);
usr/src/lib/libxcurses2/src/libc/xcurses/m_cc.c
167
if (mb == 0)
usr/src/lib/libxcurses2/src/libc/xcurses/m_cc.c
169
else if (mbtowc(cc->_wc, &mb, 1) < 0) {
usr/src/lib/libxcurses2/src/libc/xcurses/m_cc.c
182
unsigned char mb[MB_LEN_MAX];
usr/src/lib/libxcurses2/src/libc/xcurses/m_cc.c
185
if (cc->_n != 1 || wctomb((char *)mb, cc->_wc[0]) != 1)
usr/src/lib/libxcurses2/src/libc/xcurses/m_cc.c
189
ch |= COLOR_PAIR(cc->_co) | mb[0];
usr/src/lib/libxcurses2/src/libc/xcurses/m_cc.c
263
char mb;
usr/src/lib/libxcurses2/src/libc/xcurses/m_cc.c
272
mb = (char)PTERMIOS(_shell)->c_cc[index];
usr/src/lib/libxcurses2/src/libc/xcurses/m_cc.c
273
if (mb)
usr/src/lib/libxcurses2/src/libc/xcurses/m_cc.c
274
code = mbtowc(wcp, &mb, 1) < 0 ? ERR : OK;
usr/src/lib/libxcurses2/src/libc/xcurses/m_cc.c
995
char mb[MB_LEN_MAX];
usr/src/lib/libxcurses2/src/libc/xcurses/wacs.c
151
unsigned char *acsc, mb[MB_LEN_MAX];
usr/src/lib/libxcurses2/src/libc/xcurses/wacs.c
159
acs->_n != 1 || wctomb((char *) mb, acs->_wc[0]) != 1)
usr/src/lib/libxcurses2/src/libc/xcurses/wacs.c
174
if (acsc[i] == *mb) {
usr/src/lib/libxcurses2/src/libc/xcurses/wget_wch.c
63
char mb[MB_LEN_MAX];
usr/src/lib/libxcurses2/src/libc/xcurses/wget_wch.c
65
if (!iqIsEmpty() || (len = wctomb(mb, wc)) < 0)
usr/src/lib/libxcurses2/src/libc/xcurses/wget_wch.c
69
iqAdd((unsigned char)mb[i]);
usr/src/lib/libxcurses2/src/libc/xcurses/wgetn_ws.c
203
char mb[MB_LEN_MAX];
usr/src/lib/libxcurses2/src/libc/xcurses/wgetn_ws.c
208
len = wctomb(mb, (wchar_t) wc);
usr/src/lib/smbsrv/libsmbns/common/smbns_browser.c
600
smb_msgbuf_t mb;
usr/src/lib/smbsrv/libsmbns/common/smbns_browser.c
619
smb_msgbuf_init(&mb, buffer, maxcnt, 0);
usr/src/lib/smbsrv/libsmbns/common/smbns_browser.c
621
result = smb_msgbuf_encode(&mb, fmt,
usr/src/lib/smbsrv/libsmbns/common/smbns_browser.c
644
smb_msgbuf_term(&mb);
usr/src/lib/smbsrv/libsmbns/common/smbns_browser.c
774
smb_msgbuf_t mb;
usr/src/lib/smbsrv/libsmbns/common/smbns_browser.c
829
smb_msgbuf_init(&mb, buffer + offset, MAX_DATAGRAM_LENGTH - offset, 0);
usr/src/lib/smbsrv/libsmbns/common/smbns_browser.c
831
announce_len = smb_msgbuf_encode(&mb, "bbl16cbblls",
usr/src/lib/smbsrv/libsmbns/common/smbns_browser.c
847
smb_msgbuf_term(&mb);
usr/src/lib/smbsrv/libsmbns/common/smbns_browser.c
891
smb_msgbuf_t mb;
usr/src/lib/smbsrv/libsmbns/common/smbns_browser.c
917
smb_msgbuf_init(&mb, datagram->data, datagram->data_length, 0);
usr/src/lib/smbsrv/libsmbns/common/smbns_browser.c
918
rc = smb_msgbuf_decode(&mb, "Mb27.bwwwwb.w6.wwwwb.wwwws",
usr/src/lib/smbsrv/libsmbns/common/smbns_browser.c
940
smb_msgbuf_term(&mb);
usr/src/lib/smbsrv/libsmbns/common/smbns_browser.c
954
smb_msgbuf_term(&mb);
usr/src/lib/smbsrv/libsmbns/common/smbns_browser.c
977
smb_msgbuf_term(&mb);
usr/src/lib/smbsrv/libsmbns/common/smbns_netlogon.c
132
smb_msgbuf_t mb;
usr/src/lib/smbsrv/libsmbns/common/smbns_netlogon.c
162
smb_msgbuf_init(&mb, data, datalen, 0);
usr/src/lib/smbsrv/libsmbns/common/smbns_netlogon.c
164
if (smb_msgbuf_decode(&mb, "w", &opcode) < 0) {
usr/src/lib/smbsrv/libsmbns/common/smbns_netlogon.c
166
smb_msgbuf_term(&mb);
usr/src/lib/smbsrv/libsmbns/common/smbns_netlogon.c
176
rc = smb_msgbuf_decode(&mb, "sUU", &junk, &primary, &domain);
usr/src/lib/smbsrv/libsmbns/common/smbns_netlogon.c
181
smb_msgbuf_term(&mb);
usr/src/lib/smbsrv/libsmbns/common/smbns_netlogon.c
192
rc = smb_msgbuf_decode(&mb, "UUU", &primary, &junk, &domain);
usr/src/lib/smbsrv/libsmbns/common/smbns_netlogon.c
197
smb_msgbuf_term(&mb);
usr/src/lib/smbsrv/libsmbns/common/smbns_netlogon.c
212
smb_msgbuf_term(&mb);
usr/src/lib/smbsrv/libsmbns/common/smbns_netlogon.c
218
smb_msgbuf_term(&mb);
usr/src/lib/smbsrv/libsmbns/common/smbns_netlogon.c
229
smb_msgbuf_term(&mb);
usr/src/lib/smbsrv/libsmbns/common/smbns_netlogon.c
239
smb_msgbuf_term(&mb);
usr/src/lib/smbsrv/libsmbns/common/smbns_netlogon.c
245
smb_msgbuf_term(&mb);
usr/src/lib/smbsrv/libsmbns/common/smbns_netlogon.c
274
smb_msgbuf_t mb;
usr/src/lib/smbsrv/libsmbns/common/smbns_netlogon.c
300
smb_msgbuf_init(&mb, buffer + offset, sizeof (buffer) - offset, 0);
usr/src/lib/smbsrv/libsmbns/common/smbns_netlogon.c
302
announce_len = smb_msgbuf_encode(&mb, "wssUlww",
usr/src/lib/smbsrv/libsmbns/common/smbns_netlogon.c
312
smb_msgbuf_term(&mb);
usr/src/lib/smbsrv/libsmbns/common/smbns_netlogon.c
318
smb_msgbuf_term(&mb);
usr/src/lib/smbsrv/libsmbns/common/smbns_netlogon.c
352
smb_msgbuf_t mb;
usr/src/lib/smbsrv/libsmbns/common/smbns_netlogon.c
405
smb_msgbuf_init(&mb, buffer + offset, sizeof (buffer) - offset, 0);
usr/src/lib/smbsrv/libsmbns/common/smbns_netlogon.c
406
announce_len = smb_msgbuf_encode(&mb, "wwUUsll3.#clww",
usr/src/lib/smbsrv/libsmbns/common/smbns_netlogon.c
421
smb_msgbuf_term(&mb);
usr/src/lib/smbsrv/libsmbns/common/smbns_netlogon.c
426
smb_msgbuf_term(&mb);
usr/src/test/util-tests/tests/awk/examples/out/t.8.y
19
mb mb
usr/src/tools/cscope-fast/cgrep.c
1246
re_bmexec(PATTERN *pat, uchar_t *s, uchar_t *e, uchar_t **mb, uchar_t **me)
usr/src/tools/cscope-fast/cgrep.c
1263
*mb = ++sp;
usr/src/tools/cscope-fast/cgrep.c
1265
if (grepmatch(pat, mb, me))
usr/src/tools/cscope-fast/cgrep.c
1267
s = *mb;
usr/src/tools/cscope-fast/cgrep.c
1540
re_cwexec(PATTERN *pat, uchar_t *rs, uchar_t *re, uchar_t **mb, uchar_t **me)
usr/src/tools/cscope-fast/cgrep.c
1576
*mb = sp;
usr/src/tools/cscope-fast/cgrep.c
1578
if (fixloc(mb, me))
usr/src/tools/cscope-fast/cgrep.c
287
static BOOL re_bmexec(PATTERN *pat, uchar_t *s, uchar_t *e, uchar_t **mb,
usr/src/tools/cscope-fast/cgrep.c
289
static BOOL re_cwexec(PATTERN *pat, uchar_t *rs, uchar_t *re, uchar_t **mb,
usr/src/tools/cscope-fast/cgrep.c
291
static BOOL re_reexec(PATTERN *pat, uchar_t *b, uchar_t *e, uchar_t **mb,
usr/src/tools/cscope-fast/cgrep.c
297
static BOOL fixloc(uchar_t **mb, uchar_t **me);
usr/src/tools/cscope-fast/cgrep.c
298
static BOOL grepmatch(PATTERN *pat, uchar_t **mb, uchar_t **me);
usr/src/tools/cscope-fast/cgrep.c
398
fixloc(uchar_t **mb, uchar_t **me)
usr/src/tools/cscope-fast/cgrep.c
402
while (*me <= *mb)
usr/src/tools/cscope-fast/cgrep.c
411
if (*mb == *me - 1 && **mb == NL) {
usr/src/tools/cscope-fast/cgrep.c
417
if (**mb == NL)
usr/src/tools/cscope-fast/cgrep.c
418
(*mb)++;
usr/src/tools/cscope-fast/cgrep.c
425
grepmatch(PATTERN *pat, uchar_t **mb, uchar_t **me)
usr/src/tools/cscope-fast/cgrep.c
430
return (fixloc(mb, me));
usr/src/tools/cscope-fast/cgrep.c
435
for (s = *mb; *s != NL; s--) {
usr/src/tools/cscope-fast/cgrep.c
438
if ((*pat->succfn)(pat, s, f, mb, me)) {
usr/src/tools/cscope-fast/cgrep.c
441
*mb = f;
usr/src/tools/cscope-fast/cgrep.c
484
re_reexec(PATTERN *pat, uchar_t *b, uchar_t *e, uchar_t **mb, uchar_t **me)
usr/src/tools/cscope-fast/cgrep.c
506
*mb = b - s->cnt;
usr/src/tools/cscope-fast/cgrep.c
508
if (fixloc(mb, me))
usr/src/uts/common/fs/smbsrv/smb2_query_dir.c
430
smb_msgbuf_t mb;
usr/src/uts/common/fs/smbsrv/smb2_query_dir.c
520
smb_msgbuf_init(&mb, buf83, sizeof (buf83), mb_flags);
usr/src/uts/common/fs/smbsrv/smb2_query_dir.c
521
shortlen = smb_msgbuf_encode(&mb, "U", fileinfo->fi_shortname);
usr/src/uts/common/fs/smbsrv/smb2_query_dir.c
543
smb_msgbuf_term(&mb);
usr/src/uts/common/fs/smbsrv/smb2_query_dir.c
549
smb_msgbuf_init(&mb, buf83, sizeof (buf83), mb_flags);
usr/src/uts/common/fs/smbsrv/smb2_query_dir.c
550
shortlen = smb_msgbuf_encode(&mb, "U", fileinfo->fi_shortname);
usr/src/uts/common/fs/smbsrv/smb2_query_dir.c
574
smb_msgbuf_term(&mb);
usr/src/uts/common/fs/smbsrv/smb_fsinfo.c
169
smb_msgbuf_t mb;
usr/src/uts/common/fs/smbsrv/smb_fsinfo.c
215
smb_msgbuf_init(&mb, (uint8_t *)tmpbuf, buflen,
usr/src/uts/common/fs/smbsrv/smb_fsinfo.c
217
rc = smb_msgbuf_encode(&mb, "U", tree->t_volume);
usr/src/uts/common/fs/smbsrv/smb_fsinfo.c
223
smb_msgbuf_term(&mb);
usr/src/uts/common/fs/smbsrv/smb_negotiate.c
424
smb_msgbuf_t mb;
usr/src/uts/common/fs/smbsrv/smb_negotiate.c
575
smb_msgbuf_init(&mb, wcbuf, wclen, SMB_MSGBUF_UNICODE);
usr/src/uts/common/fs/smbsrv/smb_negotiate.c
576
if (smb_msgbuf_encode(&mb, "U", nbdomain) < 0) {
usr/src/uts/common/fs/smbsrv/smb_negotiate.c
577
smb_msgbuf_term(&mb);
usr/src/uts/common/fs/smbsrv/smb_negotiate.c
602
smb_msgbuf_term(&mb);
usr/src/uts/common/fs/smbsrv/smb_opipe.c
642
struct mbuf *mb;
usr/src/uts/common/fs/smbsrv/smb_opipe.c
678
mb = smb_mbuf_allocate(&vdb->vdb_uio);
usr/src/uts/common/fs/smbsrv/smb_opipe.c
682
m_freem(mb);
usr/src/uts/common/fs/smbsrv/smb_opipe.c
687
smb_mbuf_trim(mb, len);
usr/src/uts/common/fs/smbsrv/smb_opipe.c
688
MBC_ATTACH_MBUF(fsctl->out_mbc, mb);
usr/src/uts/common/fs/smbsrv/smb_trans2_find.c
749
smb_msgbuf_t mb;
usr/src/uts/common/fs/smbsrv/smb_trans2_find.c
893
smb_msgbuf_init(&mb, (uint8_t *)buf83, sizeof (buf83),
usr/src/uts/common/fs/smbsrv/smb_trans2_find.c
895
if (smb_msgbuf_encode(&mb, "U", fileinfo->fi_shortname) < 0) {
usr/src/uts/common/fs/smbsrv/smb_trans2_find.c
896
smb_msgbuf_term(&mb);
usr/src/uts/common/fs/smbsrv/smb_trans2_find.c
917
smb_msgbuf_term(&mb);
usr/src/uts/common/fs/smbsrv/smb_trans2_find.c
922
smb_msgbuf_init(&mb, (uint8_t *)buf83, sizeof (buf83),
usr/src/uts/common/fs/smbsrv/smb_trans2_find.c
924
if (smb_msgbuf_encode(&mb, "u", fileinfo->fi_shortname) < 0) {
usr/src/uts/common/fs/smbsrv/smb_trans2_find.c
925
smb_msgbuf_term(&mb);
usr/src/uts/common/fs/smbsrv/smb_trans2_find.c
949
smb_msgbuf_term(&mb);
usr/src/uts/common/inet/ip/ip.c
7844
ip_dlur_to_mhi(ill_t *ill, mblk_t *mb, struct mac_header_info_s *mhip)
usr/src/uts/common/inet/ip/ip.c
7846
dl_unitdata_ind_t *ind = (dl_unitdata_ind_t *)mb->b_rptr;
usr/src/uts/common/inet/ip/ip.c
7871
ind->dl_dest_addr_offset + ind->dl_dest_addr_length < MBLKL(mb) &&
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
1497
mblk_t *mb;
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
1523
mb = fin->fin_qfm;
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
1527
sz += MIN(mb->b_wptr - mb->b_rptr, 512);
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
1595
bcopy((char *)mb->b_rptr, (char *)&icmp->icmp_ip, sz);
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
2043
int fr_fastroute(mb, mpp, fin, fdp)
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
2044
mblk_t *mb, **mpp;
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
2094
if ((ip == (ip_t *)qpi->qpi_m->b_rptr) && (qpi->qpi_m != mb)) {
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
2095
ip = (ip_t *)mb->b_rptr;
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
2096
} else if ((qpi->qpi_m == mb) && (ip != (ip_t *)qpi->qpi_m->b_rptr)) {
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
2104
if (*mpp != mb) {
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
2115
inj->ni_packet = mb;
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
2155
DB_CKSUMFLAGS(mb) = 0;
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
2158
*mpp = mb;
usr/src/uts/common/inet/ipf/ip_fil_solaris.c
2199
freemsg(mb);
usr/src/uts/common/io/aac/aac.c
208
#define AAC_MAILBOX_GET(softs, mb) \
usr/src/uts/common/io/aac/aac.c
209
((softs)->aac_if.aif_get_mailbox((softs), (mb)))
usr/src/uts/common/io/aac/aac.c
6809
aac_rx_get_mailbox(struct aac_softstate *softs, int mb)
usr/src/uts/common/io/aac/aac.c
6811
return (PCI_MEM_GET32(softs, AAC_RX_MAILBOX + mb * 4));
usr/src/uts/common/io/aac/aac.c
6832
aac_rkt_get_mailbox(struct aac_softstate *softs, int mb)
usr/src/uts/common/io/aac/aac.c
6834
return (PCI_MEM_GET32(softs, AAC_RKT_MAILBOX + mb *4));
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
439
mb();
usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/ecore_sp_verbs.c
471
mb();
usr/src/uts/common/io/chxge/ch.h
317
int pe_start(ch_t *sa, mblk_t *mb, uint32_t flg);
usr/src/uts/common/io/chxge/sge.c
753
os_freelist_buffer_alloc(ch_t *sa, int sz, mblk_t **mb, ulong_t *dh)
usr/src/uts/common/io/chxge/sge.c
767
*mb = desballoc((unsigned char *)rbp->cs_buf + rxoff,
usr/src/uts/common/io/chxge/sge.c
769
if (*mb == NULL) {
usr/src/uts/common/io/chxge/sge.c
786
*mb = desballoc((unsigned char *)rbp->cs_buf + rxoff,
usr/src/uts/common/io/chxge/sge.c
788
if (*mb == NULL) {
usr/src/uts/common/io/chxge/sge.c
86
static uint64_t os_freelist_buffer_alloc(ch_t *sa, int sz, mblk_t **mb,
usr/src/uts/common/io/conskbd.c
1691
mblk_t *mb;
usr/src/uts/common/io/conskbd.c
1694
if ((mb = allocb(sizeof (Firm_event), BPRI_HI)) != NULL) {
usr/src/uts/common/io/conskbd.c
1695
fe = (Firm_event *)mb->b_wptr;
usr/src/uts/common/io/conskbd.c
1700
mb->b_wptr += sizeof (Firm_event);
usr/src/uts/common/io/conskbd.c
1703
return (mb);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
10891
MAILBOX4 *mb = NULL;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
10912
mb = (MAILBOX4 *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
10914
bzero((void *) mb, MAILBOX_CMD_SLI4_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
10925
mb->un.varSLIConfig.be.embedded = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
10929
mb->mbxCommand = MBX_SLI_CONFIG;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
10930
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
10952
emlxs_mb_cmd_xlate(mb->mbxCommand), rc);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
10982
MAILBOX4 *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
10988
mb = (MAILBOX4 *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
10993
mb->un.varSLIConfig.be.embedded = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
10996
mb->mbxCommand = MBX_SLI_CONFIG;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
10997
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
10998
mb->un.varSLIConfig.be.payload_length = IOCTL_HEADER_SZ;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
10999
mb->un.varSLIConfig.be.un_hdr.hdr_req.subsystem =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
11001
mb->un.varSLIConfig.be.un_hdr.hdr_req.opcode =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
11003
mb->un.varSLIConfig.be.un_hdr.hdr_req.timeout = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
11004
mb->un.varSLIConfig.be.un_hdr.hdr_req.req_length =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
11006
dcbx_mode = (IOCTL_DCBX_SET_DCBX_MODE *)&mb->un.varSLIConfig.payload;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
11017
emlxs_mb_cmd_xlate(mb->mbxCommand), rval);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
11037
MAILBOX4 *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
11043
mb = (MAILBOX4 *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
11048
mb->un.varSLIConfig.be.embedded = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
11051
mb->mbxCommand = MBX_SLI_CONFIG;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
11052
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
11053
mb->un.varSLIConfig.be.payload_length = IOCTL_HEADER_SZ;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
11054
mb->un.varSLIConfig.be.un_hdr.hdr_req.subsystem =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
11056
mb->un.varSLIConfig.be.un_hdr.hdr_req.opcode =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
11058
mb->un.varSLIConfig.be.un_hdr.hdr_req.timeout = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
11059
mb->un.varSLIConfig.be.un_hdr.hdr_req.req_length =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
11061
dcbx_mode = (IOCTL_DCBX_GET_DCBX_MODE *)&mb->un.varSLIConfig.payload;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
11071
emlxs_mb_cmd_xlate(mb->mbxCommand), rval);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
3410
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
3453
mb = (MAILBOX *) mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
3462
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
3471
emlxs_mb_cmd_xlate(mb->mbxCommand), rval);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
3477
vres->vpi_max = mb->un.varRdConfig.max_vpi;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
3479
(mb->un.varRdConfig.max_vpi <=
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
3480
mb->un.varRdConfig.avail_vpi) ? 0 : mb->un.varRdConfig.max_vpi -
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
3481
mb->un.varRdConfig.avail_vpi;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
3483
vres->rpi_max = mb->un.varRdConfig.max_rpi;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
3485
(mb->un.varRdConfig.max_rpi <=
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
3486
mb->un.varRdConfig.avail_rpi) ? 0 : mb->un.varRdConfig.max_rpi -
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
3487
mb->un.varRdConfig.avail_rpi;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4114
MAILBOX *mb = NULL;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4136
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4145
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4154
emlxs_mb_cmd_xlate(mb->mbxCommand), rval);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4163
stats->tx_frame_cnt = mb->un.varRdStatus.xmitFrameCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4164
stats->rx_frame_cnt = mb->un.varRdStatus.rcvFrameCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4165
stats->tx_kbyte_cnt = mb->un.varRdStatus.xmitByteCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4166
stats->rx_kbyte_cnt = mb->un.varRdStatus.rcvByteCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4167
stats->tx_seq_cnt = mb->un.varRdStatus.xmitSeqCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4168
stats->rx_seq_cnt = mb->un.varRdStatus.rcvSeqCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4169
stats->orig_exch_cnt = mb->un.varRdStatus.totalOrigExchanges;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4170
stats->resp_exch_cnt = mb->un.varRdStatus.totalRespExchanges;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4171
stats->pbsy_cnt = mb->un.varRdStatus.rcvPbsyCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4172
stats->fbsy_cnt = mb->un.varRdStatus.rcvFbsyCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4181
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4190
emlxs_mb_cmd_xlate(mb->mbxCommand), rval);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4196
stats->link_failure_cnt = mb->un.varRdLnk.linkFailureCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4197
stats->loss_sync_cnt = mb->un.varRdLnk.lossSyncCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4198
stats->loss_signal_cnt = mb->un.varRdLnk.lossSignalCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4199
stats->seq_error_cnt = mb->un.varRdLnk.primSeqErrCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4200
stats->inval_tx_word_cnt = mb->un.varRdLnk.invalidXmitWord;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4201
stats->crc_error_cnt = mb->un.varRdLnk.crcCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4202
stats->seq_timeout_cnt = mb->un.varRdLnk.primSeqTimeout;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4203
stats->elastic_overrun_cnt = mb->un.varRdLnk.elasticOverrun;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4204
stats->arb_timeout_cnt = mb->un.varRdLnk.arbTimeout;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4205
stats->rx_buf_credit = mb->un.varRdLnk.rxBufCredit;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4206
stats->rx_buf_cnt = mb->un.varRdLnk.rxBufCreditCur;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4207
stats->tx_buf_credit = mb->un.varRdLnk.txBufCredit;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4208
stats->tx_buf_cnt = mb->un.varRdLnk.txBufCreditCur;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4209
stats->EOFa_cnt = mb->un.varRdLnk.EOFaCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4210
stats->EOFdti_cnt = mb->un.varRdLnk.EOFdtiCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4211
stats->EOFni_cnt = mb->un.varRdLnk.EOFniCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4212
stats->SOFf_cnt = mb->un.varRdLnk.SOFfCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4661
MAILBOX *mb = NULL;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4749
mb = (MAILBOX *) mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4750
bcopy((void *)dfc->buf1, (void *)mb, dfc->buf1_size);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4753
if ((mb->mbxCommand == MBX_READ_SPARM) ||
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4754
(mb->mbxCommand == MBX_READ_RPI) ||
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4755
(mb->mbxCommand == MBX_REG_LOGIN) ||
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4756
(mb->mbxCommand == MBX_READ_LA) ||
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4757
(mb->mbxCommand == MBX_RUN_BIU_DIAG)) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4761
"cmd=%x", emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4771
switch (mb->mbxCommand) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4784
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4793
ndlp = emlxs_node_find_rpi(port, mb->un.varUnregLogin.rpi);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4811
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4812
mb->un.varUnregLogin.rpi);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4824
did = mb->un.varRegLogin.did;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4829
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand, did);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4871
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand, did);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4884
(uintptr_t)PADDR(mb->un.varRdEvtLog.un.sp64.addrHigh,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4885
mb->un.varRdEvtLog.un.sp64.addrLow);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4886
size = (int)mb->un.varRdEvtLog.un.sp64.tus.f.bdeSize;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4891
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4901
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4907
mb->un.varRdEvtLog.un.sp64.addrHigh = PADDR_HI(rx_mp->phys);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4908
mb->un.varRdEvtLog.un.sp64.addrLow = PADDR_LO(rx_mp->phys);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4909
mb->un.varRdEvtLog.un.sp64.tus.f.bdeFlags = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4916
(uintptr_t)PADDR(mb->un.varRdSparm.un.sp64.addrHigh,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4917
mb->un.varRdSparm.un.sp64.addrLow);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4918
size = (int)mb->un.varRdSparm.un.sp64.tus.f.bdeSize;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4923
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4933
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4939
mb->un.varRdSparm.un.sp64.addrHigh = PADDR_HI(rx_mp->phys);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4940
mb->un.varRdSparm.un.sp64.addrLow = PADDR_LO(rx_mp->phys);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4941
mb->un.varRdSparm.un.sp64.tus.f.bdeFlags = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4948
(uintptr_t)PADDR(mb->un.varRdRPI.un.sp64.addrHigh,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4949
mb->un.varRdRPI.un.sp64.addrLow);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4950
size = (int)mb->un.varRdRPI.un.sp64.tus.f.bdeSize;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4955
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4965
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4971
mb->un.varRdRPI.un.sp64.addrHigh = PADDR_HI(rx_mp->phys);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4972
mb->un.varRdRPI.un.sp64.addrLow = PADDR_LO(rx_mp->phys);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4973
mb->un.varRdRPI.un.sp64.tus.f.bdeFlags = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4980
(uintptr_t)PADDR(mb->un.varBIUdiag.un.s2.xmit_bde64.
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4981
addrHigh, mb->un.varBIUdiag.un.s2.xmit_bde64.addrLow);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4982
size = (int)mb->un.varBIUdiag.un.s2.xmit_bde64.tus.f.bdeSize;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4987
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
4997
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5008
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5016
mb->un.varBIUdiag.un.s2.xmit_bde64.addrHigh =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5018
mb->un.varBIUdiag.un.s2.xmit_bde64.addrLow =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5020
mb->un.varBIUdiag.un.s2.xmit_bde64.tus.f.bdeFlags = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5024
(uintptr_t)PADDR(mb->un.varBIUdiag.un.s2.rcv_bde64.
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5025
addrHigh, mb->un.varBIUdiag.un.s2.rcv_bde64.addrLow);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5026
size = (int)mb->un.varBIUdiag.un.s2.rcv_bde64.tus.f.bdeSize;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5031
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5041
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5047
mb->un.varBIUdiag.un.s2.rcv_bde64.addrHigh =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5049
mb->un.varBIUdiag.un.s2.rcv_bde64.addrLow =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5051
mb->un.varBIUdiag.un.s2.rcv_bde64.tus.f.bdeFlags = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5058
did = mb->un.varRegLogin.did;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5064
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand, did);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5074
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5081
(uintptr_t)PADDR(mb->un.varRegLogin.un.sp64.addrHigh,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5082
mb->un.varRegLogin.un.sp64.addrLow);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5083
size = (int)mb->un.varRegLogin.un.sp64.tus.f.bdeSize;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5088
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5098
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5109
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5117
mb->un.varRegLogin.un.sp64.addrHigh = PADDR_HI(tx_mp->phys);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5118
mb->un.varRegLogin.un.sp64.addrLow = PADDR_LO(tx_mp->phys);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5119
mb->un.varRegLogin.un.sp64.tus.f.bdeFlags = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5126
(uintptr_t)PADDR(mb->un.varReadLA.un.lilpBde64.
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5127
addrHigh, mb->un.varReadLA.un.lilpBde64.addrLow);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5128
size = (int)mb->un.varReadLA.un.lilpBde64.tus.f.bdeSize;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5133
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5143
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5149
mb->un.varReadLA.un.lilpBde64.addrHigh =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5151
mb->un.varReadLA.un.lilpBde64.addrLow =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5153
mb->un.varReadLA.un.lilpBde64.tus.f.bdeFlags = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5162
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5174
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5178
switch (mb->mbxCommand) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5196
emlxs_mb_cmd_xlate(mb->mbxCommand), mb->un.varWords[0],
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5197
mb->un.varWords[1], mb->un.varWords[2], mb->un.varWords[3]);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5206
emlxs_mb_cmd_xlate(mb->mbxCommand), mbxstatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5210
bcopy((void *)mb, (void *)dfc->buf2, dfc->buf2_size);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
5220
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
6012
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
6132
mb = (MAILBOX *) mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
6145
emlxs_mb_cmd_xlate(mb->mbxCommand), mbxstatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
8232
MAILBOX *mb = NULL;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
8243
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
8258
emlxs_mb_cmd_xlate(mb->mbxCommand), mbxstatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
8378
emlxs_mb_cmd_xlate(mb->mbxCommand), mbxstatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
8508
MAILBOX *mb = NULL;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
8515
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
8530
emlxs_mb_cmd_xlate(mb->mbxCommand), mbxstatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
8554
MAILBOX *mb = NULL;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
8664
mb = (MAILBOX *) mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
8674
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
8683
emlxs_mb_cmd_xlate(mb->mbxCommand), rval);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
8728
emlxs_dfc_xlate(dfc->cmd), mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dfc.c
8737
emlxs_mb_cmd_xlate(mb->mbxCommand), rval);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
1777
MAILBOX4 *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
1794
mb = (MAILBOX4*)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
1800
bzero((void *) mb, MAILBOX_CMD_SLI4_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
1805
mb->un.varSLIConfig.be.embedded = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
1809
mb->mbxCommand = MBX_SLI_CONFIG;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
1810
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
1813
&mb->un.varSLIConfig.be.un_hdr.hdr_req;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
1841
&mb->un.varSLIConfig.be.un_hdr.hdr_rsp;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
1850
mb->mbxStatus, hdr_rsp->status,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2134
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2207
mb = (MAILBOX *)mbox;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2271
"status=%x info=%d", mb->mbxCommand, mb->mbxStatus,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2272
mb->un.varUpdateCfg.rsp_info);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2416
MAILBOX4 *mb = (MAILBOX4 *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2422
bzero((void *) mb, MAILBOX_CMD_SLI4_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2424
mb->mbxCommand = MBX_DUMP_MEMORY;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2425
mb->un.varDmp4.type = Type;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2426
mb->un.varDmp4.entry_index = BaseAddr;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2427
mb->un.varDmp4.region_id = RegionId;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2429
mb->un.varDmp4.available_cnt = min((WordCount*4),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2431
mb->un.varDmp4.addrHigh =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2433
mb->un.varDmp4.addrLow =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2435
mb->un.varDmp4.rsp_cnt = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2437
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2440
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2442
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2444
mb->mbxCommand = MBX_DUMP_MEMORY;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2445
mb->un.varDmp.type = Type;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2446
mb->un.varDmp.region_id = RegionId;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2447
mb->un.varDmp.word_cnt = WordCount;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2448
mb->un.varDmp.base_adr = BaseAddr;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2449
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2473
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2502
mb = (MAILBOX *)mbox;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2523
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2563
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2620
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2622
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2625
mb->mbxCommand = MBX_DOWN_LOAD;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2627
mb->mbxCommand = MBX_LOAD_SM;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2630
mb->un.varLdSM.load_cmplt = Complete;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2631
mb->un.varLdSM.method = DL_FROM_SLIM;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2632
mb->un.varLdSM.update_flash = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2633
mb->un.varLdSM.erase_or_prog = Function;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2634
mb->un.varLdSM.dl_to_adr = Base;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2635
mb->un.varLdSM.dl_len = DlByteCount;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2636
mb->un.varLdSM.keep = keep;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2639
mb->un.varLdSM.un.dl_from_slim_offset = DL_FROM_SLIM_OFFSET;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2641
mb->un.varLdSM.un.prog_id = *ProgId;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2643
mb->un.varLdSM.un.dl_from_slim_offset = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2646
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2655
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2657
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2659
mb->mbxCommand = MBX_UPDATE_CFG;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2660
mb->un.varUpdateCfg.req_type = UPDATE_DATA;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2661
mb->un.varUpdateCfg.region_id = WAKE_UP_PARMS_REGION_ID;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2662
mb->un.varUpdateCfg.entry_len = sizeof (WAKE_UP_PARMS);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2663
mb->un.varUpdateCfg.byte_len = sizeof (WAKE_UP_PARMS);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2666
(caddr_t)&(mb->un.varUpdateCfg.cfg_data),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2678
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2680
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2682
mb->mbxCommand = MBX_UPDATE_CFG;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2683
mb->un.varUpdateCfg.Vbit = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2684
mb->un.varUpdateCfg.Obit = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2685
mb->un.varUpdateCfg.cfg_data = DL_FROM_SLIM_OFFSET;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2686
mb->un.varUpdateCfg.req_type = UPDATE_DATA;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2687
mb->un.varUpdateCfg.region_id = region_id;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2688
mb->un.varUpdateCfg.entry_len = size;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2689
mb->un.varUpdateCfg.byte_len = size;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2701
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2714
mb = (MAILBOX *)mbox;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2730
"status=%x", mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2753
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2767
mb = (MAILBOX *)mbox;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2777
"status=%x", mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2799
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2813
mb = (MAILBOX *)mbox;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2823
"status=%x", mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2845
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2859
mb = (MAILBOX *)mbox;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2869
"status=%x", mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2891
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2905
mb = (MAILBOX *)mbox;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2915
"status=%x", mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2937
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2951
mb = (MAILBOX *)mbox;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
2961
"status=%x", mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3157
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3190
mb = (MAILBOX *)mbox;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3205
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3247
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3701
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3712
mb = (MAILBOX *)mbox;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3713
mb->mbxCommand = MBX_DEL_LD_ENTRY;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3714
mb->un.varDelLdEntry.list_req = FLASH_LOAD_LIST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3715
mb->un.varDelLdEntry.prog_id = *progId;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3720
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3786
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3800
mb = (MAILBOX *)mbox;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3810
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3812
if (mb->un.varDmp.word_cnt == (uint32_t)CFG_DATA_NO_REGION) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3826
bcopy((caddr_t)&mb->un.varDmp.resp_offset,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
390
MAILBOX4 *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3912
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3924
mb = (MAILBOX *)mbox;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3931
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3941
Uptr = (uint32_t *)&mb->un.varDmp.resp_offset;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3961
"status=%x", LoadList->entry_cnt, mb->mbxCommand,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3962
mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
3973
Uptr = (uint32_t *)&mb->un.varDmp.resp_offset;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4017
MAILBOX4 *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4036
mb = (MAILBOX4 *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4037
bzero((void *) mb, MAILBOX_CMD_SLI4_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4039
mb->un.varSLIConfig.be.embedded = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4043
mb->mbxCommand = MBX_SLI_CONFIG;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4044
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4047
&mb->un.varSLIConfig.be.un_hdr.hdr_req;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4056
"status=%x", mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4074
MAILBOX4 *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
408
mb = (MAILBOX4*)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4093
mb = (MAILBOX4 *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4094
bzero((void *) mb, MAILBOX_CMD_SLI4_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4096
mb->un.varSLIConfig.be.embedded = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4100
mb->mbxCommand = MBX_SLI_CONFIG;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4101
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4104
&mb->un.varSLIConfig.be.un_hdr.hdr_req;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4114
"status=%x", mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
414
bzero((void *) mb, MAILBOX_CMD_SLI4_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
419
mb->un.varSLIConfig.be.embedded = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4202
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4214
mb = (MAILBOX *)mbox;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4228
"status=%x", mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
423
mb->mbxCommand = MBX_SLI_CONFIG;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
424
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
477
file->label, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4927
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4945
mb = (MAILBOX *)mbox;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4946
mb->mbxCommand = MBX_LOAD_EXP_ROM;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4947
mb->un.varLdExpRom.step = EROM_CMD_FIND_IMAGE;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4948
mb->un.varLdExpRom.progress = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4949
mb->un.varLdExpRom.un.prog_id = WakeUpParms->u1.EROM_prog_id;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4955
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4962
if (mb->un.varLdExpRom.progress == EROM_RSP_COPY_DONE) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4969
if (mb->un.varLdExpRom.progress != EROM_RSP_ERASE_STARTED) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4972
mb->un.varLdExpRom.progress);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4982
while (mb->un.varLdExpRom.progress != EROM_RSP_ERASE_COMPLETE) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4984
next_address = mb->un.varLdExpRom.dl_to_adr;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4986
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4988
mb->mbxCommand = MBX_LOAD_EXP_ROM;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4989
mb->un.varLdExpRom.step = EROM_CMD_CONTINUE_ERASE;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4990
mb->un.varLdExpRom.dl_to_adr = next_address;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4991
mb->un.varLdExpRom.progress = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4992
mb->un.varLdExpRom.un.prog_id = WakeUpParms->u1.EROM_prog_id;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
4999
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5007
while (mb->un.varLdExpRom.progress != EROM_RSP_COPY_DONE) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5008
next_address = mb->un.varLdExpRom.dl_to_adr;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5010
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5012
mb->mbxCommand = MBX_LOAD_EXP_ROM;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5013
mb->un.varLdExpRom.step = EROM_CMD_COPY;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5014
mb->un.varLdExpRom.dl_to_adr = next_address;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5015
mb->un.varLdExpRom.progress = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5016
mb->un.varLdExpRom.un.prog_id = WakeUpParms->u1.EROM_prog_id;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5023
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
504
MAILBOX4 *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5154
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
519
mb = (MAILBOX4*)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5190
mb = (MAILBOX *)mbox;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5235
FileType, mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
524
bzero((void *) mb, MAILBOX_CMD_SLI4_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5242
while (mb->un.varLdArea.progress != RSP_ERASE_COMPLETE) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5243
NextAddr = mb->un.varLdArea.dl_to_adr;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5257
"status=%x", FileType, mb->mbxCommand,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5258
mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
527
mb->un.varSLIConfig.be.embedded = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5305
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
531
mb->mbxCommand = MBX_SLI_CONFIG;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5313
RspProgress = mb->un.varLdArea.progress;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
532
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5374
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5376
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5378
mb->mbxCommand = MbxCmd;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5379
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5380
mb->un.varLdArea.update_flash = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5381
mb->un.varLdArea.erase_or_prog = Function;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5382
mb->un.varLdArea.dl_to_adr = Base;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5383
mb->un.varLdArea.dl_len = DlByteCount;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5384
mb->un.varLdArea.load_cmplt = Complete;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5385
mb->un.varLdArea.method = DL_FROM_SLIM;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5386
mb->un.varLdArea.area_id = AreaId;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5387
mb->un.varLdArea.step = StepCmd;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5388
mb->un.varLdArea.un.dl_from_slim_offset = DataOffset;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5463
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5483
mb = (MAILBOX *)mbox;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5491
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
5503
Uptr = (uint32_t *)&mb->un.varDmp.resp_offset;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
552
file->label, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
598
MAILBOX4 *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
607
mb = (MAILBOX4*)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
612
bzero((void *) mb, MAILBOX_CMD_SLI4_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
615
mb->un.varSLIConfig.be.embedded = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
619
mb->mbxCommand = MBX_SLI_CONFIG;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
620
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
635
file->label, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
673
MAILBOX4 *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
702
mb = (MAILBOX4*)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
708
bzero((void *) mb, MAILBOX_CMD_SLI4_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
711
mb->un.varSLIConfig.be.embedded = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
715
mb->mbxCommand = MBX_SLI_CONFIG;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
716
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
736
mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
754
bzero((void *) mb, MAILBOX_CMD_SLI4_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
757
mb->un.varSLIConfig.be.embedded = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
761
mb->mbxCommand = MBX_SLI_CONFIG;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
762
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_download.c
782
mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2386
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2398
mb = (MAILBOX *) mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2406
mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2412
DumpTableAddr = mb->un.varDmp.resp_offset;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2428
DumpTableAddr, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2434
entry.un.PortBlock.un.w[0] = mb->un.varWords[4];
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2499
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2526
mb = (MAILBOX *) mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2534
mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2546
DumpTableAddr = mb->un.varDmp.resp_offset;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2569
DumpTableAddr, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2582
mb->un.varDmp.base_adr);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2585
entry.un.PortBlock.un.w[0] = mb->un.varWords[4];
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2586
*pDumpTableEntry++ = mb->un.varWords[4];
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2627
entry.un.PortBlock.un.w[1] = mb->un.varWords[5];
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2628
*pDumpTableEntry++ = mb->un.varWords[5];
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2677
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2699
mb = (MAILBOX *) mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2753
offset, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2762
mb->un.varWords[4];
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2810
portAddr, wcount, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2814
bcopy((uint8_t *)&mb->un.varWords[4], p1,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2815
(mb->un.varDmp.word_cnt * 4));
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2817
byteCountRem -= (mb->un.varDmp.word_cnt * 4);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2818
p1 += (mb->un.varDmp.word_cnt * 4);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
2819
portAddr += (mb->un.varDmp.word_cnt * 4);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3543
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3564
mb = (MAILBOX *) mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3568
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3569
mb->mbxCommand = MBX_READ_EVENT_LOG_STATUS;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3579
mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3581
if ((mb->mbxStatus & 0xFFFF) == MBXERR_NOT_SUPPORTED ||
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3582
(mb->mbxStatus & 0xFFFF) == MBX_DRVR_ERROR) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3594
if ((mb->mbxStatus & 0xFFFF) != MBX_BUSY) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3617
logSize = mb->un.varLogStat.size;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3638
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3639
mb->mbxCommand = MBX_READ_EVENT_LOG; /* 0x38 */
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3640
mb->un.varRdEvtLog.read_log = 1; /* read log */
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3641
mb->un.varRdEvtLog.mbox_rsp = 0; /* not using Mailbox */
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3642
mb->un.varRdEvtLog.offset = offset;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3643
mb->un.varRdEvtLog.un.sp64.tus.f.bdeFlags = 0x0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3644
mb->un.varRdEvtLog.un.sp64.tus.f.bdeSize = block_size;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3645
mb->un.varRdEvtLog.un.sp64.addrLow = PADDR_LO(tempAddress);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3646
mb->un.varRdEvtLog.un.sp64.addrHigh = PADDR_HI(tempAddress);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3653
mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3711
MAILBOX4 *mb = NULL;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3727
mb = (MAILBOX4*)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3739
mb->un.varSLIConfig.be.embedded = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3743
mb->mbxCommand = MBX_SLI_CONFIG;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3744
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3762
mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3796
bzero((void *) mb, MAILBOX_CMD_SLI4_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3801
mb->un.varSLIConfig.be.embedded = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3805
mb->mbxCommand = MBX_SLI_CONFIG;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3806
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
3825
mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
751
MAILBOX4 *mb = (MAILBOX4 *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
761
bzero((void *) mb, MAILBOX_CMD_SLI4_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
763
mb->mbxCommand = MBX_DUMP_MEMORY;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
764
mb->un.varDmp4.type = DMP_NV_PARAMS;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
765
mb->un.varDmp4.entry_index = Offset;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
766
mb->un.varDmp4.region_id = Identifier;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
768
mb->un.varDmp4.available_cnt = ByteCountReq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
769
mb->un.varDmp4.addrHigh =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
771
mb->un.varDmp4.addrLow =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
773
mb->un.varDmp4.rsp_cnt = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
775
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
783
Identifier, Offset, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
789
CopyCount = mb->un.varDmp4.rsp_cnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
809
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
815
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
817
mb->mbxCommand = MBX_DUMP_MEMORY;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
818
mb->un.varDmp.type = DMP_NV_PARAMS;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
819
mb->un.varDmp.cv = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
820
mb->un.varDmp.region_id = Identifier;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
821
mb->un.varDmp.entry_index = Offset;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
822
mb->un.varDmp.word_cnt = ByteCountReq / 4;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
823
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
831
Identifier, Offset, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
839
CopyCount = mb->un.varDmp.word_cnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_dump.c
855
bcopy((uint8_t *)&mb->un.varDmp.resp_offset, pLocalBuf,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_els.c
2284
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_els.c
2295
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_els.c
2309
mb->un.varRdLnk.linkFailureCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_els.c
2311
mb->un.varRdLnk.lossSyncCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_els.c
2313
mb->un.varRdLnk.lossSignalCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_els.c
2315
mb->un.varRdLnk.primSeqErrCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_els.c
2317
mb->un.varRdLnk.invalidXmitWord;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_els.c
2319
mb->un.varRdLnk.crcCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fcf.c
13639
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fcf.c
13713
mb = (MAILBOX*)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fcf.c
13714
bzero((void *) mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fcf.c
13721
mb->un.varRegVpi.vfi = vpip->vfip->VFI;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fcf.c
13722
mb->un.varRegVpi.upd = (vpip->flag & EMLXS_VPI_REG)? 1:0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fcf.c
13725
mb->un.varRegVpi.portname[0] = BE_SWAP32(*wwpn);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fcf.c
13727
mb->un.varRegVpi.portname[1] = BE_SWAP32(*wwpn);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fcf.c
13729
mb->un.varRegVpi.vpi = vpip->VPI;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fcf.c
13730
mb->un.varRegVpi.sid = vpip->port->did;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fcf.c
13731
mb->mbxCommand = MBX_REG_VPI;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fcf.c
13732
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fcp.c
1745
MAILBOX *mb = NULL;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fcp.c
1769
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fcp.c
1817
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fcp.c
1820
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fcp.c
1827
mb->un.varInitLnk.lipsr_AL_PA = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fct.c
1302
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fct.c
1325
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fct.c
1337
mb->un.varRdLnk.linkFailureCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fct.c
1339
mb->un.varRdLnk.lossSyncCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fct.c
1341
mb->un.varRdLnk.lossSignalCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fct.c
1343
mb->un.varRdLnk.primSeqErrCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fct.c
1345
mb->un.varRdLnk.invalidXmitWord;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fct.c
1347
mb->un.varRdLnk.crcCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_hba.c
2789
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_hba.c
2829
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_hba.c
2834
if (verbose || (mb->mbxStatus != 0x12)) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_hba.c
2838
mb->mbxStatus, value,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_hba.c
2863
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_hba.c
2877
tmpkey = mb->un.varWords[30];
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_hba.c
2883
"Unable to read nvram. cmd=%x status=%x", mb->mbxCommand,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_hba.c
2884
mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_hba.c
2888
npname0 = mb->un.varRDnvp.portname[0];
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_hba.c
2889
npname1 = mb->un.varRDnvp.portname[1];
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1063
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1065
bzero((void *) mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1067
mb->mbxCommand = MBX_ASYNC_EVENT;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1068
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1069
mb->un.varWords[0] = hba->channel_els;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1082
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1084
bzero((void *) mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1086
mb->mbxCommand = MBX_HEARTBEAT;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1087
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1138
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1142
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1144
mb->mbxCommand = MBX_CONFIG_MSI;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1147
mb->un.varCfgMSI.defaultPresent = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1148
mb->un.varCfgMSI.defaultMessageNumber = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1153
mb->un.varCfgMSI.attConditions |= mask;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1157
mb->un.varCfgMSI.messageNumberByHA[3] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1160
mb->un.varCfgMSI.messageNumberByHA[7] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1163
mb->un.varCfgMSI.messageNumberByHA[11] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1166
mb->un.varCfgMSI.messageNumberByHA[15] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1169
mb->un.varCfgMSI.messageNumberByHA[29] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1172
mb->un.varCfgMSI.messageNumberByHA[30] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1175
mb->un.varCfgMSI.messageNumberByHA[31] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1182
mb->un.varCfgMSI.messageNumberByHA[2] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1185
mb->un.varCfgMSI.messageNumberByHA[6] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1188
mb->un.varCfgMSI.messageNumberByHA[10] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1191
mb->un.varCfgMSI.messageNumberByHA[14] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1194
mb->un.varCfgMSI.messageNumberByHA[28] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1197
mb->un.varCfgMSI.messageNumberByHA[31] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1200
mb->un.varCfgMSI.messageNumberByHA[30] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1205
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1219
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1223
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1225
mb->mbxCommand = MBX_CONFIG_MSIX;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1228
mb->un.varCfgMSIX.defaultPresent = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1229
mb->un.varCfgMSIX.defaultMessageNumber = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1234
mb->un.varCfgMSIX.attConditions1 |= mask;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1238
mb->un.varCfgMSIX.messageNumberByHA[3] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1241
mb->un.varCfgMSIX.messageNumberByHA[7] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1244
mb->un.varCfgMSIX.messageNumberByHA[11] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1247
mb->un.varCfgMSIX.messageNumberByHA[15] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1250
mb->un.varCfgMSIX.messageNumberByHA[29] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1253
mb->un.varCfgMSIX.messageNumberByHA[30] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1256
mb->un.varCfgMSIX.messageNumberByHA[31] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1263
mb->un.varCfgMSIX.messageNumberByHA[0] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1266
mb->un.varCfgMSIX.messageNumberByHA[4] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1269
mb->un.varCfgMSIX.messageNumberByHA[8] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1272
mb->un.varCfgMSIX.messageNumberByHA[12] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1275
mb->un.varCfgMSIX.messageNumberByHA[30] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1278
mb->un.varCfgMSIX.messageNumberByHA[29] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1281
mb->un.varCfgMSIX.messageNumberByHA[28] = i;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1286
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1302
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1304
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1306
mb->mbxCommand = MBX_RESET_RING;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1307
mb->un.varRstRing.ring_no = ringno;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1308
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1346
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1348
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1350
mb->mbxCommand = MBX_DUMP_MEMORY;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1351
mb->un.varDmp.cv = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1352
mb->un.varDmp.type = DMP_NV_PARAMS;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1353
mb->un.varDmp.entry_index = offset;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1354
mb->un.varDmp.region_id = DMP_VPD_REGION;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1357
mb->un.varDmp.word_cnt = DMP_VPD_DUMP_WCOUNT;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1359
mb->un.varDmp.co = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1360
mb->un.varDmp.resp_offset = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1361
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1438
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1440
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1442
mb->mbxCommand = MBX_DUMP_MEMORY;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1443
mb->un.varDmp.type = DMP_MEM_REG;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1444
mb->un.varDmp.word_cnt = words;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1445
mb->un.varDmp.base_adr = offset;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1447
mb->un.varDmp.co = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1448
mb->un.varDmp.resp_offset = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1449
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1467
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1469
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1471
mb->mbxCommand = MBX_READ_NV;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1472
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1486
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1489
bzero((void *) mb, MAILBOX_CMD_SLI4_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1492
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1494
mb->un.varRdRev.cv = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1497
mb->un.varRdRev.cv3 = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1501
mb->mbxCommand = MBX_READ_REV;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1502
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1517
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1519
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1521
mb->mbxCommand = MBX_RUN_BIU_DIAG64;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1522
mb->un.varBIUdiag.un.s2.xmit_bde64.tus.f.bdeSize = MEM_ELSBUF_SIZE;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1523
mb->un.varBIUdiag.un.s2.xmit_bde64.addrHigh = PADDR_HI(out);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1524
mb->un.varBIUdiag.un.s2.xmit_bde64.addrLow = PADDR_LO(out);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1525
mb->un.varBIUdiag.un.s2.rcv_bde64.tus.f.bdeSize = MEM_ELSBUF_SIZE;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1526
mb->un.varBIUdiag.un.s2.rcv_bde64.addrHigh = PADDR_HI(in);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1527
mb->un.varBIUdiag.un.s2.rcv_bde64.addrLow = PADDR_LO(in);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1528
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1540
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1548
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1549
bcopy((uint8_t *)mb, (uint8_t *)mbox, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1557
if (mb->mbxStatus != 0) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1582
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1589
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1590
if (mb->mbxStatus) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1591
if (mb->mbxStatus == MBXERR_NO_RESOURCES) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1592
control = mb->un.varReadLA.un.lilpBde64.tus.f.bdeSize;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1616
bcopy((void *)&mb->un.varReadLA, (void *)&la, sizeof (READ_LA_VAR));
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1821
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1824
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1827
mb->mbxCommand = MBX_READ_LA64;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1832
mb->mbxCommand = MBX_READ_LA64;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1833
mb->un.varReadLA.un.lilpBde64.tus.f.bdeSize = 128;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1834
mb->un.varReadLA.un.lilpBde64.addrHigh = PADDR_HI(mp->phys);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1835
mb->un.varReadLA.un.lilpBde64.addrLow = PADDR_LO(mp->phys);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1836
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1855
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1861
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1862
if (mb->mbxStatus) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1865
if (mb->mbxStatus == 0x1601) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1962
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1968
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1970
mb->un.varClearLA.eventTag = hba->link_event_tag;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1971
mb->mbxCommand = MBX_CLEAR_LA;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1972
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1988
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1990
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1992
mb->mbxCommand = MBX_READ_STATUS;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
1993
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2007
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2009
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2011
mb->mbxCommand = MBX_READ_LNK_STAT;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2012
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2013
mb->un.varRdLnk.rec = 0; /* req_ext_counters */
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2014
mb->un.varRdLnk.clrc = 0; /* clear_all_counters */
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2015
mb->un.varRdLnk.clof = 0; /* clear_overflow_flags */
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2032
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2036
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2048
mb->un.varCfgRing.rrRegs[i].rval =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2050
mb->un.varCfgRing.rrRegs[i].rmask =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2052
mb->un.varCfgRing.rrRegs[i].tval =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2054
mb->un.varCfgRing.rrRegs[i].tmask =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2058
mb->un.varCfgRing.ring = ring;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2059
mb->un.varCfgRing.profile = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2060
mb->un.varCfgRing.maxOrigXchg = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2061
mb->un.varCfgRing.maxRespXchg = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2062
mb->un.varCfgRing.recvNotify = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2063
mb->un.varCfgRing.numMask = hba->sli.sli3.ring_masks[ring];
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2064
mb->mbxCommand = MBX_CONFIG_RING;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2065
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2080
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2084
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2090
mb->un.varCfgLnk.cr = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2091
mb->un.varCfgLnk.ci = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2092
mb->un.varCfgLnk.cr_delay = cfg[CFG_CR_DELAY].current;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2093
mb->un.varCfgLnk.cr_count = cfg[CFG_CR_COUNT].current;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2097
mb->un.varCfgLnk.ack0_enable = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2100
mb->un.varCfgLnk.myId = port->did;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2101
mb->un.varCfgLnk.edtov = hba->fc_edtov;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2102
mb->un.varCfgLnk.arbtov = hba->fc_arbtov;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2103
mb->un.varCfgLnk.ratov = hba->fc_ratov;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2104
mb->un.varCfgLnk.rttov = hba->fc_rttov;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2105
mb->un.varCfgLnk.altov = hba->fc_altov;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2106
mb->un.varCfgLnk.crtov = hba->fc_crtov;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2108
mb->mbxCommand = MBX_CONFIG_LINK;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2109
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2123
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2125
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2126
if (mb->mbxStatus) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2132
((mb->mbxStatus == 0x0011) ||
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2133
(mb->mbxStatus == 0x0500))) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2138
emlxs_mb_cmd_xlate(mb->mbxCommand),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2139
(uint32_t)mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2141
mb->un.varInitLnk.link_flags &=
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2143
mb->un.varInitLnk.link_speed = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2162
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2168
bzero((void *) mb, MAILBOX_CMD_SLI4_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2173
mb->mbxCommand = (volatile uint8_t) MBX_INIT_LINK;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2174
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2178
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2182
mb->un.varInitLnk.link_flags = FLAGS_TOPOLOGY_MODE_LOOP;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2183
mb->un.varInitLnk.link_flags |= FLAGS_LOCAL_LB;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2186
mb->un.varInitLnk.link_flags = FLAGS_TOPOLOGY_MODE_LOOP;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2187
mb->un.varInitLnk.link_flags |= FLAGS_TOPOLOGY_FAILOVER;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2190
mb->un.varInitLnk.link_flags = FLAGS_TOPOLOGY_MODE_PT_PT;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2193
mb->un.varInitLnk.link_flags = FLAGS_TOPOLOGY_MODE_LOOP;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2196
mb->un.varInitLnk.link_flags = FLAGS_TOPOLOGY_MODE_PT_PT;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2197
mb->un.varInitLnk.link_flags |= FLAGS_TOPOLOGY_FAILOVER;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2203
mb->un.varInitLnk.link_flags |= FLAGS_LIRP_LILP;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2255
mb->un.varInitLnk.link_flags |= FLAGS_LINK_SPEED;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2256
mb->un.varInitLnk.link_speed = linkspeed;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2260
mb->un.varInitLnk.link_flags |= FLAGS_PREABORT_RETURN;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2263
mb->un.varInitLnk.fabric_AL_PA =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2265
mb->mbxCommand = (volatile uint8_t) MBX_INIT_LINK;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2266
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2283
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2285
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2287
mb->mbxCommand = MBX_DOWN_LINK;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2288
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2301
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2308
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2309
if (mb->mbxStatus) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2310
if (mb->mbxStatus == MBXERR_NO_RESOURCES) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2311
control = mb->un.varRdSparm.un.sp64.tus.f.bdeSize;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2388
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2391
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2394
mb->mbxCommand = MBX_READ_SPARM64;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2399
mb->un.varRdSparm.un.sp64.tus.f.bdeSize = sizeof (SERV_PARM);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2400
mb->un.varRdSparm.un.sp64.addrHigh = PADDR_HI(mp->phys);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2401
mb->un.varRdSparm.un.sp64.addrLow = PADDR_LO(mp->phys);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2402
mb->mbxCommand = MBX_READ_SPARM64;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2403
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2425
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2427
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2432
mb->un.varWords[30] = flag;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2433
mb->un.varRdRPI.reqRpi = (volatile uint16_t) rpi;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2434
mb->mbxCommand = MBX_READ_RPI64;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2435
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2451
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2453
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2458
mb->un.varWords[30] = flag;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2459
mb->un.varRdXRI.reqXri = (volatile uint16_t)xri;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2460
mb->mbxCommand = MBX_READ_XRI;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2461
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2534
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2536
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2549
mb->un.varWords[0] = addr;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2550
mb->un.varWords[1] = value;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2551
mb->mbxCommand = MBX_SET_VARIABLE;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2552
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2566
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2568
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2570
mb->un.varWords[0] = 0x50797;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2571
mb->un.varWords[1] = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2572
mb->un.varWords[2] = 0xfffffffe;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2573
mb->mbxCommand = MBX_SET_VARIABLE;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2574
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2585
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2588
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2592
mb->un.varCfgHbq.hbqId = hbq_id;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2593
mb->un.varCfgHbq.numEntries = hbq->HBQ_numEntries;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2594
mb->un.varCfgHbq.recvNotify = hbq->HBQ_recvNotify;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2595
mb->un.varCfgHbq.numMask = hbq->HBQ_num_mask;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2596
mb->un.varCfgHbq.profile = hbq->HBQ_profile;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2597
mb->un.varCfgHbq.ringMask = hbq->HBQ_ringMask;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2598
mb->un.varCfgHbq.headerLen = hbq->HBQ_headerLen;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2599
mb->un.varCfgHbq.logEntry = hbq->HBQ_logEntry;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2600
mb->un.varCfgHbq.hbqaddrLow = PADDR_LO(hbq->HBQ_host_buf.phys);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2601
mb->un.varCfgHbq.hbqaddrHigh = PADDR_HI(hbq->HBQ_host_buf.phys);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2602
mb->mbxCommand = MBX_CONFIG_HBQ;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2603
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2611
(void *)&mb->un.varCfgHbq.profiles.allprofiles,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2622
mb->un.varCfgHbq.hbqMasks[i].tmatch =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2624
mb->un.varCfgHbq.hbqMasks[i].tmask = hbq->HBQ_Masks[i].tmask;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2625
mb->un.varCfgHbq.hbqMasks[i].rctlmatch =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2627
mb->un.varCfgHbq.hbqMasks[i].rctlmask =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2641
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2643
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2647
if (mb->mbxStatus != MBX_SUCCESS) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2653
port->vpi, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2676
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2732
mb = (MAILBOX *)mbq->mbox;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2733
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2738
mb->un.varRegVpi.vpi = port->vpi;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2739
mb->un.varRegVpi.sid = port->did;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2740
mb->mbxCommand = MBX_REG_VPI;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2741
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2768
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2770
mb = (MAILBOX *)mbq->mbox;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2772
if (mb->mbxStatus != MBX_SUCCESS) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2775
port->vpi, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2797
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2833
mb = (MAILBOX *)mbq->mbox;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2834
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2835
mb->un.varUnregVpi.vpi = port->vpi;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2836
mb->mbxCommand = MBX_UNREG_VPI;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2837
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2864
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2866
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2869
(uint8_t *)&mb->un.varCfgFarp.portname, sizeof (NAME_TYPE));
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2872
(uint8_t *)&mb->un.varCfgFarp.nodename, sizeof (NAME_TYPE));
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2874
mb->un.varCfgFarp.filterEnable = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2875
mb->un.varCfgFarp.portName = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2876
mb->un.varCfgFarp.nodeName = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2877
mb->mbxCommand = MBX_CONFIG_FARP;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2878
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2892
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2895
bzero((void *) mb, MAILBOX_CMD_SLI4_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2898
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2901
mb->mbxCommand = MBX_READ_CONFIG;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
2902
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
3039
emlxs_mb_fini(emlxs_hba_t *hba, MAILBOX *mb, uint32_t mbxStatus)
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
3089
if (mb && mbox_sbp && mbox_sbp->fct_cmd) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
3092
emlxs_mb_cmd_xlate(mb->mbxCommand),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
3093
mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
3112
if (mb) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
3116
bcopy((uint32_t *)mb,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
3120
bcopy((uint32_t *)mb,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
1098
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
1117
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
1138
mb->mbxStatus, cfg[CFG_MAX_RRDY].current);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
1157
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
1328
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
1352
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
1367
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
1426
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
1442
mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
1586
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
1596
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
1656
mb = NULL;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
194
MAILBOX *mb = NULL;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
2037
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
2080
mb = FC_SLIM1_MAILBOX(hba);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
2095
WRITE_SLIM_ADDR(hba, ((volatile uint32_t *)mb), *word0);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
2099
WRITE_SLIM_ADDR(hba, (((volatile uint32_t *)mb) + 1),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
2102
WRITE_SLIM_ADDR(hba, (((volatile uint32_t *)mb) + 1),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
248
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3159
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3173
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3176
mb->mbxStatus = MBX_SUCCESS;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3179
switch (mb->mbxCommand) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3218
mb->mbxStatus = (hba->flag & FC_OVERTEMP_EVENT) ?
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3225
emlxs_mb_cmd_xlate(mb->mbxCommand), mb->mbxStatus, mb);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3235
emlxs_mb_cmd_xlate(mb->mbxCommand), mb);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3253
emlxs_mb_cmd_xlate(mb->mbxCommand), mb,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3258
mb->mbxStatus = MBX_TIMEOUT;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3267
mb->mbxStatus =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3277
emlxs_mb_cmd_xlate(mb->mbxCommand),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3278
mb->mbxStatus, mb);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3291
if (mb->mbxCommand != MBX_HEARTBEAT) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3292
if (mb->mbxCommand != MBX_DOWN_LOAD &&
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3293
mb->mbxCommand != MBX_DUMP_MEMORY) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3297
emlxs_mb_cmd_xlate(mb->mbxCommand), mb);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3304
if (mb->mbxCommand != MBX_DOWN_LOAD &&
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3305
mb->mbxCommand != MBX_DUMP_MEMORY) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3308
emlxs_mb_cmd_xlate(mb->mbxCommand), mb);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3314
if (mb->mbxCommand != MBX_DOWN_LOAD &&
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3315
mb->mbxCommand != MBX_DUMP_MEMORY) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3318
emlxs_mb_cmd_xlate(mb->mbxCommand), mb);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3323
mb->mbxOwner = OWN_CHIP;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3351
BE_SWAP32_BCOPY((uint8_t *)mb, (uint8_t *)mbox,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3371
WRITE_SLIM_COPY(hba, &mb->un.varWords, &mbox->un.varWords,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3375
ldata = *((volatile uint32_t *)mb);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3412
if (mb->mbxStatus == MBX_TIMEOUT) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3415
emlxs_mb_cmd_xlate(mb->mbxCommand), mb, tmo);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3417
if (mb->mbxCommand != MBX_DOWN_LOAD &&
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3418
mb->mbxCommand != MBX_DUMP_MEMORY) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3422
emlxs_mb_cmd_xlate(mb->mbxCommand), mb,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3423
mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3458
emlxs_mb_cmd_xlate(mb->mbxCommand),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3459
mb, tmo);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3485
if (mb->mbxStatus == MBX_TIMEOUT) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3488
emlxs_mb_cmd_xlate(mb->mbxCommand), mb, tmo);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3509
BE_SWAP32_BCOPY((uint8_t *)mbox, (uint8_t *)mb,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3512
READ_SLIM_COPY(hba, (uint32_t *)mb,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3545
if (mb->mbxCommand != MBX_DOWN_LOAD &&
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3546
mb->mbxCommand != MBX_DUMP_MEMORY) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3549
emlxs_mb_cmd_xlate(mb->mbxCommand), mb,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3550
mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3564
emlxs_mb_fini(hba, NULL, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
3570
return (mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
379
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
385
if (mb->un.varRdRev.rr == 0) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
398
if (mb->un.varRdRev.un.b.ProgType != FUNC_FIRMWARE) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
407
mb->un.varRdRev.un.b.ProgType);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
412
vpd->sli1FwRev = mb->un.varRdRev.sliFwRev1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
413
bcopy((char *)mb->un.varRdRev.sliFwName1, vpd->sli1FwLabel,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
415
vpd->sli2FwRev = mb->un.varRdRev.sliFwRev2;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
416
bcopy((char *)mb->un.varRdRev.sliFwName2, vpd->sli2FwLabel,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
434
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
440
if (mb->un.varRdRev.rf3) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
445
vpd->sli3FwRev = mb->un.varRdRev.sliFwRev2;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
446
bcopy((char *)mb->un.varRdRev.sliFwName2,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
481
vpd->postKernRev = mb->un.varRdRev.postKernRev;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
482
vpd->opFwRev = mb->un.varRdRev.opFwRev;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
483
bcopy((char *)mb->un.varRdRev.opFwName, vpd->opFwLabel, 16);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
484
vpd->biuRev = mb->un.varRdRev.biuRev;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
485
vpd->smRev = mb->un.varRdRev.smRev;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
486
vpd->smFwRev = mb->un.varRdRev.un.smFwRev;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
487
vpd->endecRev = mb->un.varRdRev.endecRev;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
488
vpd->fcphHigh = mb->un.varRdRev.fcphHigh;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
489
vpd->fcphLow = mb->un.varRdRev.fcphLow;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
490
vpd->feaLevelHigh = mb->un.varRdRev.feaLevelHigh;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
491
vpd->feaLevelLow = mb->un.varRdRev.feaLevelLow;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
544
mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
547
if (mb->un.varDmp.ra == 1) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
556
bsize = mb->un.varDmp.word_cnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
5772
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
578
lp1 = (uint32_t *)&mb->un.varDmp.resp_offset;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
5833
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
5891
BE_SWAP32_BCOPY((uint8_t *)mbox, (uint8_t *)mb,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
5894
READ_SLIM_COPY(hba, (uint32_t *)mb, (uint32_t *)mbox,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
5933
if (mb->mbxCommand == MBX_HEARTBEAT) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
5961
if (mb->mbxStatus) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
5963
"%s: status=0x%x", emlxs_mb_cmd_xlate(mb->mbxCommand),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
5964
(uint32_t)mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
5978
emlxs_mb_fini(hba, mb, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6008
MAILBOX *mb = NULL;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6041
mb = FC_SLIM2_MAILBOX(hba);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6043
(off_t)((uint64_t)((unsigned long)mb) - (uint64_t)
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6048
*word0 = *((volatile uint32_t *)mb);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6051
mb = FC_SLIM1_MAILBOX(hba);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6053
READ_SLIM_ADDR(hba, ((volatile uint32_t *)mb));
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6061
mb = &swpmb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6064
if (mb->mbxOwner == OWN_HOST) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6071
"hc=%x ha=%x", emlxs_mb_cmd_xlate(mb->mbxCommand),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6086
mb = (MAILBOX *)hba->mbox_mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6090
if (mb) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6095
emlxs_mb_cmd_xlate(mb->mbxCommand));
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6101
emlxs_mb_cmd_xlate(mb->mbxCommand),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6102
mb);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6108
emlxs_mb_cmd_xlate(mb->mbxCommand),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6109
mb);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6115
emlxs_mb_cmd_xlate(mb->mbxCommand),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6116
mb, hba->mbox_queue_flag);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6147
MAILBOX *mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6165
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6169
mb->mbxCommand = MBX_CONFIG_PORT;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6170
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6173
mb->un.varCfgPort.pcbLen = sizeof (PCB);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6174
mb->un.varCfgPort.hbainit[0] = hbainit;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6178
mb->un.varCfgPort.pcbLow = PADDR_LO(pcb);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6179
mb->un.varCfgPort.pcbHigh = PADDR_HI(pcb);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6182
mb->un.varCfgPort.hps = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6191
mb->un.varCfgPort.sli_mode = EMLXS_HBA_SLI3_MODE;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6192
mb->un.varCfgPort.cerbm = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6193
mb->un.varCfgPort.max_hbq = EMLXS_NUM_HBQ;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6198
mb->un.varCfgPort.vpi_max =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6201
mb->un.varCfgPort.vpi_max =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6205
mb->un.varCfgPort.cmv = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6356
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6416
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6476
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6753
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6766
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6768
if (mb->mbxStatus) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6769
if (mb->mbxStatus == MBXERR_NO_RESOURCES) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6770
control = mb->un.varRegLogin.un.sp.bdeSize;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6781
if (mb->mbxStatus == MBXERR_RPI_FULL) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6800
ldata = mb->un.varWords[5];
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6805
ldata = mb->un.varWords[0]; /* get rpi */
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6808
ldata = mb->un.varWords[1]; /* get did */
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6823
mb->mbxStatus = MBXERR_RPI_FULL;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6840
mb = (MAILBOX *)mboxq->mbox;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6841
mb->un.varUnregLogin.rpi = lrpi;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6842
mb->un.varUnregLogin.vpi = lvpi;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6844
mb->mbxCommand = MBX_UNREG_LOGIN;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6845
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6936
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6971
mb = (MAILBOX *)mbq->mbox;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6972
bzero((void *)mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6984
mb->un.varRegLogin.un.sp64.tus.f.bdeSize = sizeof (SERV_PARM);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6985
mb->un.varRegLogin.un.sp64.addrHigh = PADDR_HI(mp->phys);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6986
mb->un.varRegLogin.un.sp64.addrLow = PADDR_LO(mp->phys);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6987
mb->un.varRegLogin.did = did;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6988
mb->un.varWords[30] = 0; /* flags */
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6989
mb->mbxCommand = MBX_REG_LOGIN64;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6990
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6991
mb->un.varRegLogin.vpi = port->vpi;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
6992
mb->un.varRegLogin.rpi = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
7022
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
7027
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
7030
if (mb->mbxStatus) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
7033
node, rpi, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
7060
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
7103
mb = (MAILBOX *)mbq->mbox;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
7104
mb->un.varUnregLogin.rpi = rpi;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
7105
mb->un.varUnregLogin.vpi = port->vpip->VPI;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
7107
mb->mbxCommand = MBX_UNREG_LOGIN;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
7108
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
843
mb->mbxCommand, mb->mbxStatus, sli_mode, key);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
867
if (mb->un.varCfgPort.rMA &&
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
868
(mb->un.varCfgPort.sli_mode == EMLXS_HBA_SLI3_MODE)) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
870
if (mb->un.varCfgPort.vpi_max > 1) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
875
min(mb->un.varCfgPort.vpi_max,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
879
min(mb->un.varCfgPort.vpi_max,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
889
if (mb->un.varCfgPort.gerbm && mb->un.varCfgPort.max_hbq) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
919
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
926
vpd->link_speed = (uint16_t)mb->un.varRdConfig.lmt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
933
mb->un.varRdConfig.max_rpi);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
935
hba->max_nodes = mb->un.varRdConfig.max_rpi;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
939
hba->io_throttle = mb->un.varRdConfig.max_xri - IO_THROTTLE_RESERVE;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
945
hba->max_iotag = mb->un.varRdConfig.max_xri;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli3.c
991
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1000
!(mb->un.varReqFeatures.featuresEnabled &
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1010
(mb->un.varReqFeatures.featuresEnabled &
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1029
if (mb->un.varReqFeatures.featuresEnabled & SLI4_FEATURE_NPIV) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1033
if (mb->un.varReqFeatures.featuresEnabled & SLI4_FEATURE_PERF_HINT) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1047
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1052
emlxs_data_dump(port, "READ_CONFIG4", (uint32_t *)mb, 18, 0);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1055
hba->sli.sli4.XRICount = mb->un.varRdConfig4.XRICount;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1058
hba->sli.sli4.XRIBase[0] = mb->un.varRdConfig4.XRIBase;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1060
hba->sli.sli4.RPICount = mb->un.varRdConfig4.RPICount;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1063
hba->sli.sli4.RPIBase[0] = mb->un.varRdConfig4.RPIBase;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1065
hba->sli.sli4.VPICount = mb->un.varRdConfig4.VPICount;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1068
hba->sli.sli4.VPIBase[0] = mb->un.varRdConfig4.VPIBase;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1070
hba->sli.sli4.VFICount = mb->un.varRdConfig4.VFICount;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1073
hba->sli.sli4.VFIBase[0] = mb->un.varRdConfig4.VFIBase;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1075
hba->sli.sli4.FCFICount = mb->un.varRdConfig4.FCFICount;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1103
if (mb->un.varRdConfig4.extents) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1122
mb->un.varRdConfig4.ldv,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1123
mb->un.varRdConfig4.link_type,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1124
mb->un.varRdConfig4.link_number);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1126
if (mb->un.varRdConfig4.ldv) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1127
hba->sli.sli4.link_number = mb->un.varRdConfig4.link_number;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1161
vpd->link_speed = (uint16_t)mb->un.varRdConfig4.lmt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1256
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1274
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1438
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1474
mb = NULL;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
1507
mb = NULL;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
304
MAILBOX4 *mb = NULL;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3491
emlxs_sli4_issue_mq(emlxs_port_t *port, MAILBOX4 *mqe, MAILBOX *mb,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3501
mbq = (MAILBOXQ *)mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3502
mb4 = (MAILBOX4 *)mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3506
if ((mb->mbxCommand != MBX_SLI_CONFIG) ||
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3512
BE_SWAP32_BCOPY((uint8_t *)mb, (uint8_t *)mqe,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3518
if (mb->mbxCommand != MBX_HEARTBEAT) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3544
BE_SWAP32_BCOPY((uint8_t *)mb, (uint8_t *)mqe,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3562
if (mb->mbxCommand != MBX_HEARTBEAT) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3576
emlxs_sli4_issue_bootstrap(emlxs_hba_t *hba, MAILBOX *mb, uint32_t tmo)
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3585
mbq = (MAILBOXQ *)mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3586
mb4 = (MAILBOX4 *)mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3590
if ((mb->mbxCommand != MBX_SLI_CONFIG) ||
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3597
BE_SWAP32_BCOPY((uint8_t *)mb, (uint8_t *)iptr,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3625
BE_SWAP32_BCOPY((uint8_t *)mb, (uint8_t *)iptr,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3646
if ((mb->mbxCommand != MBX_SLI_CONFIG) ||
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3652
BE_SWAP32_BCOPY((uint8_t *)iptr, (uint8_t *)mb,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3668
BE_SWAP32_BCOPY((uint8_t *)iptr, (uint8_t *)mb,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3711
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3726
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3728
mb->mbxStatus = MBX_SUCCESS;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3732
switch (mb->mbxCommand) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3831
mb->mbxStatus = MBX_HARDWARE_ERROR;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3836
emlxs_mb_cmd_xlate(mb->mbxCommand));
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3847
mb->mbxStatus = MBX_HARDWARE_ERROR;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3853
emlxs_mb_cmd_xlate(mb->mbxCommand), mb->mbxStatus, mb);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3863
emlxs_mb_cmd_xlate(mb->mbxCommand), mb);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3881
emlxs_mb_cmd_xlate(mb->mbxCommand), mb,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3886
mb->mbxStatus = MBX_TIMEOUT;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3898
mb->mbxStatus = MBX_HARDWARE_ERROR;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3906
emlxs_mb_cmd_xlate(mb->mbxCommand),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3907
mb->mbxStatus, mb);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3917
if (mb->mbxCommand == MBX_DOWN_LINK) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3925
if (mb->mbxCommand != MBX_HEARTBEAT) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3926
if (mb->mbxCommand != MBX_DOWN_LOAD
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3931
emlxs_mb_cmd_xlate(mb->mbxCommand), mb,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3932
((mb->mbxCommand != MBX_SLI_CONFIG) ? 1 :
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3953
rc = emlxs_sli4_issue_mq(port, (MAILBOX4 *)iptr, mb, tmo_local);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3957
if (mb->mbxCommand != MBX_DOWN_LOAD
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3961
emlxs_mb_cmd_xlate(mb->mbxCommand), mb,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3962
((mb->mbxCommand != MBX_SLI_CONFIG) ? 1 :
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3966
rc = emlxs_sli4_issue_bootstrap(hba, mb, tmo_local);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3972
emlxs_mb_cmd_xlate(mb->mbxCommand), mb, tmo,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3973
((mb->mbxCommand != MBX_SLI_CONFIG) ? 1 :
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3981
if (mb->mbxCommand != MBX_DOWN_LOAD
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3987
emlxs_mb_cmd_xlate(mb->mbxCommand), mb,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3988
rc, mb->mbxStatus,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
3989
((mb->mbxCommand != MBX_SLI_CONFIG) ? 1 :
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4000
emlxs_mb_fini(hba, NULL, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4010
emlxs_mb_cmd_xlate(mb->mbxCommand),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4013
mb->mbxStatus = MBX_NONEMBED_ERROR;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4016
rc = mb->mbxStatus;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
402
mb = (MAILBOX4 *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4030
if (mb->mbxCommand != MBX_DOWN_LOAD
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4034
emlxs_mb_cmd_xlate(mb->mbxCommand), mb,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4035
((mb->mbxCommand != MBX_SLI_CONFIG) ? 1 :
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4046
rc = emlxs_sli4_issue_mq(port, (MAILBOX4 *)iptr, mb, tmo_local);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4068
emlxs_mb_cmd_xlate(mb->mbxCommand),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4071
mb->mbxStatus = MBX_NONEMBED_ERROR;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4074
rc = mb->mbxStatus;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4079
emlxs_mb_cmd_xlate(mb->mbxCommand), mb, tmo,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4080
((mb->mbxCommand != MBX_SLI_CONFIG) ? 1 :
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4083
if (mb->mbxCommand != MBX_DOWN_LOAD
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4089
emlxs_mb_cmd_xlate(mb->mbxCommand), mb, rc,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4090
((mb->mbxCommand != MBX_SLI_CONFIG) ? 1 :
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4109
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4115
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4117
mb->mbxStatus = MBX_SUCCESS;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4131
mb->mbxStatus = MBX_HARDWARE_ERROR;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4142
rc = emlxs_sli4_issue_bootstrap(hba, mb, tmo_local);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4158
emlxs_mb_fini(hba, NULL, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4168
emlxs_mb_cmd_xlate(mb->mbxCommand),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4171
mb->mbxStatus = MBX_NONEMBED_ERROR;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
4174
rc = mb->mbxStatus;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
489
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
496
bcopy((char *)&mb->un.varSLIConfig.payload,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
511
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
517
bcopy((char *)&mb->un.varSLIConfig.payload,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
529
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
536
emlxs_data_dump(port, "RD_REV", (uint32_t *)mb, 18, 0);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
537
if (mb->un.varRdRev4.sliLevel != 4) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
540
mb->un.varRdRev4.sliLevel);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
546
switch (mb->un.varRdRev4.dcbxMode) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
5545
MAILBOX4 *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
558
mb->un.varRdRev4.dcbxMode);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
5609
mb = (MAILBOX4 *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
5634
BE_SWAP32_BCOPY((uint8_t *)hba->mbox_mqe, (uint8_t *)mb,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
5637
if (mb->mbxCommand != MBX_HEARTBEAT) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
5640
mb->mbxStatus, mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
5646
if (mb->mbxCommand == MBX_SLI_CONFIG) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
5649
mb->un.varSLIConfig.be.sge_cnt,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
565
if (mb->un.varRdRev4.FCoE) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
5650
mb->un.varSLIConfig.be.payload_length,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
5651
mb->un.varSLIConfig.be.embedded);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
5667
mb->mbxStatus = MBXERR_DMA_ERROR;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
5689
mb->mbxStatus = MBXERR_DMA_ERROR;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
5697
if (mb->mbxCommand == MBX_HEARTBEAT) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
5703
if (mb->mbxCommand != MBX_DOWN_LOAD
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
5707
emlxs_mb_cmd_xlate(mb->mbxCommand),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
5708
mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
5711
if (mb->mbxCommand != MBX_DOWN_LOAD
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
5715
emlxs_mb_cmd_xlate(mb->mbxCommand),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
5716
mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
5725
if (mb->mbxStatus) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
5727
"%s: status=0x%x", emlxs_mb_cmd_xlate(mb->mbxCommand),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
5728
(uint32_t)mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
574
vpd->sli4FwRev = (mb->un.varRdRev4.ULPFwId);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
5743
emlxs_mb_fini(hba, (MAILBOX *)mb, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
575
bcopy((char *)mb->un.varRdRev4.ULPFwName, vpd->sli4FwName, 16);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
577
vpd->opFwRev = (mb->un.varRdRev4.ULPFwId);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
578
bcopy((char *)mb->un.varRdRev4.ULPFwName, vpd->opFwName, 16);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
580
vpd->postKernRev = (mb->un.varRdRev4.ARMFwId);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
581
bcopy((char *)mb->un.varRdRev4.ARMFwName, vpd->postKernName, 16);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
583
vpd->biuRev = mb->un.varRdRev4.HwRev1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
584
vpd->fcphHigh = mb->un.varRdRev4.fcphHigh;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
585
vpd->fcphLow = mb->un.varRdRev4.fcphLow;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
586
vpd->feaLevelHigh = mb->un.varRdRev4.feaLevelHigh;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
587
vpd->feaLevelLow = mb->un.varRdRev4.feaLevelLow;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
624
mb->un.varRdRev4.dcbxMode);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
640
"No VPD found. status=%x", mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
645
mb->un.varDmp4.rsp_cnt, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
647
if (mb->un.varDmp4.rsp_cnt) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
649
0, mb->un.varDmp4.rsp_cnt, DDI_DMA_SYNC_FORKERNEL);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
672
mb->un.varDmp4.rsp_cnt);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8571
MAILBOX4 *mb = (MAILBOX4 *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8583
bzero((void *) mb, MAILBOX_CMD_SLI4_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8590
mb->mbxCommand);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8598
mb->un.varSLIConfig.be.embedded = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8599
mb->mbxCommand = MBX_SLI_CONFIG;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8600
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8621
mb->un.varSLIConfig.be.payload_length =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8623
mb->un.varSLIConfig.be.un_hdr.hdr_req.subsystem =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8625
mb->un.varSLIConfig.be.un_hdr.hdr_req.opcode =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8627
mb->un.varSLIConfig.be.un_hdr.hdr_req.timeout = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8628
mb->un.varSLIConfig.be.un_hdr.hdr_req.req_length = size;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8660
mb->mbxCommand, mb->mbxStatus,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8680
MAILBOX4 *mb = (MAILBOX4 *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8702
bzero((void *) mb, MAILBOX_CMD_SLI4_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8709
mb->un.varSLIConfig.be.embedded = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8711
mb->mbxCommand = MBX_SLI_CONFIG;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8712
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8713
mb->un.varSLIConfig.be.payload_length =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8715
mb->un.varSLIConfig.be.un_hdr.hdr_req.subsystem =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8717
mb->un.varSLIConfig.be.un_hdr.hdr_req.opcode =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8719
mb->un.varSLIConfig.be.un_hdr.hdr_req.timeout = 0;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8720
mb->un.varSLIConfig.be.un_hdr.hdr_req.req_length =
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8725
&mb->un.varSLIConfig.payload;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8742
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8745
emlxs_data_dump(port, "POST_HDR", (uint32_t *)mb, 18, 0);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8756
MAILBOX4 *mb = (MAILBOX4 *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8785
i, mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8788
eq = (IOCTL_COMMON_EQ_CREATE *)&mb->un.varSLIConfig.payload;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8793
emlxs_data_dump(port, "EQ0_CREATE", (uint32_t *)mb, 18, 0);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8815
total_cq, hba, mb->mbxCommand,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8816
mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8820
&mb->un.varSLIConfig.payload;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8846
emlxs_data_dump(port, "CQX_CREATE", (uint32_t *)mb,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8865
total_wq, mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8869
&mb->un.varSLIConfig.payload;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8875
emlxs_data_dump(port, "WQ_CREATE", (uint32_t *)mb,
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8907
i, mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8911
rq = (IOCTL_FCOE_RQ_CREATE *)&mb->un.varSLIConfig.payload;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8913
emlxs_data_dump(port, "RQ CREATE", (uint32_t *)mb, 18, 0);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8949
i, mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8959
i, mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8963
mq = (IOCTL_COMMON_MQ_CREATE *)&mb->un.varSLIConfig.payload;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8968
mq_ext = (IOCTL_COMMON_MQ_CREATE_EXT *)&mb->un.varSLIConfig.payload;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
8994
MAILBOX *mb = NULL;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
9013
mb = (MAILBOX *)hba->mbox_mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
9017
if (mb) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
9022
emlxs_mb_cmd_xlate(mb->mbxCommand));
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
9028
emlxs_mb_cmd_xlate(mb->mbxCommand),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
9029
mb);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
9035
emlxs_mb_cmd_xlate(mb->mbxCommand),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
9036
mb);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
9042
emlxs_mb_cmd_xlate(mb->mbxCommand),
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
9043
mb, hba->mbox_queue_flag);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
908
"No FCOE info found. status=%x", mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
913
mb->un.varDmp4.rsp_cnt, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
916
mb->un.varDmp4.rsp_cnt);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
9206
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
9210
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
9214
if (mb->mbxStatus == 0)
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
946
mb->mbxCommand, mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
951
emlxs_data_dump(port, "REQ_FEATURE", (uint32_t *)mb, 6, 0);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
954
if (status != mb->un.varReqFeatures.featuresEnabled) {
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
959
mb->un.varReqFeatures.featuresRequested);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
965
mb->un.varReqFeatures.featuresEnabled));
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
970
!(mb->un.varReqFeatures.featuresEnabled &
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
980
(mb->un.varReqFeatures.featuresEnabled &
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
4358
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
4377
mb = (MAILBOX *)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
4386
bp->rls_link_fail = mb->un.varRdLnk.linkFailureCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
4387
bp->rls_sync_loss = mb->un.varRdLnk.lossSyncCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
4388
bp->rls_sig_loss = mb->un.varRdLnk.lossSignalCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
4389
bp->rls_prim_seq_err = mb->un.varRdLnk.primSeqErrCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
4391
mb->un.varRdLnk.invalidXmitWord;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
4392
bp->rls_invalid_crc = mb->un.varRdLnk.crcCnt;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
4865
MAILBOX4 *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
4895
mb = (MAILBOX4*)mbq;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
4897
bzero((void *) mb, MAILBOX_CMD_SLI4_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
4899
mb->un.varSLIConfig.be.embedded = 1;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
4902
mb->mbxCommand = MBX_SLI_CONFIG;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
4903
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
4906
&mb->un.varSLIConfig.be.un_hdr.hdr_req;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
4920
mb->mbxStatus);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
8509
MAILBOX *mb;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
8532
mb = (MAILBOX *) mbq->mbox;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
8533
bzero((void *) mb, MAILBOX_CMD_BSIZE);
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
8534
mb->un.varUnregLogin.rpi = (uint16_t)ndlp->nlp_Rpi;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
8536
mb->un.varUnregLogin.vpi = port->vpi;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
8538
mb->mbxCommand = MBX_UNREG_LOGIN;
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c
8539
mb->mbxOwner = OWN_HOST;
usr/src/uts/common/io/fibre-channel/fca/oce/oce_mbx.c
255
struct oce_bmbx *mb = NULL;
usr/src/uts/common/io/fibre-channel/fca/oce/oce_mbx.c
261
mb = (struct oce_bmbx *)DBUF_VA(dev->bmbx);
usr/src/uts/common/io/fibre-channel/fca/oce/oce_mbx.c
262
mb_mbx = &mb->mbx;
usr/src/uts/common/io/fibre-channel/fca/oce/oce_mbx.c
293
mb_cqe = &mb->cqe;
usr/src/uts/common/io/fibre-channel/fca/oce/oce_mbx.c
382
struct oce_bmbx *mb;
usr/src/uts/common/io/fibre-channel/fca/oce/oce_mbx.c
385
mb = (struct oce_bmbx *)DBUF_VA(dev->bmbx);
usr/src/uts/common/io/fibre-channel/fca/oce/oce_mbx.c
386
mbx = &mb->mbx;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
14358
mcp->mb[0] = RD16_IO_REG(ha,
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
14376
rval = mcp->mb[0];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
4512
mr.mb[1] = mcp->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
4513
mr.mb[2] = mcp->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
4514
mr.mb[3] = mcp->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
4515
mr.mb[4] = mcp->mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
4516
mr.mb[5] = mcp->mb[5];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
4517
mr.mb[6] = mcp->mb[6];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
4518
mr.mb[7] = mcp->mb[7];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
4520
bcopy(&mr.mb[0], &mr.mb[10],
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
4530
if (mr.mb[i0] !=
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
4531
mr.mb[i0 + 10]) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
5989
for (index = 0; index < mr.mb[1]; index++) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
6988
((rval == QL_COMMAND_ERROR) && (mr.mb[1] == 2 ||
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
6989
mr.mb[1] == 3 || mr.mb[1] == 7 || mr.mb[1] == 0xd))) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
7006
newq = ql_loop_id_to_queue(ha, mr.mb[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
7015
tq->loop_id = mr.mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
7019
d_id.b.al_pa = LSB(mr.mb[2]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
7020
d_id.b.area = MSB(mr.mb[2]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
7021
d_id.b.domain = LSB(mr.mb[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
7069
switch (mr.mb[1]) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
7085
EL(ha, "cmd rtn; mb1=%xh\n", mr.mb[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
7091
ha->instance, tq->d_id.b24, rval, mr.mb[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
8916
(rval != QL_SUCCESS || mr.mb[1] != FSTATE_READY)) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
9334
ql_rcv_rscn_els(ql_adapter_state_t *ha, uint16_t *mb, ql_head_t *done_q)
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
9370
d_id.b.al_pa = LSB(mb[2]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
9371
d_id.b.area = MSB(mb[2]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
9372
d_id.b.domain = LSB(mb[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
9374
af->aff_format = MSB(mb[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
9728
for (index = 0; index < mr.mb[1]; index++) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2527
ha->fw_major_version = mr.mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2528
ha->fw_minor_version = mr.mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2529
ha->fw_subminor_version = mr.mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2530
ha->fw_attributes = mr.mb[6];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2538
ha->fw_major_version = mr.mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2539
ha->fw_minor_version = mr.mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2540
ha->fw_subminor_version = mr.mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2541
ha->fw_ext_memory_end = SHORT_TO_LONG(mr.mb[4], mr.mb[5]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2545
ha->fw_attributes = SHORT_TO_LONG(mr.mb[6], mr.mb[15]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2546
ha->phy_fw_major_version = LSB(mr.mb[13]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2547
ha->phy_fw_minor_version = MSB(mr.mb[14]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2548
ha->phy_fw_subminor_version = LSB(mr.mb[14]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2549
ha->fw_ext_attributes = SHORT_TO_LONG(mr.mb[16],
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2550
mr.mb[17]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2552
ha->fw_attributes = mr.mb[6];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2553
ha->phy_fw_major_version = LSB(mr.mb[8]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2554
ha->phy_fw_minor_version = MSB(mr.mb[9]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2555
ha->phy_fw_subminor_version = LSB(mr.mb[9]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2557
SHORT_TO_LONG(mr.mb[13], mr.mb[12]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2559
ha->mpi_fw_major_version = LSB(mr.mb[10]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2560
ha->mpi_fw_minor_version = MSB(mr.mb[11]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2561
ha->mpi_fw_subminor_version = LSB(mr.mb[11]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2564
SHORT_TO_LONG(mr.mb[18], mr.mb[19]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2566
SHORT_TO_LONG(mr.mb[20], mr.mb[21]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2568
SHORT_TO_LONG(mr.mb[22], mr.mb[23]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2570
SHORT_TO_LONG(mr.mb[24], mr.mb[25]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2586
mr.mb[1] = ha->serdes_param[0];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2587
mr.mb[2] = ha->serdes_param[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2588
mr.mb[3] = ha->serdes_param[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2589
mr.mb[4] = ha->serdes_param[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2596
mr.mb[2] = (uint16_t)
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2597
(mr.mb[2] | FO2_FCOE_512_MAX_MEM_WR_BURST);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2637
icb->execution_throttle[0] = LSB(mr.mb[6]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2638
icb->execution_throttle[1] = MSB(mr.mb[6]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2779
mr.mb[1] = (uint16_t)(mr.mb[1] | BIT_9);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2780
mr.mb[2] = 0;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2781
mr.mb[3] = BIT_10;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2926
if (mr.mb[1] != FSTATE_READY) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2927
if (mr.mb[1] == FSTATE_LOSS_SYNC &&
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2928
mr.mb[4] == FSTATE_MPI_NIC_ERROR &&
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2943
if (mr.mb[1] != FSTATE_WAIT_LOGIN) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2975
if (state[0] != mr.mb[1] || state[1] != mr.mb[2] ||
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2976
state[2] != mr.mb[3] || state[3] != mr.mb[4] ||
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2977
state[4] != mr.mb[5] || state[5] != mr.mb[6]) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2979
"mbx5=%xh, mbx6=%xh\n", mr.mb[1], mr.mb[2],
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2980
mr.mb[3], mr.mb[4], mr.mb[5], mr.mb[6]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2981
state[0] = mr.mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2982
state[1] = mr.mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2983
state[2] = mr.mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2984
state[3] = mr.mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2985
state[4] = mr.mb[5];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2986
state[5] = mr.mb[6];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3212
if (mr.mb[1] == 1) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3325
ha->loop_id = mr.mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3326
ha->d_id.b.al_pa = LSB(mr.mb[2]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3327
ha->d_id.b.area = MSB(mr.mb[2]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3328
ha->d_id.b.domain = LSB(mr.mb[3]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3329
ha->bbcr_initial = LSB(mr.mb[15]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3330
ha->bbcr_runtime = MSB(mr.mb[15]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3337
switch (mr.mb[6]) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3340
ha->loop_id = mr.mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3344
ha->loop_id = mr.mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3362
mr.mb[7] & GID_FP_NPIV_SUPPORT) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3370
ha->fabric_params = mr.mb[7];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3371
ha->fcoe_vlan_id = (uint16_t)(mr.mb[9] & 0xfff);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3372
ha->fcoe_fcf_idx = mr.mb[10];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3373
ha->fcoe_vnport_mac[5] = MSB(mr.mb[11]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3374
ha->fcoe_vnport_mac[4] = LSB(mr.mb[11]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3375
ha->fcoe_vnport_mac[3] = MSB(mr.mb[12]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3376
ha->fcoe_vnport_mac[2] = LSB(mr.mb[12]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3377
ha->fcoe_vnport_mac[1] = MSB(mr.mb[13]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3378
ha->fcoe_vnport_mac[0] = LSB(mr.mb[13]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3383
mr.mb[6], ha->d_id.b24);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3389
mr.mb[1] = 0;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3390
mr.mb[2] = 0;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3396
ha->iidma_rate = mr.mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3397
if (mr.mb[1] == IIDMA_RATE_1GB) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3399
} else if (mr.mb[1] == IIDMA_RATE_2GB) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3401
} else if (mr.mb[1] == IIDMA_RATE_4GB) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3403
} else if (mr.mb[1] == IIDMA_RATE_8GB) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3405
} else if (mr.mb[1] == IIDMA_RATE_10GB) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3407
} else if (mr.mb[1] == IIDMA_RATE_16GB) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3409
} else if (mr.mb[1] == IIDMA_RATE_32GB) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3422
rval, mr.mb[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3521
for (index = 0; index < mr.mb[1]; index++) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3592
if ((ha->topology & QL_NL_PORT) && (mr.mb[1] != 0)) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
3594
} else if (mr.mb[1] == 0 && !(ha->topology & QL_F_PORT)) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1017
"\n", mb[0], RD16_IO_REG(ha, mailbox_out[1]),
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1020
EL(ha, "%xh LIP received\n", mb[0]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1042
ql_enqueue_aen(ha, mb[0], NULL);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1093
EL(ha, "%d GB %xh Loop Up received\n", index, mb[0]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1097
ql_enqueue_aen(ha, mb[0], NULL);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1103
"mbx4=%xh\n", mb[0], RD16_IO_REG(ha, mailbox_out[1]),
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1124
ql_enqueue_aen(ha, mb[0], NULL);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1129
mb[1] = RD16_IO_REG(ha, mailbox_out[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1130
mb[2] = RD16_IO_REG(ha, mailbox_out[2]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1131
mb[3] = (uint16_t)(ha->flags & VP_ENABLED ?
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1136
if (vha->vp_index == LSB(mb[3])) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1144
if (mb[1] == 0xffff &&
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1145
mb[2] == 7 && (MSB(mb[3]) == 0xe || MSB(mb[3]) == 0x1a ||
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1146
MSB(mb[3]) == 0x1c || MSB(mb[3]) == 0x1d ||
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1147
MSB(mb[3]) == 0x1e)) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1150
mb[0], mb[1], mb[2], mb[3]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1171
} else if ((mb[1] != 0x7fe) &&
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1174
(mb[2] != 6 || mb[3] != 0))))) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1177
mb[0], mb[1], mb[2], mb[3]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1180
" mbx2=%xh, mbx3=%xh\n", mb[0], mb[1], mb[2],
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1181
mb[3]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1198
ql_enqueue_aen(ha, mb[0], NULL);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1203
mb[1] = RD16_IO_REG(ha, mailbox_out[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1204
mb[2] = RD16_IO_REG(ha, mailbox_out[2]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1205
mb[3] = (uint16_t)(ha->flags & VP_ENABLED ?
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1210
if (vha->vp_index == LSB(mb[3])) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1219
if (LSB(mb[1]) == vha->d_id.b.domain &&
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1220
MSB(mb[2]) == vha->d_id.b.area &&
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1221
LSB(mb[2]) == vha->d_id.b.al_pa) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1223
"mbx3=%xh\n", mb[0], mb[1], mb[2], mb[3]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1226
"mbx3=%xh\n", mb[0], mb[1], mb[2], mb[3]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1229
ql_rcv_rscn_els(vha, &mb[0], done_q);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1239
ql_enqueue_aen(ha, mb[0], NULL);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1244
EL(ha, "%xh LIP error received, mbx1=%xh\n", mb[0],
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1250
mb[1] = RD16_IO_REG(ha, mailbox_out[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1251
mb[2] = RD16_IO_REG(ha, mailbox_out[2]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1252
mb[3] = RD16_IO_REG(ha, mailbox_out[3]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1255
"mbx2=%xh, mbx3=%xh\n", mb[0], mb[1], mb[2], mb[3]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1258
s_id.b.al_pa = LSB(mb[2]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1259
s_id.b.area = MSB(mb[2]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1260
s_id.b.domain = LSB(mb[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1272
tq->ub_sequence_length = mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1273
tq->ub_total_seg_cnt = (uint8_t)(mb[3] / cnt);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1274
if (mb[3] % cnt) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1281
mb[index] = RD16_IO_REG(ha, mailbox_out[index]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1287
tq->ub_loop_id = (uint16_t)(mb[0] == MBA_IP_BROADCAST ?
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1294
if (ql_ub_frame_hdr(ha, tq, mb[cnt], done_q) !=
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1307
mb[0]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1312
EL(ha, "%xh IP HDR data split received\n", mb[0]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1317
"mbx1=%xh\n", mb[0], RD16_IO_REG(ha, mailbox_out[1]));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1323
EL(ha, "%xh DCBX completed received\n", mb[0]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1325
EL(ha, "%xh Point to Point Mode received\n", mb[0]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1342
mb[0], RD16_IO_REG(ha, mailbox_out[1]));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1347
mb[0], RD16_IO_REG(ha, mailbox_out[1]));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1351
mb[1] = RD16_IO_REG(ha, mailbox_out[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1352
if (mb[1] == 2) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1354
"mbx1=%xh\n", mb[0], mb[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1366
"mbx1=%xh, isp_abort_needed\n", mb[0], mb[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1372
EL(ha, "%xh ZIO response received\n", mb[0]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1380
mb[0], RD16_IO_REG(ha, mailbox_out[1]));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1395
mb[0], RD16_IO_REG(ha, mailbox_out[1]),
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1400
EL(ha, "%xh LS_RJT Response Sent ELS=%xh\n", mb[0],
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1406
mb[0], RD16_IO_REG(ha, mailbox_out[1]));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1414
mb[2] = RD16_IO_REG(ha, mailbox_out[2]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1415
EL(ha, "%xh MBA_IDC_COMPLETE received, mbx2=%xh\n", mb[0],
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1416
mb[2]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1417
switch (mb[2]) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1427
EL(ha, "unknown IDC completion opcode=%xh\n", mb[2]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1438
"mbx7=%xh\n", mb[0], ha->idc_mb[1], ha->idc_mb[2],
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1473
mb[0], RD16_IO_REG(ha, mailbox_out[2]));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
1478
"mbx3=%xh\n", mb[0], RD16_IO_REG(ha, mailbox_out[1]),
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
659
ha->mcp->mb[0] = mb0;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
665
ha->mcp->mb[cnt] = RD16_IO_REG(ha,
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
704
uint16_t cnt, handle_cnt, mb[MAX_MBOX_COUNT];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
713
mb[0] = LSW(mbx);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
714
switch (mb[0]) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
724
mb[0] = MBA_SCSI_COMPLETION;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
731
mb[0] = MBA_SCSI_COMPLETION;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
739
mb[0] = MBA_SCSI_COMPLETION;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
748
mb[0] = MBA_SCSI_COMPLETION;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
758
mb[0] = MBA_SCSI_COMPLETION;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
765
mb[0] = MBA_SCSI_COMPLETION;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
776
mb[0] = MBA_SCSI_COMPLETION;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
786
mb[0] = MBA_SCSI_COMPLETION;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
794
switch (mb[0]) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
839
mb[0], handles[cnt]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
842
"pkt=%xh, sp=%xh\n", mb[0],
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
847
"mbx3=%xh, mbx6=%xh, mbx7=%xh\n", mb[0],
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
861
"isp_abort_needed\n", mb[0]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
869
EL(ha, "%xh Reset received\n", mb[0]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
874
mb[1] = RD16_IO_REG(ha, mailbox_out[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
875
mb[2] = RD16_IO_REG(ha, mailbox_out[2]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
876
mb[3] = RD16_IO_REG(ha, mailbox_out[3]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
877
mb[7] = RD16_IO_REG(ha, mailbox_out[7]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
882
"mbx12=%xh,\n", mb[0], mb[1], mb[2], mb[3],
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
885
RD16_IO_REG(ha, mailbox_out[6]), mb[7],
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
895
mb[0], RD16_IO_REG(ha, mailbox_out[13]),
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
910
"mbx30=%xh, mbx31=%xh\n", mb[0],
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
927
ha->errlog[3] = mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
928
ha->errlog[2] = mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
929
ha->errlog[1] = mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
933
if (CFG_IST(ha, CFG_CTRL_81XX) && mb[7] & SE_MPI_RISC) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
945
"isp_abort_needed\n", mb[0]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
965
" isp_abort_needed\n", mb[0]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
985
"received, mbx1=%xh\n", mb[0],
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
990
mb[1] = RD16_IO_REG(ha, mailbox_out[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
991
mb[2] = RD16_IO_REG(ha, mailbox_out[2]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
992
mb[3] = RD16_IO_REG(ha, mailbox_out[3]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
995
" mbx2=%xh, mbx3=%xh\n", mb[0], mb[1], mb[2], mb[3]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_isr.c
997
switch (mb[1]) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1022
mcp->mb[0] = MBC_RESET;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1023
mcp->mb[1] = delay;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1026
mcp->mb[0] = MBC_TARGET_RESET;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1028
mcp->mb[1] = tq->loop_id;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
103
EL(vha, "powerdown availability cmd=%xh\n", mcp->mb[0]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1030
mcp->mb[1] = (uint16_t)(tq->loop_id << 8);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1032
mcp->mb[2] = delay;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1094
mcp->mb[0] = MBC_ABORT_TARGET;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1097
mcp->mb[1] = tq->loop_id;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1098
mcp->mb[10] = BIT_0;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1101
mcp->mb[1] = (uint16_t)(tq->loop_id << 8 | BIT_0);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1104
mcp->mb[2] = delay;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1163
mcp->mb[0] = MBC_LUN_RESET;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1165
mcp->mb[1] = tq->loop_id;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1167
mcp->mb[1] = (uint16_t)(tq->loop_id << 8);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1169
mcp->mb[2] = lq->lun_no;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1229
mcp->mb[0] = MBC_CLEAR_TASK_SET;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1231
mcp->mb[1] = tq->loop_id;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1233
mcp->mb[1] = (uint16_t)(tq->loop_id << 8);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1235
mcp->mb[2] = lq->lun_no;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1296
mcp->mb[0] = MBC_ABORT_TASK_SET;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1298
mcp->mb[1] = tq->loop_id;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1300
mcp->mb[1] = (uint16_t)(tq->loop_id << 8);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1302
mcp->mb[2] = lq->lun_no;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
131
"cmd=%xh\n", mcp->mb[0]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
134
EL(vha, "failed availability cmd=%xh\n", mcp->mb[0]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1429
mcp->mb[0] = MBC_LOOP_PORT_BYPASS;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1432
mcp->mb[1] = tq->d_id.b.al_pa;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1434
mcp->mb[1] = tq->loop_id;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1436
mcp->mb[1] = (uint16_t)(tq->loop_id << 8);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1477
mcp->mb[0] = MBC_LOOP_PORT_ENABLE;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
148
WRT16_IO_REG(ha, mailbox_in[cnt], mcp->mb[cnt]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1480
mcp->mb[1] = tq->d_id.b.al_pa;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1482
mcp->mb[1] = tq->loop_id;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1484
mcp->mb[1] = (uint16_t)(tq->loop_id << 8);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1538
mcp->mb[0] = MBC_LOGIN_LOOP_PORT;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1540
mcp->mb[1] = loop_id;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1542
mcp->mb[1] = (uint16_t)(loop_id << 8);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1544
mcp->mb[2] = opt;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1606
mcp->mb[0] = MBC_LOGIN_FABRIC_PORT;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1608
mcp->mb[1] = loop_id;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1609
mcp->mb[10] = opt;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1612
mcp->mb[1] = (uint16_t)(loop_id << 8 | opt);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1615
mcp->mb[2] = MSW(tq->d_id.b24);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1616
mcp->mb[3] = LSW(tq->d_id.b24);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1623
mr->mb[0] = mcp->mb[0];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1624
mr->mb[1] = mcp->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1625
mr->mb[2] = mcp->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1626
mr->mb[6] = mcp->mb[6];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1627
mr->mb[7] = mcp->mb[7];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1634
mr != NULL ? mr->mb[1] : mcp->mb[1],
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1635
mr != NULL ? mr->mb[2] : mcp->mb[2]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1694
mcp->mb[0] = MBC_LOGOUT_FABRIC_PORT;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1696
mcp->mb[1] = tq->loop_id;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1697
mcp->mb[10] = flag;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1700
mcp->mb[1] = (uint16_t)(tq->loop_id << 8 | flag);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
179
mcp->mb[0]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1798
mr->mb[0] = MBS_COMMAND_ERROR;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1799
mr->mb[1] = 1;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1803
mr->mb[0] = MBS_COMMAND_ERROR;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1804
mr->mb[1] = 2;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1807
mr->mb[0] = MBS_COMMAND_ERROR;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1808
mr->mb[1] = 3;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1811
mr->mb[0] = MBS_COMMAND_ERROR;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1812
mr->mb[1] = 4;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1815
mr->mb[2] = 3;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1818
mr->mb[2] = 4;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1821
mr->mb[2] = 5;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1824
mr->mb[2] = 7;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1830
mr->mb[2] = 2;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1835
mr->mb[0] = MBS_COMMAND_ERROR;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1836
mr->mb[1] = 4;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1837
mr->mb[2] = 7;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1841
mr->mb[0] = MBS_COMMAND_ERROR;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1842
mr->mb[1] = 5;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1845
mr->mb[0] = MBS_COMMAND_ERROR;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1846
mr->mb[1] = 0xd;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1849
mr->mb[0] = MBS_PORT_ID_USED;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1850
mr->mb[1] = LSW(pkt->log.io_param[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1853
mr->mb[0] = MBS_LOOP_ID_USED;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1854
mr->mb[1] = MSW(pkt->log.io_param[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1855
mr->mb[2] = LSW(pkt->log.io_param[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1858
mr->mb[0] = MBS_ALL_IDS_IN_USE;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1864
mr->mb[0] =
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1871
mr->mb[0] = MBS_COMMAND_COMPLETE;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1872
mr->mb[1] = (uint16_t)
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1875
mr->mb[1] = (uint16_t)
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1876
(mr->mb[1] | BIT_1);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1879
rval = mr->mb[0];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1937
mcp->mb[0] = MBC_GET_PORT_DATABASE;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1938
mcp->mb[1] = tq->loop_id;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1939
mcp->mb[4] = CHAR_TO_SHORT(tq->d_id.b.al_pa, tq->d_id.b.area);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1940
mcp->mb[5] = (uint16_t)tq->d_id.b.domain;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1941
mcp->mb[9] = ha->vp_index;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1942
mcp->mb[10] = (uint16_t)(opt | PDF_ADISC);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1946
mcp->mb[0] = (uint16_t)(opt == PDF_NONE ?
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1949
mcp->mb[1] = tq->loop_id;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1950
mcp->mb[10] = opt;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1954
mcp->mb[1] = (uint16_t)(tq->loop_id << 8 | opt);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1959
mcp->mb[2] = MSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1960
mcp->mb[3] = LSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1961
mcp->mb[6] = MSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
1962
mcp->mb[7] = LSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2111
mcp->mb[0] = MBC_GET_FC_AL_POSITION_MAP;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2112
mcp->mb[2] = MSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2113
mcp->mb[3] = LSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2114
mcp->mb[6] = MSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2115
mcp->mb[7] = LSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2168
mcp->mb[0] = MBC_SET_PARAMETERS;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2169
mcp->mb[2] = MSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2170
mcp->mb[3] = LSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2171
mcp->mb[6] = MSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2172
mcp->mb[7] = LSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2223
mcp->mb[0] = MBC_SEND_RNID_ELS;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2225
mcp->mb[1] = loop_id;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2226
mcp->mb[9] = ha->vp_index;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2227
mcp->mb[10] = opt;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2230
mcp->mb[1] = loop_id;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2231
mcp->mb[10] = opt;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2234
mcp->mb[1] = (uint16_t)(loop_id << 8 | opt);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2237
mcp->mb[2] = MSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2238
mcp->mb[3] = LSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2239
mcp->mb[6] = MSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2240
mcp->mb[7] = LSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2291
mcp->mb[0] = MBC_GET_PARAMETERS;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2292
mcp->mb[2] = MSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2293
mcp->mb[3] = LSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2294
mcp->mb[6] = MSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2295
mcp->mb[7] = LSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2353
mcp->mb[0] = MBC_GET_LINK_STATUS;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2356
mcp->mb[0] = MBC_GET_STATUS_COUNTS;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2357
mcp->mb[8] = (uint16_t)(size >> 2);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2360
mcp->mb[1] = loop_id;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2361
mcp->mb[4] = port_no;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2362
mcp->mb[10] = (uint16_t)(retry ? BIT_3 : 0);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2370
mcp->mb[1] = loop_id;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2371
mcp->mb[10] = port_no;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2374
mcp->mb[1] = (uint16_t)((loop_id << 8) |
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2379
mcp->mb[2] = MSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2380
mcp->mb[3] = LSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2381
mcp->mb[6] = MSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2382
mcp->mb[7] = LSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2396
EL(ha, "failed=%xh, mbx1=%xh\n", rval, mcp->mb[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2407
EL(ha, "failed=%xh, mbx1=%xh\n", rval, mcp->mb[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
243
rval = mcp->mb[0];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2451
mcp->mb[0] = MBC_GET_STATUS_COUNTS;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2452
mcp->mb[8] = (uint16_t)(size / 4);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2455
mcp->mb[0] = MBC_GET_LINK_STATUS;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2463
mcp->mb[1] = loop_id;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2464
mcp->mb[10] = port_no;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2467
mcp->mb[1] = (uint16_t)((loop_id << 8) |
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2472
mcp->mb[2] = MSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2473
mcp->mb[3] = LSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2474
mcp->mb[6] = MSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2475
mcp->mb[7] = LSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2489
mcp->mb[1], mcp->mb[2]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2520
mcp->mb[0] = MBC_RESET_LINK_STATUS;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2604
mcp->mb[0] = MBC_LIP_FULL_LOGIN;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2605
mcp->mb[1] = BIT_4;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2606
mcp->mb[3] = ha->loop_reset_delay;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2609
mcp->mb[0] = MBC_INITIATE_LIP;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2653
mcp->mb[0] = MBC_LIP_FULL_LOGIN;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2655
mcp->mb[1] = BIT_3;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2702
mcp->mb[0] = MBC_LIP_FULL_LOGIN;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2703
mcp->mb[1] = BIT_6;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2704
mcp->mb[3] = ha->loop_reset_delay;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2707
mcp->mb[0] = MBC_LIP_RESET;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2709
mcp->mb[1] = loop_id;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2712
mcp->mb[1] = (uint16_t)(loop_id << 8);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2715
mcp->mb[2] = ha->loop_reset_delay;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2759
mcp->mb[0] = MBC_ABORT_COMMAND_IOCB;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2761
mcp->mb[1] = tq->loop_id;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2763
mcp->mb[1] = (uint16_t)(tq->loop_id << 8);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2765
mcp->mb[2] = LSW(sp->handle);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2766
mcp->mb[3] = MSW(sp->handle);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2767
mcp->mb[6] = (uint16_t)(sp->flags & SRB_FCP_CMD_PKT ?
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
284
mbx_cmd_text(mbx_cmd), rval, mcp->mb[0]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2880
mcp->mb[0] = MBC_VERIFY_CHECKSUM;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2882
mcp->mb[1] = MSW(ha->risc_fw[0].addr);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2883
mcp->mb[2] = LSW(ha->risc_fw[0].addr);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2885
mcp->mb[1] = LSW(ha->risc_fw[0].addr);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2935
mcp->mb[0] = MBC_GET_ID_LIST;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2937
mcp->mb[2] = MSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2938
mcp->mb[3] = LSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2939
mcp->mb[6] = MSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2940
mcp->mb[7] = LSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2941
mcp->mb[8] = (uint16_t)size;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2942
mcp->mb[9] = ha->vp_index;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2945
mcp->mb[1] = MSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2946
mcp->mb[2] = LSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2947
mcp->mb[3] = MSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2948
mcp->mb[6] = LSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2963
mr->mb[0] = mcp->mb[0];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
2964
mr->mb[1] = mcp->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3003
mcp->mb[1] = LSW(risc_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3004
mcp->mb[2] = MSW(LSD(bp));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3005
mcp->mb[3] = LSW(LSD(bp));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3007
mcp->mb[0] = MBC_LOAD_RAM_EXTENDED;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3008
mcp->mb[4] = MSW(word_count);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3009
mcp->mb[5] = LSW(word_count);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3010
mcp->mb[8] = MSW(risc_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3013
mcp->mb[0] = MBC_LOAD_RISC_RAM;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3014
mcp->mb[4] = LSW(word_count);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3017
mcp->mb[6] = MSW(MSD(bp));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3018
mcp->mb[7] = LSW(MSD(bp));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3060
mcp->mb[0] = MBC_DUMP_RAM_EXTENDED;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3061
mcp->mb[1] = LSW(risc_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3062
mcp->mb[2] = MSW(LSD(bp));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3063
mcp->mb[3] = LSW(LSD(bp));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3064
mcp->mb[4] = MSW(word_count);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3065
mcp->mb[5] = LSW(word_count);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3066
mcp->mb[6] = MSW(MSD(bp));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3067
mcp->mb[7] = LSW(MSD(bp));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3068
mcp->mb[8] = MSW(risc_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3072
mcp->mb[0] = MBC_DUMP_RAM; /* doesn't support 64bit addr */
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3073
mcp->mb[1] = LSW(risc_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3074
mcp->mb[2] = MSW(LSD(bp));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3075
mcp->mb[3] = LSW(LSD(bp));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3076
mcp->mb[4] = LSW(word_count);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3118
mcp->mb[0] = MBC_WRITE_RAM_EXTENDED;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3119
mcp->mb[1] = LSW(risc_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3120
mcp->mb[2] = LSW(data);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3121
mcp->mb[3] = MSW(data);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3122
mcp->mb[8] = MSW(risc_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3164
mcp->mb[0] = MBC_READ_RAM_EXTENDED;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3165
mcp->mb[1] = LSW(risc_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3166
mcp->mb[8] = MSW(risc_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3176
*data = mcp->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3178
*data |= mcp->mb[3] << 16;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3217
mcp->mb[0] = MBC_EXECUTE_IOCB;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3218
mcp->mb[2] = MSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3219
mcp->mb[3] = LSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3220
mcp->mb[6] = MSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3221
mcp->mb[7] = LSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3234
EL(ha, "failed=%xh, mbx1=%xh\n", rval, mcp->mb[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3266
mcp->mb[0] = MBC_MAILBOX_REGISTER_TEST;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3268
mcp->mb[1] = 0xAAAA;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3269
mcp->mb[2] = 0x5555;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3270
mcp->mb[3] = 0xAA55;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3271
mcp->mb[4] = 0x55AA;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3272
mcp->mb[5] = 0xA5A5;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3273
mcp->mb[6] = 0x5A5A;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3274
mcp->mb[7] = 0x2525;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3276
mcp->mb[1] = mr->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3277
mcp->mb[2] = mr->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3278
mcp->mb[3] = mr->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3279
mcp->mb[4] = mr->mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3280
mcp->mb[5] = mr->mb[5];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3281
mcp->mb[6] = mr->mb[6];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3282
mcp->mb[7] = mr->mb[7];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3290
if (mcp->mb[1] != 0xAAAA || mcp->mb[2] != 0x5555 ||
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3291
mcp->mb[3] != 0xAA55 || mcp->mb[4] != 0x55AA) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3294
if (mcp->mb[5] != 0xA5A5 || mcp->mb[6] != 0x5A5A ||
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3295
mcp->mb[7] != 0x2525) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3299
if (mcp->mb[1] != mr->mb[1] ||
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3300
mcp->mb[2] != mr->mb[2] ||
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3301
mcp->mb[3] != mr->mb[3] ||
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3302
mcp->mb[4] != mr->mb[4]) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3305
if (mcp->mb[5] != mr->mb[5] ||
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3306
mcp->mb[6] != mr->mb[6] ||
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3307
mcp->mb[7] != mr->mb[7]) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3349
mcp->mb[0] = MBC_EXECUTE_FIRMWARE;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3351
mcp->mb[1] = MSW(ha->risc_fw[0].addr);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3352
mcp->mb[2] = LSW(ha->risc_fw[0].addr);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3354
mcp->mb[1] = LSW(ha->risc_fw[0].addr);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3357
mcp->mb[4] = BIT_0;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3401
mcp->mb[0] = MBC_GET_FIRMWARE_OPTIONS;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3409
mr->mb[0] = mcp->mb[0];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3410
mr->mb[1] = mcp->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3411
mr->mb[2] = mcp->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3412
mr->mb[3] = mcp->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3449
mcp->mb[0] = MBC_SET_FIRMWARE_OPTIONS;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3450
mcp->mb[1] = mr->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3451
mcp->mb[2] = mr->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3452
mcp->mb[3] = mr->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3526
mcp->mb[0] = (uint16_t)(ha->flags & VP_ENABLED ?
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3530
mcp->mb[1] = (uint16_t)(CFG_IST(ha, CFG_CTRL_22XX) ?
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3534
mcp->mb[2] = MSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3535
mcp->mb[3] = LSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3536
mcp->mb[6] = MSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3537
mcp->mb[7] = LSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3543
mcp->mb[0] = MBC_INITIALIZE_MULTI_ID_FW;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3547
mcp->mb[10] = MSW(LSD(addr));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3548
mcp->mb[11] = LSW(LSD(addr));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3549
mcp->mb[12] = MSW(MSD(addr));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3550
mcp->mb[13] = LSW(MSD(addr));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3551
mcp->mb[14] = sizeof (ql_ext_icb_8100_t);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3552
mcp->mb[1] = BIT_0;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3564
ha->sfp_stat = mcp->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3629
mcp->mb[0] = MBC_GET_FIRMWARE_STATE;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3635
ha->fw_state[0] = mcp->mb[0];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3636
ha->fw_state[1] = mcp->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3637
ha->fw_state[2] = mcp->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3638
ha->fw_state[3] = mcp->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3639
ha->fw_state[4] = mcp->mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3640
ha->fw_state[5] = mcp->mb[5];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3641
ha->fw_state[6] = mcp->mb[6];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3645
mr->mb[1] = mcp->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3646
mr->mb[2] = mcp->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3647
mr->mb[3] = mcp->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3648
mr->mb[4] = mcp->mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3649
mr->mb[5] = mcp->mb[5];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3650
mr->mb[6] = mcp->mb[6];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3653
ha->sfp_stat = mcp->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3688
mcp->mb[0] = MBC_GET_ID;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3690
mcp->mb[9] = ha->vp_index;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3701
mr->mb[i] = mcp->mb[i];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3738
mcp->mb[0] = MBC_ABOUT_FIRMWARE;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3754
mr->mb[i] = mcp->mb[i];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3794
mcp->mb[0] = MBC_DATA_RATE;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3795
mcp->mb[1] = mr->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3796
mcp->mb[2] = mr->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3803
mr->mb[1] = mcp->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3804
mr->mb[2] = mcp->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3805
mr->mb[3] = mcp->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3810
ha->sfp_stat = mcp->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3857
mcp->mb[0] = MBC_DIAGNOSTIC_LOOP_BACK;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3858
mcp->mb[1] = opt;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3859
mcp->mb[2] = ha->fcoe_fcf_idx;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3860
mcp->mb[6] = LSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3861
mcp->mb[7] = MSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3862
mcp->mb[10] = LSW(size);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3863
mcp->mb[11] = MSW(size);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3864
mcp->mb[14] = LSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3865
mcp->mb[15] = MSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3866
mcp->mb[16] = LSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3867
mcp->mb[17] = MSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3868
mcp->mb[18] = LSW(it_cnt);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3869
mcp->mb[19] = MSW(it_cnt);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3870
mcp->mb[20] = LSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3871
mcp->mb[21] = MSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3889
mr->mb[0] = mcp->mb[0];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3890
mr->mb[1] = mcp->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3891
mr->mb[2] = mcp->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3892
mr->mb[3] = mcp->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3893
mr->mb[18] = mcp->mb[18];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3894
mr->mb[19] = mcp->mb[19];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3898
EL(ha, "failed=%xh, mb1=%xh\n", rval, mcp->mb[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3941
mcp->mb[0] = MBC_ECHO;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3942
mcp->mb[1] = opt;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3943
mcp->mb[2] = ha->fcoe_fcf_idx;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3944
mcp->mb[6] = LSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3945
mcp->mb[7] = MSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3946
mcp->mb[10] = LSW(size);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3947
mcp->mb[14] = LSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3948
mcp->mb[15] = MSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3949
mcp->mb[16] = LSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3950
mcp->mb[17] = MSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3951
mcp->mb[20] = LSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3952
mcp->mb[21] = MSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3966
mr->mb[0] = mcp->mb[0];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
3971
mcp->mb[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4001
mcp->mb[0] = MBC_SET_LED_CONFIG;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4003
mcp->mb[7] = 0xE;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4005
mcp->mb[7] = 0xD;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4017
mr->mb[0] = mcp->mb[0];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4051
mcp->mb[0] = MBC_SERDES_TRANSMIT_PARAMETERS;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4052
mcp->mb[1] = mr->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4053
mcp->mb[2] = mr->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4054
mcp->mb[3] = mr->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4055
mcp->mb[4] = mr->mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4062
mr->mb[0] = mcp->mb[0];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4063
mr->mb[2] = mcp->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4064
mr->mb[3] = mcp->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4065
mr->mb[4] = mcp->mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4100
mcp->mb[0] = MBC_GET_TIMEOUT_PARAMETERS;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4101
mcp->mb[1] = ha->fcoe_fcf_idx;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4108
if (CFG_IST(ha, CFG_CTRL_22XX) || mcp->mb[3] == 0) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4111
*tov = (uint16_t)(mcp->mb[3] / 10);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4112
if (mcp->mb[3] % 10 != 0) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4157
mcp->mb[0] = MBC_STOP_FIRMWARE;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4199
mcp->mb[0] = MBC_READ_SFP;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4200
mcp->mb[1] = dev;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4201
mcp->mb[2] = MSW(mem->cookies->dmac_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4202
mcp->mb[3] = LSW(mem->cookies->dmac_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4203
mcp->mb[6] = MSW(mem->cookies->dmac_notused);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4204
mcp->mb[7] = LSW(mem->cookies->dmac_notused);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4205
mcp->mb[8] = LSW(mem->size);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4206
mcp->mb[9] = addr;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4253
mcp->mb[0] = MBC_PORT_PARAM;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4254
mcp->mb[1] = loop_id;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4255
mcp->mb[2] = (uint16_t)option;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4260
mcp->mb[3] = (uint16_t)*idma_rate;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4270
EL(ha, "failed=%xh, mb1=%xh\n", rval, mcp->mb[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4273
*idma_rate = mcp->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4304
mcp->mb[0] = MBC_XMIT_PARM;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4305
mcp->mb[1] = BIT_1;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4351
mcp->mb[0] = MBC_TRACE_CONTROL;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4352
mcp->mb[1] = op_code;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4363
mcp->mb[2] = LSW(LSD(time));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4364
mcp->mb[3] = MSW(LSD(time));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4365
mcp->mb[4] = LSW(MSD(time));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4366
mcp->mb[5] = MSW(MSD(time));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4372
mcp->mb[2] = LSW(mem->cookies->dmac_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4373
mcp->mb[3] = MSW(mem->cookies->dmac_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4374
mcp->mb[4] = LSW(mem->cookies->dmac_notused);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4375
mcp->mb[5] = MSW(mem->cookies->dmac_notused);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4376
mcp->mb[6] = (uint16_t)(mem->size / 0x4000); /* 16kb blks */
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4377
mcp->mb[8] = (uint16_t)ha->fwfcetraceopt;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4378
mcp->mb[9] = FTO_FCEMAXTRACEBUF;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4379
mcp->mb[10] = FTO_FCEMAXTRACEBUF;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4385
mcp->mb[2] = LSW(mem->cookies->dmac_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4386
mcp->mb[3] = MSW(mem->cookies->dmac_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4387
mcp->mb[4] = LSW(mem->cookies->dmac_notused);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4388
mcp->mb[5] = MSW(mem->cookies->dmac_notused);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4389
mcp->mb[6] = (uint16_t)(mem->size / 0x4000); /* 16kb blks */
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4395
mcp->mb[2] = BIT_0;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4415
mr->mb[0] = mcp->mb[0];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4416
mr->mb[1] = mcp->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4417
mr->mb[2] = mcp->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4418
mr->mb[3] = mcp->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4419
mr->mb[4] = mcp->mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4420
mr->mb[5] = mcp->mb[5];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4421
mr->mb[6] = mcp->mb[6];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4422
mr->mb[7] = mcp->mb[7];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4423
mr->mb[8] = mcp->mb[8];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4424
mr->mb[9] = mcp->mb[9];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4461
mcp->mb[0] = MBC_RESET_MENLO;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4462
mcp->mb[1] = opt;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4470
mr->mb[0] = mcp->mb[0];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4471
mr->mb[1] = mcp->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4507
mcp->mb[0] = MBC_RESTART_MPI;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4515
EL(ha, "status=%xh, mbx1=%xh\n", rval, mcp->mb[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4547
mcp->mb[0] = MBC_IDC_REQUEST;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4548
mcp->mb[1] = mr->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4549
mcp->mb[2] = mr->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4550
mcp->mb[3] = mr->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4551
mcp->mb[4] = mr->mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4552
mcp->mb[5] = mr->mb[5];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4553
mcp->mb[6] = mr->mb[6];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4554
mcp->mb[7] = mr->mb[7];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4561
mr->mb[2] = mcp->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4564
EL(ha, "status=%xh, mbx2=%xh\n", rval, mcp->mb[2]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
457
mcp->mb[0] = MBC_INITIALIZE_IP;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
458
mcp->mb[2] = MSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
459
mcp->mb[3] = LSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4592
mcp->mb[0] = MBC_IDC_ACK;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4593
mcp->mb[1] = ha->idc_mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4594
mcp->mb[2] = ha->idc_mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4595
mcp->mb[3] = ha->idc_mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4596
mcp->mb[4] = ha->idc_mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4597
mcp->mb[5] = ha->idc_mb[5];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4598
mcp->mb[6] = ha->idc_mb[6];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4599
mcp->mb[7] = ha->idc_mb[7];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
460
mcp->mb[6] = MSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
461
mcp->mb[7] = LSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
462
mcp->mb[8] = 0;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4632
mcp->mb[0] = MBC_IDC_TIME_EXTEND;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4633
mcp->mb[1] = ha->idc_mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4634
mcp->mb[2] = ha->idc_mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4635
mcp->mb[3] = ha->idc_mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4636
mcp->mb[4] = ha->idc_mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4637
mcp->mb[5] = ha->idc_mb[5];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4638
mcp->mb[6] = ha->idc_mb[6];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4639
mcp->mb[7] = ha->idc_mb[7];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4672
mcp->mb[0] = MBC_PORT_RESET;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4707
mcp->mb[0] = MBC_SET_PORT_CONFIG;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4708
mcp->mb[1] = mrp->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4709
mcp->mb[2] = mrp->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4710
mcp->mb[3] = mrp->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4711
mcp->mb[4] = mrp->mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4746
mcp->mb[0] = MBC_GET_PORT_CONFIG;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4754
mrp->mb[1] = mcp->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4755
mrp->mb[2] = mcp->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4756
mrp->mb[3] = mcp->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4757
mrp->mb[4] = mcp->mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4762
rval, mcp->mb[1], mcp->mb[2], mcp->mb[3], mcp->mb[4]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4796
mcp->mb[0] = MBC_FLASH_ACCESS;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4797
mcp->mb[1] = cmd;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4798
mcp->mb[2] = LSW(start);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4799
mcp->mb[3] = MSW(start);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4800
mcp->mb[4] = LSW(end);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4801
mcp->mb[5] = MSW(end);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4810
"mbx4=%xh\n", cmd, rval, mcp->mb[1], mcp->mb[2],
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4811
mcp->mb[3], mcp->mb[4]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4814
*dp = (uint32_t)mcp->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4853
mcp->mb[0] = MBC_GET_XGMAC_STATS;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4854
mcp->mb[2] = MSW(mem_desc.cookie.dmac_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4855
mcp->mb[3] = LSW(mem_desc.cookie.dmac_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4856
mcp->mb[6] = MSW(mem_desc.cookie.dmac_notused);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4857
mcp->mb[7] = LSW(mem_desc.cookie.dmac_notused);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4858
mcp->mb[8] = (uint16_t)(size >> 2);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4870
EL(ha, "status=%xh, mbx1=%xh, mbx2=%xh\n", rval, mcp->mb[1],
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4871
mcp->mb[2]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4911
mcp->mb[0] = MBC_GET_DCBX_PARAMS;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4912
mcp->mb[1] = 0; /* Return all DCBX paramters */
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4913
mcp->mb[2] = MSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4914
mcp->mb[3] = LSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4915
mcp->mb[6] = MSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4916
mcp->mb[7] = LSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4917
mcp->mb[8] = (uint16_t)size;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4972
mcp->mb[0] = MBC_GET_FCF_LIST;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4973
mcp->mb[1] = fcf_list->options;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4974
mcp->mb[2] = MSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4975
mcp->mb[3] = LSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4976
mcp->mb[6] = MSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4977
mcp->mb[7] = LSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4978
mcp->mb[8] = (uint16_t)fcf_list->buffer_size;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4979
mcp->mb[9] = fcf_list->fcf_index;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4987
fcf_list->buffer_size = (uint16_t)mcp->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4993
EL(ha, "status=%xh, mbx1=%xh, mbx2=%xh\n", rval, mcp->mb[1],
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
4994
mcp->mb[2]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5027
mcp->mb[0] = MBC_GET_RESOURCE_COUNTS;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5036
mr->mb[1] = mcp->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5037
mr->mb[2] = mcp->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5038
mr->mb[3] = mcp->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5039
mr->mb[6] = mcp->mb[6];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5040
mr->mb[7] = mcp->mb[7];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5041
mr->mb[10] = mcp->mb[10];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5042
mr->mb[11] = mcp->mb[11];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5043
mr->mb[12] = mcp->mb[12];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
507
mcp->mb[0] = MBC_UNLOAD_IP;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5079
mcp->mb[0] = MBC_TOGGLE_INTERRUPT;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5080
mcp->mb[1] = opt;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5125
mcp->mb[0] = MBC_GET_MD_TEMPLATE;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5126
mcp->mb[2] = opt;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5128
mcp->mb[4] = LSW(mem->cookies->dmac_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5129
mcp->mb[5] = MSW(mem->cookies->dmac_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5130
mcp->mb[6] = LSW(mem->cookies->dmac_notused);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5131
mcp->mb[7] = MSW(mem->cookies->dmac_notused);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5132
mcp->mb[8] = LSW(mem->size);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5133
mcp->mb[9] = MSW(mem->size);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5136
mcp->mb[10] = LSW(ofst);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5137
mcp->mb[11] = MSW(ofst);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5148
mr->mb[0] = mcp->mb[0];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5149
mr->mb[1] = mcp->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5150
mr->mb[2] = mcp->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5151
mr->mb[3] = mcp->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5152
mr->mb[4] = mcp->mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5153
mr->mb[5] = mcp->mb[5];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5154
mr->mb[6] = mcp->mb[6];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5155
mr->mb[7] = mcp->mb[7];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5156
mr->mb[8] = mcp->mb[8];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5157
mr->mb[9] = mcp->mb[9];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5158
mr->mb[10] = mcp->mb[10];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5159
mr->mb[11] = mcp->mb[11];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5160
mr->mb[12] = mcp->mb[12];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5161
mr->mb[13] = mcp->mb[13];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5162
mr->mb[12] = mcp->mb[14];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5163
mr->mb[13] = mcp->mb[15];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5209
mcp->mb[0] = MBC_INIT_MULTIPLE_QUEUE;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5210
mcp->mb[1] = (uint16_t)(opt | IMO_QUEUE_NOT_ASSOCIATED);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5211
mcp->mb[2] = MSW(LSD(req_q->req_ring.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5212
mcp->mb[3] = LSW(LSD(req_q->req_ring.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5213
mcp->mb[4] = req_q->req_q_number;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5214
mcp->mb[5] = req_q->req_entry_cnt;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5215
mcp->mb[6] = MSW(MSD(req_q->req_ring.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5216
mcp->mb[7] = LSW(MSD(req_q->req_ring.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5217
mcp->mb[11] = ha->vp_index;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5218
mcp->mb[12] = 0;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5219
mcp->mb[14] = 1;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5226
EL(ha, "status=%xh, mbx1=%xh\n", rval, mcp->mb[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5267
mcp->mb[0] = MBC_INIT_MULTIPLE_QUEUE;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5268
mcp->mb[1] = (uint16_t)(opt | IMO_QUEUE_NOT_ASSOCIATED |
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5270
mcp->mb[2] = MSW(LSD(rsp_q->rsp_ring.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5271
mcp->mb[3] = LSW(LSD(rsp_q->rsp_ring.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5272
mcp->mb[4] = rsp_q->rsp_q_number;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5273
mcp->mb[5] = rsp_q->rsp_entry_cnt;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5274
mcp->mb[6] = MSW(MSD(rsp_q->rsp_ring.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5275
mcp->mb[7] = LSW(MSD(rsp_q->rsp_ring.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5276
mcp->mb[14] = rsp_q->msi_x_vector;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5283
EL(ha, "status=%xh, mbx1=%xh\n", rval, mcp->mb[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5313
mcp->mb[0] = MBC_LOAD_FLASH_IMAGE;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5321
rval, mcp->mb[1], mcp->mb[2]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5352
mcp->mb[0] = MBC_SET_LED_CONFIG;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5353
mcp->mb[1] = mr->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5354
mcp->mb[2] = mr->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5355
mcp->mb[3] = mr->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5356
mcp->mb[4] = mr->mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5357
mcp->mb[5] = mr->mb[5];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5358
mcp->mb[6] = mr->mb[6];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5396
mcp->mb[0] = MBC_GET_LED_CONFIG;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5404
mr->mb[1] = mcp->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5405
mr->mb[2] = mcp->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5406
mr->mb[3] = mcp->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5407
mr->mb[4] = mcp->mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5408
mr->mb[5] = mcp->mb[5];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5409
mr->mb[6] = mcp->mb[6];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5449
mcp->mb[0] = MBC_FC_LED_CONFIG;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5450
mcp->mb[1] = mr->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5451
mcp->mb[2] = mr->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5452
mcp->mb[3] = mr->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5453
mcp->mb[4] = mr->mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5460
mr->mb[0] = mcp->mb[0];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5461
mr->mb[1] = mcp->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5462
mr->mb[2] = mcp->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5463
mr->mb[3] = mcp->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5464
mr->mb[4] = mcp->mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5467
EL(ha, "failed, rval=%xh, mbx1=%xh\n", rval, mcp->mb[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5499
mcp->mb[0] = MBC_WRITE_REMOTE_REG;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5500
mcp->mb[1] = LSW(addr);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5501
mcp->mb[2] = MSW(addr);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5502
mcp->mb[3] = LSW(data);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5503
mcp->mb[4] = MSW(data);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5511
mcp->mb[1], addr, data);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5543
mcp->mb[0] = MBC_READ_REMOTE_REG;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5544
mcp->mb[1] = LSW(addr);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5545
mcp->mb[2] = MSW(addr);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5552
EL(ha, "failed=%xh, mbx1=%xh, addr=%xh\n", rval, mcp->mb[1],
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5555
*dp = SHORT_TO_LONG(mcp->mb[3], mcp->mb[4]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5584
mcp->mb[0] = MBC_GET_PARAMETERS;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5585
mcp->mb[1] = READ_ASIC_TEMP << 8;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5593
mr->mb[1] = mcp->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5597
EL(ha, "failed, rval=%xh, mbx1=%xh\n", rval, mcp->mb[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
560
mcp->mb[0] = MBC_ONLINE_SELF_TEST;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5628
mcp->mb[0] = MBC_WRITE_SERDES_REG;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5629
mcp->mb[1] = mr->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5630
mcp->mb[2] = mr->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5631
mcp->mb[3] = mr->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5632
mcp->mb[4] = mr->mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5633
mcp->mb[5] = mr->mb[5];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5634
mcp->mb[6] = mr->mb[6];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5673
mcp->mb[0] = MBC_READ_SERDES_REG;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5674
mcp->mb[1] = mr->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5675
mcp->mb[2] = mr->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5676
mcp->mb[3] = mr->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5677
mcp->mb[4] = mr->mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5678
mcp->mb[5] = mr->mb[5];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5679
mcp->mb[6] = mr->mb[6];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
568
rval, mcp->mb[1], mcp->mb[2], mcp->mb[3]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5686
mr->mb[0] = mcp->mb[0];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5687
mr->mb[1] = mcp->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5688
mr->mb[2] = mcp->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5689
mr->mb[3] = mcp->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5690
mr->mb[4] = mcp->mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5691
mr->mb[4] = mcp->mb[5];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
5692
mr->mb[4] = mcp->mb[6];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
602
mcp->mb[0] = MBC_DIAGNOSTIC_LOOP_BACK;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
603
mcp->mb[1] = lb->options;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
604
mcp->mb[2] = findex;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
605
mcp->mb[6] = LSW(h_rcv);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
606
mcp->mb[7] = MSW(h_rcv);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
607
mcp->mb[10] = LSW(lb->transfer_count);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
608
mcp->mb[11] = MSW(lb->transfer_count);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
609
mcp->mb[12] = lb->transfer_segment_count;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
610
mcp->mb[13] = lb->receive_segment_count;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
611
mcp->mb[14] = LSW(lb->transfer_data_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
612
mcp->mb[15] = MSW(lb->transfer_data_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
613
mcp->mb[16] = LSW(lb->receive_data_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
614
mcp->mb[17] = MSW(lb->receive_data_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
615
mcp->mb[18] = LSW(lb->iteration_count);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
616
mcp->mb[19] = MSW(lb->iteration_count);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
617
mcp->mb[20] = LSW(h_xmit);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
618
mcp->mb[21] = MSW(h_xmit);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
632
rval, mcp->mb[1], mcp->mb[2], mcp->mb[3]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
649
mcp->mb[0] = MBC_DIAGNOSTIC_LOOP_BACK;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
650
mcp->mb[1] = lb->options;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
651
mcp->mb[2] = findex;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
652
mcp->mb[6] = LSW(h_rcv);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
653
mcp->mb[7] = MSW(h_rcv);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
654
mcp->mb[6] = LSW(MSD(lb->receive_data_address));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
655
mcp->mb[7] = MSW(MSD(lb->receive_data_address));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
656
mcp->mb[10] = LSW(lb->transfer_count);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
657
mcp->mb[11] = MSW(lb->transfer_count);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
658
mcp->mb[12] = lb->transfer_segment_count;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
659
mcp->mb[13] = lb->receive_segment_count;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
660
mcp->mb[14] = LSW(lb->transfer_data_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
661
mcp->mb[15] = MSW(lb->transfer_data_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
662
mcp->mb[14] = LSW(LSD(lb->transfer_data_address));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
663
mcp->mb[15] = MSW(LSD(lb->transfer_data_address));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
664
mcp->mb[16] = LSW(lb->receive_data_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
665
mcp->mb[17] = MSW(lb->receive_data_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
666
mcp->mb[16] = LSW(LSD(lb->receive_data_address));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
667
mcp->mb[17] = MSW(LSD(lb->receive_data_address));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
668
mcp->mb[18] = LSW(lb->iteration_count);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
669
mcp->mb[19] = MSW(lb->iteration_count);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
670
mcp->mb[20] = LSW(h_xmit);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
671
mcp->mb[21] = MSW(h_xmit);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
672
mcp->mb[20] = LSW(MSD(lb->transfer_data_address));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
673
mcp->mb[21] = MSW(MSD(lb->transfer_data_address));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
720
mcp->mb[0] = MBC_ECHO; /* ECHO command */
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
721
mcp->mb[1] = echo_pt->options; /* command options; 64 bit */
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
724
mcp->mb[2] = findex;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
738
mcp->mb[6] = LSW(echo_pt->receive_data_address.dmac_notused);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
741
mcp->mb[7] = MSW(echo_pt->receive_data_address.dmac_notused);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
744
mcp->mb[20] = LSW(echo_pt->transfer_data_address.dmac_notused);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
747
mcp->mb[21] = MSW(echo_pt->transfer_data_address.dmac_notused);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
751
mcp->mb[10] = LSW(echo_pt->transfer_count);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
754
mcp->mb[14] = LSW(echo_pt->transfer_data_address.dmac_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
757
mcp->mb[15] = MSW(echo_pt->transfer_data_address.dmac_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
760
mcp->mb[16] = LSW(echo_pt->receive_data_address.dmac_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
763
mcp->mb[17] = MSW(echo_pt->receive_data_address.dmac_address);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
804
mcp->mb[0] = MBC_SEND_CHANGE_REQUEST;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
805
mcp->mb[1] = fmt;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
808
mcp->mb[9] = ha->vp_index;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
858
mcp->mb[0] = MBC_SEND_LFA_COMMAND;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
859
mcp->mb[1] = (uint16_t)(size >> 1);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
860
mcp->mb[2] = MSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
861
mcp->mb[3] = LSW(LSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
862
mcp->mb[6] = MSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
863
mcp->mb[7] = LSW(MSD(mem_desc.cookie.dmac_laddress));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
867
mcp->mb[9] = ha->vp_index;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
913
mcp->mb[0] = MBC_CLEAR_ACA;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
915
mcp->mb[1] = tq->loop_id;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
917
mcp->mb[1] = (uint16_t)(tq->loop_id << 8);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
919
mcp->mb[2] = lq->lun_no;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_mbx.c
93
int mbx_cmd = mcp->mb[0];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_nx.c
2022
(mr.mb[1] | mr.mb[2] | mr.mb[3])) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_nx.c
2265
(mr.mb[1] | mr.mb[2] | mr.mb[3]) == 0) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_nx.c
2354
(tsize = SHORT_TO_LONG(mr.mb[2], mr.mb[3])) == 0) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_nx.c
2364
ha->md_capture_size = SHORT_TO_LONG(mr.mb[4], mr.mb[5]) +
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_nx.c
2365
SHORT_TO_LONG(mr.mb[6], mr.mb[7]) +
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_nx.c
2366
SHORT_TO_LONG(mr.mb[8], mr.mb[9]) +
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_nx.c
2367
SHORT_TO_LONG(mr.mb[10], mr.mb[11]) + tsize;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
10012
mr.mb[1] = serdes_reg.addr;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
10013
mr.mb[2] = LSB(serdes_reg.val);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
10014
mr.mb[3] = 0;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
10015
mr.mb[4] = MSB(serdes_reg.val);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
10036
mr.mb[1] = serdes_reg.addr;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
10044
serdes_reg.val = CHAR_TO_SHORT(LSB(mr.mb[1]), LSB(mr.mb[2]));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
10111
mr.mb[3] = LSW(serdes_reg_ex.addr);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
10112
mr.mb[4] = MSW(serdes_reg_ex.addr);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
10113
mr.mb[5] = LSW(serdes_reg_ex.val);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
10114
mr.mb[6] = MSW(serdes_reg_ex.val);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
10135
mr.mb[3] = LSW(serdes_reg_ex.addr);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
10136
mr.mb[4] = MSW(serdes_reg_ex.addr);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
10144
serdes_reg_ex.val = SHORT_TO_LONG(mr.mb[1], mr.mb[2]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
1030
EL(ha, "failed, data rate=%xh\n", mr.mb[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
10608
ha->bbcr_initial = LSB(mr.mb[15]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
10609
ha->bbcr_runtime = MSB(mr.mb[15]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
10615
bb.mbx1 = mr.mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
3523
if (mr.mb[0] == 0x4005 && mr.mb[1] == 0x17) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
3595
plbrsp.CompletionStatus = mr.mb[0];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
3603
plbrsp.CrcErrorCount = mr.mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
3604
plbrsp.DisparityErrorCount = mr.mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
3605
plbrsp.FrameLengthErrorCount = mr.mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
3607
SHORT_TO_LONG(mr.mb[18], mr.mb[19]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
3658
mr.mb[1] = (uint16_t)(mr.mb[1] & ~LOOPBACK_MODE_FIELD_MASK);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
3660
mr.mb[1] = (uint16_t)(mr.mb[1] | LOOPBACK_MODE_INTERNAL);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
3663
mr.mb[1] = (uint16_t)(mr.mb[1] | LOOPBACK_MODE_EXTERNAL);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6251
mr.mb[1] = 0x2000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6252
mr.mb[2] = 0x4000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6255
mr.mb[1] = 0x4000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6256
mr.mb[2] = 0x2000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6262
mr.mb[1] = 0x4000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6263
mr.mb[2] = 0x2000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6264
mr.mb[3] = 0x4000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6265
mr.mb[4] = 0x4000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6266
mr.mb[5] = 0;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6267
mr.mb[6] = 0x2000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6271
mr.mb[1] = 0x4000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6272
mr.mb[2] = 0x4000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6273
mr.mb[3] = 0x4000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6274
mr.mb[4] = 0x2000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6275
mr.mb[5] = 0;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6276
mr.mb[6] = 0x2000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6393
mr.mb[1] = (uint16_t)(mr.mb[1] | FO1_DISABLE_GPIO);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6407
mr.mb[1] = 0x2000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6408
mr.mb[2] = 0x2000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6418
mr.mb[1] = 0x4000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6419
mr.mb[2] = 0x4000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6420
mr.mb[3] = 0x4000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6421
mr.mb[4] = 0x2000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6422
mr.mb[5] = 0;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6423
mr.mb[6] = 0x2000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6433
mr.mb[1] = (uint16_t)(mr.mb[1] | FO1_DISABLE_LEDS);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6454
mr.mb[1] = (uint16_t)(mr.mb[1] | FO1_DISABLE_LEDS);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6462
mr.mb[1] = 0xf;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6463
mr.mb[2] = 0x230;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6464
mr.mb[3] = 0x230;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6465
mr.mb[4] = 0x4000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6521
mr.mb[1] = (uint16_t)(mr.mb[1] & ~FO1_DISABLE_GPIO);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
6539
mr.mb[1] = (uint16_t)(mr.mb[1] & ~FO1_DISABLE_LEDS);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
8257
fce_trace->Registers[0] = mr.mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
8258
fce_trace->Registers[1] = mr.mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
8259
fce_trace->Registers[2] = mr.mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
8260
fce_trace->Registers[3] = mr.mb[5];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
8268
fce_trace->Registers[8] = ha->fw_fce_trace_enable.mb[0];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
8269
fce_trace->Registers[9] = ha->fw_fce_trace_enable.mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
8270
fce_trace->Registers[10] = ha->fw_fce_trace_enable.mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
8271
fce_trace->Registers[11] = ha->fw_fce_trace_enable.mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
8272
fce_trace->Registers[12] = ha->fw_fce_trace_enable.mb[5];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
8273
fce_trace->Registers[13] = ha->fw_fce_trace_enable.mb[6];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
8506
} else if (mr.mb[1] != 0) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
8507
EL(ha, "failed, substatus=%d\n", mr.mb[1]);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
8509
cmd->DetailStatus = mr.mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
9752
tmp_rc_cnt.OrgTgtXchgCtrlCnt = (uint32_t)mr.mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
9753
tmp_rc_cnt.CurTgtXchgCtrlCnt = (uint32_t)mr.mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
9754
tmp_rc_cnt.CurXchgCtrlCnt = (uint32_t)mr.mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
9755
tmp_rc_cnt.OrgXchgCtrlCnt = (uint32_t)mr.mb[6];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
9756
tmp_rc_cnt.CurIocbBufCnt = (uint32_t)mr.mb[7];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
9757
tmp_rc_cnt.OrgIocbBufCnt = (uint32_t)mr.mb[10];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
9759
tmp_rc_cnt.NoOfSupVPs = (uint32_t)mr.mb[11];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
9762
tmp_rc_cnt.NoOfSupFCFs = (uint32_t)mr.mb[12];
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
9828
board_temp.IntTemp = mr.mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1001
mbx_cmds.mb[0] = MBC_GET_PORT_CONFIG /* 0x123 */;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1008
if (mbx_cmds.mb[0] != MBS_COMMAND_COMPLETE /* 0x4000 */) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1010
qlge->instance, mbx_cmds.mb[0]);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1012
if ((mbx_cmds.mb[2] == NORMAL_FRAME_SIZE) ||
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1013
(mbx_cmds.mb[2] == JUMBO_FRAME_SIZE)) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1014
qlge->port_cfg_info.link_cfg = mbx_cmds.mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1015
qlge->port_cfg_info.max_frame_size = mbx_cmds.mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1017
" %d bytes\n", mbx_cmds.mb[1], mbx_cmds.mb[2]));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1021
" %d bytes", mbx_cmds.mb[1], mbx_cmds.mb[2]);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1044
mbx_cmds.mb[0] = MBC_GET_LINK_STATUS /* 0x124 */;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1054
if (mbx_cmds.mb[0] != MBS_COMMAND_COMPLETE /* 0x4000 */) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1056
qlge->instance, mbx_cmds.mb[0]);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1062
mbx_cmds.mb[1], mbx_cmds.mb[2], mbx_cmds.mb[3]));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1065
link_status_ptr->link_status_info = mbx_cmds.mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1066
link_status_ptr->additional_info = mbx_cmds.mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1067
link_status_ptr->network_hw_info = mbx_cmds.mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1068
link_status_ptr->dcbx_frame_counters_info = mbx_cmds.mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1069
link_status_ptr->change_counters_info = mbx_cmds.mb[5];
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1091
mbx_cmds.mb[0] = MBC_ABOUT_FIRMWARE /* 0x08 */;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1102
if (mbx_cmds.mb[0] != MBS_COMMAND_COMPLETE /* 0x4000 */) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1104
qlge->instance, mbx_cmds.mb[0]);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1107
LSB(MSW(mbx_cmds.mb[1]));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1109
MSB(LSW(mbx_cmds.mb[1]));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1111
LSB(LSW(mbx_cmds.mb[1]));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1113
LSB(MSW(mbx_cmds.mb[2]));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1115
MSB(LSW(mbx_cmds.mb[2]));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1117
LSB(LSW(mbx_cmds.mb[2]));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1153
mbx_cmds.mb[0] = MBC_GENERATE_SYS_ERROR; /* 0x2A */
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1198
mcp->mb[0] = MBC_DUMP_RISC_RAM /* 0x0C */;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1199
mcp->mb[1] = LSW(risc_address);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1200
mcp->mb[2] = MSW(LSD(bp));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1201
mcp->mb[3] = LSW(LSD(bp));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1202
mcp->mb[4] = MSW(word_count);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1203
mcp->mb[5] = LSW(word_count);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1204
mcp->mb[6] = MSW(MSD(bp));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1205
mcp->mb[7] = LSW(MSD(bp));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1206
mcp->mb[8] = MSW(risc_address);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1216
if (mbx_results.mb[0] == MBS_COMMAND_COMPLETE /* 0x4000 */) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
1222
qlge->instance, mbx_results.mb[0]);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
152
mbx_buf->mb[i] = reg_status;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
199
ql_write_reg(qlge, REG_PROCESSOR_DATA, mbx_cmd->mb[i]);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
203
__func__, qlge->instance, mbx_cmd->mb[i], i, addr));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
311
mbx_cmd->mb[i] = qlge->received_mbx_cmds.mb[i];
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
347
mbx_cmd->mb[i] =
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
348
qlge->received_mbx_cmds.mb[i];
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
372
switch (mbx_cmds->mb[0]) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
383
__func__, qlge->instance, mbx_cmds->mb[1],
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
384
mbx_cmds->mb[2], mbx_cmds->mb[3]);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
391
link_status = mbx_cmds->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
462
link_status = mbx_cmds->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
492
cmd = mbx_cmds->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
518
mbx_cmds->mb[1], mbx_cmds->mb[2]));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
527
cmd = mbx_cmds->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
552
__func__, qlge->instance, mbx_cmds->mb[1],
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
553
mbx_cmds->mb[2]));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
555
reply_cmd.mb[0] = MBC_IDC_ACK;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
556
reply_cmd.mb[1] = mbx_cmds->mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
557
reply_cmd.mb[2] = mbx_cmds->mb[2];
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
558
reply_cmd.mb[3] = mbx_cmds->mb[3];
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
559
reply_cmd.mb[4] = mbx_cmds->mb[4];
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
570
if (mbx_cmds->mb[0] == MBS_COMMAND_COMPLETE) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
580
__func__, qlge->instance, mbx_cmds->mb[0],
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
581
mbx_cmds->mb[1], mbx_cmds->mb[2]));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
615
qlge->instance, mbx_cmds->mb[1], mbx_cmds->mb[2]));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
618
LSB(MSW(mbx_cmds->mb[1]));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
620
MSB(LSW(mbx_cmds->mb[1]));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
622
LSB(LSW(mbx_cmds->mb[1]));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
624
LSB(MSW(mbx_cmds->mb[2]));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
626
MSB(LSW(mbx_cmds->mb[2]));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
628
LSB(LSW(mbx_cmds->mb[2]));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
635
mbx_cmds->mb[1], mbx_cmds->mb[2]);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
639
if (mbx_cmds->mb[0] > 0x8000) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
644
mbx_cmds->mb[0], mbx_cmds->mb[1],
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
645
mbx_cmds->mb[2]);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
718
mbx_cmds.mb[i] = i;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
720
mbx_cmds.mb[0] = MBC_MAILBOX_REGISTER_TEST; /* 0x06 */
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
737
if (mbx_results.mb[0] != MBS_COMMAND_COMPLETE /* 0x4000 */) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
741
if (mbx_results.mb[i] != i) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
775
mbx_cmds.mb[i] = i;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
777
mbx_cmds.mb[0] = MBC_MAILBOX_REGISTER_TEST; /* 0x06 */
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
786
if (mbx_cmds.mb[0] != MBS_COMMAND_COMPLETE /* 0x4000 */) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
790
if (mbx_cmds.mb[i] != i) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
821
mbx_cmds.mb[0] = MBC_GET_FIRMWARE_STATE;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
830
if (mbx_cmds.mb[0] != MBS_COMMAND_COMPLETE /* 0x4000 */) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
832
__func__, qlge->instance, mbx_cmds.mb[0]);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
835
QL_PRINT(DBG_MBX, ("firmware state: 0x%x\n", mbx_cmds.mb[1]));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
838
*fw_state_ptr = mbx_cmds.mb[1];
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
860
mbx_cmds.mb[0] = MBC_IDC_REQUEST /* 0x100 */;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
861
mbx_cmds.mb[1] = (timeout<<8) | qlge->func_number;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
865
mbx_cmds.mb[1] |= IDC_REQ_ALL_DEST_FUNC_MASK;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
866
mbx_cmds.mb[2] = 0;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
869
mbx_cmds.mb[2] = IDC_REQ_DEST_FUNC_0_MASK;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
872
mbx_cmds.mb[2] = IDC_REQ_DEST_FUNC_1_MASK;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
875
mbx_cmds.mb[2] = IDC_REQ_DEST_FUNC_2_MASK;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
878
mbx_cmds.mb[2] = IDC_REQ_DEST_FUNC_3_MASK;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
892
if (mbx_cmds.mb[0] == MBA_IDC_INTERMEDIATE_COMPLETE /* 0x1000 */) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
894
__func__, qlge->instance, mbx_cmds.mb[1], mbx_cmds.mb[2]));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
896
} else if (mbx_cmds.mb[0] == MBS_COMMAND_COMPLETE /* 0x4000 */) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
900
} else if (mbx_cmds.mb[0] == MBS_COMMAND_ERROR /* 0x4005 */) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
903
} else if (mbx_cmds.mb[0] == MBS_COMMAND_PARAMETER_ERROR /* 0x4006 */) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
909
mbx_cmds.mb[0], mbx_cmds.mb[1], mbx_cmds.mb[2]);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
931
mbx_cmds.mb[0] = MBC_SET_PORT_CONFIG /* 0x122 */;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
932
mbx_cmds.mb[1] = new_cfg.link_cfg;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
933
mbx_cmds.mb[2] = new_cfg.max_frame_size;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
941
if ((mbx_cmds.mb[0] != MBS_COMMAND_COMPLETE /* 0x4000 */) &&
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
942
(mbx_cmds.mb[0] != MBA_IDC_COMPLETE /* 0x8100 */)) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_mpi.c
944
qlge->instance, mbx_cmds.mb[0]);
usr/src/uts/common/io/hxge/hpi_txdma.c
150
cs.bits.mb = 1;
usr/src/uts/common/io/hxge/hxge_tdc_hw.h
451
uint32_t mb:1;
usr/src/uts/common/io/hxge/hxge_tdc_hw.h
481
uint32_t mb:1;
usr/src/uts/common/io/ib/adapters/hermon/hermon_cmd.c
46
hermon_mboxlist_t *mblist, hermon_mbox_t **mb, uint_t mbox_wait);
usr/src/uts/common/io/ib/adapters/hermon/hermon_cmd.c
48
hermon_mbox_t **mb);
usr/src/uts/common/io/ib/adapters/hermon/hermon_cmd.c
569
hermon_mbox_t **mb, uint_t mbox_wait)
usr/src/uts/common/io/ib/adapters/hermon/hermon_cmd.c
636
*mb = &mbox_ptr[index];
usr/src/uts/common/io/ib/adapters/hermon/hermon_cmd.c
649
hermon_impl_mbox_free(hermon_mboxlist_t *mblist, hermon_mbox_t **mb)
usr/src/uts/common/io/ib/adapters/hermon/hermon_cmd.c
656
mbox_indx = (*mb)->mb_indx;
usr/src/uts/common/io/ib/adapters/hermon/hermon_cmd.c
664
(*mb)->mb_next = mblist->mbl_head_indx;
usr/src/uts/common/io/ib/adapters/hermon/hermon_cmd.c
665
(*mb)->mb_prev = mblist->mbl_tail_indx;
usr/src/uts/common/io/ib/adapters/hermon/hermon_cmd.c
676
(*mb)->mb_next = mbox_indx;
usr/src/uts/common/io/ib/adapters/hermon/hermon_cmd.c
677
(*mb)->mb_prev = mbox_indx;
usr/src/uts/common/io/ib/adapters/hermon/hermon_cmd.c
717
*mb = NULL;
usr/src/uts/common/io/ib/adapters/tavor/tavor_cmd.c
46
tavor_mbox_t **mb, uint_t mbox_wait);
usr/src/uts/common/io/ib/adapters/tavor/tavor_cmd.c
468
tavor_mbox_t **mb, uint_t mbox_wait)
usr/src/uts/common/io/ib/adapters/tavor/tavor_cmd.c
47
static void tavor_impl_mbox_free(tavor_mboxlist_t *mblist, tavor_mbox_t **mb);
usr/src/uts/common/io/ib/adapters/tavor/tavor_cmd.c
535
*mb = &mbox_ptr[index];
usr/src/uts/common/io/ib/adapters/tavor/tavor_cmd.c
548
tavor_impl_mbox_free(tavor_mboxlist_t *mblist, tavor_mbox_t **mb)
usr/src/uts/common/io/ib/adapters/tavor/tavor_cmd.c
555
mbox_indx = (*mb)->mb_indx;
usr/src/uts/common/io/ib/adapters/tavor/tavor_cmd.c
563
(*mb)->mb_next = mblist->mbl_head_indx;
usr/src/uts/common/io/ib/adapters/tavor/tavor_cmd.c
564
(*mb)->mb_prev = mblist->mbl_tail_indx;
usr/src/uts/common/io/ib/adapters/tavor/tavor_cmd.c
575
(*mb)->mb_next = mbox_indx;
usr/src/uts/common/io/ib/adapters/tavor/tavor_cmd.c
576
(*mb)->mb_prev = mbox_indx;
usr/src/uts/common/io/ib/adapters/tavor/tavor_cmd.c
616
*mb = NULL;
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
1191
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
1193
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
1226
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
1232
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
1281
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
1300
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
1302
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
1336
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
1361
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
1363
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
1945
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
1954
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2205
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2567
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2708
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2749
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2820
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2844
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2851
mb(); /* force write every 32 bytes */
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2866
mb(); /* barrier before setting valid flag */
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2877
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
2883
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
383
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
385
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
388
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
6102
mb();
usr/src/uts/common/io/myri10ge/drv/myri10ge.c
6144
mb();
usr/src/uts/common/io/nxge/npi/npi_txdma.c
991
cs.bits.ldw.mb = 1;
usr/src/uts/common/io/ppp/sppptun/sppptun.c
1729
mblk_t *mb, *mbnext;
usr/src/uts/common/io/ppp/sppptun/sppptun.c
1731
if ((mb = tll->tll_onclose) == NULL)
usr/src/uts/common/io/ppp/sppptun/sppptun.c
1735
while (mb != NULL) {
usr/src/uts/common/io/ppp/sppptun/sppptun.c
1736
mbnext = mb->b_next;
usr/src/uts/common/io/ppp/sppptun/sppptun.c
1737
mb->b_next = NULL;
usr/src/uts/common/io/ppp/sppptun/sppptun.c
1738
message_send(tll, mb);
usr/src/uts/common/io/ppp/sppptun/sppptun.c
1739
mb = mbnext;
usr/src/uts/common/io/scsi/adapters/pmcs/pmcs_subr.c
5954
uint32_t *mb = arg;
usr/src/uts/common/io/scsi/adapters/pmcs/pmcs_subr.c
5961
i * sizeof (uint32_t), LE_32(mb[i]),
usr/src/uts/common/io/scsi/adapters/pmcs/pmcs_subr.c
5962
LE_32(mb[i+1]), LE_32(mb[i+2]), LE_32(mb[i+3]));
usr/src/uts/common/io/usb/clients/usbms/usbms.c
1247
if ((mb = usbms_setup_abs_mouse_event()) != NULL) {
usr/src/uts/common/io/usb/clients/usbms/usbms.c
1249
qreply(q, mb);
usr/src/uts/common/io/usb/clients/usbms/usbms.c
2153
mblk_t *mb;
usr/src/uts/common/io/usb/clients/usbms/usbms.c
2156
if ((mb = allocb(sizeof (Firm_event), BPRI_HI)) != NULL) {
usr/src/uts/common/io/usb/clients/usbms/usbms.c
2157
fep = (Firm_event *)mb->b_wptr;
usr/src/uts/common/io/usb/clients/usbms/usbms.c
2162
mb->b_wptr += sizeof (Firm_event);
usr/src/uts/common/io/usb/clients/usbms/usbms.c
2168
return (mb);
usr/src/uts/common/io/usb/clients/usbms/usbms.c
2191
mblk_t *mb;
usr/src/uts/common/io/usb/clients/usbms/usbms.c
2349
if ((mb = usbms_setup_abs_mouse_event()) != NULL) {
usr/src/uts/common/io/usb/clients/usbms/usbms.c
2350
putnext(q, mb);
usr/src/uts/common/io/usb/clients/usbms/usbms.c
983
mblk_t *mb;
usr/src/uts/common/os/modsubr.c
512
struct bind *mb;
usr/src/uts/common/os/modsubr.c
514
for (mb = hashtab[nm_hash(name)]; mb; mb = mb->b_next) {
usr/src/uts/common/os/modsubr.c
515
if (deleted && (mb->b_num >= 0))
usr/src/uts/common/os/modsubr.c
517
if (!deleted && (mb->b_num < 0))
usr/src/uts/common/os/modsubr.c
521
if (strcmp(name, mb->b_name) == 0) {
usr/src/uts/common/os/modsubr.c
525
return (mb);
usr/src/uts/common/os/modsubr.c
539
struct bind *mb;
usr/src/uts/common/os/modsubr.c
550
mb = kmem_zalloc(sizeof (struct bind), KM_SLEEP);
usr/src/uts/common/os/modsubr.c
551
mb->b_name = i_ddi_strdup(name, KM_SLEEP);
usr/src/uts/common/os/modsubr.c
552
mb->b_num = num;
usr/src/uts/common/os/modsubr.c
554
mb->b_bind_name = i_ddi_strdup(bind_name, KM_SLEEP);
usr/src/uts/common/os/modsubr.c
558
mb->b_next = *pmb;
usr/src/uts/common/os/modsubr.c
559
*pmb = mb;
usr/src/uts/common/os/modsubr.c
571
struct bind *mb;
usr/src/uts/common/os/modsubr.c
573
for (mb = hashtab[nm_hash(name)]; mb; mb = mb->b_next) {
usr/src/uts/common/os/modsubr.c
574
if ((mb->b_num >= 0) && (strcmp(name, mb->b_name) == 0)) {
usr/src/uts/common/os/modsubr.c
578
name, mb->b_num);
usr/src/uts/common/os/modsubr.c
580
mb->b_num = -mb->b_num;
usr/src/uts/common/os/modsubr.c
595
struct bind *mb;
usr/src/uts/common/os/modsubr.c
599
for (mb = hashtab[i]; mb; mb = mb->b_next) {
usr/src/uts/common/os/modsubr.c
600
if (mb->b_num == num) {
usr/src/uts/common/os/modsubr.c
604
mb->b_name, num);
usr/src/uts/common/os/modsubr.c
606
mb->b_num = -num;
usr/src/uts/common/pcmcia/cis/cis_handlers.c
970
int mb = CISTPL_CFTABLE_TPCE_FS_MISC_MAX;
usr/src/uts/common/pcmcia/cis/cis_handlers.c
976
if (mb) {
usr/src/uts/common/pcmcia/cis/cis_handlers.c
978
mb--;
usr/src/uts/common/sys/fibre-channel/fca/emlxs/emlxs_extern.h
482
MAILBOX *mb, uint32_t mbxStatus);
usr/src/uts/common/sys/fibre-channel/fca/emlxs/emlxs_extern.h
519
MAILBOXQ *mb, VFIobj_t *vfip,
usr/src/uts/common/sys/fibre-channel/fca/qlc/ql_api.h
1622
uint16_t mb[MAX_MBOX_COUNT];
usr/src/uts/common/sys/fibre-channel/fca/qlc/ql_apps.h
101
uint16_t mb[32];
usr/src/uts/common/sys/fibre-channel/fca/qlc/ql_mbx.h
515
uint16_t mb[MAX_MBOX_COUNT];
usr/src/uts/common/sys/fibre-channel/fca/qlc/ql_xioctl.h
56
uint16_t mb[MAX_MBOX_COUNT];
usr/src/uts/common/sys/fibre-channel/fca/qlge/qlge_hw.h
1692
uint32_t mb[NUM_MAILBOX_REGS];
usr/src/uts/common/sys/fibre-channel/fca/qlge/qlge_hw.h
1699
uint32_t mb[NUM_MAILBOX_REGS];
usr/src/uts/common/sys/nxge/nxge_txdma_hw.h
423
uint32_t mb:1;
usr/src/uts/common/sys/nxge/nxge_txdma_hw.h
453
uint32_t mb:1;
usr/src/uts/common/xen/public/domctl.h
229
uint32_t mb; /* Shadow memory allocation in MB */
usr/src/uts/common/xen/public/io/ring.h
33
#define xen_mb() mb()
usr/src/uts/sun4/os/startup.c
929
#define MB_TO_BYTES(mb) ((mb) * 1048576ul)
usr/src/uts/sun4u/sunfire/sys/ac.h
428
#define SETUP_DECODE(addr, mb, intlv, group) \
usr/src/uts/sun4u/sunfire/sys/ac.h
430
((((mb) >> 6) - 1ULL) << 39) | /* UK */ \
usr/src/uts/sun4v/io/dr_mem.c
759
dr_mem_blk_t *req_mblks, mb;
usr/src/uts/sun4v/io/dr_mem.c
800
mb.addr = ml->ml_address;
usr/src/uts/sun4v/io/dr_mem.c
801
mb.size = ml->ml_size;
usr/src/uts/sun4v/io/dr_mem.c
802
dr_mem_query(&mb, &stat[idx]);
usr/src/uts/sun4v/os/mpo.c
1001
struct mblock_md *mb;
usr/src/uts/sun4v/os/mpo.c
1013
mb = &mpo_mblock[0];
usr/src/uts/sun4v/os/mpo.c
1015
if (pfn >= mb->base_pfn && pfn <= mb->end_pfn) {
usr/src/uts/sun4v/os/mpo.c
1016
ra_to_pa_pfn = btop(mb->ra_to_pa);
usr/src/uts/sun4v/os/mpo.c
1023
mb++;
usr/src/uts/sun4v/os/mpo.c
1042
struct mblock_md *mb;
usr/src/uts/sun4v/os/mpo.c
1053
for (mb = &mpo_mblock[0], i = 0; i < n_mblocks; i++, mb++) {
usr/src/uts/sun4v/os/mpo.c
1054
if (pfn <= mb->end_pfn && pfn >= mb->base_pfn) {
usr/src/uts/sun4v/os/mpo.c
1055
ra_to_pa_pfn = btop(mb->ra_to_pa);
usr/src/uts/sun4v/os/mpo.c
1327
struct mblock_md *mb = mpo_mblock;
usr/src/uts/sun4v/os/mpo.c
1365
uint64_t base = mb->base;
usr/src/uts/sun4v/os/mpo.c
1366
uint64_t end = mb->base + mb->size - 1;
usr/src/uts/sun4v/os/mpo.c
1367
uint64_t ra_to_pa = mb->ra_to_pa;
usr/src/uts/sun4v/os/mpo.c
1374
if (mb->size < max_page_len) {
usr/src/uts/sun4v/os/mpo.c
1400
last_page_base + max_coalesce_len > mb[1].base &&
usr/src/uts/sun4v/os/mpo.c
1402
MNODE(mb[1].base + mb[1].ra_to_pa)) {
usr/src/uts/sun4v/os/mpo.c
1405
"pagelen = %lx\n", end, ra_to_pa, mb[1].base,
usr/src/uts/sun4v/os/mpo.c
1406
mb[1].ra_to_pa, max_coalesce_len);
usr/src/uts/sun4v/os/mpo.c
1410
mb++;
usr/src/uts/sun4v/os/mpo.c
1464
mblock_md_t *mb = NULL;
usr/src/uts/sun4v/os/mpo.c
1485
mb = (struct mblock_md *)kmem_zalloc(allocsz, KM_SLEEP);
usr/src/uts/sun4v/os/mpo.c
1486
ms = (mem_stripe_t *)(mb + nmblocks);
usr/src/uts/sun4v/os/mpo.c
1489
mb = &small_mpo_mblocks[0];
usr/src/uts/sun4v/os/mpo.c
1499
mb = (struct mblock_md *)
usr/src/uts/sun4v/os/mpo.c
1501
if (mb != (struct mblock_md *)MPOBUF_BASE) {
usr/src/uts/sun4v/os/mpo.c
1508
ms = (mem_stripe_t *)(mb + nmblocks);
usr/src/uts/sun4v/os/mpo.c
1511
mc->mc_mblocks = mb;