Symbol: fdesc
usr/src/cmd/mdb/common/modules/mac/mac.c
241
flow_desc_t fdesc;
usr/src/cmd/mdb/common/modules/mac/mac.c
244
if (mdb_vread(&fdesc, sizeof (fdesc), desc_addr) == -1) {
usr/src/cmd/mdb/common/modules/mac/mac.c
253
mac_flow_proto2str(fdesc.fd_protocol), fdesc.fd_local_port,
usr/src/cmd/mdb/common/modules/mac/mac.c
254
fdesc.fd_dsfield, fdesc.fd_dsfield_mask);
usr/src/cmd/mdb/common/modules/mac/mac.c
255
if (fdesc.fd_ipversion == IPV4_VERSION) {
usr/src/cmd/mdb/common/modules/mac/mac.c
256
IN6_V4MAPPED_TO_INADDR(&fdesc.fd_local_addr, &in4);
usr/src/cmd/mdb/common/modules/mac/mac.c
258
} else if (fdesc.fd_ipversion == IPV6_VERSION) {
usr/src/cmd/mdb/common/modules/mac/mac.c
259
mdb_printf("%N", &fdesc.fd_local_addr);
usr/src/cmd/sgs/elfdump/common/corenote.c
1335
prtpct_value(note_state_t *state, const sl_field_t *fdesc,
usr/src/cmd/sgs/elfdump/common/corenote.c
1340
value = extract_as_word(state, fdesc);
usr/src/cmd/sgs/elfdump/common/corenote.c
201
extract_as_word(note_state_t *state, const sl_field_t *fdesc)
usr/src/cmd/sgs/elfdump/common/corenote.c
2010
static sl_field_t fdesc = { 0, 8, 0, 0 };
usr/src/cmd/sgs/elfdump/common/corenote.c
2017
&fdesc);
usr/src/cmd/sgs/elfdump/common/corenote.c
2018
content = extract_as_lword(&state, &fdesc);
usr/src/cmd/sgs/elfdump/common/corenote.c
203
return (sl_extract_as_word(state->ns_data, state->ns_swap, fdesc));
usr/src/cmd/sgs/elfdump/common/corenote.c
206
extract_as_lword(note_state_t *state, const sl_field_t *fdesc)
usr/src/cmd/sgs/elfdump/common/corenote.c
208
return (sl_extract_as_lword(state->ns_data, state->ns_swap, fdesc));
usr/src/cmd/sgs/elfdump/common/corenote.c
211
extract_as_sword(note_state_t *state, const sl_field_t *fdesc)
usr/src/cmd/sgs/elfdump/common/corenote.c
213
return (sl_extract_as_sword(state->ns_data, state->ns_swap, fdesc));
usr/src/cmd/sgs/elfdump/common/corenote.c
216
fmt_num(note_state_t *state, const sl_field_t *fdesc,
usr/src/cmd/sgs/elfdump/common/corenote.c
219
return (sl_fmt_num(state->ns_data, state->ns_swap, fdesc,
usr/src/cmd/sgs/elfdump/common/corenote.c
228
data_present(note_state_t *state, const sl_field_t *fdesc)
usr/src/cmd/sgs/elfdump/common/corenote.c
230
return ((fdesc->slf_offset + fdesc->slf_eltlen) <= state->ns_len);
usr/src/cmd/sgs/elfdump/common/corenote.c
268
const sl_field_t *fdesc, sl_fmt_num_t fmt_type)
usr/src/cmd/sgs/elfdump/common/corenote.c
278
if (!data_present(state, fdesc))
usr/src/cmd/sgs/elfdump/common/corenote.c
283
fmt_num(state, fdesc, fmt_type, buf));
usr/src/cmd/sgs/elfdump/common/corenote.c
324
const sl_field_t *fdesc)
usr/src/cmd/sgs/elfdump/common/corenote.c
336
if (fdesc->slf_offset >= state->ns_len)
usr/src/cmd/sgs/elfdump/common/corenote.c
344
n = state->ns_len - fdesc->slf_offset;
usr/src/cmd/sgs/elfdump/common/corenote.c
345
if (n > fdesc->slf_nelts)
usr/src/cmd/sgs/elfdump/common/corenote.c
346
n = fdesc->slf_nelts;
usr/src/cmd/sgs/elfdump/common/corenote.c
350
title, safe_str(fdesc->slf_offset + state->ns_data, n));
usr/src/cmd/sgs/elfdump/common/corenote.c
375
const sl_field_t *fdesc, dump_func_t dump_func)
usr/src/cmd/sgs/elfdump/common/corenote.c
385
if (fdesc->slf_offset >= state->ns_len)
usr/src/cmd/sgs/elfdump/common/corenote.c
392
sub_state.ns_data += fdesc->slf_offset;
usr/src/cmd/sgs/elfdump/common/corenote.c
393
sub_state.ns_len -= fdesc->slf_offset;
usr/src/cmd/sgs/elfdump/common/corenote.c
394
if (sub_state.ns_len > fdesc->slf_eltlen)
usr/src/cmd/sgs/elfdump/common/corenote.c
395
sub_state.ns_len = fdesc->slf_eltlen;
usr/src/cmd/sgs/elfdump/common/corenote.c
651
sl_field_t fdesc;
usr/src/cmd/sgs/elfdump/common/corenote.c
658
fdesc = layout->word;
usr/src/cmd/sgs/elfdump/common/corenote.c
659
nelts = fdesc.slf_nelts;
usr/src/cmd/sgs/elfdump/common/corenote.c
663
mask[i] = extract_as_word(state, &fdesc);
usr/src/cmd/sgs/elfdump/common/corenote.c
664
fdesc.slf_offset += fdesc.slf_eltlen;
usr/src/cmd/sgs/elfdump/common/corenote.c
683
sl_field_t fdesc;
usr/src/cmd/sgs/elfdump/common/corenote.c
690
fdesc = layout->sigbits;
usr/src/cmd/sgs/elfdump/common/corenote.c
691
nelts = fdesc.slf_nelts;
usr/src/cmd/sgs/elfdump/common/corenote.c
695
mask[i] = extract_as_word(state, &fdesc);
usr/src/cmd/sgs/elfdump/common/corenote.c
696
fdesc.slf_offset += fdesc.slf_eltlen;
usr/src/cmd/sgs/elfdump/common/corenote.c
851
sl_field_t fdesc;
usr/src/cmd/sgs/elfdump/common/corenote.c
858
fdesc = layout->word;
usr/src/cmd/sgs/elfdump/common/corenote.c
859
nelts = fdesc.slf_nelts;
usr/src/cmd/sgs/elfdump/common/corenote.c
863
mask[i] = extract_as_word(state, &fdesc);
usr/src/cmd/sgs/elfdump/common/corenote.c
864
fdesc.slf_offset += fdesc.slf_eltlen;
usr/src/cmd/sgs/elfdump/common/struct_layout.c
102
switch (fdesc->slf_eltlen) {
usr/src/cmd/sgs/elfdump/common/struct_layout.c
126
sl_extract_as_lword(const char *data, int do_swap, const sl_field_t *fdesc)
usr/src/cmd/sgs/elfdump/common/struct_layout.c
131
sl_extract_num_field(data, do_swap, fdesc, &v);
usr/src/cmd/sgs/elfdump/common/struct_layout.c
133
if (fdesc->slf_sign) {
usr/src/cmd/sgs/elfdump/common/struct_layout.c
134
switch (fdesc->slf_eltlen) {
usr/src/cmd/sgs/elfdump/common/struct_layout.c
145
switch (fdesc->slf_eltlen) {
usr/src/cmd/sgs/elfdump/common/struct_layout.c
170
sl_extract_as_sword(const char *data, int do_swap, const sl_field_t *fdesc)
usr/src/cmd/sgs/elfdump/common/struct_layout.c
175
sl_extract_num_field(data, do_swap, fdesc, &v);
usr/src/cmd/sgs/elfdump/common/struct_layout.c
177
if (fdesc->slf_sign) {
usr/src/cmd/sgs/elfdump/common/struct_layout.c
178
switch (fdesc->slf_eltlen) {
usr/src/cmd/sgs/elfdump/common/struct_layout.c
189
switch (fdesc->slf_eltlen) {
usr/src/cmd/sgs/elfdump/common/struct_layout.c
211
sl_fmt_num(const char *data, int do_swap, const sl_field_t *fdesc,
usr/src/cmd/sgs/elfdump/common/struct_layout.c
270
sl_extract_num_field(data, do_swap, fdesc, &v);
usr/src/cmd/sgs/elfdump/common/struct_layout.c
277
switch (fdesc->slf_eltlen) {
usr/src/cmd/sgs/elfdump/common/struct_layout.c
280
fmt_i8[fdesc->slf_sign][fmt_type], (uint32_t)v.sld_ui8);
usr/src/cmd/sgs/elfdump/common/struct_layout.c
285
fmt_i16[fdesc->slf_sign][fmt_type], (uint32_t)v.sld_ui16);
usr/src/cmd/sgs/elfdump/common/struct_layout.c
290
fmt_i32[fdesc->slf_sign][fmt_type], v.sld_ui32);
usr/src/cmd/sgs/elfdump/common/struct_layout.c
295
fmt_i64[fdesc->slf_sign][fmt_type], v.sld_ui64);
usr/src/cmd/sgs/elfdump/common/struct_layout.c
50
sl_extract_num_field(const char *data, int do_swap, const sl_field_t *fdesc,
usr/src/cmd/sgs/elfdump/common/struct_layout.c
54
(void) memcpy(field_data, data + fdesc->slf_offset,
usr/src/cmd/sgs/elfdump/common/struct_layout.c
55
fdesc->slf_eltlen);
usr/src/cmd/sgs/elfdump/common/struct_layout.c
59
switch (fdesc->slf_eltlen) {
usr/src/cmd/sgs/elfdump/common/struct_layout.c
83
sl_extract_as_word(const char *data, int do_swap, const sl_field_t *fdesc)
usr/src/cmd/sgs/elfdump/common/struct_layout.c
88
sl_extract_num_field(data, do_swap, fdesc, &v);
usr/src/cmd/sgs/elfdump/common/struct_layout.c
90
if (fdesc->slf_sign) {
usr/src/cmd/sgs/elfdump/common/struct_layout.c
91
switch (fdesc->slf_eltlen) {
usr/src/cmd/sgs/elfdump/common/struct_layout.h
596
const sl_field_t *fdesc, sl_data_t *field_data);
usr/src/cmd/sgs/elfdump/common/struct_layout.h
598
const sl_field_t *fdesc);
usr/src/cmd/sgs/elfdump/common/struct_layout.h
600
const sl_field_t *fdesc);
usr/src/cmd/sgs/elfdump/common/struct_layout.h
602
const sl_field_t *fdesc);
usr/src/cmd/sgs/elfdump/common/struct_layout.h
604
const sl_field_t *fdesc, sl_fmt_num_t fmt_type,
usr/src/cmd/sgs/rtld/common/_rtld.h
67
typedef struct fdesc Fdesc;
usr/src/common/fs/hsfs.c
125
static ssize_t bhsfs_read(int fdesc, char *buf, size_t count);
usr/src/common/fs/hsfs.c
126
static off_t bhsfs_lseek(int fdesc, off_t addr, int whence);
usr/src/common/fs/hsfs.c
127
static int bhsfs_fstat(int fdesc, struct bootstat *stp);
usr/src/common/fs/pcfs.c
101
static ssize_t bpcfs_read(int fdesc, char *buf, size_t count);
usr/src/common/fs/pcfs.c
102
static off_t bpcfs_lseek(int fdesc, off_t addr, int whence);
usr/src/lib/libdladm/common/flowattr.c
142
do_check_protocol(char *attr_val, flow_desc_t *fdesc)
usr/src/lib/libdladm/common/flowattr.c
149
fdesc->fd_mask |= FLOW_IP_PROTOCOL;
usr/src/lib/libdladm/common/flowattr.c
150
fdesc->fd_protocol = protocol;
usr/src/lib/libdladm/common/flowattr.c
158
do_check_local_port(char *attr_val, flow_desc_t *fdesc)
usr/src/lib/libdladm/common/flowattr.c
160
return (do_check_port(attr_val, B_TRUE, fdesc));
usr/src/lib/libdladm/common/flowattr.c
164
do_check_remote_port(char *attr_val, flow_desc_t *fdesc)
usr/src/lib/libdladm/common/flowattr.c
166
return (do_check_port(attr_val, B_FALSE, fdesc));
usr/src/lib/libdladm/common/flowattr.c
170
do_check_port(char *attr_val, boolean_t local, flow_desc_t *fdesc)
usr/src/lib/libdladm/common/flowattr.c
179
fdesc->fd_mask |= FLOW_ULP_PORT_LOCAL;
usr/src/lib/libdladm/common/flowattr.c
180
fdesc->fd_local_port = htons((uint16_t)val);
usr/src/lib/libdladm/common/flowattr.c
182
fdesc->fd_mask |= FLOW_ULP_PORT_REMOTE;
usr/src/lib/libdladm/common/flowattr.c
183
fdesc->fd_remote_port = htons((uint16_t)val);
usr/src/lib/libdladm/common/flowattr.c
355
flow_desc_t fdesc = attrp->fa_flow_desc;
usr/src/lib/libdladm/common/flowattr.c
360
if (fdesc.fd_mask & FLOW_IP_LOCAL) {
usr/src/lib/libdladm/common/flowattr.c
361
if (fdesc.fd_ipversion == IPV6_VERSION) {
usr/src/lib/libdladm/common/flowattr.c
362
(void) inet_ntop(AF_INET6, &fdesc.fd_local_addr, abuf,
usr/src/lib/libdladm/common/flowattr.c
367
ipaddr.s_addr = fdesc.fd_local_addr._S6_un._S6_u32[3];
usr/src/lib/libdladm/common/flowattr.c
371
(void) dladm_mask2prefixlen(&fdesc.fd_local_netmask,
usr/src/lib/libdladm/common/flowattr.c
374
} else if (fdesc.fd_mask & FLOW_IP_REMOTE) {
usr/src/lib/libdladm/common/flowattr.c
375
if (fdesc.fd_ipversion == IPV6_VERSION) {
usr/src/lib/libdladm/common/flowattr.c
376
(void) inet_ntop(AF_INET6, &fdesc.fd_remote_addr, abuf,
usr/src/lib/libdladm/common/flowattr.c
381
ipaddr.s_addr = fdesc.fd_remote_addr._S6_un._S6_u32[3];
usr/src/lib/libdladm/common/flowattr.c
385
(void) dladm_mask2prefixlen(&fdesc.fd_remote_netmask,
usr/src/lib/libdladm/common/flowattr.c
396
flow_desc_t fdesc = attrp->fa_flow_desc;
usr/src/lib/libdladm/common/flowattr.c
399
dladm_proto2str(fdesc.fd_protocol));
usr/src/lib/libdladm/common/flowattr.c
405
flow_desc_t fdesc = attrp->fa_flow_desc;
usr/src/lib/libdladm/common/flowattr.c
407
if (fdesc.fd_mask & FLOW_ULP_PORT_LOCAL) {
usr/src/lib/libdladm/common/flowattr.c
409
ntohs(fdesc.fd_local_port));
usr/src/lib/libdladm/common/flowattr.c
410
} else if (fdesc.fd_mask & FLOW_ULP_PORT_REMOTE) {
usr/src/lib/libdladm/common/flowattr.c
412
ntohs(fdesc.fd_remote_port));
usr/src/lib/libdladm/common/flowattr.c
421
flow_desc_t fdesc = attrp->fa_flow_desc;
usr/src/lib/libdladm/common/flowattr.c
423
if (fdesc.fd_mask & FLOW_IP_DSFIELD) {
usr/src/lib/libdladm/common/flowattr.c
425
fdesc.fd_dsfield, fdesc.fd_dsfield_mask);
usr/src/lib/libdladm/common/flowattr.c
66
do_check_local_ip(char *attr_val, flow_desc_t *fdesc)
usr/src/lib/libdladm/common/flowattr.c
68
return (do_check_ip_addr(attr_val, B_TRUE, fdesc));
usr/src/lib/libdladm/common/flowattr.c
72
do_check_remote_ip(char *attr_val, flow_desc_t *fdesc)
usr/src/lib/libdladm/common/flowattr.c
74
return (do_check_ip_addr(attr_val, B_FALSE, fdesc));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
11659
xp->fdesc.flash_manuf = LSB(LSW(fdata));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
11660
xp->fdesc.flash_id = MSB(LSW(fdata));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
11661
xp->fdesc.flash_len = LSB(MSW(fdata));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
11663
xp->fdesc.flash_manuf = ATMEL_FLASH;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
11664
xp->fdesc.flash_id = ATMEL_FLASHID_1024K;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
11665
xp->fdesc.flash_len = 0;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
11726
rest_addr = (xp->fdesc.block_size - 1) >> 2;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
11993
(void) ql_8021_rom_wrsr(ha, xp->fdesc.write_enable_bits);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
11994
rval = ql_8021_rom_wrsr(ha, xp->fdesc.write_enable_bits);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
12038
xp->fdesc.write_statusreg_cmd, xp->fdesc.write_enable_bits);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
12045
xp->fdesc.write_statusreg_cmd, xp->fdesc.write_enable_bits);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
12047
if (xp->fdesc.unprotect_sector_cmd != 0) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
12050
0x300 | xp->fdesc.unprotect_sector_cmd, fdata);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
12054
xp->fdesc.unprotect_sector_cmd, 0x00400f);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
12056
xp->fdesc.unprotect_sector_cmd, 0x00600f);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
12058
xp->fdesc.unprotect_sector_cmd, 0x00800f);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
12087
(void) ql_8021_rom_wrsr(ha, xp->fdesc.write_enable_bits);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
12088
rval = ql_8021_rom_wrsr(ha, xp->fdesc.write_disable_bits);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
12136
if (xp->fdesc.protect_sector_cmd != 0) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
12139
0x300 | xp->fdesc.protect_sector_cmd, fdata);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
12142
xp->fdesc.protect_sector_cmd, 0x00400f);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
12144
xp->fdesc.protect_sector_cmd, 0x00600f);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
12146
xp->fdesc.protect_sector_cmd, 0x00800f);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
12151
xp->fdesc.write_statusreg_cmd, xp->fdesc.write_enable_bits);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_api.c
12154
xp->fdesc.write_statusreg_cmd, xp->fdesc.write_disable_bits);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2575
ha->xioctl->fdesc.block_size = data << 2;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
2578
ha->xioctl->fdesc.block_size);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
491
nv->id[2], nv->id[3], ha->xioctl->fdesc.flash_size,
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
496
(ha->xioctl->fdesc.flash_size == 0))) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_init.c
554
(ha->xioctl->fdesc.flash_size == 0)) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_ioctl.c
1560
bsize = ha->xioctl->fdesc.block_size;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_ioctl.c
1751
if (ha->xioctl->fdesc.flash_size == 0 &&
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_ioctl.c
1775
hba.flash_size = ha->xioctl->fdesc.flash_size;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
3305
cmd->DetailStatus = xp->fdesc.flash_size;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
3312
cmd->DetailStatus = xp->fdesc.flash_size;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
3314
cmd->ResponseLen, xp->fdesc.flash_size);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
3318
if (cmd->ResponseLen > xp->fdesc.flash_size) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
3320
cmd->ResponseLen, xp->fdesc.flash_size);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
3321
cmd->ResponseLen = xp->fdesc.flash_size;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
3371
cmd->DetailStatus = xp->fdesc.flash_size;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
3378
cmd->DetailStatus = xp->fdesc.flash_size;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
3380
cmd->RequestLen, xp->fdesc.flash_size);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
3384
if (cmd->RequestLen > xp->fdesc.flash_size) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
3386
cmd->DetailStatus = xp->fdesc.flash_size;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
3388
cmd->RequestLen, xp->fdesc.flash_size);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4826
flash_desc_t *fdesc;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4836
if ((fdesc = kmem_zalloc(sizeof (flash_desc_t), KM_SLEEP)) == NULL) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4840
rval = ql_dump_fcode(ha, (uint8_t *)fdesc, sizeof (flash_desc_t),
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4844
kmem_free(fdesc, sizeof (flash_desc_t));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4849
bp = (uint16_t *)fdesc;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4856
LITTLE_ENDIAN_32(&fdesc->flash_valid);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4857
LITTLE_ENDIAN_16(&fdesc->flash_version);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4858
LITTLE_ENDIAN_16(&fdesc->flash_len);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4859
LITTLE_ENDIAN_16(&fdesc->flash_checksum);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4860
LITTLE_ENDIAN_16(&fdesc->flash_manuf);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4861
LITTLE_ENDIAN_16(&fdesc->flash_id);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4862
LITTLE_ENDIAN_32(&fdesc->block_size);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4863
LITTLE_ENDIAN_32(&fdesc->alt_block_size);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4864
LITTLE_ENDIAN_32(&fdesc->flash_size);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4865
LITTLE_ENDIAN_32(&fdesc->write_enable_data);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4866
LITTLE_ENDIAN_32(&fdesc->read_timeout);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4869
fdesc->flash_size = fdesc->flash_size * 0x400;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4871
if (chksum != 0 || fdesc->flash_valid != FLASH_DESC_VAILD ||
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4872
fdesc->flash_version != FLASH_DESC_VERSION) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4874
kmem_free(fdesc, sizeof (flash_desc_t));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4878
bcopy(fdesc, &xp->fdesc, sizeof (flash_desc_t));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4879
kmem_free(fdesc, sizeof (flash_desc_t));
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4906
if (xp->fdesc.flash_size != 0) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4920
ha->xioctl->fdesc.flash_size = 0x1000000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4922
ha->xioctl->fdesc.flash_size = 0x800000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4924
ha->xioctl->fdesc.flash_size = 0x200000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4926
ha->xioctl->fdesc.flash_size = 0x400000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4934
xp->fdesc.flash_manuf = MXIC_FLASH;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4935
xp->fdesc.flash_id = MXIC_FLASHID_25LXX;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4936
xp->fdesc.flash_len = 0x17;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4949
xp->fdesc.flash_manuf = (uint8_t)ql_read_flash_byte(ha, 0x0000);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4955
xp->fdesc.flash_id = (uint16_t)
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4961
xp->fdesc.flash_id = (uint16_t)
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4973
xp->fdesc.write_statusreg_cmd = 1;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4974
xp->fdesc.write_enable_bits = 0;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4975
xp->fdesc.unprotect_sector_cmd = 0;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4976
xp->fdesc.protect_sector_cmd = 0;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4977
xp->fdesc.write_disable_bits = 0xbc;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4978
xp->fdesc.block_size = 0x10000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4979
xp->fdesc.erase_cmd = 0xd8;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4981
switch (xp->fdesc.flash_manuf) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4983
switch (xp->fdesc.flash_id) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4985
if (xp->fdesc.flash_len == 0x18) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4986
xp->fdesc.flash_size = 0x1000000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4992
xp->fdesc.flash_size = 0x200000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
4995
xp->fdesc.flash_size = 0x100000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5001
xp->fdesc.flash_size = QL_SBUS_FCODE_SIZE;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5003
xp->fdesc.flash_size = 0x80000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5007
xp->fdesc.flash_size = 0x20000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5015
switch (xp->fdesc.flash_id) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5017
xp->fdesc.flash_size = 0x20000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5020
xp->fdesc.flash_size = 0x80000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5023
if (xp->fdesc.flash_len == 0x14) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5024
xp->fdesc.flash_size = 0x100000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5025
} else if (xp->fdesc.flash_len == 0x15) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5026
xp->fdesc.flash_size = 0x200000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5032
if (xp->fdesc.flash_len == 0x18) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5033
xp->fdesc.flash_size = 0x1000000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5044
switch (xp->fdesc.flash_id) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5046
xp->fdesc.flash_size = 0x20000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5049
xp->fdesc.flash_size = 0x100000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5050
xp->fdesc.block_size = 0x8000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5051
xp->fdesc.erase_cmd = 0x52;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5055
xp->fdesc.flash_size = 0x100000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5058
xp->fdesc.flash_size = 0x200000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5066
switch (xp->fdesc.flash_id) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5068
xp->fdesc.flash_size = 0x80000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5071
xp->fdesc.flash_size = 0x100000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5074
xp->fdesc.write_disable_bits = 0xbc;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5075
if (xp->fdesc.flash_len == 0x14) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5076
xp->fdesc.flash_size = 0x100000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5077
} else if (xp->fdesc.flash_len == 0x15) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5078
xp->fdesc.flash_size = 0x200000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5079
} else if (xp->fdesc.flash_len == 0x16) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5080
xp->fdesc.flash_size = 0x400000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5081
} else if (xp->fdesc.flash_len == 0x17) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5082
xp->fdesc.flash_size = 0x800000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5083
} else if (xp->fdesc.flash_len == 0x18) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5084
xp->fdesc.flash_size = 0x1000000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5095
switch (xp->fdesc.flash_id) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5097
xp->fdesc.flash_size = 0x100000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5098
xp->fdesc.write_disable_bits = 0xbc;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5099
xp->fdesc.unprotect_sector_cmd = 0x39;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5100
xp->fdesc.protect_sector_cmd = 0x36;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5108
switch (xp->fdesc.flash_id) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5110
if (xp->fdesc.flash_len == 0x15) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5111
xp->fdesc.flash_size = 0x200000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5112
} else if (xp->fdesc.flash_len == 0x16) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5113
xp->fdesc.flash_size = 0x400000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5114
} else if (xp->fdesc.flash_len == 0x17) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5115
xp->fdesc.flash_size = 0x800000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5116
} else if (xp->fdesc.flash_len == 0x18) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5117
xp->fdesc.flash_size = 0x1000000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5128
switch (xp->fdesc.flash_id) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5130
if (xp->fdesc.flash_len == 0x11) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5131
xp->fdesc.flash_size = 0x200000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5132
} else if (xp->fdesc.flash_len == 0x12) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5133
xp->fdesc.flash_size = 0x400000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5134
} else if (xp->fdesc.flash_len == 0x13) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5135
xp->fdesc.flash_size = 0x800000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5146
switch (xp->fdesc.flash_id) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5148
if (xp->fdesc.flash_len == 0x18) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5149
xp->fdesc.flash_size = 0x1000000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5177
(xp->fdesc.flash_size > 0x20000) &&
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5180
xp->fdesc.flash_size);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5181
xp->fdesc.flash_size = 0x20000;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5186
xp->fdesc.flash_manuf, xp->fdesc.flash_id,
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5187
xp->fdesc.flash_size);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5190
xp->fdesc.flash_manuf, xp->fdesc.flash_id);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5221
if (bsize > xp->fdesc.flash_size) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5223
xp->fdesc.flash_size);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5350
if (bsize > xp->fdesc.flash_size) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5352
xp->fdesc.flash_size);
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5353
bsize = xp->fdesc.flash_size;
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5409
if (size + startpos > ha->xioctl->fdesc.flash_size) {
usr/src/uts/common/io/fibre-channel/fca/qlc/ql_xioctl.c
5411
size, startpos, ha->xioctl->fdesc.flash_size);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
1116
cmd |= qlge->fdesc.write_enable_cmd;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
1150
cmd |= (0x0300 | qlge->fdesc.erase_cmd);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
1244
FLASH_CONF_ADDR | 0x100 | qlge->fdesc.write_statusreg_cmd,
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
1245
qlge->fdesc.write_enable_bits);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
1247
if (qlge->fdesc.unprotect_sector_cmd != 0) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
1250
0x300 | qlge->fdesc.unprotect_sector_cmd, fdata);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
1254
qlge->fdesc.unprotect_sector_cmd, 0x00400f);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
1256
qlge->fdesc.unprotect_sector_cmd, 0x00600f);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
1258
qlge->fdesc.unprotect_sector_cmd, 0x00800f);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
1287
if (qlge->fdesc.protect_sector_cmd != 0) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
1290
0x330 | qlge->fdesc.protect_sector_cmd, fdata);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
1293
qlge->fdesc.protect_sector_cmd, 0x00400f);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
1295
qlge->fdesc.protect_sector_cmd, 0x00600f);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
1297
qlge->fdesc.protect_sector_cmd, 0x00800f);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
1303
FLASH_CONF_ADDR | 0x100 | qlge->fdesc.write_statusreg_cmd,
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
1304
qlge->fdesc.write_disable_bits /* 0x9c */);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
150
rest_addr = (qlge->fdesc.block_size - 1) >> 2;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
168
FLASH_CONF_ADDR | 0x0300 | qlge->fdesc.erase_cmd,
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
210
*psector = faddr / qlge->fdesc.block_size; /* 0x10000 */
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
232
sector_size = qlge->fdesc.block_size;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
234
if (faddr > qlge->fdesc.flash_size) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
422
qlge->fdesc.flash_size = FLASH_FIRMWARE_IMAGE_ADDR;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
663
rval = qlge_dump_fcode(qlge, (uint8_t *)&qlge->fdesc,
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
668
bzero(&qlge->fdesc, sizeof (flash_desc_t));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
674
bp = (uint16_t *)&qlge->fdesc;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
682
LITTLE_ENDIAN_32(&qlge->fdesc.flash_valid);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
683
LITTLE_ENDIAN_16(&qlge->fdesc.flash_version);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
684
LITTLE_ENDIAN_16(&qlge->fdesc.flash_len);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
685
LITTLE_ENDIAN_16(&qlge->fdesc.flash_checksum);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
686
LITTLE_ENDIAN_16(&qlge->fdesc.flash_unused);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
687
LITTLE_ENDIAN_16(&qlge->fdesc.flash_manuf);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
688
LITTLE_ENDIAN_16(&qlge->fdesc.flash_id);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
689
LITTLE_ENDIAN_32(&qlge->fdesc.block_size);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
690
LITTLE_ENDIAN_32(&qlge->fdesc.alt_block_size);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
691
LITTLE_ENDIAN_32(&qlge->fdesc.flash_size);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
692
LITTLE_ENDIAN_32(&qlge->fdesc.write_enable_data);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
693
LITTLE_ENDIAN_32(&qlge->fdesc.read_timeout);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
696
QL_PRINT(DBG_FLASH, ("flash_valid=%xh\n", qlge->fdesc.flash_valid));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
697
QL_PRINT(DBG_FLASH, ("flash_version=%xh\n", qlge->fdesc.flash_version));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
698
QL_PRINT(DBG_FLASH, ("flash_len=%xh\n", qlge->fdesc.flash_len));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
700
qlge->fdesc.flash_checksum));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
702
w8 = qlge->fdesc.flash_model[15];
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
703
qlge->fdesc.flash_model[15] = 0;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
704
QL_PRINT(DBG_FLASH, ("flash_model=%s\n", qlge->fdesc.flash_model));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
705
qlge->fdesc.flash_model[15] = w8;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
706
QL_PRINT(DBG_FLASH, ("flash_size=%xK bytes\n", qlge->fdesc.flash_size));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
707
qlge->fdesc.flash_size = qlge->fdesc.flash_size * 0x400;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
708
qlge->flash_info.flash_size = qlge->fdesc.flash_size;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
710
if (chksum != 0 || qlge->fdesc.flash_valid != FLASH_DESC_VAILD ||
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
711
qlge->fdesc.flash_version != FLASH_DESC_VERSION) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
713
bzero(&qlge->fdesc, sizeof (flash_desc_t));
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
90
if (size + startpos > qlge->fdesc.flash_size) {
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
902
qlge->fdesc.flash_size = 4096 * 1024; /* ie. 4M bytes */
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
905
qlge->fdesc.write_statusreg_cmd = 1;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
906
qlge->fdesc.write_enable_bits = 0;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
907
qlge->fdesc.unprotect_sector_cmd = 0;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
908
qlge->fdesc.protect_sector_cmd = 0;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
909
qlge->fdesc.write_disable_bits = 0x9c;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
910
qlge->fdesc.block_size = 0x10000;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
911
qlge->fdesc.erase_cmd = 0xd8;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
93
size, startpos, qlge->fdesc.flash_size);
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
963
qlge->fdesc.write_statusreg_cmd = 1;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
964
qlge->fdesc.write_enable_bits = 0;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
965
qlge->fdesc.unprotect_sector_cmd = 0;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
966
qlge->fdesc.protect_sector_cmd = 0;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
967
qlge->fdesc.write_disable_bits = 0x9c;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
968
qlge->fdesc.block_size = 0x10000;
usr/src/uts/common/io/fibre-channel/fca/qlge/qlge_flash.c
969
qlge->fdesc.erase_cmd = 0xd8;
usr/src/uts/common/io/mac/mac.c
5937
flow_desc_t *fdesc;
usr/src/uts/common/io/mac/mac.c
5954
fdesc = &flent->fe_flow_desc;
usr/src/uts/common/io/mac/mac.c
5959
bcopy(fdesc->fd_src_mac, ndesc->nd_ehost, ETHERADDRL);
usr/src/uts/common/io/mac/mac.c
5960
bcopy(fdesc->fd_dst_mac, ndesc->nd_edest, ETHERADDRL);
usr/src/uts/common/io/mac/mac.c
5961
ndesc->nd_sap = htonl(fdesc->fd_sap);
usr/src/uts/common/io/mac/mac.c
5962
ndesc->nd_isv4 = (uint8_t)fdesc->fd_ipversion == IPV4_VERSION;
usr/src/uts/common/io/mac/mac.c
5965
ndesc->nd_saddr[3] = htonl(fdesc->fd_local_addr.s6_addr32[3]);
usr/src/uts/common/io/mac/mac.c
5966
ndesc->nd_daddr[3] = htonl(fdesc->fd_remote_addr.s6_addr32[3]);
usr/src/uts/common/io/mac/mac.c
5968
bcopy(&fdesc->fd_local_addr, ndesc->nd_saddr, IPV6_ADDR_LEN);
usr/src/uts/common/io/mac/mac.c
5969
bcopy(&fdesc->fd_remote_addr, ndesc->nd_daddr, IPV6_ADDR_LEN);
usr/src/uts/common/io/mac/mac.c
5971
ndesc->nd_sport = htons(fdesc->fd_local_port);
usr/src/uts/common/io/mac/mac.c
5972
ndesc->nd_dport = htons(fdesc->fd_remote_port);
usr/src/uts/common/io/mac/mac.c
5973
ndesc->nd_protocol = (uint8_t)fdesc->fd_protocol;
usr/src/uts/common/sys/fibre-channel/fca/qlc/ql_xioctl.h
387
flash_desc_t fdesc;
usr/src/uts/common/sys/fibre-channel/fca/qlge/qlge.h
782
flash_desc_t fdesc;