bin/df/df.c
407
char *header;
bin/df/df.c
413
header = " Size";
bin/df/df.c
414
headerlen = strlen(header);
bin/df/df.c
416
maxwidth, maxwidth, "Filesystem", header);
bin/df/df.c
420
header = "1K-blocks";
bin/df/df.c
421
headerlen = strlen(header);
bin/df/df.c
423
header = getbsize(&headerlen, &blocksize);
bin/df/df.c
425
maxwidth, maxwidth, "Filesystem", header);
bin/ps/keyword.c
249
needheader |= v->header[0] != '\0';
bin/ps/keyword.c
274
if (hp == NULL && v->header[0] != '\0')
bin/ps/keyword.c
275
hp = v->header;
bin/ps/keyword.c
283
v->header = hp;
bin/ps/print.c
87
(void)printf("%s", v->header);
bin/ps/print.c
89
(void)printf("%-*s", v->width, v->header);
bin/ps/print.c
91
(void)printf("%*s", v->width, v->header);
bin/ps/ps.c
431
i = strlen(v->header);
bin/ps/ps.h
54
char *header; /* default header */
games/monop/print.c
184
printf("\t%s\n", header);
games/monop/print.c
37
static const char *header = "Name Own Price Mg # Rent";
games/monop/print.c
49
printf("%s\t%s\n", header, header);
games/monop/print.c
64
printf("%s Player\n", header);
lib/libagentx/ax.c
100
struct ax_pdu_header header;
lib/libagentx/ax.c
1207
ax_pdutoh16(struct ax_pdu_header *header, uint8_t *buf)
lib/libagentx/ax.c
1212
if (header->aph_flags & AX_PDU_FLAG_NETWORK_BYTE_ORDER)
lib/libagentx/ax.c
1218
ax_pdutoh32(struct ax_pdu_header *header, uint8_t *buf)
lib/libagentx/ax.c
1223
if (header->aph_flags & AX_PDU_FLAG_NETWORK_BYTE_ORDER)
lib/libagentx/ax.c
1229
ax_pdutoh64(struct ax_pdu_header *header, uint8_t *buf)
lib/libagentx/ax.c
1234
if (header->aph_flags & AX_PDU_FLAG_NETWORK_BYTE_ORDER)
lib/libagentx/ax.c
1240
ax_pdutooid(struct ax_pdu_header *header, struct ax_oid *oid,
lib/libagentx/ax.c
1268
oid->aoi_id[i] = ax_pdutoh32(header, buf);
lib/libagentx/ax.c
1278
ax_pdutoostring(struct ax_pdu_header *header,
lib/libagentx/ax.c
128
header.aph_version = *u8++;
lib/libagentx/ax.c
1286
ostring->aos_slen = ax_pdutoh32(header, buf);
lib/libagentx/ax.c
129
header.aph_type = *u8++;
lib/libagentx/ax.c
130
header.aph_flags = *u8++;
lib/libagentx/ax.c
1308
ax_pdutovarbind(struct ax_pdu_header *header,
lib/libagentx/ax.c
1318
varbind->avb_type = ax_pdutoh16(header, buf);
lib/libagentx/ax.c
132
header.aph_sessionid = ax_pdutoh32(&header, u8);
lib/libagentx/ax.c
1322
nread = ax_pdutooid(header, &(varbind->avb_oid), buf, rawlen);
lib/libagentx/ax.c
1333
varbind->avb_data.avb_int32 = ax_pdutoh32(header, buf);
lib/libagentx/ax.c
134
header.aph_transactionid = ax_pdutoh32(&header, u8);
lib/libagentx/ax.c
1340
varbind->avb_data.avb_uint32 = ax_pdutoh32(header, buf);
lib/libagentx/ax.c
1345
varbind->avb_data.avb_uint64 = ax_pdutoh64(header, buf);
lib/libagentx/ax.c
1350
nread = ax_pdutoostring(header,
lib/libagentx/ax.c
1356
nread = ax_pdutooid(header, &(varbind->avb_data.avb_oid),
lib/libagentx/ax.c
136
header.aph_packetid = ax_pdutoh32(&header, u8);
lib/libagentx/ax.c
138
header.aph_plength = ax_pdutoh32(&header, u8);
lib/libagentx/ax.c
140
if (header.aph_version != 1) {
lib/libagentx/ax.c
144
if (ax->ax_rblen < AX_PDU_HEADER + header.aph_plength) {
lib/libagentx/ax.c
145
if (AX_PDU_HEADER + header.aph_plength > ax->ax_rbsize) {
lib/libagentx/ax.c
146
rbsize = (((AX_PDU_HEADER + header.aph_plength)
lib/libagentx/ax.c
155
header.aph_plength - (ax->ax_rblen - AX_PDU_HEADER));
lib/libagentx/ax.c
161
if (ax->ax_rblen < AX_PDU_HEADER + header.aph_plength) {
lib/libagentx/ax.c
170
memcpy(&(pdu->ap_header), &header, sizeof(header));
lib/libagentx/ax.c
197
nread = ax_pdutoostring(&header, &(pdu->ap_context), u8,
lib/libagentx/ax.c
212
ax_pdutoh16(&header, u8);
lib/libagentx/ax.c
215
ax_pdutoh16(&header, u8);
lib/libagentx/ax.c
231
if ((nread = ax_pdutooid(&header, &(sr->asr_start),
lib/libagentx/ax.c
236
if ((nread = ax_pdutooid(&header, &(sr->asr_stop),
lib/libagentx/ax.c
252
nread = ax_pdutovarbind(&header,
lib/libagentx/ax.c
293
response->ap_uptime = ax_pdutoh32(&header, u8);
lib/libagentx/ax.c
295
response->ap_error = ax_pdutoh16(&header, u8);
lib/libagentx/ax.c
297
response->ap_index = ax_pdutoh16(&header, u8);
lib/libagentx/ax.c
307
nread = ax_pdutovarbind(&header,
lib/libagentx/ax.c
960
struct ax_pdu_header header;
lib/libagentx/ax.c
964
header.aph_flags = ax->ax_byteorder == AX_BYTE_ORDER_BE ?
lib/libagentx/ax.c
966
packetid = ax_pdutoh32(&header, &(ax->ax_wbuf[ax->ax_wblen + 12]));
lib/libc/asr/getrrsetbyname_async.c
238
HEADER header;
lib/libc/asr/getrrsetbyname_async.c
273
if (response->header.qdcount != 1) {
lib/libc/asr/getrrsetbyname_async.c
287
rrset->rri_nrdatas = response->header.ancount;
lib/libc/asr/getrrsetbyname_async.c
290
if (response->header.ad == 1)
lib/libc/asr/getrrsetbyname_async.c
381
memcpy(&resp->header, cp, HFIXEDSZ);
lib/libc/asr/getrrsetbyname_async.c
385
resp->header.qdcount = ntohs(resp->header.qdcount);
lib/libc/asr/getrrsetbyname_async.c
386
resp->header.ancount = ntohs(resp->header.ancount);
lib/libc/asr/getrrsetbyname_async.c
387
resp->header.nscount = ntohs(resp->header.nscount);
lib/libc/asr/getrrsetbyname_async.c
388
resp->header.arcount = ntohs(resp->header.arcount);
lib/libc/asr/getrrsetbyname_async.c
391
if (resp->header.qdcount < 1) {
lib/libc/asr/getrrsetbyname_async.c
398
resp->header.qdcount);
lib/libc/asr/getrrsetbyname_async.c
399
if (resp->header.qdcount && resp->query == NULL) {
lib/libc/asr/getrrsetbyname_async.c
406
resp->header.ancount);
lib/libc/asr/getrrsetbyname_async.c
407
if (resp->header.ancount && resp->answer == NULL) {
lib/libc/asr/getrrsetbyname_async.c
414
resp->header.nscount);
lib/libc/asr/getrrsetbyname_async.c
415
if (resp->header.nscount && resp->authority == NULL) {
lib/libc/asr/getrrsetbyname_async.c
422
resp->header.arcount);
lib/libc/asr/getrrsetbyname_async.c
423
if (resp->header.arcount && resp->additional == NULL) {
lib/libc/gen/getbsize.c
100
return (header);
lib/libc/gen/getbsize.c
39
static char header[20];
lib/libc/gen/getbsize.c
94
*headerlenp = snprintf(header, sizeof(header), "%ld%s-blocks", n, form);
lib/libc/gen/getbsize.c
97
else if (*headerlenp >= sizeof(header))
lib/libc/gen/getbsize.c
98
*headerlenp = sizeof(header) - 1;
lib/libc/rpc/xdr_rec.c
673
u_int32_t header;
lib/libc/rpc/xdr_rec.c
677
if (! get_input_bytes(rstrm, (caddr_t)&header, sizeof(header)))
lib/libc/rpc/xdr_rec.c
679
header = (long)ntohl(header);
lib/libc/rpc/xdr_rec.c
680
rstrm->last_frag = ((header & LAST_FRAG) == 0) ? FALSE : TRUE;
lib/libc/rpc/xdr_rec.c
689
if (header == 0)
lib/libc/rpc/xdr_rec.c
691
rstrm->fbtbc = header & (~LAST_FRAG);
lib/libcrypto/bytestring/bs_cbs.c
362
CBS header = *cbs;
lib/libcrypto/bytestring/bs_cbs.c
373
if (!CBS_get_u8(&header, &tag) || !CBS_get_u8(&header, &length_byte))
lib/libcrypto/bytestring/bs_cbs.c
418
if (!cbs_get_u(&header, &len32, num_bytes))
lib/libcrypto/pem/pem.h
322
int PEM_get_EVP_CIPHER_INFO(char *header, EVP_CIPHER_INFO *cipher);
lib/libcrypto/pem/pem.h
327
int PEM_read_bio(BIO *bp, char **name, char **header,
lib/libcrypto/pem/pem.h
343
int PEM_read(FILE *fp, char **name, char **header,
lib/libcrypto/pem/pem_info.c
141
char *name = NULL, *header = NULL;
lib/libcrypto/pem/pem_info.c
164
if (!PEM_read_bio(bp, &name, &header, &data, &len)) {
lib/libcrypto/pem/pem_info.c
217
if (strlen(header) > 10) /* assume encrypted */
lib/libcrypto/pem/pem_info.c
237
if (strlen(header) > 10) /* assume encrypted */
lib/libcrypto/pem/pem_info.c
257
if (strlen(header) > 10) /* assume encrypted */
lib/libcrypto/pem/pem_info.c
270
if (!PEM_get_EVP_CIPHER_INFO(header, &cipher))
lib/libcrypto/pem/pem_info.c
286
if (!PEM_get_EVP_CIPHER_INFO(header,
lib/libcrypto/pem/pem_info.c
297
free(header);
lib/libcrypto/pem/pem_info.c
300
header = NULL;
lib/libcrypto/pem/pem_info.c
325
free(header);
lib/libcrypto/pem/pem_lib.c
283
char *nm = NULL, *header = NULL;
lib/libcrypto/pem/pem_lib.c
289
if (!PEM_read_bio(bp, &nm, &header, &data, &len)) {
lib/libcrypto/pem/pem_lib.c
298
free(header);
lib/libcrypto/pem/pem_lib.c
301
if (!PEM_get_EVP_CIPHER_INFO(header, &cipher))
lib/libcrypto/pem/pem_lib.c
317
free(header);
lib/libcrypto/pem/pem_lib.c
489
PEM_get_EVP_CIPHER_INFO(char *header, EVP_CIPHER_INFO *cipher)
lib/libcrypto/pem/pem_lib.c
493
char **header_pp = &header;
lib/libcrypto/pem/pem_lib.c
496
if ((header == NULL) || (*header == '\0') || (*header == '\n'))
lib/libcrypto/pem/pem_lib.c
498
if (strncmp(header, "Proc-Type: ", 11) != 0) {
lib/libcrypto/pem/pem_lib.c
502
header += 11;
lib/libcrypto/pem/pem_lib.c
503
if (*header != '4')
lib/libcrypto/pem/pem_lib.c
505
header++;
lib/libcrypto/pem/pem_lib.c
506
if (*header != ',')
lib/libcrypto/pem/pem_lib.c
508
header++;
lib/libcrypto/pem/pem_lib.c
509
if (strncmp(header, "ENCRYPTED", 9) != 0) {
lib/libcrypto/pem/pem_lib.c
513
for (; (*header != '\n') && (*header != '\0'); header++)
lib/libcrypto/pem/pem_lib.c
515
if (*header == '\0') {
lib/libcrypto/pem/pem_lib.c
519
header++;
lib/libcrypto/pem/pem_lib.c
520
if (strncmp(header, "DEK-Info: ", 10) != 0) {
lib/libcrypto/pem/pem_lib.c
524
header += 10;
lib/libcrypto/pem/pem_lib.c
526
p = header;
lib/libcrypto/pem/pem_lib.c
528
c= *header;
lib/libcrypto/pem/pem_lib.c
532
header++;
lib/libcrypto/pem/pem_lib.c
534
*header = '\0';
lib/libcrypto/pem/pem_lib.c
536
*header = c;
lib/libcrypto/pem/pem_lib.c
537
header++;
lib/libcrypto/pem/pem_lib.c
580
PEM_write(FILE *fp, const char *name, const char *header,
lib/libcrypto/pem/pem_lib.c
591
ret = PEM_write_bio(b, name, header, data, len);
lib/libcrypto/pem/pem_lib.c
598
PEM_write_bio(BIO *bp, const char *name, const char *header,
lib/libcrypto/pem/pem_lib.c
614
if (header != NULL && (i = strlen(header)) > 0) {
lib/libcrypto/pem/pem_lib.c
615
if ((BIO_write(bp, header, i) != i) ||
lib/libcrypto/pem/pem_lib.c
656
PEM_read(FILE *fp, char **name, char **header, unsigned char **data, long *len)
lib/libcrypto/pem/pem_lib.c
666
ret = PEM_read_bio(b, name, header, data, len);
lib/libcrypto/pem/pem_lib.c
673
PEM_read_bio(BIO *bp, char **name, char **header, unsigned char **data,
lib/libcrypto/pem/pem_lib.c
829
*header = headerB->data;
lib/libfido2/src/iso7816.c
21
apdu->header.cla = cla;
lib/libfido2/src/iso7816.c
22
apdu->header.ins = ins;
lib/libfido2/src/iso7816.c
23
apdu->header.p1 = p1;
lib/libfido2/src/iso7816.c
24
apdu->header.lc2 = (uint8_t)((payload_len >> 8) & 0xff);
lib/libfido2/src/iso7816.c
25
apdu->header.lc3 = (uint8_t)(payload_len & 0xff);
lib/libfido2/src/iso7816.c
56
return (const unsigned char *)&apdu->header;
lib/libfido2/src/iso7816.c
62
return apdu->alloc_len - offsetof(iso7816_apdu_t, header) -
lib/libfido2/src/iso7816.h
34
iso7816_header_t header;
lib/libssl/bs_cbs.c
362
CBS header = *cbs;
lib/libssl/bs_cbs.c
373
if (!CBS_get_u8(&header, &tag) || !CBS_get_u8(&header, &length_byte))
lib/libssl/bs_cbs.c
418
if (!cbs_get_u(&header, &len32, num_bytes))
lib/libssl/d1_both.c
1172
dtls1_get_message_header(CBS *header, struct hm_header_st *msg_hdr)
lib/libssl/d1_both.c
1180
if (!CBS_get_u8(header, &type))
lib/libssl/d1_both.c
1182
if (!CBS_get_u24(header, &msg_len))
lib/libssl/d1_both.c
1184
if (!CBS_get_u16(header, &seq))
lib/libssl/d1_both.c
1186
if (!CBS_get_u24(header, &frag_off))
lib/libssl/d1_both.c
1188
if (!CBS_get_u24(header, &frag_len))
lib/libssl/d1_pkt.c
431
CBS header, seq_no;
lib/libssl/d1_pkt.c
445
CBS_init(&header, s->packet, s->packet_length);
lib/libssl/d1_pkt.c
448
if (!CBS_get_u8(&header, &type))
lib/libssl/d1_pkt.c
450
if (!CBS_get_u16(&header, &ssl_version))
lib/libssl/d1_pkt.c
454
if (!CBS_get_bytes(&header, &seq_no, SSL3_SEQUENCE_SIZE))
lib/libssl/d1_pkt.c
462
if (!CBS_get_u16(&header, &len))
lib/libssl/d1_pkt.c
482
p = (unsigned char *)CBS_data(&header);
lib/libssl/dtls_local.h
210
int dtls1_get_message_header(CBS *header, struct hm_header_st *msg_hdr);
lib/libssl/s3_cbc.c
380
size_t* md_out_size, const unsigned char header[13],
lib/libssl/s3_cbc.c
551
memcpy(first_block, header, 13);
lib/libssl/s3_cbc.c
571
b = header[k];
lib/libssl/ssl_local.h
1433
size_t *md_out_size, const unsigned char header[13],
lib/libssl/ssl_pkt.c
345
CBS header;
lib/libssl/ssl_pkt.c
355
CBS_init(&header, s->packet, SSL3_RT_HEADER_LENGTH);
lib/libssl/ssl_pkt.c
358
if (!CBS_get_u8(&header, &type) ||
lib/libssl/ssl_pkt.c
359
!CBS_get_u16(&header, &ssl_version) ||
lib/libssl/ssl_pkt.c
360
!CBS_get_u16(&header, &len)) {
lib/libssl/tls12_record_layer.c
1123
uint8_t *header = NULL;
lib/libssl/tls12_record_layer.c
1146
seq_num, &header, &header_len))
lib/libssl/tls12_record_layer.c
1157
rp->aead_nonce, rp->aead_nonce_len, content, content_len, header,
lib/libssl/tls12_record_layer.c
1167
freezero(header, header_len);
lib/libssl/tls12_record_layer.c
659
uint8_t *header = NULL;
lib/libssl/tls12_record_layer.c
671
seq_num, &header, &header_len))
lib/libssl/tls12_record_layer.c
674
if (EVP_DigestSignUpdate(mac_ctx, header, header_len) <= 0)
lib/libssl/tls12_record_layer.c
697
freezero(header, header_len);
lib/libssl/tls12_record_layer.c
707
uint8_t *header = NULL;
lib/libssl/tls12_record_layer.c
721
seq_num, &header, &header_len))
lib/libssl/tls12_record_layer.c
726
if (!ssl3_cbc_digest_record(rl->read->hash_ctx, mac, &out_mac_len, header,
lib/libssl/tls12_record_layer.c
736
freezero(header, header_len);
lib/libssl/tls12_record_layer.c
853
uint8_t *header = NULL;
lib/libssl/tls12_record_layer.c
892
seq_num, &header, &header_len))
lib/libssl/tls12_record_layer.c
897
CBS_len(fragment), header, header_len)) {
lib/libssl/tls12_record_layer.c
917
freezero(header, header_len);
lib/libssl/tls13_record_layer.c
557
CBS header, enc_record, inner;
lib/libssl/tls13_record_layer.c
566
if (!tls13_record_header(rl->rrec, &header))
lib/libssl/tls13_record_layer.c
584
CBS_data(&header), CBS_len(&header)))
lib/libssl/tls13_record_layer.c
695
uint8_t *data = NULL, *header = NULL, *inner = NULL;
lib/libssl/tls13_record_layer.c
736
if (!CBB_finish(&cbb, &header, &header_len))
lib/libssl/tls13_record_layer.c
742
if (!CBB_add_bytes(&cbb, header, header_len))
lib/libssl/tls13_record_layer.c
761
inner, inner_len, header, header_len))
lib/libssl/tls13_record_layer.c
785
freezero(header, header_len);
lib/libz/deflate.c
1029
uInt header = (Z_DEFLATED + ((s->w_bits - 8) << 4)) << 8;
lib/libz/deflate.c
1040
header |= (level_flags << 6);
lib/libz/deflate.c
1041
if (s->strstart != 0) header |= PRESET_DICT;
lib/libz/deflate.c
1042
header += 31 - (header % 31);
lib/libz/deflate.c
1044
putShortMSB(s, header);
lib/libz/trees.c
387
FILE *header = fopen("trees.h", "w");
lib/libz/trees.c
390
Assert (header != NULL, "Can't open trees.h");
lib/libz/trees.c
391
fprintf(header,
lib/libz/trees.c
394
fprintf(header, "local const ct_data static_ltree[L_CODES+2] = {\n");
lib/libz/trees.c
396
fprintf(header, "{{%3u},{%3u}}%s", static_ltree[i].Code,
lib/libz/trees.c
400
fprintf(header, "local const ct_data static_dtree[D_CODES] = {\n");
lib/libz/trees.c
402
fprintf(header, "{{%2u},{%2u}}%s", static_dtree[i].Code,
lib/libz/trees.c
406
fprintf(header, "const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = {\n");
lib/libz/trees.c
408
fprintf(header, "%2u%s", _dist_code[i],
lib/libz/trees.c
412
fprintf(header,
lib/libz/trees.c
415
fprintf(header, "%2u%s", _length_code[i],
lib/libz/trees.c
419
fprintf(header, "local const int base_length[LENGTH_CODES] = {\n");
lib/libz/trees.c
421
fprintf(header, "%1u%s", base_length[i],
lib/libz/trees.c
425
fprintf(header, "local const int base_dist[D_CODES] = {\n");
lib/libz/trees.c
427
fprintf(header, "%5u%s", base_dist[i],
lib/libz/trees.c
431
fclose(header);
libexec/login_ldap/aldap.h
64
struct ber_element *header;
regress/lib/libc/asr/bin/common.c
549
unpack_header(struct packed *p, struct header *h)
regress/lib/libc/asr/bin/common.h
134
int pack_header(struct packed*, const struct header*);
regress/lib/libc/asr/bin/common.h
136
int unpack_header(struct packed*, struct header*);
regress/lib/libc/asr/bin/res_mkquery.c
110
print_header(struct header *h, char *buf, size_t max)
regress/lib/libc/asr/bin/res_mkquery.c
132
struct header h;
regress/lib/libc/asr/bin/res_query.c
146
print_header(struct header *h, char *buf, size_t max)
regress/lib/libc/asr/bin/res_query.c
168
struct header h;
regress/sbin/isakmpd/common/log.c
16
log_debug_buf(int cls, int level, const char *header, const u_int8_t *buf,
regress/sys/kern/unveil/access.c
21
const char* header = "unveil:access\n";
regress/sys/kern/unveil/access.c
33
fwrite(header, strlen(header), 1, log);
regress/usr.sbin/snmpd/agentx.c
117
static size_t poid(const char *, const struct header *, const uint8_t *, size_t,
regress/usr.sbin/snmpd/agentx.c
216
struct header *header = (struct header *)repl;
regress/usr.sbin/snmpd/agentx.c
232
sessionid = le32toh(header->sessionid);
regress/usr.sbin/snmpd/agentx.c
2402
const struct header *header = buf;
regress/usr.sbin/snmpd/agentx.c
2411
if (len < sizeof(*header))
regress/usr.sbin/snmpd/agentx.c
2413
if (header->version != 1)
regress/usr.sbin/snmpd/agentx.c
2415
if (header->type != AGENTX_GET_PDU)
regress/usr.sbin/snmpd/agentx.c
2416
errx(1, "%s: invalid pdu type received (%hhu/5)", test, header->type);
regress/usr.sbin/snmpd/agentx.c
2417
if (header->flags != flags)
regress/usr.sbin/snmpd/agentx.c
2419
test, header->flags, flags);
regress/usr.sbin/snmpd/agentx.c
2420
if (header->reserved != 0)
regress/usr.sbin/snmpd/agentx.c
2422
if (p32toh(header, header->sessionid) != sessionid)
regress/usr.sbin/snmpd/agentx.c
2424
p32toh(header, header->sessionid), sessionid);
regress/usr.sbin/snmpd/agentx.c
2425
if (p32toh(header, header->payload_length) > len - sizeof(*header))
regress/usr.sbin/snmpd/agentx.c
2429
buf += sizeof(*header);
regress/usr.sbin/snmpd/agentx.c
2430
len = p32toh(header, header->payload_length);
regress/usr.sbin/snmpd/agentx.c
2437
sublen = poid(test, header, buf, len, &start);
regress/usr.sbin/snmpd/agentx.c
2440
sublen = poid(test, header, buf, len, &end);
regress/usr.sbin/snmpd/agentx.c
2470
const struct header *header = buf;
regress/usr.sbin/snmpd/agentx.c
2479
if (len < sizeof(*header))
regress/usr.sbin/snmpd/agentx.c
248
if (sessionid == le32toh(header->sessionid))
regress/usr.sbin/snmpd/agentx.c
2481
if (header->version != 1)
regress/usr.sbin/snmpd/agentx.c
2483
if (header->type != AGENTX_GETNEXT_PDU)
regress/usr.sbin/snmpd/agentx.c
2484
errx(1, "%s: invalid pdu type received (%hhu/6)", test, header->type);
regress/usr.sbin/snmpd/agentx.c
2485
if (header->flags != flags)
regress/usr.sbin/snmpd/agentx.c
2487
test, header->flags, flags);
regress/usr.sbin/snmpd/agentx.c
2488
if (header->reserved != 0)
regress/usr.sbin/snmpd/agentx.c
2490
if (p32toh(header, header->sessionid) != sessionid)
regress/usr.sbin/snmpd/agentx.c
2492
p32toh(header, header->sessionid), sessionid);
regress/usr.sbin/snmpd/agentx.c
2493
if (p32toh(header, header->payload_length) > len - sizeof(*header))
regress/usr.sbin/snmpd/agentx.c
2497
buf += sizeof(*header);
regress/usr.sbin/snmpd/agentx.c
2498
len = p32toh(header, header->payload_length);
regress/usr.sbin/snmpd/agentx.c
2505
sublen = poid(test, header, buf, len, &start);
regress/usr.sbin/snmpd/agentx.c
2508
sublen = poid(test, header, buf, len, &end);
regress/usr.sbin/snmpd/agentx.c
2571
const struct header *header = buf;
regress/usr.sbin/snmpd/agentx.c
2581
if (len < sizeof(*header))
regress/usr.sbin/snmpd/agentx.c
2583
if (header->version != 1)
regress/usr.sbin/snmpd/agentx.c
2585
if (header->type != AGENTX_GETNEXT_PDU &&
regress/usr.sbin/snmpd/agentx.c
2586
header->type != AGENTX_GETBULK_PDU)
regress/usr.sbin/snmpd/agentx.c
2588
test, header->type);
regress/usr.sbin/snmpd/agentx.c
2589
if (header->flags != flags)
regress/usr.sbin/snmpd/agentx.c
2591
test, header->flags, flags);
regress/usr.sbin/snmpd/agentx.c
2592
if (header->reserved != 0)
regress/usr.sbin/snmpd/agentx.c
2594
if (p32toh(header, header->sessionid) != sessionid)
regress/usr.sbin/snmpd/agentx.c
2596
p32toh(header, header->sessionid), sessionid);
regress/usr.sbin/snmpd/agentx.c
2597
if (p32toh(header, header->payload_length) > len - sizeof(*header))
regress/usr.sbin/snmpd/agentx.c
2601
buf += sizeof(*header);
regress/usr.sbin/snmpd/agentx.c
2602
len = p32toh(header, header->payload_length);
regress/usr.sbin/snmpd/agentx.c
2604
if (header->type == AGENTX_GETBULK_PDU) {
regress/usr.sbin/snmpd/agentx.c
2609
nonrep = p16toh(header, u16);
regress/usr.sbin/snmpd/agentx.c
2611
maxrep = p16toh(header, u16);
regress/usr.sbin/snmpd/agentx.c
2618
sublen = poid(test, header, buf, len, &start);
regress/usr.sbin/snmpd/agentx.c
2621
sublen = poid(test, header, buf, len, &end);
regress/usr.sbin/snmpd/agentx.c
2665
const struct header *header = buf;
regress/usr.sbin/snmpd/agentx.c
2670
if (len != sizeof(*header) + 4)
regress/usr.sbin/snmpd/agentx.c
2672
if (header->version != 1)
regress/usr.sbin/snmpd/agentx.c
2674
if (header->type != AGENTX_CLOSE_PDU)
regress/usr.sbin/snmpd/agentx.c
2675
errx(1, "%s: invalid pdu type received (%hhu/2)", test, header->type);
regress/usr.sbin/snmpd/agentx.c
2676
if (header->flags != flags)
regress/usr.sbin/snmpd/agentx.c
2678
test, header->flags, flags);
regress/usr.sbin/snmpd/agentx.c
2679
if (header->reserved != 0)
regress/usr.sbin/snmpd/agentx.c
2681
if (p32toh(header, header->payload_length) != 4)
regress/usr.sbin/snmpd/agentx.c
2685
u8 = buf + sizeof(*header);
regress/usr.sbin/snmpd/agentx.c
2698
const struct header *header = buf;
regress/usr.sbin/snmpd/agentx.c
2705
if (len < sizeof(*header) + 8)
regress/usr.sbin/snmpd/agentx.c
2707
if (header->version != 1)
regress/usr.sbin/snmpd/agentx.c
2709
if (header->type != AGENTX_RESPONSE_PDU)
regress/usr.sbin/snmpd/agentx.c
2710
errx(1, "%s: invalid pdu type received (%hhu/18)", test, header->type);
regress/usr.sbin/snmpd/agentx.c
2711
if (header->flags != flags)
regress/usr.sbin/snmpd/agentx.c
2713
test, header->flags, flags);
regress/usr.sbin/snmpd/agentx.c
2714
if (header->reserved != 0)
regress/usr.sbin/snmpd/agentx.c
2716
if (p32toh(header, header->packetid) != packetid)
regress/usr.sbin/snmpd/agentx.c
2721
if (p32toh(header, header->payload_length) < 8 ||
regress/usr.sbin/snmpd/agentx.c
2722
p32toh(header, header->payload_length) > len - sizeof(*header))
regress/usr.sbin/snmpd/agentx.c
2726
buf += sizeof(*header);
regress/usr.sbin/snmpd/agentx.c
2727
len = p32toh(header, header->payload_length);
regress/usr.sbin/snmpd/agentx.c
2729
if ((p32toh(header, u32) & 0xF0000000) != 0)
regress/usr.sbin/snmpd/agentx.c
2734
if (p16toh(header, u16) != error)
regress/usr.sbin/snmpd/agentx.c
2736
test, p16toh(header, u16), error);
regress/usr.sbin/snmpd/agentx.c
2739
if (p16toh(header, u16) != index)
regress/usr.sbin/snmpd/agentx.c
2741
test, p16toh(header, u16), index);
regress/usr.sbin/snmpd/agentx.c
2750
type = p16toh(header, type);
regress/usr.sbin/snmpd/agentx.c
2761
sublen = poid(test, header, buf, len, &name);
regress/usr.sbin/snmpd/agentx.c
2774
i32 = p32toh(header, i32);
regress/usr.sbin/snmpd/agentx.c
2820
struct header *header = (struct header *)repl;
regress/usr.sbin/snmpd/agentx.c
2837
return p32toh(header, header->sessionid);
regress/usr.sbin/snmpd/agentx.c
2848
struct header *header = (struct header *)repl;
regress/usr.sbin/snmpd/agentx.c
2897
struct header *header = buf;
regress/usr.sbin/snmpd/agentx.c
2906
p32toh(header, header->sessionid),
regress/usr.sbin/snmpd/agentx.c
2907
p32toh(header, header->transactionid),
regress/usr.sbin/snmpd/agentx.c
2908
p32toh(header, header->packetid));
regress/usr.sbin/snmpd/agentx.c
3076
poid(const char *test, const struct header *header, const uint8_t *buf, size_t len,
regress/usr.sbin/snmpd/agentx.c
3102
oid->subid[oid->n_subid++] = p32toh(header, subid);
regress/usr.sbin/snmpd/agentx.c
3161
struct header *header = msg->buf;
regress/usr.sbin/snmpd/agentx.c
3165
message_add_uint32(msg, len - sizeof(*header));
regress/usr.sbin/snmpd/agentx.c
77
#define p16toh(header, value) (uint16_t)(header->flags & NETWORK_BYTE_ORDER ? \
regress/usr.sbin/snmpd/agentx.c
79
#define p32toh(header, value) (uint32_t)(header->flags & NETWORK_BYTE_ORDER ? \
regress/usr.sbin/snmpd/agentx.c
81
#define p64toh(header, value) (uint64_t)(header->flags & NETWORK_BYTE_ORDER ? \
sbin/isakmpd/exchange.c
1123
exchange_dump_real(char *header, struct exchange *exchange, int class,
sbin/isakmpd/exchange.c
1129
size_t bufsize_max = LOG_SIZE - strlen(header) - 32;
sbin/isakmpd/exchange.c
1133
header, exchange, exchange->name ? exchange->name : "<unnamed>",
sbin/isakmpd/exchange.c
1137
LOG_DBG((class, level, "%s: icookie %08x%08x rcookie %08x%08x", header,
sbin/isakmpd/exchange.c
1154
LOG_DBG((class, level, "%s: msgid %08x %s", header,
sbin/isakmpd/exchange.c
1159
exchange_dump(char *header, struct exchange *exchange)
sbin/isakmpd/exchange.c
1161
exchange_dump_real(header, exchange, LOG_EXCHANGE, 10);
sbin/isakmpd/exchange.c
1500
char header[32];
sbin/isakmpd/exchange.c
1525
snprintf(header, sizeof header, "exchange_nonce: NONCE_%c",
sbin/isakmpd/exchange.c
1527
LOG_DBG_BUF((LOG_EXCHANGE, 80, header, *nonce, nonce_sz));
sbin/isakmpd/ike_auth.c
1029
snprintf(header, sizeof header, "rsa_sig_encode_hash: HASH_%c",
sbin/isakmpd/ike_auth.c
1031
LOG_DBG_BUF((LOG_MISC, 80, header, buf, hashsize));
sbin/isakmpd/ike_auth.c
1065
snprintf(header, sizeof header, "rsa_sig_encode_hash: SIG_%c",
sbin/isakmpd/ike_auth.c
1067
LOG_DBG_BUF((LOG_MISC, 80, header, buf + ISAKMP_SIG_DATA_OFF,
sbin/isakmpd/ike_auth.c
524
char header[80];
sbin/isakmpd/ike_auth.c
548
snprintf(header, sizeof header, "pre_shared_decode_hash: HASH_%c",
sbin/isakmpd/ike_auth.c
550
LOG_DBG_BUF((LOG_MISC, 80, header, *hash_p, hashsize));
sbin/isakmpd/ike_auth.c
569
char header[80];
sbin/isakmpd/ike_auth.c
808
snprintf(header, sizeof header, "rsa_sig_decode_hash: HASH_%c",
sbin/isakmpd/ike_auth.c
810
LOG_DBG_BUF((LOG_MISC, 80, header, *hash_p, hashsize));
sbin/isakmpd/ike_auth.c
822
char header[80];
sbin/isakmpd/ike_auth.c
833
snprintf(header, sizeof header, "pre_shared_encode_hash: HASH_%c",
sbin/isakmpd/ike_auth.c
835
LOG_DBG_BUF((LOG_MISC, 80, header, buf + ISAKMP_HASH_DATA_OFF,
sbin/isakmpd/ike_auth.c
848
char header[80];
sbin/isakmpd/ike_phase_1.c
1093
snprintf(header, sizeof header, "ike_phase_1_recv_ID: %s",
sbin/isakmpd/ike_phase_1.c
1095
LOG_DBG_BUF((LOG_NEGOTIATION, 40, header,
sbin/isakmpd/ike_phase_1.c
1110
char header[80];
sbin/isakmpd/ike_phase_1.c
1146
snprintf(header, sizeof header, "ike_phase_1_recv_AUTH: "
sbin/isakmpd/ike_phase_1.c
1148
LOG_DBG_BUF((LOG_NEGOTIATION, 80, header, hash->digest, hashsize));
sbin/isakmpd/ike_phase_1.c
790
char header[80];
sbin/isakmpd/ike_phase_1.c
942
snprintf(header, sizeof header, "ike_phase_1_send_ID: %s",
sbin/isakmpd/ike_phase_1.c
944
LOG_DBG_BUF((LOG_NEGOTIATION, 40, header, buf + ISAKMP_ID_DATA_OFF,
sbin/isakmpd/ike_phase_1.c
987
char header[80], *rs = 0, *rid = 0, *p;
sbin/isakmpd/ike_quick_mode.c
1823
char header[80];
sbin/isakmpd/ike_quick_mode.c
1911
snprintf(header, sizeof header,
sbin/isakmpd/ike_quick_mode.c
1914
LOG_DBG_BUF((LOG_NEGOTIATION, 90, header, msg->iov[i].iov_base,
sbin/isakmpd/ike_quick_mode.c
1921
snprintf(header, sizeof header, "responder_send_HASH_SA_NONCE: "
sbin/isakmpd/ike_quick_mode.c
1923
LOG_DBG_BUF((LOG_NEGOTIATION, 80, header, buf + ISAKMP_HASH_DATA_OFF,
sbin/isakmpd/ipsec.c
1653
char header[32];
sbin/isakmpd/ipsec.c
1663
snprintf(header, sizeof header, "ipsec_g_x: g^x%c",
sbin/isakmpd/ipsec.c
1665
LOG_DBG_BUF((LOG_MISC, 80, header, *g_x, ie->g_x_len));
sbin/isakmpd/ipsec.c
2433
char header[80];
sbin/isakmpd/ipsec.c
2463
snprintf(header, sizeof header,
sbin/isakmpd/ipsec.c
2465
LOG_DBG_BUF((LOG_MISC, 90, header, msg->iov[i].iov_base,
sbin/isakmpd/log.c
249
log_debug_buf(int cls, int level, const char *header, const u_int8_t *buf,
sbin/isakmpd/log.c
262
log_debug(cls, level, "%s:", header);
sbin/isakmpd/message.c
1922
message_dump_raw(char *header, struct message *msg, int class)
sbin/isakmpd/message.c
1927
LOG_DBG((class, 70, "%s: message %p", header, msg));
sbin/isakmpd/message.c
1936
LOG_DBG((class, 70, "%s: %s", header, buf));
sbin/isakmpd/message.c
1943
LOG_DBG((class, 70, "%s: %s", header, buf));
sbin/isakmpd/pf_key_v2.c
324
char header[80];
sbin/isakmpd/pf_key_v2.c
358
snprintf(header, sizeof header, "pf_key_v2_write: iov[%d]", i);
sbin/isakmpd/pf_key_v2.c
359
LOG_DBG_BUF((LOG_SYSDEP, 80, header,
sbin/isakmpd/sa.c
462
sa_dump(int cls, int level, char *header, struct sa *sa)
sbin/isakmpd/sa.c
468
LOG_DBG((cls, level, "%s: %p %s phase %d doi %d flags 0x%x", header,
sbin/isakmpd/sa.c
471
LOG_DBG((cls, level, "%s: icookie %08x%08x rcookie %08x%08x", header,
sbin/isakmpd/sa.c
474
LOG_DBG((cls, level, "%s: msgid %08x refcnt %d", header,
sbin/isakmpd/sa.c
476
LOG_DBG((cls, level, "%s: life secs %llu kb %llu", header, sa->seconds,
sbin/isakmpd/sa.c
480
LOG_DBG((cls, level, "%s: suite %d proto %d", header,
sbin/isakmpd/sa.c
484
header, proto->spi_sz[0], proto->spi[0], proto->spi_sz[1],
sbin/isakmpd/sa.c
486
LOG_DBG((cls, level, "%s: %s, %s", header,
sbin/isakmpd/sa.c
496
"%s: spi[%d]", header, i);
sbin/mount/mount.c
573
char *header;
sbin/mount/mount.c
575
header = getbsize(&headerlen, &blocksize);
sbin/mount/mount.c
577
"size", sf->mount_info.mfs_args.size / blocksize, header);
sbin/pfctl/pfctl.c
1232
u_int32_t header = 0;
sbin/pfctl/pfctl.c
1281
header++;
sbin/pfctl/pfctl.c
1282
if (format == PFCTL_SHOW_RULES && (pr.nr > 0 || header))
sbin/restore/tape.c
1111
accthdr(struct s_spcl *header)
sbin/restore/tape.c
1118
if (header->c_type == TS_TAPE) {
sbin/restore/tape.c
1121
if (header->c_firstrec)
sbin/restore/tape.c
1123
(long long)header->c_firstrec);
sbin/restore/tape.c
1155
switch (header->c_type) {
sbin/restore/tape.c
1159
blks = header->c_count;
sbin/restore/tape.c
1166
for (i = 0; i < header->c_count; i++)
sbin/restore/tape.c
1167
if (header->c_addr[i] != 0)
sbin/restore/tape.c
1172
prevtype = header->c_type;
sbin/restore/tape.c
1173
previno = header->c_inumber;
sbin/restore/tape.c
1181
findinode(struct s_spcl *header)
sbin/restore/tape.c
1192
if (header->c_magic != FS_UFS2_MAGIC) {
sbin/restore/tape.c
1194
while (gethead(header) == FAIL ||
sbin/restore/tape.c
1195
header->c_date != dumpdate)
sbin/restore/tape.c
1198
switch (header->c_type) {
sbin/restore/tape.c
1204
for (i = 0; i < header->c_count; i++)
sbin/restore/tape.c
1205
if (header->c_addr[i])
sbin/restore/tape.c
1207
while (gethead(header) == FAIL ||
sbin/restore/tape.c
1208
header->c_date != dumpdate)
sbin/restore/tape.c
1213
curfile.mode = header->c_mode;
sbin/restore/tape.c
1214
curfile.uid = header->c_uid;
sbin/restore/tape.c
1215
curfile.gid = header->c_gid;
sbin/restore/tape.c
1216
curfile.file_flags = header->c_file_flags;
sbin/restore/tape.c
1217
curfile.rdev = header->c_rdev;
sbin/restore/tape.c
1218
curfile.atime_sec = header->c_atime;
sbin/restore/tape.c
1219
curfile.atime_nsec = header->c_atimensec;
sbin/restore/tape.c
1220
curfile.mtime_sec = header->c_mtime;
sbin/restore/tape.c
1221
curfile.mtime_nsec = header->c_mtimensec;
sbin/restore/tape.c
1222
curfile.birthtime_sec = header->c_birthtime;
sbin/restore/tape.c
1223
curfile.birthtime_nsec = header->c_birthtimensec;
sbin/restore/tape.c
1224
curfile.size = header->c_size;
sbin/restore/tape.c
1225
curfile.ino = header->c_inumber;
sbin/restore/tape.c
1249
} while (header->c_type == TS_ADDR);
sbin/swapctl/swaplist.c
111
hlen, header,
sbin/swapctl/swaplist.c
50
char *header;
sbin/swapctl/swaplist.c
71
header = "1K-blocks";
sbin/swapctl/swaplist.c
73
hlen = strlen(header);
sbin/swapctl/swaplist.c
75
header = getbsize(&hlen, &blocksize);
sbin/swapctl/swaplist.c
83
pathmax, "Device", hlen, header,
sbin/unwind/libunbound/util/netevent.c
3600
struct pp2_header* header = NULL;
sbin/unwind/libunbound/util/netevent.c
3667
header = (struct pp2_header*)sldns_buffer_begin(c->buffer);
sbin/unwind/libunbound/util/netevent.c
3668
want_read_size = ntohs(header->len);
sbin/unwind/libunbound/util/netevent.c
3724
if(c->pp2_header_state != pp2_header_done || !header) {
sbin/unwind/libunbound/util/netevent.c
4024
struct pp2_header* header = NULL;
sbin/unwind/libunbound/util/netevent.c
4068
header = (struct pp2_header*)sldns_buffer_begin(c->buffer);
sbin/unwind/libunbound/util/netevent.c
4069
want_read_size = ntohs(header->len);
sbin/unwind/libunbound/util/netevent.c
4102
if(c->pp2_header_state != pp2_header_done || !header) {
sbin/unwind/libunbound/util/netevent.c
930
struct pp2_header *header;
sbin/unwind/libunbound/util/netevent.c
934
header = (struct pp2_header*)sldns_buffer_begin(buf);
sbin/unwind/libunbound/util/netevent.c
935
size = PP2_HEADER_SIZE + ntohs(header->len);
sbin/unwind/libunbound/util/netevent.c
936
if((header->ver_cmd & 0xF) == PP2_CMD_LOCAL) {
sbin/unwind/libunbound/util/netevent.c
941
if(header->fam_prot == PP2_UNSPEC_UNSPEC) {
sbin/unwind/libunbound/util/netevent.c
948
switch(header->fam_prot) {
sbin/unwind/libunbound/util/netevent.c
955
addr->sin_addr.s_addr = header->addr.addr4.src_addr;
sbin/unwind/libunbound/util/netevent.c
956
addr->sin_port = header->addr.addr4.src_port;
sbin/unwind/libunbound/util/netevent.c
969
header->addr.addr6.src_addr, 16);
sbin/unwind/libunbound/util/netevent.c
970
addr->sin6_port = header->addr.addr6.src_port;
sbin/unwind/libunbound/util/netevent.c
977
"protocol 0x%x", (int)header->fam_prot);
sbin/unwind/libunbound/util/netevent.c
986
memmove(header, ((char*)header)+size,
sbin/unwind/libunbound/util/proxy_protocol.c
168
struct pp2_header* header = (struct pp2_header*)buf;
sbin/unwind/libunbound/util/proxy_protocol.c
174
if(memcmp(header, PP2_SIG, PP2_SIG_LEN) != 0 ||
sbin/unwind/libunbound/util/proxy_protocol.c
175
((header->ver_cmd & 0xF0)>>4) != PP2_VERSION) {
sbin/unwind/libunbound/util/proxy_protocol.c
179
size = PP2_HEADER_SIZE + ntohs(header->len);
sbin/unwind/libunbound/util/proxy_protocol.c
184
if((header->ver_cmd & 0xF) != PP2_CMD_LOCAL &&
sbin/unwind/libunbound/util/proxy_protocol.c
185
(header->ver_cmd & 0xF) != PP2_CMD_PROXY) {
sbin/unwind/libunbound/util/proxy_protocol.c
189
if(header->fam_prot != PP2_UNSPEC_UNSPEC &&
sbin/unwind/libunbound/util/proxy_protocol.c
190
header->fam_prot != PP2_INET_STREAM &&
sbin/unwind/libunbound/util/proxy_protocol.c
191
header->fam_prot != PP2_INET_DGRAM &&
sbin/unwind/libunbound/util/proxy_protocol.c
192
header->fam_prot != PP2_INET6_STREAM &&
sbin/unwind/libunbound/util/proxy_protocol.c
193
header->fam_prot != PP2_INET6_DGRAM &&
sbin/unwind/libunbound/util/proxy_protocol.c
194
header->fam_prot != PP2_UNIX_STREAM &&
sbin/unwind/libunbound/util/proxy_protocol.c
195
header->fam_prot != PP2_UNIX_DGRAM) {
sys/arch/arm64/stand/efiboot/fdt.c
102
char *start = (char *)tree.header;
sys/arch/arm64/stand/efiboot/fdt.c
104
tree.header->fh_size = htobe32(tree.end - start);
sys/arch/arm64/stand/efiboot/fdt.c
105
tree.header->fh_struct_off = htobe32(tree.tree - start);
sys/arch/arm64/stand/efiboot/fdt.c
106
tree.header->fh_strings_off = htobe32(tree.strings - start);
sys/arch/arm64/stand/efiboot/fdt.c
107
tree.header->fh_reserve_off = htobe32(tree.memory - start);
sys/arch/arm64/stand/efiboot/fdt.c
108
tree.header->fh_strings_size = htobe32(tree.strings_size);
sys/arch/arm64/stand/efiboot/fdt.c
110
tree.header->fh_struct_size = htobe32(tree.struct_size);
sys/arch/arm64/stand/efiboot/fdt.c
85
tree.header = (struct fdt_head *)fdt;
sys/arch/arm64/stand/efiboot/fdt.c
86
tree.tree = (char *)fdt + betoh32(tree.header->fh_struct_off);
sys/arch/arm64/stand/efiboot/fdt.c
87
tree.strings = (char *)fdt + betoh32(tree.header->fh_strings_off);
sys/arch/arm64/stand/efiboot/fdt.c
88
tree.memory = (char *)fdt + betoh32(tree.header->fh_reserve_off);
sys/arch/arm64/stand/efiboot/fdt.c
89
tree.end = (char *)fdt + betoh32(tree.header->fh_size);
sys/arch/arm64/stand/efiboot/fdt.c
91
tree.strings_size = betoh32(tree.header->fh_strings_size);
sys/arch/arm64/stand/efiboot/fdt.c
93
tree.struct_size = betoh32(tree.header->fh_struct_size);
sys/arch/arm64/stand/efiboot/fdt.h
33
struct fdt_head *header;
sys/arch/armv7/stand/efiboot/fdt.c
102
char *start = (char *)tree.header;
sys/arch/armv7/stand/efiboot/fdt.c
104
tree.header->fh_size = htobe32(tree.end - start);
sys/arch/armv7/stand/efiboot/fdt.c
105
tree.header->fh_struct_off = htobe32(tree.tree - start);
sys/arch/armv7/stand/efiboot/fdt.c
106
tree.header->fh_strings_off = htobe32(tree.strings - start);
sys/arch/armv7/stand/efiboot/fdt.c
107
tree.header->fh_reserve_off = htobe32(tree.memory - start);
sys/arch/armv7/stand/efiboot/fdt.c
108
tree.header->fh_strings_size = htobe32(tree.strings_size);
sys/arch/armv7/stand/efiboot/fdt.c
110
tree.header->fh_struct_size = htobe32(tree.struct_size);
sys/arch/armv7/stand/efiboot/fdt.c
85
tree.header = (struct fdt_head *)fdt;
sys/arch/armv7/stand/efiboot/fdt.c
86
tree.tree = (char *)fdt + betoh32(tree.header->fh_struct_off);
sys/arch/armv7/stand/efiboot/fdt.c
87
tree.strings = (char *)fdt + betoh32(tree.header->fh_strings_off);
sys/arch/armv7/stand/efiboot/fdt.c
88
tree.memory = (char *)fdt + betoh32(tree.header->fh_reserve_off);
sys/arch/armv7/stand/efiboot/fdt.c
89
tree.end = (char *)fdt + betoh32(tree.header->fh_size);
sys/arch/armv7/stand/efiboot/fdt.c
91
tree.strings_size = betoh32(tree.header->fh_strings_size);
sys/arch/armv7/stand/efiboot/fdt.c
93
tree.struct_size = betoh32(tree.header->fh_struct_size);
sys/arch/armv7/stand/efiboot/fdt.h
33
struct fdt_head *header;
sys/arch/macppc/dev/adb.c
177
u_char header[ADB_MAX_HDR_LENGTH]; /* not used yet */
sys/arch/macppc/dev/pm_direct.c
186
u_char header[ADB_MAX_HDR_LENGTH]; /* not used yet */
sys/arch/riscv64/stand/efiboot/fdt.c
102
char *start = (char *)tree.header;
sys/arch/riscv64/stand/efiboot/fdt.c
104
tree.header->fh_size = htobe32(tree.end - start);
sys/arch/riscv64/stand/efiboot/fdt.c
105
tree.header->fh_struct_off = htobe32(tree.tree - start);
sys/arch/riscv64/stand/efiboot/fdt.c
106
tree.header->fh_strings_off = htobe32(tree.strings - start);
sys/arch/riscv64/stand/efiboot/fdt.c
107
tree.header->fh_reserve_off = htobe32(tree.memory - start);
sys/arch/riscv64/stand/efiboot/fdt.c
108
tree.header->fh_strings_size = htobe32(tree.strings_size);
sys/arch/riscv64/stand/efiboot/fdt.c
110
tree.header->fh_struct_size = htobe32(tree.struct_size);
sys/arch/riscv64/stand/efiboot/fdt.c
85
tree.header = (struct fdt_head *)fdt;
sys/arch/riscv64/stand/efiboot/fdt.c
86
tree.tree = (char *)fdt + betoh32(tree.header->fh_struct_off);
sys/arch/riscv64/stand/efiboot/fdt.c
87
tree.strings = (char *)fdt + betoh32(tree.header->fh_strings_off);
sys/arch/riscv64/stand/efiboot/fdt.c
88
tree.memory = (char *)fdt + betoh32(tree.header->fh_reserve_off);
sys/arch/riscv64/stand/efiboot/fdt.c
89
tree.end = (char *)fdt + betoh32(tree.header->fh_size);
sys/arch/riscv64/stand/efiboot/fdt.c
91
tree.strings_size = betoh32(tree.header->fh_strings_size);
sys/arch/riscv64/stand/efiboot/fdt.c
93
tree.struct_size = betoh32(tree.header->fh_struct_size);
sys/arch/riscv64/stand/efiboot/fdt.h
33
struct fdt_head *header;
sys/dev/fdt/qcsmem.c
158
struct qcsmem_header *header;
sys/dev/fdt/qcsmem.c
210
header = bus_space_vaddr(sc->sc_iot, sc->sc_ioh);
sys/dev/fdt/qcsmem.c
211
version = header->version[QCSMEM_HEADER_VERSION_MASTER_SBL_IDX] >> 16;
sys/dev/fdt/qcsmem.c
325
struct qcsmem_header *header;
sys/dev/fdt/qcsmem.c
328
header = bus_space_vaddr(sc->sc_iot, sc->sc_ioh);
sys/dev/fdt/qcsmem.c
329
entry = &header->toc[item];
sys/dev/fdt/qcsmem.c
334
if (size > header->available)
sys/dev/fdt/qcsmem.c
337
entry->offset = header->free_offset;
sys/dev/fdt/qcsmem.c
342
header->free_offset += size;
sys/dev/fdt/qcsmem.c
343
header->available -= size;
sys/dev/fdt/qcsmem.c
455
struct qcsmem_header *header;
sys/dev/fdt/qcsmem.c
459
header = bus_space_vaddr(sc->sc_iot, sc->sc_ioh);
sys/dev/fdt/qcsmem.c
460
entry = &header->toc[item];
sys/dev/ic/qla.c
1200
struct qla_sns_req_hdr *header;
sys/dev/ic/qla.c
1209
header = QLA_DMA_KVA(mem);
sys/dev/ic/qla.c
1210
htolem16(&header->resp_len, (QLA_DMA_LEN(mem) - reqsize) / 2);
sys/dev/ic/qla.c
1212
htolem32(&header->resp_addr_lo, dva);
sys/dev/ic/qla.c
1213
htolem32(&header->resp_addr_hi, dva >> 32);
sys/dev/ic/qla.c
1214
header->subcmd_len = htole16((reqsize - sizeof(*header)) / 2);
sys/dev/ic/qlareg.h
449
struct qla_sns_req_hdr header;
sys/dev/ic/qlareg.h
457
struct qla_sns_req_hdr header;
sys/dev/ic/qlareg.h
472
struct qla_sns_req_hdr header;
sys/dev/ic/qlareg.h
481
struct qla_sns_req_hdr header;
sys/dev/ic/qwx.c
11491
tlv_tag = FIELD_GET(WMI_TLV_TAG, tlv->header);
sys/dev/ic/qwx.c
11492
tlv_len = FIELD_GET(WMI_TLV_LEN, tlv->header);
sys/dev/ic/qwx.c
18712
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_STRUCT) |
sys/dev/ic/qwx.c
18999
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_UINT32) |
sys/dev/ic/qwx.c
19011
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_FIXED_STRUCT) |
sys/dev/ic/qwx.c
19029
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_FIXED_STRUCT) |
sys/dev/ic/qwx.c
19047
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_BYTE) |
sys/dev/ic/qwx.c
19059
tlv->header = FIELD_PREP(WMI_TLV_TAG,
sys/dev/ic/qwx.c
19075
tlv->header = FIELD_PREP(WMI_TLV_TAG,
sys/dev/ic/qwx.c
19272
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_BYTE) |
sys/dev/ic/qwx.c
19448
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_BYTE) |
sys/dev/ic/qwx.c
19461
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_BYTE) |
sys/dev/ic/qwx.c
19498
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_STRUCT) |
sys/dev/ic/qwx.c
19681
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_STRUCT) |
sys/dev/ic/qwx.c
19698
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_STRUCT) |
sys/dev/ic/qwx.c
19898
frame_tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_BYTE) |
sys/dev/ic/qwx.c
19966
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_STRUCT) |
sys/dev/ic/qwx.c
20284
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_STRUCT) |
sys/dev/ic/qwxreg.h
124
uint32_t header;
sys/dev/ic/qwxreg.h
12776
uint32_t header;
sys/dev/ic/qwz.c
15983
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_STRUCT) |
sys/dev/ic/qwz.c
16271
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_UINT32) |
sys/dev/ic/qwz.c
16283
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_FIXED_STRUCT) |
sys/dev/ic/qwz.c
16301
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_FIXED_STRUCT) |
sys/dev/ic/qwz.c
16319
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_BYTE) |
sys/dev/ic/qwz.c
16331
tlv->header = FIELD_PREP(WMI_TLV_TAG,
sys/dev/ic/qwz.c
16347
tlv->header = FIELD_PREP(WMI_TLV_TAG,
sys/dev/ic/qwz.c
16544
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_BYTE) |
sys/dev/ic/qwz.c
16720
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_BYTE) |
sys/dev/ic/qwz.c
16733
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_BYTE) |
sys/dev/ic/qwz.c
16770
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_STRUCT) |
sys/dev/ic/qwz.c
16953
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_STRUCT) |
sys/dev/ic/qwz.c
16970
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_STRUCT) |
sys/dev/ic/qwz.c
17168
frame_tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_BYTE) |
sys/dev/ic/qwz.c
17236
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_STRUCT) |
sys/dev/ic/qwz.c
17554
tlv->header = FIELD_PREP(WMI_TLV_TAG, WMI_TAG_ARRAY_STRUCT) |
sys/dev/ic/qwz.c
9188
tlv_tag = FIELD_GET(WMI_TLV_TAG, tlv->header);
sys/dev/ic/qwz.c
9189
tlv_len = FIELD_GET(WMI_TLV_LEN, tlv->header);
sys/dev/ic/qwzreg.h
118
uint32_t header;
sys/dev/ic/qwzreg.h
13306
uint32_t header;
sys/dev/microcode/bnx/build.c
121
write_firmware(char *filename, void *header, size_t hlen,
sys/dev/microcode/bnx/build.c
132
rlen = write(fd, header, hlen);
sys/dev/microcode/bwi/build/build.c
47
struct header h[argc - 1];
sys/dev/microcode/bwi/extract/extract.c
39
struct header **h;
sys/dev/microcode/bwi/extract/extract.c
59
if ((h[i] = malloc(sizeof(struct header))) == NULL)
sys/dev/ofw/fdt.c
100
tree.struct_size = betoh32(tree.header->fh_struct_size);
sys/dev/ofw/fdt.c
1001
void *node = (char *)tree.header + handle;
sys/dev/ofw/fdt.c
1068
void *node = (char *)tree.header + handle;
sys/dev/ofw/fdt.c
1086
void *node = (char *)tree.header + handle;
sys/dev/ofw/fdt.c
109
char *start = (char *)tree.header;
sys/dev/ofw/fdt.c
111
tree.header->fh_size = htobe32(tree.end - start);
sys/dev/ofw/fdt.c
112
tree.header->fh_struct_off = htobe32(tree.tree - start);
sys/dev/ofw/fdt.c
113
tree.header->fh_strings_off = htobe32(tree.strings - start);
sys/dev/ofw/fdt.c
114
tree.header->fh_reserve_off = htobe32(tree.memory - start);
sys/dev/ofw/fdt.c
115
tree.header->fh_strings_size = htobe32(tree.strings_size);
sys/dev/ofw/fdt.c
117
tree.header->fh_struct_size = htobe32(tree.struct_size);
sys/dev/ofw/fdt.c
861
void *node = (char *)tree.header + handle;
sys/dev/ofw/fdt.c
867
return node ? ((char *)node - (char *)tree.header) : 0;
sys/dev/ofw/fdt.c
873
void *node = (char *)tree.header + handle;
sys/dev/ofw/fdt.c
876
return node ? ((char *)node - (char *)tree.header) : 0;
sys/dev/ofw/fdt.c
882
void *node = (char *)tree.header + handle;
sys/dev/ofw/fdt.c
885
return node ? ((char *)node - (char *)tree.header) : 0;
sys/dev/ofw/fdt.c
894
return node ? ((char *)node - (char *)tree.header) : -1;
sys/dev/ofw/fdt.c
900
void *node = (char *)tree.header + handle;
sys/dev/ofw/fdt.c
914
return (char *)child - (char *)tree.header;
sys/dev/ofw/fdt.c
92
tree.header = (struct fdt_head *)fdt;
sys/dev/ofw/fdt.c
925
return (char *)child - (char *)tree.header;
sys/dev/ofw/fdt.c
93
tree.tree = (char *)fdt + betoh32(tree.header->fh_struct_off);
sys/dev/ofw/fdt.c
936
return node ? ((char *)node - (char *)tree.header) : 0;
sys/dev/ofw/fdt.c
94
tree.strings = (char *)fdt + betoh32(tree.header->fh_strings_off);
sys/dev/ofw/fdt.c
942
void *node = (char *)tree.header + handle;
sys/dev/ofw/fdt.c
95
tree.memory = (char *)fdt + betoh32(tree.header->fh_reserve_off);
sys/dev/ofw/fdt.c
96
tree.end = (char *)fdt + betoh32(tree.header->fh_size);
sys/dev/ofw/fdt.c
969
void *node = (char *)tree.header + handle;
sys/dev/ofw/fdt.c
98
tree.strings_size = betoh32(tree.header->fh_strings_size);
sys/dev/ofw/fdt.h
33
struct fdt_head *header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_bios.c
255
u8 header[AMD_VBIOS_SIGNATURE_END+1] = {0};
sys/dev/pci/drm/amd/amdgpu/amdgpu_bios.c
262
if (amdgpu_asic_read_bios_from_rom(adev, &header[0], sizeof(header)) == false)
sys/dev/pci/drm/amd/amdgpu/amdgpu_bios.c
264
header[AMD_VBIOS_SIGNATURE_END] = 0;
sys/dev/pci/drm/amd/amdgpu/amdgpu_bios.c
266
if ((!AMD_IS_VALID_VBIOS(header)) ||
sys/dev/pci/drm/amd/amdgpu/amdgpu_bios.c
267
memcmp((char *)&header[AMD_VBIOS_SIGNATURE_OFFSET],
sys/dev/pci/drm/amd/amdgpu/amdgpu_bios.c
273
len = AMD_VBIOS_LENGTH(header);
sys/dev/pci/drm/amd/amdgpu/amdgpu_cgs.c
211
const struct gfx_firmware_header_v1_0 *header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_cgs.c
224
header = (const struct gfx_firmware_header_v1_0 *)ucode->fw->data;
sys/dev/pci/drm/amd/amdgpu/amdgpu_cgs.c
225
data_size = le32_to_cpu(header->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_cgs.c
229
gpu_addr += ALIGN(le32_to_cpu(header->header.ucode_size_bytes), PAGE_SIZE);
sys/dev/pci/drm/amd/amdgpu/amdgpu_cgs.c
230
data_size = le32_to_cpu(header->jt_size) << 2;
sys/dev/pci/drm/amd/amdgpu/amdgpu_cgs.c
236
info->version = (uint16_t)le32_to_cpu(header->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/amdgpu_cgs.c
239
info->image_size = le32_to_cpu(header->jt_offset) << 2;
sys/dev/pci/drm/amd/amdgpu/amdgpu_cgs.c
242
info->feature_version = (uint16_t)le32_to_cpu(header->ucode_feature_version);
sys/dev/pci/drm/amd/amdgpu/amdgpu_cgs.c
250
const struct common_firmware_header *header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_cgs.c
369
header = (const struct common_firmware_header *)ucode->fw->data;
sys/dev/pci/drm/amd/amdgpu/amdgpu_cgs.c
371
ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
sys/dev/pci/drm/amd/amdgpu/amdgpu_cgs.c
376
amdgpu_ucode_print_smc_hdr(&hdr->header);
sys/dev/pci/drm/amd/amdgpu/amdgpu_cgs.c
377
adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/amdgpu_cgs.c
378
ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_cgs.c
381
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c
2708
amdgpu_ucode_print_gpu_info_hdr(&hdr->header);
sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c
2715
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c
2744
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c
2759
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c
2766
"Unsupported gpu_info table %d\n", hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c
1612
switch (le16_to_cpu(gc_info->v1.header.version_major)) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c
1632
if (le16_to_cpu(gc_info->v1.header.version_minor) >= 1) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c
1637
if (le16_to_cpu(gc_info->v1.header.version_minor) >= 2) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c
1647
if (le16_to_cpu(gc_info->v1.header.version_minor) >= 3) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c
1676
if (le16_to_cpu(gc_info->v2.header.version_minor) == 1) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c
1689
le16_to_cpu(gc_info->v1.header.version_major),
sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c
1690
le16_to_cpu(gc_info->v1.header.version_minor));
sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c
1722
switch (le16_to_cpu(mall_info->v1.header.version_major)) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c
1746
le16_to_cpu(mall_info->v1.header.version_major),
sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c
1747
le16_to_cpu(mall_info->v1.header.version_minor));
sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c
1787
switch (le16_to_cpu(vcn_info->v1.header.version_major)) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c
1800
le16_to_cpu(vcn_info->v1.header.version_major),
sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c
1801
le16_to_cpu(vcn_info->v1.header.version_minor));
sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c
1881
switch (le16_to_cpu(nps_info->v1.header.version_major)) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c
1902
le16_to_cpu(nps_info->v1.header.version_major),
sys/dev/pci/drm/amd/amdgpu/amdgpu_discovery.c
1903
le16_to_cpu(nps_info->v1.header.version_minor));
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c
1225
le32_to_cpu(cp_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c
1229
fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c
1235
le32_to_cpu(cp_hdr_v2_0->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c
1252
le32_to_cpu(cp_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c
1256
fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c
1262
le32_to_cpu(cp_hdr_v2_0->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c
1279
le32_to_cpu(cp_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c
1283
fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c
1289
le32_to_cpu(cp_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c
1293
fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes) -
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c
1306
le32_to_cpu(cp_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c
1310
fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes) -
sys/dev/pci/drm/amd/amdgpu/amdgpu_gfx.c
1323
le32_to_cpu(cp_hdr_v2_0->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
3495
adev->psp.asd_context.bin_desc.fw_version = le32_to_cpu(asd_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
3497
adev->psp.asd_context.bin_desc.size_bytes = le32_to_cpu(asd_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
3499
le32_to_cpu(asd_hdr->header.ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
3518
adev->psp.toc.fw_version = le32_to_cpu(toc_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
3520
adev->psp.toc.size_bytes = le32_to_cpu(toc_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
3522
le32_to_cpu(toc_hdr->header.ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
3540
le32_to_cpu(sos_hdr->header.ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
3631
le32_to_cpu(sos_hdr->header.ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
3635
adev->psp.sos.fw_version = le32_to_cpu(sos_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
3693
le32_to_cpu(sos_hdr->header.ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
3694
amdgpu_ucode_print_psp_hdr(&sos_hdr->header);
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
3696
switch (sos_hdr->header.header_version_major) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
3702
if (sos_hdr->header.header_version_minor == 1) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
3711
if (sos_hdr->header.header_version_minor == 2) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
3717
if (sos_hdr->header.header_version_minor == 3) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
3744
if (sos_hdr_v2_0->header.header_version_minor == 1) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
3823
le32_to_cpu(ta_hdr->header.ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
3881
if (le16_to_cpu(ta_hdr->header.header_version_major) != 1)
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
3890
le32_to_cpu(ta_hdr->header.ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
3906
le32_to_cpu(ta_hdr->header.ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
3924
adev->psp.ta_fw_version = le32_to_cpu(ta_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
3938
if (le16_to_cpu(ta_hdr->header.header_version_major) != 2)
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
4021
le32_to_cpu(cap_hdr_v1_0->header.ucode_size_bytes), PAGE_SIZE);
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
4022
adev->psp.cap_fw_version = le32_to_cpu(cap_hdr_v1_0->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/amdgpu_psp.c
4024
adev->psp.cap_ucode_size = le32_to_cpu(cap_hdr_v1_0->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
1166
control->tbl_hdr.header,
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
1415
if (hdr->header != RAS_TABLE_HDR_VAL &&
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
1416
hdr->header != RAS_TABLE_HDR_BAD) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
1472
if (hdr->header == RAS_TABLE_HDR_VAL) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
1497
} else if (hdr->header == RAS_TABLE_HDR_BAD &&
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
242
pp[0] = cpu_to_le32(hdr->header);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
255
hdr->header = le32_to_cpu(pp[0]);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
391
uint32_t header)
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
400
hh = (void *) &hdr->header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
402
hh = (void *) &header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
406
hdr->header = header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
451
hdr->header = RAS_TABLE_HDR_VAL;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
570
if (con->eeprom_control.tbl_hdr.header == RAS_TABLE_HDR_BAD) {
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
774
control->tbl_hdr.header = RAS_TABLE_HDR_BAD;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.h
48
uint32_t header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_rlc.c
207
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/amdgpu_rlc.c
215
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/amdgpu_rlc.c
223
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/amdgpu_rlc.c
231
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/amdgpu_rlc.c
239
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/amdgpu_rlc.c
291
adev->gfx.rlc_fw_version = le32_to_cpu(rlc_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/amdgpu_sdma.c
153
const struct common_firmware_header *header = NULL;
sys/dev/pci/drm/amd/amdgpu/amdgpu_sdma.c
158
header = (const struct common_firmware_header *)
sys/dev/pci/drm/amd/amdgpu/amdgpu_sdma.c
160
version_major = le16_to_cpu(header->header_version_major);
sys/dev/pci/drm/amd/amdgpu/amdgpu_sdma.c
165
sdma_inst->fw_version = le32_to_cpu(hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/amdgpu_sdma.c
170
sdma_inst->fw_version = le32_to_cpu(hdr_v2->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/amdgpu_sdma.c
175
sdma_inst->fw_version = le32_to_cpu(hdr_v3->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/amdgpu_sdma.c
207
const struct common_firmware_header *header = NULL;
sys/dev/pci/drm/amd/amdgpu/amdgpu_sdma.c
226
header = (const struct common_firmware_header *)
sys/dev/pci/drm/amd/amdgpu/amdgpu_sdma.c
228
version_major = le16_to_cpu(header->header_version_major);
sys/dev/pci/drm/amd/amdgpu/amdgpu_sdma.c
273
ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
1005
le32_to_cpu(header->ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
1020
le32_to_cpu(header->ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
1035
le32_to_cpu(header->ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
1060
le32_to_cpu(vpe_hdr->header.ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
1070
le32_to_cpu(umsch_mm_hdr->header.ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
1078
ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
1080
le32_to_cpu(header->ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
1084
ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
1086
le32_to_cpu(header->ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
1097
const struct gfx_firmware_header_v1_0 *header = NULL;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
1106
header = (const struct gfx_firmware_header_v1_0 *)ucode->fw->data;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
1112
(le32_to_cpu(header->jt_offset) * 4);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
1113
memcpy(dst_addr, src_addr, le32_to_cpu(header->jt_size) * 4);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
119
container_of(hdr, struct gfx_firmware_header_v1_0, header);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
127
container_of(hdr, struct gfx_firmware_header_v2_0, header);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
146
container_of(hdr, struct rlc_firmware_header_v1_0, header);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
160
container_of(hdr, struct rlc_firmware_header_v2_0, header);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
309
container_of(hdr, struct sdma_firmware_header_v1_0, header);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
324
container_of(hdr, struct sdma_firmware_header_v2_0, header);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
335
container_of(hdr, struct sdma_firmware_header_v3_0, header);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
357
container_of(hdr, struct psp_firmware_header_v1_0, header);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
417
container_of(hdr, struct psp_firmware_header_v2_0, header);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
502
container_of(hdr, struct gpu_info_firmware_header_v1_0, header);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
63
container_of(hdr, struct mc_firmware_header_v1_0, header);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
833
const struct common_firmware_header *header = NULL;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
855
header = (const struct common_firmware_header *)ucode->fw->data;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
86
v1_0_hdr = container_of(hdr, struct smc_firmware_header_v1_0, header);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
872
le32_to_cpu(sdma_hdr->header.ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
882
le32_to_cpu(sdmav3_hdr->header.ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
886
ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes) -
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
889
le32_to_cpu(header->ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
895
le32_to_cpu(header->ucode_array_offset_bytes) +
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
91
v2_0_hdr = container_of(hdr, struct smc_firmware_header_v2_0, v1_0.header);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
96
v2_1_hdr = container_of(hdr, struct smc_firmware_header_v2_1, v1_0.header);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
967
ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes) -
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
970
le32_to_cpu(header->ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
975
le32_to_cpu(header->ucode_array_offset_bytes) +
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
981
le32_to_cpu(header->ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
994
le32_to_cpu(imu_hdr->header.ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
999
le32_to_cpu(imu_hdr->header.ucode_array_offset_bytes) +
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
137
struct common_firmware_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
144
struct common_firmware_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
152
struct common_firmware_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
175
struct common_firmware_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
182
struct common_firmware_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
190
struct common_firmware_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
202
struct common_firmware_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
217
struct common_firmware_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
227
struct common_firmware_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
305
struct common_firmware_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
320
struct common_firmware_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
333
struct common_firmware_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
346
struct common_firmware_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
363
struct common_firmware_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
403
struct common_firmware_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
410
struct common_firmware_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
417
struct common_firmware_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
424
struct common_firmware_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
45
struct common_firmware_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
52
struct common_firmware_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
84
struct common_firmware_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_virt.c
1306
checksum = host_telemetry->header.checksum;
sys/dev/pci/drm/amd/amdgpu/amdgpu_virt.c
1307
used_size = host_telemetry->header.used_size;
sys/dev/pci/drm/amd/amdgpu/amdgpu_virt.c
1385
checksum = host_telemetry->header.checksum;
sys/dev/pci/drm/amd/amdgpu/amdgpu_virt.c
1386
used_size = host_telemetry->header.used_size;
sys/dev/pci/drm/amd/amdgpu/amdgpu_virt.c
1517
checksum = host_telemetry->header.checksum;
sys/dev/pci/drm/amd/amdgpu/amdgpu_virt.c
1518
used_size = host_telemetry->header.used_size;
sys/dev/pci/drm/amd/amdgpu/amdgpu_virt.c
587
vf2pf_info->header.size = sizeof(struct amd_sriov_msg_vf2pf_info);
sys/dev/pci/drm/amd/amdgpu/amdgpu_virt.c
588
vf2pf_info->header.version = AMD_SRIOV_MSG_FW_VRAM_VF2PF_VER;
sys/dev/pci/drm/amd/amdgpu/amdgpu_virt.h
164
struct amd_sriov_msg_pf2vf_info_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_virt.h
183
struct amd_sriov_msg_vf2pf_info_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_virt.h
213
struct amd_sriov_msg_vf2pf_info_header header;
sys/dev/pci/drm/amd/amdgpu/amdgpu_vpe.c
245
adev->vpe.fw_version = le32_to_cpu(vpe_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/amdgv_sriovmsg.h
200
struct amd_sriov_msg_pf2vf_info_header header;
sys/dev/pci/drm/amd/amdgpu/amdgv_sriovmsg.h
272
struct amd_sriov_msg_vf2pf_info_header header;
sys/dev/pci/drm/amd/amdgpu/amdgv_sriovmsg.h
413
struct amd_sriov_ras_telemetry_header header;
sys/dev/pci/drm/amd/amdgpu/cik_sdma.c
542
amdgpu_ucode_print_sdma_hdr(&hdr->header);
sys/dev/pci/drm/amd/amdgpu/cik_sdma.c
543
fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/cik_sdma.c
544
adev->sdma.instance[i].fw_version = le32_to_cpu(hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/cik_sdma.c
549
(adev->sdma.instance[i].fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/dce_v10_0.c
1519
uint8_t *header = buffer;
sys/dev/pci/drm/amd/amdgpu/dce_v10_0.c
1528
frame[0xC] | (frame[0xD] << 8) | (header[1] << 24));
sys/dev/pci/drm/amd/amdgpu/dce_v6_0.c
1526
uint8_t *header = buffer;
sys/dev/pci/drm/amd/amdgpu/dce_v6_0.c
1549
payload[0xC] | (payload[0xD] << 8) | (header[1] << 24));
sys/dev/pci/drm/amd/amdgpu/dce_v8_0.c
1488
uint8_t *header = buffer;
sys/dev/pci/drm/amd/amdgpu/dce_v8_0.c
1497
frame[0xC] | (frame[0xD] << 8) | (header[1] << 24));
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
4253
version_major = le16_to_cpu(rlc_hdr->header.header_version_major);
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
4254
version_minor = le16_to_cpu(rlc_hdr->header.header_version_minor);
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
4454
le32_to_cpu(mec_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
4455
fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
4457
r = amdgpu_bo_create_reserved(adev, mec_hdr->header.ucode_size_bytes,
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
5540
amdgpu_ucode_print_rlc_hdr(&hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
5543
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
5544
fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
5764
le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
5765
fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
5774
le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
5775
fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
5784
le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
5785
fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
5794
le32_to_cpu(rlc_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
5795
fw_size = le32_to_cpu(rlc_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
5804
le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
5805
fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes) -
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
5825
le32_to_cpu(sdma_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
5826
fw_size = le32_to_cpu(sdma_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
6113
amdgpu_ucode_print_gfx_hdr(&pfp_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
6116
le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
6117
fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
6119
r = amdgpu_bo_create_reserved(adev, pfp_hdr->header.ucode_size_bytes,
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
6191
amdgpu_ucode_print_gfx_hdr(&ce_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
6194
le32_to_cpu(ce_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
6195
fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
6197
r = amdgpu_bo_create_reserved(adev, ce_hdr->header.ucode_size_bytes,
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
6268
amdgpu_ucode_print_gfx_hdr(&me_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
6271
le32_to_cpu(me_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
6272
fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
6274
r = amdgpu_bo_create_reserved(adev, me_hdr->header.ucode_size_bytes,
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
6659
amdgpu_ucode_print_gfx_hdr(&mec_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
6663
le32_to_cpu(mec_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
6913
mqd->header = 0xC0310800;
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
8647
u32 header, control = 0;
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
8650
header = PACKET3(PACKET3_INDIRECT_BUFFER_CNST, 2);
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
8652
header = PACKET3(PACKET3_INDIRECT_BUFFER, 2);
sys/dev/pci/drm/amd/amdgpu/gfx_v10_0.c
8667
amdgpu_ring_write(ring, header);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
1379
le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
1380
fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
1388
le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
1389
fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
1397
le32_to_cpu(cp_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
1398
fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes) -
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
1408
le32_to_cpu(rlc_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
1409
fw_size = le32_to_cpu(rlc_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
1413
version_major = le16_to_cpu(rlc_hdr->header.header_version_major);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
1414
version_minor = le16_to_cpu(rlc_hdr->header.header_version_minor);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
1444
le32_to_cpu(sdma_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
2315
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
2316
fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
2430
amdgpu_ucode_print_rlc_hdr(&hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
2432
version_major = le16_to_cpu(hdr->header.header_version_major);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
2433
version_minor = le16_to_cpu(hdr->header.header_version_minor);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
3144
amdgpu_ucode_print_gfx_hdr(&pfp_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
3147
le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
3148
fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
3150
r = amdgpu_bo_create_reserved(adev, pfp_hdr->header.ucode_size_bytes,
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
3191
amdgpu_ucode_print_gfx_hdr(&pfp_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
3362
amdgpu_ucode_print_gfx_hdr(&me_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
3365
le32_to_cpu(me_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
3366
fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
3368
r = amdgpu_bo_create_reserved(adev, me_hdr->header.ucode_size_bytes,
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
3409
amdgpu_ucode_print_gfx_hdr(&me_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
3872
amdgpu_ucode_print_gfx_hdr(&mec_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
3876
le32_to_cpu(mec_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
3877
fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
3879
r = amdgpu_bo_create_reserved(adev, mec_hdr->header.ucode_size_bytes,
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
3924
amdgpu_ucode_print_gfx_hdr(&mec_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
4235
mqd->header = 0xC0310800;
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
5865
u32 header, control = 0;
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
5867
header = PACKET3(PACKET3_INDIRECT_BUFFER, 2);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
5882
amdgpu_ring_write(ring, header);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
683
adev->psp.toc.fw_version = le32_to_cpu(toc_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
685
adev->psp.toc.size_bytes = le32_to_cpu(toc_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
687
le32_to_cpu(toc_hdr->header.ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
774
version_major = le16_to_cpu(rlc_hdr->header.header_version_major);
sys/dev/pci/drm/amd/amdgpu/gfx_v11_0.c
775
version_minor = le16_to_cpu(rlc_hdr->header.header_version_minor);
sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c
1212
le32_to_cpu(rlc_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c
1213
fw_size = le32_to_cpu(rlc_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c
1217
version_major = le16_to_cpu(rlc_hdr->header.header_version_major);
sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c
1218
version_minor = le16_to_cpu(rlc_hdr->header.header_version_minor);
sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c
1980
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c
1981
fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c
2047
amdgpu_ucode_print_rlc_hdr(&hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c
2049
version_major = le16_to_cpu(hdr->header.header_version_major);
sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c
2050
version_minor = le16_to_cpu(hdr->header.header_version_minor);
sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c
2359
amdgpu_ucode_print_gfx_hdr(&pfp_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c
2503
amdgpu_ucode_print_gfx_hdr(&me_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c
2819
amdgpu_ucode_print_gfx_hdr(&mec_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c
3113
mqd->header = 0xC0310800;
sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c
4420
u32 header, control = 0;
sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c
4422
header = PACKET3(PACKET3_INDIRECT_BUFFER, 2);
sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c
4426
amdgpu_ring_write(ring, header);
sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c
576
adev->psp.toc.fw_version = le32_to_cpu(toc_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c
578
adev->psp.toc.size_bytes = le32_to_cpu(toc_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c
580
le32_to_cpu(toc_hdr->header.ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c
627
version_major = le16_to_cpu(rlc_hdr->header.header_version_major);
sys/dev/pci/drm/amd/amdgpu/gfx_v12_0.c
628
version_minor = le16_to_cpu(rlc_hdr->header.header_version_minor);
sys/dev/pci/drm/amd/amdgpu/gfx_v6_0.c
1859
u32 header, control = 0;
sys/dev/pci/drm/amd/amdgpu/gfx_v6_0.c
1868
header = PACKET3(PACKET3_INDIRECT_BUFFER_CONST, 2);
sys/dev/pci/drm/amd/amdgpu/gfx_v6_0.c
1870
header = PACKET3(PACKET3_INDIRECT_BUFFER, 2);
sys/dev/pci/drm/amd/amdgpu/gfx_v6_0.c
1874
amdgpu_ring_write(ring, header);
sys/dev/pci/drm/amd/amdgpu/gfx_v6_0.c
1966
amdgpu_ucode_print_gfx_hdr(&pfp_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v6_0.c
1967
amdgpu_ucode_print_gfx_hdr(&ce_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v6_0.c
1968
amdgpu_ucode_print_gfx_hdr(&me_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v6_0.c
1972
(adev->gfx.pfp_fw->data + le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v6_0.c
1973
fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/gfx_v6_0.c
1981
(adev->gfx.ce_fw->data + le32_to_cpu(ce_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v6_0.c
1982
fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/gfx_v6_0.c
1990
(adev->gfx.me_fw->data + le32_to_cpu(me_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v6_0.c
1991
fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/gfx_v6_0.c
2529
fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/gfx_v6_0.c
2531
(adev->gfx.rlc_fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v6_0.c
2533
amdgpu_ucode_print_rlc_hdr(&hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v6_0.c
359
adev->gfx.pfp_fw_version = le32_to_cpu(cp_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/gfx_v6_0.c
368
adev->gfx.me_fw_version = le32_to_cpu(cp_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/gfx_v6_0.c
377
adev->gfx.ce_fw_version = le32_to_cpu(cp_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/gfx_v6_0.c
386
adev->gfx.rlc_fw_version = le32_to_cpu(rlc_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2210
u32 header, control = 0;
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2219
header = PACKET3(PACKET3_INDIRECT_BUFFER_CONST, 2);
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2221
header = PACKET3(PACKET3_INDIRECT_BUFFER, 2);
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2225
amdgpu_ring_write(ring, header);
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2406
amdgpu_ucode_print_gfx_hdr(&pfp_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2407
amdgpu_ucode_print_gfx_hdr(&ce_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2408
amdgpu_ucode_print_gfx_hdr(&me_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2409
adev->gfx.pfp_fw_version = le32_to_cpu(pfp_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2410
adev->gfx.ce_fw_version = le32_to_cpu(ce_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2411
adev->gfx.me_fw_version = le32_to_cpu(me_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2421
le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2422
fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2431
le32_to_cpu(ce_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2432
fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2441
le32_to_cpu(me_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2442
fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2666
amdgpu_ucode_print_gfx_hdr(&mec_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2667
adev->gfx.mec_fw_version = le32_to_cpu(mec_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2676
le32_to_cpu(mec_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2677
fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2690
amdgpu_ucode_print_gfx_hdr(&mec2_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2691
adev->gfx.mec2_fw_version = le32_to_cpu(mec2_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2698
le32_to_cpu(mec2_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2699
fw_size = le32_to_cpu(mec2_hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
2834
mqd->header = 0xC0310800;
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
3427
amdgpu_ucode_print_rlc_hdr(&hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
3428
adev->gfx.rlc_fw_version = le32_to_cpu(hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
3456
(adev->gfx.rlc_fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v7_0.c
3457
fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
1000
adev->gfx.pfp_fw_version = le32_to_cpu(cp_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
1020
adev->gfx.me_fw_version = le32_to_cpu(cp_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
1041
adev->gfx.ce_fw_version = le32_to_cpu(cp_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
1061
adev->gfx.rlc_fw_version = le32_to_cpu(rlc_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
1121
adev->gfx.mec_fw_version = le32_to_cpu(cp_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
1144
le32_to_cpu(cp_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
1156
header = (const struct common_firmware_header *)info->fw->data;
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
1158
ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
1163
header = (const struct common_firmware_header *)info->fw->data;
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
1165
ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
1170
header = (const struct common_firmware_header *)info->fw->data;
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
1172
ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
1177
header = (const struct common_firmware_header *)info->fw->data;
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
1179
ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
1184
header = (const struct common_firmware_header *)info->fw->data;
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
1186
ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
1205
header = (const struct common_firmware_header *)info->fw->data;
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
1207
ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
4406
mqd->header = 0xC0310800;
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
6049
u32 header, control = 0;
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
6052
header = PACKET3(PACKET3_INDIRECT_BUFFER_CONST, 2);
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
6054
header = PACKET3(PACKET3_INDIRECT_BUFFER, 2);
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
6065
amdgpu_ring_write(ring, header);
sys/dev/pci/drm/amd/amdgpu/gfx_v8_0.c
944
const struct common_firmware_header *header = NULL;
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
1528
version_major = le16_to_cpu(rlc_hdr->header.header_version_major);
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
1529
version_minor = le16_to_cpu(rlc_hdr->header.header_version_minor);
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
1907
le32_to_cpu(mec_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
1908
fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
1910
r = amdgpu_bo_create_reserved(adev, mec_hdr->header.ucode_size_bytes,
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
3176
amdgpu_ucode_print_rlc_hdr(&hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
3179
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
3180
fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
3279
amdgpu_ucode_print_gfx_hdr(&pfp_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
3280
amdgpu_ucode_print_gfx_hdr(&ce_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
3281
amdgpu_ucode_print_gfx_hdr(&me_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
3288
le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
3289
fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
3298
le32_to_cpu(ce_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
3299
fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
3308
le32_to_cpu(me_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
3309
fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
3490
amdgpu_ucode_print_gfx_hdr(&mec_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
3494
le32_to_cpu(mec_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
3552
mqd->header = 0xC0310800;
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
5413
u32 header, control = 0;
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
5416
header = PACKET3(PACKET3_INDIRECT_BUFFER_CONST, 2);
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
5418
header = PACKET3(PACKET3_INDIRECT_BUFFER, 2);
sys/dev/pci/drm/amd/amdgpu/gfx_v9_0.c
5436
amdgpu_ring_write(ring, header);
sys/dev/pci/drm/amd/amdgpu/gfx_v9_4_3.c
1610
amdgpu_ucode_print_rlc_hdr(&hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v9_4_3.c
1613
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v9_4_3.c
1614
fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/gfx_v9_4_3.c
1767
amdgpu_ucode_print_gfx_hdr(&mec_hdr->header);
sys/dev/pci/drm/amd/amdgpu/gfx_v9_4_3.c
1771
le32_to_cpu(mec_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v9_4_3.c
1832
mqd->header = 0xC0310800;
sys/dev/pci/drm/amd/amdgpu/gfx_v9_4_3.c
550
version_major = le16_to_cpu(rlc_hdr->header.header_version_major);
sys/dev/pci/drm/amd/amdgpu/gfx_v9_4_3.c
551
version_minor = le16_to_cpu(rlc_hdr->header.header_version_minor);
sys/dev/pci/drm/amd/amdgpu/gfx_v9_4_3.c
667
le32_to_cpu(mec_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gfx_v9_4_3.c
668
fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/amdgpu/gfx_v9_4_3.c
670
r = amdgpu_bo_create_reserved(adev, mec_hdr->header.ucode_size_bytes,
sys/dev/pci/drm/amd/amdgpu/gmc_v6_0.c
158
amdgpu_ucode_print_mc_hdr(&hdr->header);
sys/dev/pci/drm/amd/amdgpu/gmc_v6_0.c
160
adev->gmc.fw_version = le32_to_cpu(hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/gmc_v6_0.c
164
ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/gmc_v6_0.c
166
(adev->gmc.fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gmc_v7_0.c
189
amdgpu_ucode_print_mc_hdr(&hdr->header);
sys/dev/pci/drm/amd/amdgpu/gmc_v7_0.c
191
adev->gmc.fw_version = le32_to_cpu(hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/gmc_v7_0.c
195
ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/gmc_v7_0.c
197
(adev->gmc.fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gmc_v8_0.c
299
amdgpu_ucode_print_mc_hdr(&hdr->header);
sys/dev/pci/drm/amd/amdgpu/gmc_v8_0.c
301
adev->gmc.fw_version = le32_to_cpu(hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/gmc_v8_0.c
305
ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/gmc_v8_0.c
307
(adev->gmc.fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/gmc_v8_0.c
368
amdgpu_ucode_print_mc_hdr(&hdr->header);
sys/dev/pci/drm/amd/amdgpu/gmc_v8_0.c
370
adev->gmc.fw_version = le32_to_cpu(hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/gmc_v8_0.c
374
ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/gmc_v8_0.c
376
(adev->gmc.fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/imu_v11_0.c
105
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/imu_v11_0.c
116
le32_to_cpu(hdr->header.ucode_array_offset_bytes) +
sys/dev/pci/drm/amd/amdgpu/imu_v11_0.c
79
adev->gfx.imu_fw_version = le32_to_cpu(imu_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/imu_v12_0.c
110
le32_to_cpu(hdr->header.ucode_array_offset_bytes) +
sys/dev/pci/drm/amd/amdgpu/imu_v12_0.c
61
adev->gfx.imu_fw_version = le32_to_cpu(imu_hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/imu_v12_0.c
99
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0.c
449
struct mmsch_v4_0_init_header header;
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0.c
458
memcpy(&header, (void *)table_loc, size);
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0.c
460
header.version = MMSCH_VERSION;
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0.c
461
header.total_size = RREG32_SOC15(VCN, 0, regMMSCH_VF_CTX_SIZE);
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0.c
463
header.jpegdec.init_status = 0;
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0.c
464
header.jpegdec.table_offset = 0;
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0.c
465
header.jpegdec.table_size = 0;
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0.c
468
table_loc += header.total_size;
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0.c
487
header.jpegdec.init_status = 0;
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0.c
488
header.jpegdec.table_offset = header.total_size;
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0.c
489
header.jpegdec.table_size = table_size;
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0.c
490
header.total_size += table_size;
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0.c
495
memcpy((void *)table_loc, &header, size);
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0.c
516
size = header.total_size;
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0_3.c
268
struct mmsch_v4_0_3_init_header header;
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0_3.c
278
memset(&header, 0, sizeof(struct mmsch_v4_0_3_init_header));
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0_3.c
279
header.version = MMSCH_VERSION;
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0_3.c
280
header.total_size = sizeof(struct mmsch_v4_0_3_init_header) >> 2;
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0_3.c
283
table_loc += header.total_size;
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0_3.c
285
item_offset = header.total_size;
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0_3.c
299
header.mjpegdec0[j].table_offset = item_offset;
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0_3.c
300
header.mjpegdec0[j].init_status = 0;
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0_3.c
301
header.mjpegdec0[j].table_size = table_size;
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0_3.c
303
header.mjpegdec1[j - 4].table_offset = item_offset;
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0_3.c
304
header.mjpegdec1[j - 4].init_status = 0;
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0_3.c
305
header.mjpegdec1[j - 4].table_size = table_size;
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0_3.c
307
header.total_size += table_size;
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0_3.c
316
memcpy((void *)table_loc, &header, size);
sys/dev/pci/drm/amd/amdgpu/jpeg_v4_0_3.c
327
size = header.total_size;
sys/dev/pci/drm/amd/amdgpu/jpeg_v5_0_1.c
466
struct mmsch_v5_0_init_header header;
sys/dev/pci/drm/amd/amdgpu/jpeg_v5_0_1.c
476
memset(&header, 0, sizeof(struct mmsch_v5_0_init_header));
sys/dev/pci/drm/amd/amdgpu/jpeg_v5_0_1.c
477
header.version = MMSCH_VERSION;
sys/dev/pci/drm/amd/amdgpu/jpeg_v5_0_1.c
478
header.total_size = sizeof(struct mmsch_v5_0_init_header) >> 2;
sys/dev/pci/drm/amd/amdgpu/jpeg_v5_0_1.c
481
table_loc += header.total_size;
sys/dev/pci/drm/amd/amdgpu/jpeg_v5_0_1.c
483
item_offset = header.total_size;
sys/dev/pci/drm/amd/amdgpu/jpeg_v5_0_1.c
497
header.mjpegdec0[j].table_offset = item_offset;
sys/dev/pci/drm/amd/amdgpu/jpeg_v5_0_1.c
498
header.mjpegdec0[j].init_status = 0;
sys/dev/pci/drm/amd/amdgpu/jpeg_v5_0_1.c
499
header.mjpegdec0[j].table_size = table_size;
sys/dev/pci/drm/amd/amdgpu/jpeg_v5_0_1.c
501
header.mjpegdec1[j - 5].table_offset = item_offset;
sys/dev/pci/drm/amd/amdgpu/jpeg_v5_0_1.c
502
header.mjpegdec1[j - 5].init_status = 0;
sys/dev/pci/drm/amd/amdgpu/jpeg_v5_0_1.c
503
header.mjpegdec1[j - 5].table_size = table_size;
sys/dev/pci/drm/amd/amdgpu/jpeg_v5_0_1.c
505
header.total_size += table_size;
sys/dev/pci/drm/amd/amdgpu/jpeg_v5_0_1.c
514
memcpy((void *)table_loc, &header, size);
sys/dev/pci/drm/amd/amdgpu/jpeg_v5_0_1.c
525
size = header.total_size;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
1112
mqd->header = 0xC0310800;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
148
if (x_pkt->header.opcode < ARRAY_SIZE(mes_v11_0_opcodes))
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
149
op_str = mes_v11_0_opcodes[x_pkt->header.opcode];
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
158
if ((x_pkt->header.opcode == MES_SCH_API_MISC) &&
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
183
if (x_pkt->header.opcode >= MES_SCH_API_MAX)
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
220
mes_status_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
221
mes_status_pkt.header.opcode = MES_SCH_API_QUERY_SCHEDULER_STATUS;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
222
mes_status_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
243
x_pkt->header.opcode);
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
256
x_pkt->header.opcode);
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
320
mes_add_queue_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
321
mes_add_queue_pkt.header.opcode = MES_SCH_API_ADD_QUEUE;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
322
mes_add_queue_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
375
mes_remove_queue_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
376
mes_remove_queue_pkt.header.opcode = MES_SCH_API_REMOVE_QUEUE;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
377
mes_remove_queue_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
488
mes_add_queue_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
489
mes_add_queue_pkt.header.opcode = MES_SCH_API_ADD_QUEUE;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
490
mes_add_queue_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
513
mes_remove_queue_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
514
mes_remove_queue_pkt.header.opcode = MES_SCH_API_REMOVE_QUEUE;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
515
mes_remove_queue_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
546
mes_suspend_gang_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
547
mes_suspend_gang_pkt.header.opcode = MES_SCH_API_SUSPEND;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
548
mes_suspend_gang_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
567
mes_resume_gang_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
568
mes_resume_gang_pkt.header.opcode = MES_SCH_API_RESUME;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
569
mes_resume_gang_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
585
mes_status_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
586
mes_status_pkt.header.opcode = MES_SCH_API_QUERY_SCHEDULER_STATUS;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
587
mes_status_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
601
misc_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
602
misc_pkt.header.opcode = MES_SCH_API_MISC;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
603
misc_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
676
mes_set_hw_res_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
677
mes_set_hw_res_pkt.header.opcode = MES_SCH_API_SET_HW_RSRC;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
678
mes_set_hw_res_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
737
mes_set_hw_res_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
738
mes_set_hw_res_pkt.header.opcode = MES_SCH_API_SET_HW_RSRC_1;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
739
mes_set_hw_res_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
766
mes_reset_queue_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
767
mes_reset_queue_pkt.header.opcode = MES_SCH_API_RESET;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
768
mes_reset_queue_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
798
mes_reset_queue_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
799
mes_reset_queue_pkt.header.opcode = MES_SCH_API_RESET;
sys/dev/pci/drm/amd/amdgpu/mes_v11_0.c
800
mes_reset_queue_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
1272
mqd->header = 0xC0310800;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
132
if (x_pkt->header.opcode < ARRAY_SIZE(mes_v12_0_opcodes))
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
133
op_str = mes_v12_0_opcodes[x_pkt->header.opcode];
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
142
if ((x_pkt->header.opcode == MES_SCH_API_MISC) &&
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
168
if (x_pkt->header.opcode >= MES_SCH_API_MAX)
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
205
mes_status_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
206
mes_status_pkt.header.opcode = MES_SCH_API_QUERY_SCHEDULER_STATUS;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
207
mes_status_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
229
pipe, x_pkt->header.opcode);
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
247
pipe, x_pkt->header.opcode);
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
313
mes_add_queue_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
314
mes_add_queue_pkt.header.opcode = MES_SCH_API_ADD_QUEUE;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
315
mes_add_queue_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
367
mes_remove_queue_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
368
mes_remove_queue_pkt.header.opcode = MES_SCH_API_REMOVE_QUEUE;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
369
mes_remove_queue_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
514
mes_add_queue_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
515
mes_add_queue_pkt.header.opcode = MES_SCH_API_ADD_QUEUE;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
516
mes_add_queue_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
545
mes_remove_queue_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
546
mes_remove_queue_pkt.header.opcode = MES_SCH_API_REMOVE_QUEUE;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
547
mes_remove_queue_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
583
mes_suspend_gang_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
584
mes_suspend_gang_pkt.header.opcode = MES_SCH_API_SUSPEND;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
585
mes_suspend_gang_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
604
mes_resume_gang_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
605
mes_resume_gang_pkt.header.opcode = MES_SCH_API_RESUME;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
606
mes_resume_gang_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
622
mes_status_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
623
mes_status_pkt.header.opcode = MES_SCH_API_QUERY_SCHEDULER_STATUS;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
624
mes_status_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
644
misc_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
645
misc_pkt.header.opcode = MES_SCH_API_MISC;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
646
misc_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
713
mes_set_hw_res_1_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
714
mes_set_hw_res_1_pkt.header.opcode = MES_SCH_API_SET_HW_RSRC_1;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
715
mes_set_hw_res_1_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
736
mes_set_hw_res_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
737
mes_set_hw_res_pkt.header.opcode = MES_SCH_API_SET_HW_RSRC;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
738
mes_set_hw_res_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
892
mes_reset_queue_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
893
mes_reset_queue_pkt.header.opcode = MES_SCH_API_RESET;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
894
mes_reset_queue_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
929
mes_reset_queue_pkt.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
930
mes_reset_queue_pkt.header.opcode = MES_SCH_API_RESET;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
931
mes_reset_queue_pkt.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
971
mes_inv_tlbs.header.type = MES_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
972
mes_inv_tlbs.header.opcode = MES_SCH_API_INV_TLBS;
sys/dev/pci/drm/amd/amdgpu/mes_v12_0.c
973
mes_inv_tlbs.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/sdma_v2_4.c
132
const struct common_firmware_header *header = NULL;
sys/dev/pci/drm/amd/amdgpu/sdma_v2_4.c
157
adev->sdma.instance[i].fw_version = le32_to_cpu(hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/sdma_v2_4.c
166
header = (const struct common_firmware_header *)info->fw->data;
sys/dev/pci/drm/amd/amdgpu/sdma_v2_4.c
168
ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
sys/dev/pci/drm/amd/amdgpu/sdma_v3_0.c
272
const struct common_firmware_header *header = NULL;
sys/dev/pci/drm/amd/amdgpu/sdma_v3_0.c
317
adev->sdma.instance[i].fw_version = le32_to_cpu(hdr->header.ucode_version);
sys/dev/pci/drm/amd/amdgpu/sdma_v3_0.c
325
header = (const struct common_firmware_header *)info->fw->data;
sys/dev/pci/drm/amd/amdgpu/sdma_v3_0.c
327
ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
sys/dev/pci/drm/amd/amdgpu/sdma_v4_0.c
1354
amdgpu_ucode_print_sdma_hdr(&hdr->header);
sys/dev/pci/drm/amd/amdgpu/sdma_v4_0.c
1355
fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/sdma_v4_0.c
1359
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/sdma_v4_4_2.c
936
amdgpu_ucode_print_sdma_hdr(&hdr->header);
sys/dev/pci/drm/amd/amdgpu/sdma_v4_4_2.c
937
fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/sdma_v4_4_2.c
941
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/sdma_v5_0.c
898
amdgpu_ucode_print_sdma_hdr(&hdr->header);
sys/dev/pci/drm/amd/amdgpu/sdma_v5_0.c
899
fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/sdma_v5_0.c
903
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/sdma_v5_2.c
745
amdgpu_ucode_print_sdma_hdr(&hdr->header);
sys/dev/pci/drm/amd/amdgpu/sdma_v5_2.c
746
fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/amd/amdgpu/sdma_v5_2.c
750
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/sdma_v6_0.c
686
amdgpu_ucode_print_sdma_hdr(&hdr->header);
sys/dev/pci/drm/amd/amdgpu/sdma_v6_0.c
691
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/sdma_v6_0.c
720
amdgpu_ucode_print_sdma_hdr(&hdr->header);
sys/dev/pci/drm/amd/amdgpu/sdma_v6_0.c
725
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/amdgpu/sdma_v7_0.c
695
amdgpu_ucode_print_sdma_hdr(&hdr->header);
sys/dev/pci/drm/amd/amdgpu/umsch_mm_v4_0.c
275
set_hw_resources.header.type = UMSCH_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/umsch_mm_v4_0.c
276
set_hw_resources.header.opcode = UMSCH_API_SET_HW_RSRC;
sys/dev/pci/drm/amd/amdgpu/umsch_mm_v4_0.c
277
set_hw_resources.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/umsch_mm_v4_0.c
334
add_queue.header.type = UMSCH_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/umsch_mm_v4_0.c
335
add_queue.header.opcode = UMSCH_API_ADD_QUEUE;
sys/dev/pci/drm/amd/amdgpu/umsch_mm_v4_0.c
336
add_queue.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/umsch_mm_v4_0.c
384
remove_queue.header.type = UMSCH_API_TYPE_SCHEDULER;
sys/dev/pci/drm/amd/amdgpu/umsch_mm_v4_0.c
385
remove_queue.header.opcode = UMSCH_API_REMOVE_QUEUE;
sys/dev/pci/drm/amd/amdgpu/umsch_mm_v4_0.c
386
remove_queue.header.dwsize = API_FRAME_SIZE_IN_DWORDS;
sys/dev/pci/drm/amd/amdgpu/uvd_v7_0.c
737
struct mmsch_v1_0_init_header *header = (struct mmsch_v1_0_init_header *)table->cpu_addr;
sys/dev/pci/drm/amd/amdgpu/uvd_v7_0.c
741
size = header->header_size + header->vce_table_size + header->uvd_table_size;
sys/dev/pci/drm/amd/amdgpu/uvd_v7_0.c
798
struct mmsch_v1_0_init_header *header = (struct mmsch_v1_0_init_header *)init_table;
sys/dev/pci/drm/amd/amdgpu/uvd_v7_0.c
806
if (header->uvd_table_offset == 0 && header->uvd_table_size == 0) {
sys/dev/pci/drm/amd/amdgpu/uvd_v7_0.c
807
header->version = MMSCH_VERSION;
sys/dev/pci/drm/amd/amdgpu/uvd_v7_0.c
808
header->header_size = sizeof(struct mmsch_v1_0_init_header) >> 2;
sys/dev/pci/drm/amd/amdgpu/uvd_v7_0.c
810
if (header->vce_table_offset == 0 && header->vce_table_size == 0)
sys/dev/pci/drm/amd/amdgpu/uvd_v7_0.c
811
header->uvd_table_offset = header->header_size;
sys/dev/pci/drm/amd/amdgpu/uvd_v7_0.c
813
header->uvd_table_offset = header->vce_table_size + header->vce_table_offset;
sys/dev/pci/drm/amd/amdgpu/uvd_v7_0.c
815
init_table += header->uvd_table_offset;
sys/dev/pci/drm/amd/amdgpu/uvd_v7_0.c
941
header->uvd_table_size = table_size;
sys/dev/pci/drm/amd/amdgpu/vce_v4_0.c
158
struct mmsch_v1_0_init_header *header = (struct mmsch_v1_0_init_header *)table->cpu_addr;
sys/dev/pci/drm/amd/amdgpu/vce_v4_0.c
161
size = header->header_size + header->vce_table_size + header->uvd_table_size;
sys/dev/pci/drm/amd/amdgpu/vce_v4_0.c
215
struct mmsch_v1_0_init_header *header = (struct mmsch_v1_0_init_header *)init_table;
sys/dev/pci/drm/amd/amdgpu/vce_v4_0.c
222
if (header->vce_table_offset == 0 && header->vce_table_size == 0) {
sys/dev/pci/drm/amd/amdgpu/vce_v4_0.c
223
header->version = MMSCH_VERSION;
sys/dev/pci/drm/amd/amdgpu/vce_v4_0.c
224
header->header_size = sizeof(struct mmsch_v1_0_init_header) >> 2;
sys/dev/pci/drm/amd/amdgpu/vce_v4_0.c
226
if (header->uvd_table_offset == 0 && header->uvd_table_size == 0)
sys/dev/pci/drm/amd/amdgpu/vce_v4_0.c
227
header->vce_table_offset = header->header_size;
sys/dev/pci/drm/amd/amdgpu/vce_v4_0.c
229
header->vce_table_offset = header->uvd_table_size + header->uvd_table_offset;
sys/dev/pci/drm/amd/amdgpu/vce_v4_0.c
231
init_table += header->vce_table_offset;
sys/dev/pci/drm/amd/amdgpu/vce_v4_0.c
323
header->vce_table_size = table_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v2_0.c
1895
struct mmsch_v2_0_init_header *header;
sys/dev/pci/drm/amd/amdgpu/vcn_v2_0.c
1899
header = (struct mmsch_v2_0_init_header *)table->cpu_addr;
sys/dev/pci/drm/amd/amdgpu/vcn_v2_0.c
1900
size = header->header_size + header->vcn_table_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v2_0.c
1965
struct mmsch_v2_0_init_header *header;
sys/dev/pci/drm/amd/amdgpu/vcn_v2_0.c
1970
header = (struct mmsch_v2_0_init_header *)init_table;
sys/dev/pci/drm/amd/amdgpu/vcn_v2_0.c
1976
if (header->vcn_table_offset == 0 && header->vcn_table_size == 0) {
sys/dev/pci/drm/amd/amdgpu/vcn_v2_0.c
1977
header->version = MMSCH_VERSION;
sys/dev/pci/drm/amd/amdgpu/vcn_v2_0.c
1978
header->header_size = sizeof(struct mmsch_v2_0_init_header) >> 2;
sys/dev/pci/drm/amd/amdgpu/vcn_v2_0.c
1980
header->vcn_table_offset = header->header_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v2_0.c
1982
init_table += header->vcn_table_offset;
sys/dev/pci/drm/amd/amdgpu/vcn_v2_0.c
2090
header->vcn_table_size = table_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v2_5.c
1357
struct mmsch_v1_1_init_header *header = NULL;
sys/dev/pci/drm/amd/amdgpu/vcn_v2_5.c
1359
header = (struct mmsch_v1_1_init_header *)table->cpu_addr;
sys/dev/pci/drm/amd/amdgpu/vcn_v2_5.c
1360
size = header->total_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v2_5.c
1417
struct mmsch_v1_1_init_header *header = (struct mmsch_v1_1_init_header *)init_table;
sys/dev/pci/drm/amd/amdgpu/vcn_v2_5.c
1423
header->version = MMSCH_VERSION;
sys/dev/pci/drm/amd/amdgpu/vcn_v2_5.c
1424
header->total_size = sizeof(struct mmsch_v1_1_init_header) >> 2;
sys/dev/pci/drm/amd/amdgpu/vcn_v2_5.c
1425
init_table += header->total_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v2_5.c
1428
header->eng[i].table_offset = header->total_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v2_5.c
1429
header->eng[i].init_status = 0;
sys/dev/pci/drm/amd/amdgpu/vcn_v2_5.c
1430
header->eng[i].table_size = 0;
sys/dev/pci/drm/amd/amdgpu/vcn_v2_5.c
1541
header->eng[i].table_size = table_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v2_5.c
1542
header->total_size += table_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v3_0.c
1406
struct mmsch_v3_0_init_header header;
sys/dev/pci/drm/amd/amdgpu/vcn_v3_0.c
1415
header.version = MMSCH_VERSION;
sys/dev/pci/drm/amd/amdgpu/vcn_v3_0.c
1416
header.total_size = sizeof(struct mmsch_v3_0_init_header) >> 2;
sys/dev/pci/drm/amd/amdgpu/vcn_v3_0.c
1418
header.inst[i].init_status = 0;
sys/dev/pci/drm/amd/amdgpu/vcn_v3_0.c
1419
header.inst[i].table_offset = 0;
sys/dev/pci/drm/amd/amdgpu/vcn_v3_0.c
1420
header.inst[i].table_size = 0;
sys/dev/pci/drm/amd/amdgpu/vcn_v3_0.c
1424
table_loc += header.total_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v3_0.c
1533
header.inst[i].init_status = 0;
sys/dev/pci/drm/amd/amdgpu/vcn_v3_0.c
1534
header.inst[i].table_offset = header.total_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v3_0.c
1535
header.inst[i].table_size = table_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v3_0.c
1536
header.total_size += table_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v3_0.c
1542
memcpy((void *)table_loc, &header, size);
sys/dev/pci/drm/amd/amdgpu/vcn_v3_0.c
1560
size = header.total_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0.c
1355
struct mmsch_v4_0_init_header header;
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0.c
1367
header.version = MMSCH_VERSION;
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0.c
1368
header.total_size = sizeof(struct mmsch_v4_0_init_header) >> 2;
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0.c
1370
header.inst[i].init_status = 0;
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0.c
1371
header.inst[i].table_offset = 0;
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0.c
1372
header.inst[i].table_size = 0;
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0.c
1376
table_loc += header.total_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0.c
1495
header.inst[i].init_status = 0;
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0.c
1496
header.inst[i].table_offset = header.total_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0.c
1497
header.inst[i].table_size = table_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0.c
1498
header.total_size += table_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0.c
1504
memcpy((void *)table_loc, &header, size);
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0.c
1522
size = header.total_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0_3.c
1013
struct mmsch_v4_0_3_init_header header;
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0_3.c
1029
memset(&header, 0, sizeof(struct mmsch_v4_0_3_init_header));
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0_3.c
1030
header.version = MMSCH_VERSION;
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0_3.c
1031
header.total_size = sizeof(struct mmsch_v4_0_3_init_header) >> 2;
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0_3.c
1034
table_loc += header.total_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0_3.c
1121
header.vcn0.init_status = 0;
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0_3.c
1122
header.vcn0.table_offset = header.total_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0_3.c
1123
header.vcn0.table_size = table_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0_3.c
1124
header.total_size += table_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0_3.c
1129
memcpy((void *)table_loc, &header, size);
sys/dev/pci/drm/amd/amdgpu/vcn_v4_0_3.c
1140
size = header.total_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v5_0_1.c
805
struct mmsch_v5_0_init_header header;
sys/dev/pci/drm/amd/amdgpu/vcn_v5_0_1.c
821
memset(&header, 0, sizeof(struct mmsch_v5_0_init_header));
sys/dev/pci/drm/amd/amdgpu/vcn_v5_0_1.c
822
header.version = MMSCH_VERSION;
sys/dev/pci/drm/amd/amdgpu/vcn_v5_0_1.c
823
header.total_size = sizeof(struct mmsch_v5_0_init_header) >> 2;
sys/dev/pci/drm/amd/amdgpu/vcn_v5_0_1.c
826
table_loc += header.total_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v5_0_1.c
913
header.vcn0.init_status = 0;
sys/dev/pci/drm/amd/amdgpu/vcn_v5_0_1.c
914
header.vcn0.table_offset = header.total_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v5_0_1.c
915
header.vcn0.table_size = table_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v5_0_1.c
916
header.total_size += table_size;
sys/dev/pci/drm/amd/amdgpu/vcn_v5_0_1.c
921
memcpy((void *)table_loc, &header, size);
sys/dev/pci/drm/amd/amdgpu/vcn_v5_0_1.c
932
size = header.total_size;
sys/dev/pci/drm/amd/amdgpu/vpe_v6_1.c
175
ucode_offset[0] = le32_to_cpu(vpe_hdr->header.ucode_array_offset_bytes);
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_cik.c
100
m->header = 0xC0310800;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v10.c
100
m->header = 0xC0310800;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v10.c
243
struct kfd_context_save_area_header header;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v10.c
262
header.wave_state.control_stack_size = *ctl_stack_used_size;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v10.c
263
header.wave_state.wave_state_size = *save_area_used_size;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v10.c
265
header.wave_state.wave_state_offset = m->cp_hqd_wg_state_offset;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v10.c
266
header.wave_state.control_stack_offset = m->cp_hqd_cntl_stack_offset;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v10.c
268
if (copy_to_user(ctl_stack, &header, sizeof(header.wave_state)))
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v11.c
142
m->header = 0xC0310800;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v11.c
296
struct kfd_context_save_area_header header;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v11.c
314
header.wave_state.control_stack_size = *ctl_stack_used_size;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v11.c
315
header.wave_state.wave_state_size = *save_area_used_size;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v11.c
317
header.wave_state.wave_state_offset = m->cp_hqd_wg_state_offset;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v11.c
318
header.wave_state.control_stack_offset = m->cp_hqd_cntl_stack_offset;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v11.c
320
if (copy_to_user(ctl_stack, &header, sizeof(header.wave_state)))
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v12.c
110
m->header = 0xC0310800;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v12.c
259
struct mqd_user_context_save_area_header header;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v12.c
277
header.control_stack_size = *ctl_stack_used_size;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v12.c
278
header.wave_state_size = *save_area_used_size;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v12.c
280
header.wave_state_offset = m->cp_hqd_wg_state_offset;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v12.c
281
header.control_stack_offset = m->cp_hqd_cntl_stack_offset;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v12.c
283
if (copy_to_user(ctl_stack, &header, sizeof(header)))
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v9.c
172
m->header = 0xC0310800;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v9.c
343
struct kfd_context_save_area_header header;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v9.c
355
header.wave_state.control_stack_size = *ctl_stack_used_size;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v9.c
356
header.wave_state.wave_state_size = *save_area_used_size;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v9.c
358
header.wave_state.wave_state_offset = m->cp_hqd_wg_state_offset;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v9.c
359
header.wave_state.control_stack_offset = m->cp_hqd_cntl_stack_offset;
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_v9.c
361
if (copy_to_user(ctl_stack, &header, sizeof(header.wave_state)))
sys/dev/pci/drm/amd/amdkfd/kfd_mqd_manager_vi.c
103
m->header = 0xC0310800;
sys/dev/pci/drm/amd/amdkfd/kfd_packet_manager_v9.c
103
packet->header.u32All = pm_build_pm4_header(IT_MAP_PROCESS,
sys/dev/pci/drm/amd/amdkfd/kfd_packet_manager_v9.c
176
packet->header.u32All = pm_build_pm4_header(IT_RUN_LIST,
sys/dev/pci/drm/amd/amdkfd/kfd_packet_manager_v9.c
199
packet->header.u32All = pm_build_pm4_header(IT_SET_RESOURCES,
sys/dev/pci/drm/amd/amdkfd/kfd_packet_manager_v9.c
235
packet->header.u32All = pm_build_pm4_header(IT_MAP_QUEUES,
sys/dev/pci/drm/amd/amdkfd/kfd_packet_manager_v9.c
380
packet->header.u32All = pm_build_pm4_header(IT_WRITE_DATA,
sys/dev/pci/drm/amd/amdkfd/kfd_packet_manager_v9.c
403
packet->header.u32All = pm_build_pm4_header(IT_UNMAP_QUEUES,
sys/dev/pci/drm/amd/amdkfd/kfd_packet_manager_v9.c
44
packet->header.u32All = pm_build_pm4_header(IT_MAP_PROCESS,
sys/dev/pci/drm/amd/amdkfd/kfd_packet_manager_v9.c
454
packet->header.u32All = pm_build_pm4_header(IT_QUERY_STATUS,
sys/dev/pci/drm/amd/amdkfd/kfd_packet_manager_vi.c
101
packet->header.u32All = pm_build_pm4_header(IT_RUN_LIST,
sys/dev/pci/drm/amd/amdkfd/kfd_packet_manager_vi.c
123
packet->header.u32All = pm_build_pm4_header(IT_SET_RESOURCES,
sys/dev/pci/drm/amd/amdkfd/kfd_packet_manager_vi.c
152
packet->header.u32All = pm_build_pm4_header(IT_MAP_QUEUES,
sys/dev/pci/drm/amd/amdkfd/kfd_packet_manager_vi.c
210
packet->header.u32All = pm_build_pm4_header(IT_UNMAP_QUEUES,
sys/dev/pci/drm/amd/amdkfd/kfd_packet_manager_vi.c
255
packet->header.u32All = pm_build_pm4_header(IT_QUERY_STATUS,
sys/dev/pci/drm/amd/amdkfd/kfd_packet_manager_vi.c
279
packet->header.u32All = pm_build_pm4_header(IT_RELEASE_MEM,
sys/dev/pci/drm/amd/amdkfd/kfd_packet_manager_vi.c
32
union PM4_MES_TYPE_3_HEADER header;
sys/dev/pci/drm/amd/amdkfd/kfd_packet_manager_vi.c
34
header.u32All = 0;
sys/dev/pci/drm/amd/amdkfd/kfd_packet_manager_vi.c
35
header.opcode = opcode;
sys/dev/pci/drm/amd/amdkfd/kfd_packet_manager_vi.c
36
header.count = packet_size / 4 - 2;
sys/dev/pci/drm/amd/amdkfd/kfd_packet_manager_vi.c
37
header.type = PM4_TYPE_3;
sys/dev/pci/drm/amd/amdkfd/kfd_packet_manager_vi.c
39
return header.u32All;
sys/dev/pci/drm/amd/amdkfd/kfd_packet_manager_vi.c
52
packet->header.u32All = pm_build_pm4_header(IT_MAP_PROCESS,
sys/dev/pci/drm/amd/amdkfd/kfd_pm4_headers.h
102
union PM4_MES_TYPE_3_HEADER header; /* header */
sys/dev/pci/drm/amd/amdkfd/kfd_pm4_headers.h
53
union PM4_MES_TYPE_3_HEADER header; /* header */
sys/dev/pci/drm/amd/amdkfd/kfd_pm4_headers_ai.h
106
union PM4_MES_TYPE_3_HEADER header; /* header */
sys/dev/pci/drm/amd/amdkfd/kfd_pm4_headers_ai.h
143
union PM4_MES_TYPE_3_HEADER header; /* header */
sys/dev/pci/drm/amd/amdkfd/kfd_pm4_headers_ai.h
210
union PM4_MES_TYPE_3_HEADER header; /* header */
sys/dev/pci/drm/amd/amdkfd/kfd_pm4_headers_ai.h
277
union PM4_MES_TYPE_3_HEADER header; /* header */
sys/dev/pci/drm/amd/amdkfd/kfd_pm4_headers_ai.h
339
union PM4_MES_TYPE_3_HEADER header; /* header */
sys/dev/pci/drm/amd/amdkfd/kfd_pm4_headers_ai.h
404
union PM4_MES_TYPE_3_HEADER header; /* header */
sys/dev/pci/drm/amd/amdkfd/kfd_pm4_headers_ai.h
508
union PM4_MES_TYPE_3_HEADER header; /*header */
sys/dev/pci/drm/amd/amdkfd/kfd_pm4_headers_ai.h
58
union PM4_MES_TYPE_3_HEADER header; /* header */
sys/dev/pci/drm/amd/amdkfd/kfd_pm4_headers_ai.h
621
union PM4_MES_TYPE_3_HEADER header; /*header */
sys/dev/pci/drm/amd/amdkfd/kfd_pm4_headers_aldebaran.h
32
union PM4_MES_TYPE_3_HEADER header; /* header */
sys/dev/pci/drm/amd/amdkfd/kfd_pm4_headers_vi.h
105
union PM4_MES_TYPE_3_HEADER header; /* header */
sys/dev/pci/drm/amd/amdkfd/kfd_pm4_headers_vi.h
148
union PM4_MES_TYPE_3_HEADER header; /* header */
sys/dev/pci/drm/amd/amdkfd/kfd_pm4_headers_vi.h
229
union PM4_MES_TYPE_3_HEADER header; /* header */
sys/dev/pci/drm/amd/amdkfd/kfd_pm4_headers_vi.h
289
union PM4_MES_TYPE_3_HEADER header; /* header */
sys/dev/pci/drm/amd/amdkfd/kfd_pm4_headers_vi.h
351
union PM4_MES_TYPE_3_HEADER header; /* header */
sys/dev/pci/drm/amd/amdkfd/kfd_pm4_headers_vi.h
447
union PM4_MES_TYPE_3_HEADER header; /*header */
sys/dev/pci/drm/amd/amdkfd/kfd_pm4_headers_vi.h
58
union PM4_MES_TYPE_3_HEADER header; /* header */
sys/dev/pci/drm/amd/amdkfd/kfd_topology.c
969
struct dmi_mem_device *memdev = container_of(dm, struct dmi_mem_device, header);
sys/dev/pci/drm/amd/amdkfd/kfd_topology.c
974
if (memdev->header.type != DMI_ENTRY_MEM_DEVICE)
sys/dev/pci/drm/amd/amdkfd/kfd_topology.c
976
if (memdev->header.length < sizeof(struct dmi_mem_device))
sys/dev/pci/drm/amd/amdkfd/kfd_topology.h
185
struct dmi_header header;
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
12789
cmd.edid_cea.header.type = DMUB_CMD__EDID_CEA;
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
12790
cmd.edid_cea.header.sub_type = 0;
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
12791
cmd.edid_cea.header.payload_bytes =
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
12792
sizeof(cmd.edid_cea) - sizeof(cmd.edid_cea.header);
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
1304
le32_to_cpu(hdr->header.ucode_array_offset_bytes) +
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
1308
le32_to_cpu(hdr->header.ucode_array_offset_bytes) +
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
13268
io->header.type = DMUB_CMD__FUSED_IO;
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
13269
io->header.sub_type = DMUB_CMD__FUSED_IO_ABORT;
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
13270
io->header.payload_bytes = sizeof(*io) - sizeof(io->header);
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
13291
&& first->header.ret_status
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2416
ALIGN(le32_to_cpu(hdr->header.ucode_size_bytes) - le32_to_cpu(hdr->intv_size_bytes), PAGE_SIZE);
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2423
adev->dm.dmcu_fw_version = le32_to_cpu(hdr->header.ucode_version);
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2522
adev->dm.dmcub_fw_version = le32_to_cpu(hdr->header.ucode_version);
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2567
le32_to_cpu(hdr->header.ucode_array_offset_bytes) +
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2571
le32_to_cpu(hdr->header.ucode_array_offset_bytes) +
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1026
ATOM_ASIC_INTERNAL_SS_INFO_V2 *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1033
header = ((ATOM_ASIC_INTERNAL_SS_INFO_V2 *) bios_get_image(
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1036
struct_size(header, asSpreadSpectrum, 1)));
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1037
if (!header)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1042
tbl_size = (le16_to_cpu(header->sHeader.usStructureSize)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1047
&(header->asSpreadSpectrum[0]);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1097
ATOM_COMMON_TABLE_HEADER *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1108
header = GET_IMAGE(ATOM_COMMON_TABLE_HEADER, DATA_TABLES(SS_Info));
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1109
get_atom_data_table_revision(header, &revision);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1511
ATOM_COMMON_RECORD_HEADER *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1523
header = GET_IMAGE(ATOM_COMMON_RECORD_HEADER, offset);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1525
if (!header)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1528
offset += header->ucRecordSize;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1530
if (LAST_RECORD_TYPE == header->ucRecordType ||
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1531
!header->ucRecordSize)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1534
if (ATOM_ENCODER_CAP_RECORD_TYPE != header->ucRecordType)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1537
if (sizeof(ATOM_ENCODER_CAP_RECORD_V2) <= header->ucRecordSize)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1538
return (ATOM_ENCODER_CAP_RECORD_V2 *)header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1572
ATOM_COMMON_TABLE_HEADER *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1580
header = GET_IMAGE(ATOM_COMMON_TABLE_HEADER,
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1582
get_atom_data_table_revision(header, &revision);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1624
ATOM_COMMON_TABLE_HEADER *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1635
header = GET_IMAGE(ATOM_COMMON_TABLE_HEADER,
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1637
get_atom_data_table_revision(header, &revision);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1803
ATOM_GPIO_PIN_LUT *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1810
header = ((ATOM_GPIO_PIN_LUT *) bios_get_image(&bp->base,
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1812
struct_size(header, asGPIO_Pin, 1)));
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1813
if (!header)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1816
if (sizeof(ATOM_COMMON_TABLE_HEADER) + struct_size(header, asGPIO_Pin, 1)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1817
> le16_to_cpu(header->sHeader.usStructureSize))
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1820
if (1 != header->sHeader.ucTableContentRevision)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1823
count = (le16_to_cpu(header->sHeader.usStructureSize)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1827
if (header->asGPIO_Pin[i].ucGPIO_ID != gpio_id)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1831
(uint32_t) le16_to_cpu(header->asGPIO_Pin[i].usGpioPin_AIndex);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1837
header->asGPIO_Pin[i].ucGpioPinBitShift);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1852
ATOM_GPIO_I2C_INFO *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1862
header = GET_IMAGE(ATOM_GPIO_I2C_INFO, DATA_TABLES(GPIO_I2C_Info));
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1863
if (!header)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1867
> le16_to_cpu(header->sHeader.usStructureSize))
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1870
if (1 != header->sHeader.ucTableContentRevision)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1874
count = (le16_to_cpu(header->sHeader.usStructureSize)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1887
le16_to_cpu(header->asGPIO_Info[info->i2c_line].usClkMaskRegisterIndex);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1889
le16_to_cpu(header->asGPIO_Info[info->i2c_line].usClkEnRegisterIndex);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1891
le16_to_cpu(header->asGPIO_Info[info->i2c_line].usClkY_RegisterIndex);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1893
le16_to_cpu(header->asGPIO_Info[info->i2c_line].usClkA_RegisterIndex);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1895
le16_to_cpu(header->asGPIO_Info[info->i2c_line].usDataMaskRegisterIndex);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1897
le16_to_cpu(header->asGPIO_Info[info->i2c_line].usDataEnRegisterIndex);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1899
le16_to_cpu(header->asGPIO_Info[info->i2c_line].usDataY_RegisterIndex);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1901
le16_to_cpu(header->asGPIO_Info[info->i2c_line].usDataA_RegisterIndex);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1904
header->asGPIO_Info[info->i2c_line].ucClkMaskShift;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1906
header->asGPIO_Info[info->i2c_line].ucClkEnShift;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1908
header->asGPIO_Info[info->i2c_line].ucClkY_Shift;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1910
header->asGPIO_Info[info->i2c_line].ucClkA_Shift;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1912
header->asGPIO_Info[info->i2c_line].ucDataMaskShift;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1914
header->asGPIO_Info[info->i2c_line].ucDataEnShift;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1916
header->asGPIO_Info[info->i2c_line].ucDataY_Shift;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
1918
header->asGPIO_Info[info->i2c_line].ucDataA_Shift;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
220
ATOM_COMMON_RECORD_HEADER *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
236
header = GET_IMAGE(ATOM_COMMON_RECORD_HEADER, offset);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
238
if (!header)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
241
if (LAST_RECORD_TYPE == header->ucRecordType ||
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
242
!header->ucRecordSize)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
245
if (ATOM_I2C_RECORD_TYPE == header->ucRecordType
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
246
&& sizeof(ATOM_I2C_RECORD) <= header->ucRecordSize) {
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
248
record = (ATOM_I2C_RECORD *) header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
254
offset += header->ucRecordSize;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
2540
ATOM_COMMON_TABLE_HEADER *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
2544
header = GET_IMAGE(ATOM_COMMON_TABLE_HEADER,
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
2547
get_atom_data_table_revision(header, &revision);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
292
ATOM_COMMON_RECORD_HEADER *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
299
header = GET_IMAGE(ATOM_COMMON_RECORD_HEADER, offset);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
301
if (!header)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
304
offset += header->ucRecordSize;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
306
if (LAST_RECORD_TYPE == header->ucRecordType ||
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
307
!header->ucRecordSize)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
311
header->ucRecordType)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
314
if (sizeof(ATOM_CONNECTOR_DEVICE_TAG) > header->ucRecordSize)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
317
*record = (ATOM_CONNECTOR_DEVICE_TAG_RECORD *) header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
378
ATOM_COMMON_TABLE_HEADER *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
382
header = GET_IMAGE(ATOM_COMMON_TABLE_HEADER,
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
384
get_atom_data_table_revision(header, &revision);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
869
ATOM_COMMON_RECORD_HEADER *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
881
header = GET_IMAGE(ATOM_COMMON_RECORD_HEADER, offset);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
883
if (!header)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
886
if (LAST_RECORD_TYPE == header->ucRecordType ||
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
887
!header->ucRecordSize)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
890
if (ATOM_HPD_INT_RECORD_TYPE == header->ucRecordType
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
891
&& sizeof(ATOM_HPD_INT_RECORD) <= header->ucRecordSize)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
892
return (ATOM_HPD_INT_RECORD *) header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
894
offset += header->ucRecordSize;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
930
ATOM_COMMON_TABLE_HEADER *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
943
header = GET_IMAGE(ATOM_COMMON_TABLE_HEADER,
sys/dev/pci/drm/amd/display/dc/bios/bios_parser.c
945
get_atom_data_table_revision(header, &tbl_revision);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1074
struct atom_common_table_header *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1083
header = GET_IMAGE(struct atom_common_table_header,
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1085
get_atom_data_table_revision(header, &tbl_revision);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1170
struct atom_common_table_header *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1179
header = GET_IMAGE(struct atom_common_table_header,
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1181
get_atom_data_table_revision(header, &tbl_revision);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1333
struct atom_common_table_header *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1339
header = GET_IMAGE(struct atom_common_table_header,
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1341
get_atom_data_table_revision(header, &tbl_revision);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1383
struct atom_common_table_header *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1390
header = GET_IMAGE(struct atom_common_table_header,
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1392
get_atom_data_table_revision(header, &tbl_revision);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1515
struct atom_common_table_header *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1521
header = GET_IMAGE(struct atom_common_table_header, DATA_TABLES(lcd_info));
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1523
if (!header)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1526
get_atom_data_table_revision(header, &tbl_revision);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1740
struct atom_common_table_header *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1745
header = GET_IMAGE(struct atom_common_table_header,
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1747
get_atom_data_table_revision(header, &revision);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1842
struct atom_common_table_header *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1861
header = GET_IMAGE(struct atom_common_table_header,
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1863
get_atom_data_table_revision(header, &revision);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1928
struct atom_common_table_header *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1948
header = GET_IMAGE(struct atom_common_table_header,
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
1951
get_atom_data_table_revision(header, &revision);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2009
header = GET_IMAGE(struct atom_common_table_header,
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2011
get_atom_data_table_revision(header, &revision);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2070
struct atom_common_table_header *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2092
header = GET_IMAGE(struct atom_common_table_header,
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2095
get_atom_data_table_revision(header, &revision);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2178
struct atom_common_record_header *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2189
header = GET_IMAGE(struct atom_common_record_header, offset);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2191
if (!header)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2194
offset += header->record_size;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2196
if (header->record_type == LAST_RECORD_TYPE ||
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2197
!header->record_size)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2200
if (header->record_type != ATOM_ENCODER_CAP_RECORD_TYPE)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2204
header->record_size)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2205
return (struct atom_encoder_caps_record *)header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2215
struct atom_common_record_header *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2226
header = GET_IMAGE(struct atom_common_record_header, offset);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2228
if (!header)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2231
offset += header->record_size;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2233
if (header->record_type == LAST_RECORD_TYPE ||
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2234
!header->record_size)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2237
if (header->record_type != ATOM_DISP_CONNECTOR_CAPS_RECORD_TYPE)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2241
header->record_size)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2242
return (struct atom_disp_connector_caps_record *)header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2251
struct atom_common_record_header *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2262
header = GET_IMAGE(struct atom_common_record_header, offset);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2264
if (!header)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2267
offset += header->record_size;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2269
if (header->record_type == ATOM_RECORD_END_TYPE ||
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2270
!header->record_size)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2273
if (header->record_type != ATOM_CONNECTOR_CAP_RECORD_TYPE)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2276
if (sizeof(struct atom_connector_caps_record) <= header->record_size)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2277
return (struct atom_connector_caps_record *)header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2337
struct atom_common_record_header *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2348
header = GET_IMAGE(struct atom_common_record_header, offset);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2350
if (!header)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2353
offset += header->record_size;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2355
if (header->record_type == ATOM_RECORD_END_TYPE ||
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2356
!header->record_size)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2359
if (header->record_type != ATOM_CONNECTOR_SPEED_UPTO)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2362
if (sizeof(struct atom_connector_speed_record) <= header->record_size)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
2363
return (struct atom_connector_speed_record *)header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
3014
struct atom_common_table_header *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
3024
header = GET_IMAGE(struct atom_common_table_header,
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
3027
get_atom_data_table_revision(header, &revision);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
3138
struct atom_common_table_header *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
3143
header = GET_IMAGE(struct atom_common_table_header,
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
3146
get_atom_data_table_revision(header, &revision);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
3164
header = GET_IMAGE(struct atom_common_table_header,
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
3167
get_atom_data_table_revision(header, &revision);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
3595
struct atom_common_table_header *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
3599
header = GET_IMAGE(struct atom_common_table_header,
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
3601
if (!header)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
3604
get_atom_data_table_revision(header, &tbl_revision);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
394
struct atom_common_record_header *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
432
header = GET_IMAGE(struct atom_common_record_header, offset);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
434
if (!header)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
437
if (header->record_type == LAST_RECORD_TYPE ||
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
438
!header->record_size)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
441
if (header->record_type == ATOM_I2C_RECORD_TYPE
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
443
header->record_size) {
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
445
record = (struct atom_i2c_record *) header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
452
offset += header->record_size;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
463
struct atom_gpio_pin_lut_v2_1 *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
476
header = GET_IMAGE(struct atom_gpio_pin_lut_v2_1,
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
478
if (!header)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
483
le16_to_cpu(header->table_header.structuresize))
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
487
if (header->table_header.content_revision != 1)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
491
count = (le16_to_cpu(header->table_header.structuresize)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
495
pin = (struct atom_gpio_pin_assignment *) header->gpio_pin;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
530
struct atom_common_record_header *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
541
header = GET_IMAGE(struct atom_common_record_header, offset);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
543
if (!header)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
546
if (header->record_type == ATOM_RECORD_END_TYPE ||
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
547
!header->record_size)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
550
if (header->record_type == ATOM_HPD_INT_RECORD_TYPE
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
552
header->record_size)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
553
return (struct atom_hpd_int_record *) header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
555
offset += header->record_size;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
607
struct atom_common_record_header *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
619
header = GET_IMAGE(struct atom_common_record_header, offset);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
621
if (!header)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
624
if (header->record_type == LAST_RECORD_TYPE ||
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
625
!header->record_size)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
628
if (header->record_type == ATOM_HPD_INT_RECORD_TYPE
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
630
header->record_size)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
631
return (struct atom_hpd_int_record *) header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
633
offset += header->record_size;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
659
struct atom_gpio_pin_lut_v2_1 *header;
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
666
header = GET_IMAGE(struct atom_gpio_pin_lut_v2_1,
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
668
if (!header)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
673
> le16_to_cpu(header->table_header.structuresize))
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
676
if (header->table_header.content_revision != 1)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
680
count = (le16_to_cpu(header->table_header.structuresize)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
684
if (header->gpio_pin[i].gpio_id != gpio_id)
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
689
header->gpio_pin[i].data_a_reg_index);
sys/dev/pci/drm/amd/display/dc/bios/bios_parser2.c
695
header->gpio_pin[i].gpio_bitshift);
sys/dev/pci/drm/amd/display/dc/bios/command_table2.c
1039
cmd.lvtma_control.header.type = DMUB_CMD__VBIOS;
sys/dev/pci/drm/amd/display/dc/bios/command_table2.c
1040
cmd.lvtma_control.header.sub_type =
sys/dev/pci/drm/amd/display/dc/bios/command_table2.c
117
cmd.digx_encoder_control.header.type = DMUB_CMD__VBIOS;
sys/dev/pci/drm/amd/display/dc/bios/command_table2.c
118
cmd.digx_encoder_control.header.sub_type =
sys/dev/pci/drm/amd/display/dc/bios/command_table2.c
120
cmd.digx_encoder_control.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/bios/command_table2.c
122
sizeof(cmd.digx_encoder_control.header);
sys/dev/pci/drm/amd/display/dc/bios/command_table2.c
254
cmd.dig1_transmitter_control.header.type = DMUB_CMD__VBIOS;
sys/dev/pci/drm/amd/display/dc/bios/command_table2.c
255
cmd.dig1_transmitter_control.header.sub_type =
sys/dev/pci/drm/amd/display/dc/bios/command_table2.c
257
cmd.dig1_transmitter_control.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/bios/command_table2.c
259
sizeof(cmd.dig1_transmitter_control.header);
sys/dev/pci/drm/amd/display/dc/bios/command_table2.c
316
cmd.dig1_transmitter_control.header.type = DMUB_CMD__VBIOS;
sys/dev/pci/drm/amd/display/dc/bios/command_table2.c
317
cmd.dig1_transmitter_control.header.sub_type =
sys/dev/pci/drm/amd/display/dc/bios/command_table2.c
319
cmd.dig1_transmitter_control.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/bios/command_table2.c
321
sizeof(cmd.dig1_transmitter_control.header);
sys/dev/pci/drm/amd/display/dc/bios/command_table2.c
469
cmd.set_pixel_clock.header.type = DMUB_CMD__VBIOS;
sys/dev/pci/drm/amd/display/dc/bios/command_table2.c
470
cmd.set_pixel_clock.header.sub_type = DMUB_CMD__VBIOS_SET_PIXEL_CLOCK;
sys/dev/pci/drm/amd/display/dc/bios/command_table2.c
471
cmd.set_pixel_clock.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/bios/command_table2.c
473
sizeof(cmd.set_pixel_clock.header);
sys/dev/pci/drm/amd/display/dc/bios/command_table2.c
832
cmd.enable_disp_power_gating.header.type = DMUB_CMD__VBIOS;
sys/dev/pci/drm/amd/display/dc/bios/command_table2.c
833
cmd.enable_disp_power_gating.header.sub_type =
sys/dev/pci/drm/amd/display/dc/bios/command_table2.c
835
cmd.enable_disp_power_gating.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/bios/command_table2.c
837
sizeof(cmd.enable_disp_power_gating.header);
sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c
249
cmd.notify_clocks.header.type = DMUB_CMD__CLK_MGR;
sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c
250
cmd.notify_clocks.header.sub_type = DMUB_CMD__CLK_MGR_NOTIFY_CLOCKS;
sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c
398
cmd.notify_clocks.header.type = DMUB_CMD__CLK_MGR;
sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c
399
cmd.notify_clocks.header.sub_type = DMUB_CMD__CLK_MGR_NOTIFY_CLOCKS;
sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c
236
cmd.notify_clocks.header.type = DMUB_CMD__CLK_MGR;
sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c
237
cmd.notify_clocks.header.sub_type = DMUB_CMD__CLK_MGR_NOTIFY_CLOCKS;
sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn316/dcn316_clk_mgr.c
244
cmd.notify_clocks.header.type = DMUB_CMD__CLK_MGR;
sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn316/dcn316_clk_mgr.c
245
cmd.notify_clocks.header.sub_type = DMUB_CMD__CLK_MGR_NOTIFY_CLOCKS;
sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c
524
cmd.notify_clocks.header.type = DMUB_CMD__CLK_MGR;
sys/dev/pci/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c
525
cmd.notify_clocks.header.sub_type = DMUB_CMD__CLK_MGR_NOTIFY_CLOCKS;
sys/dev/pci/drm/amd/display/dc/core/dc.c
3771
cmd.update_dirty_rect.header.type = DMUB_CMD__UPDATE_DIRTY_RECT;
sys/dev/pci/drm/amd/display/dc/core/dc.c
3772
cmd.update_dirty_rect.header.sub_type = 0;
sys/dev/pci/drm/amd/display/dc/core/dc.c
3773
cmd.update_dirty_rect.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/core/dc.c
3775
sizeof(cmd.update_dirty_rect.header);
sys/dev/pci/drm/amd/display/dc/core/dc.c
3827
cmd.update_dirty_rect.header.type = DMUB_CMD__UPDATE_DIRTY_RECT;
sys/dev/pci/drm/amd/display/dc/core/dc.c
3828
cmd.update_dirty_rect.header.sub_type = 0;
sys/dev/pci/drm/amd/display/dc/core/dc.c
3829
cmd.update_dirty_rect.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/core/dc.c
3831
sizeof(cmd.update_dirty_rect.header);
sys/dev/pci/drm/amd/display/dc/core/dc.c
556
cmd.secure_display.header.type = DMUB_CMD__SECURE_DISPLAY;
sys/dev/pci/drm/amd/display/dc/core/dc.c
557
cmd.secure_display.header.sub_type = DMUB_CMD__SECURE_DISPLAY_CRC_STOP_UPDATE;
sys/dev/pci/drm/amd/display/dc/core/dc.c
559
cmd.secure_display.header.type = DMUB_CMD__SECURE_DISPLAY;
sys/dev/pci/drm/amd/display/dc/core/dc.c
560
cmd.secure_display.header.sub_type = DMUB_CMD__SECURE_DISPLAY_CRC_WIN_NOTIFY;
sys/dev/pci/drm/amd/display/dc/core/dc.c
5889
cmd.dp_aux_access.header.type = DMUB_CMD__DP_AUX_ACCESS;
sys/dev/pci/drm/amd/display/dc/core/dc.c
5890
cmd.dp_aux_access.header.payload_bytes = 0;
sys/dev/pci/drm/amd/display/dc/core/dc.c
5980
cmd.set_config_access.header.type = DMUB_CMD__DPIA;
sys/dev/pci/drm/amd/display/dc/core/dc.c
5981
cmd.set_config_access.header.sub_type = DMUB_CMD__DPIA_SET_CONFIG_ACCESS;
sys/dev/pci/drm/amd/display/dc/core/dc.c
5994
if (cmd.set_config_access.header.ret_status == 1)
sys/dev/pci/drm/amd/display/dc/core/dc.c
6024
cmd.set_mst_alloc_slots.header.type = DMUB_CMD__DPIA;
sys/dev/pci/drm/amd/display/dc/core/dc.c
6025
cmd.set_mst_alloc_slots.header.sub_type = DMUB_CMD__DPIA_MST_ALLOC_SLOTS;
sys/dev/pci/drm/amd/display/dc/core/dc.c
6035
if (cmd.set_config_access.header.ret_status != 1)
sys/dev/pci/drm/amd/display/dc/core/dc.c
6065
cmd.set_tps_notification.header.type = DMUB_CMD__DPIA;
sys/dev/pci/drm/amd/display/dc/core/dc.c
6066
cmd.set_tps_notification.header.sub_type = DMUB_CMD__DPIA_SET_TPS_NOTIFICATION;
sys/dev/pci/drm/amd/display/dc/core/dc.c
6086
cmd.dpia_hpd_int_enable.header.type = DMUB_CMD__DPIA_HPD_INT_ENABLE;
sys/dev/pci/drm/amd/display/dc/core/dc.c
629
cmd.secure_display.header.type = DMUB_CMD__SECURE_DISPLAY;
sys/dev/pci/drm/amd/display/dc/core/dc.c
632
cmd.secure_display.header.sub_type = DMUB_CMD__SECURE_DISPLAY_MULTIPLE_CRC_STOP_UPDATE;
sys/dev/pci/drm/amd/display/dc/core/dc.c
634
cmd.secure_display.header.sub_type = DMUB_CMD__SECURE_DISPLAY_MULTIPLE_CRC_WIN_NOTIFY;
sys/dev/pci/drm/amd/display/dc/core/dc_resource.c
4427
hdmi_info.bits.header.info_frame_type = HDMI_INFOFRAME_TYPE_AVI;
sys/dev/pci/drm/amd/display/dc/core/dc_resource.c
4430
hdmi_info.bits.header.version = 2;
sys/dev/pci/drm/amd/display/dc/core/dc_resource.c
4431
hdmi_info.bits.header.length = HDMI_AVI_INFOFRAME_SIZE;
sys/dev/pci/drm/amd/display/dc/core/dc_resource.c
4589
hdmi_info.bits.header.version = 3;
sys/dev/pci/drm/amd/display/dc/core/dc_resource.c
4595
hdmi_info.bits.header.version = 4;
sys/dev/pci/drm/amd/display/dc/core/dc_resource.c
4596
hdmi_info.bits.header.length = 14;
sys/dev/pci/drm/amd/display/dc/core/dc_resource.c
4600
hdmi_info.bits.header.version = 4;
sys/dev/pci/drm/amd/display/dc/core/dc_resource.c
4601
hdmi_info.bits.header.length = 15;
sys/dev/pci/drm/amd/display/dc/core/dc_resource.c
4635
*check_sum = HDMI_INFOFRAME_TYPE_AVI + hdmi_info.bits.header.length + hdmi_info.bits.header.version;
sys/dev/pci/drm/amd/display/dc/core/dc_resource.c
4637
for (byte_index = 1; byte_index <= hdmi_info.bits.header.length; byte_index++)
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1115
cmd[0].update_cursor_info.header.type = DMUB_CMD__UPDATE_CURSOR_INFO;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1116
cmd[0].update_cursor_info.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1118
cmd[0].update_cursor_info.header.multi_cmd_pending = 1; //To combine multi dmu cmd, 1st cmd
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1128
cmd[1].update_cursor_info.header.type = DMUB_CMD__UPDATE_CURSOR_INFO;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1129
cmd[1].update_cursor_info.header.payload_bytes = sizeof(struct cursor_attributes_cfg);
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1130
cmd[1].update_cursor_info.header.multi_cmd_pending = 0; //Indicate it's the last command.
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1238
cmd.idle_opt_notify_idle.header.type = DMUB_CMD__IDLE_OPT;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1239
cmd.idle_opt_notify_idle.header.sub_type = DMUB_CMD__IDLE_OPT_DCN_NOTIFY_IDLE;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1240
cmd.idle_opt_notify_idle.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1242
sizeof(cmd.idle_opt_notify_idle.header);
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1506
cmd.idle_opt_set_dc_power_state.header.type = DMUB_CMD__IDLE_OPT;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1507
cmd.idle_opt_set_dc_power_state.header.sub_type = DMUB_CMD__IDLE_OPT_SET_DC_POWER_STATE;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1508
cmd.idle_opt_set_dc_power_state.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1509
sizeof(cmd.idle_opt_set_dc_power_state) - sizeof(cmd.idle_opt_set_dc_power_state.header);
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1702
global_cmd->header.type = DMUB_CMD__FW_ASSISTED_MCLK_SWITCH;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1703
global_cmd->header.sub_type = DMUB_CMD__FAMS2_CONFIG;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1704
global_cmd->header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1722
stream_base_cmd->header.type = DMUB_CMD__FW_ASSISTED_MCLK_SWITCH;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1723
stream_base_cmd->header.sub_type = DMUB_CMD__FAMS2_CONFIG;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1724
stream_base_cmd->header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1726
stream_base_cmd->header.multi_cmd_pending = 1;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1727
stream_sub_state_cmd->header.type = DMUB_CMD__FW_ASSISTED_MCLK_SWITCH;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1728
stream_sub_state_cmd->header.sub_type = DMUB_CMD__FAMS2_CONFIG;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1729
stream_sub_state_cmd->header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1731
stream_sub_state_cmd->header.multi_cmd_pending = 1;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1749
global_cmd->header.multi_cmd_pending = 1;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1750
cmd[2 * context->bw_ctx.bw.dcn.fams2_global_config.num_streams].fams2_config.header.multi_cmd_pending = 0;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1768
cmd.ib_fams2_config.header.type = DMUB_CMD__FW_ASSISTED_MCLK_SWITCH;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1769
cmd.ib_fams2_config.header.sub_type = DMUB_CMD__FAMS2_IB_CONFIG;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1824
cmd.fams2_drr_update.header.type = DMUB_CMD__FW_ASSISTED_MCLK_SWITCH;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1825
cmd.fams2_drr_update.header.sub_type = DMUB_CMD__FAMS2_DRR_UPDATE;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1833
cmd.fams2_drr_update.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1834
sizeof(cmd.fams2_drr_update) - sizeof(cmd.fams2_drr_update.header);
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1868
cmds[num_cmds].fams2_flip.header.type = DMUB_CMD__FW_ASSISTED_MCLK_SWITCH;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1869
cmds[num_cmds].fams2_flip.header.sub_type = DMUB_CMD__FAMS2_FLIP;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1870
cmds[num_cmds].fams2_flip.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1874
cmds[num_cmds].fams2_flip.header.multi_cmd_pending = 1;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1934
cmds[num_cmds - 1].fams2_flip.header.multi_cmd_pending = 0;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1946
cmd.ips_residency_cntl.header.type = DMUB_CMD__IPS;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1947
cmd.ips_residency_cntl.header.sub_type = DMUB_CMD__IPS_RESIDENCY_CNTL;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1948
cmd.ips_residency_cntl.header.payload_bytes = sizeof(struct dmub_cmd_ips_residency_cntl_data);
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1969
cmd.ips_query_residency_info.header.type = DMUB_CMD__IPS;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
197
if (!cmd_list[i].cmd_common.header.multi_cmd_pending ||
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1970
cmd.ips_query_residency_info.header.sub_type = DMUB_CMD__IPS_QUERY_RESIDENCY_INFO;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1971
cmd.ips_query_residency_info.header.payload_bytes = sizeof(struct dmub_cmd_ips_query_residency_info_data);
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1979
cmd.ips_query_residency_info.header.ret_status == 0)
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1998
cmd.cmd_common.header.type = DMUB_CMD__LSDMA;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
1999
cmd.cmd_common.header.sub_type = DMUB_CMD__LSDMA_INIT_CONFIG;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
2028
cmd.cmd_common.header.type = DMUB_CMD__LSDMA;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
2029
cmd.cmd_common.header.sub_type = DMUB_CMD__LSDMA_LINEAR_COPY;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
2059
cmd.cmd_common.header.type = DMUB_CMD__LSDMA;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
2060
cmd.cmd_common.header.sub_type = DMUB_CMD__LSDMA_LINEAR_SUB_WINDOW_COPY;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
2103
cmd.cmd_common.header.type = DMUB_CMD__LSDMA;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
2104
cmd.cmd_common.header.sub_type = DMUB_CMD__LSDMA_TILED_TO_TILED_COPY;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
2157
cmd.cmd_common.header.type = DMUB_CMD__LSDMA;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
2158
cmd.cmd_common.header.sub_type = DMUB_CMD__LSDMA_PIO_COPY;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
2191
cmd.cmd_common.header.type = DMUB_CMD__LSDMA;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
2192
cmd.cmd_common.header.sub_type = DMUB_CMD__LSDMA_PIO_CONSTFILL;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
2219
cmd.cmd_common.header.type = DMUB_CMD__LSDMA;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
2220
cmd.cmd_common.header.sub_type = DMUB_CMD__LSDMA_POLL_REG_WRITE;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
2243
cmd.idle_opt_notify_idle.header.type = DMUB_CMD__IDLE_OPT;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
2244
cmd.idle_opt_notify_idle.header.sub_type = DMUB_CMD__IDLE_OPT_RELEASE_HW;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
2245
cmd.idle_opt_notify_idle.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
2247
sizeof(cmd.idle_opt_notify_idle.header);
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
380
cmd.drr_update.header.type = DMUB_CMD__FW_ASSISTED_MCLK_SWITCH;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
381
cmd.drr_update.header.sub_type = DMUB_CMD__FAMS_DRR_UPDATE;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
386
cmd.drr_update.header.payload_bytes = sizeof(cmd.drr_update) - sizeof(cmd.drr_update.header);
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
396
cmd.drr_update.header.type = DMUB_CMD__FW_ASSISTED_MCLK_SWITCH;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
397
cmd.drr_update.header.sub_type = DMUB_CMD__FAMS_SET_MANUAL_TRIGGER;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
400
cmd.drr_update.header.payload_bytes = sizeof(cmd.drr_update) - sizeof(cmd.drr_update.header);
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
454
cmd.fw_assisted_mclk_switch.header.type = DMUB_CMD__FW_ASSISTED_MCLK_SWITCH;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
455
cmd.fw_assisted_mclk_switch.header.sub_type = DMUB_CMD__FAMS_SETUP_FW_CTRL;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
498
cmd.fw_assisted_mclk_switch.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
499
sizeof(cmd.fw_assisted_mclk_switch) - sizeof(cmd.fw_assisted_mclk_switch.header);
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
517
cmd.query_feature_caps.header.type = DMUB_CMD__QUERY_FEATURE_CAPS;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
518
cmd.query_feature_caps.header.sub_type = 0;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
519
cmd.query_feature_caps.header.ret_status = 1;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
520
cmd.query_feature_caps.header.payload_bytes = sizeof(struct dmub_cmd_query_feature_caps_data);
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
524
cmd.query_feature_caps.header.ret_status == 0) {
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
543
cmd.visual_confirm_color.header.type = DMUB_CMD__GET_VISUAL_CONFIRM_COLOR;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
544
cmd.visual_confirm_color.header.sub_type = 0;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
545
cmd.visual_confirm_color.header.ret_status = 1;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
546
cmd.visual_confirm_color.header.payload_bytes = sizeof(struct dmub_cmd_visual_confirm_color_data);
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
551
cmd.visual_confirm_color.header.ret_status == 0) {
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
884
cmd.fw_assisted_mclk_switch_v2.header.type = DMUB_CMD__FW_ASSISTED_MCLK_SWITCH;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
885
cmd.fw_assisted_mclk_switch_v2.header.sub_type = DMUB_CMD__HANDLE_SUBVP_CMD;
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
886
cmd.fw_assisted_mclk_switch_v2.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/dc_dmub_srv.c
887
sizeof(cmd.fw_assisted_mclk_switch_v2) - sizeof(cmd.fw_assisted_mclk_switch_v2.header);
sys/dev/pci/drm/amd/display/dc/dc_fused_io.c
77
io->header.type = DMUB_CMD__FUSED_IO;
sys/dev/pci/drm/amd/display/dc/dc_fused_io.c
78
io->header.sub_type = DMUB_CMD__FUSED_IO_EXECUTE;
sys/dev/pci/drm/amd/display/dc/dc_fused_io.c
79
io->header.multi_cmd_pending = i != count - 1;
sys/dev/pci/drm/amd/display/dc/dc_fused_io.c
80
io->header.payload_bytes = sizeof(commands[i].fused_io) - sizeof(io->header);
sys/dev/pci/drm/amd/display/dc/dc_helper.c
153
if (offload->cmd_data.cmd_common.header.type == DMUB_CMD__REG_SEQ_BURST_WRITE &&
sys/dev/pci/drm/amd/display/dc/dc_helper.c
159
cmd_buf->header.type = DMUB_CMD__REG_SEQ_BURST_WRITE;
sys/dev/pci/drm/amd/display/dc/dc_helper.c
160
cmd_buf->header.sub_type = 0;
sys/dev/pci/drm/amd/display/dc/dc_helper.c
176
if (offload->cmd_data.cmd_common.header.type != DMUB_CMD__REG_SEQ_BURST_WRITE &&
sys/dev/pci/drm/amd/display/dc/dc_helper.c
188
cmd_buf->header.type = DMUB_CMD__REG_SEQ_READ_MODIFY_WRITE;
sys/dev/pci/drm/amd/display/dc/dc_helper.c
189
cmd_buf->header.sub_type = 0;
sys/dev/pci/drm/amd/display/dc/dc_helper.c
213
cmd_buf->header.type = DMUB_CMD__REG_REG_WAIT;
sys/dev/pci/drm/amd/display/dc/dc_helper.c
214
cmd_buf->header.sub_type = 0;
sys/dev/pci/drm/amd/display/dc/dc_helper.c
50
cmd_buf->header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/dc_helper.c
656
switch (offload->cmd_data.cmd_common.header.type) {
sys/dev/pci/drm/amd/display/dc/dc_helper.c
67
cmd_buf->header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/dce/dce_dmcu.c
821
uint32_t header, data1, data2;
sys/dev/pci/drm/amd/display/dc/dce/dce_dmcu.c
830
header = ((uint32_t)offset & 0xFFFF) << 16 | (total_length & 0xFFFF);
sys/dev/pci/drm/amd/display/dc/dce/dce_dmcu.c
842
REG_WRITE(MASTER_COMM_DATA_REG1, header);
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
147
cmd.abm_set_level.header.type = DMUB_CMD__ABM;
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
148
cmd.abm_set_level.header.sub_type = DMUB_CMD__ABM_SET_LEVEL;
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
152
cmd.abm_set_level.header.payload_bytes = sizeof(struct dmub_cmd_abm_set_level_data);
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
176
cmd.abm_init_config.header.type = DMUB_CMD__ABM;
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
177
cmd.abm_init_config.header.sub_type = DMUB_CMD__ABM_INIT_CONFIG;
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
183
cmd.abm_init_config.header.payload_bytes = sizeof(struct dmub_cmd_abm_init_config_data);
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
196
cmd.abm_pause.header.type = DMUB_CMD__ABM;
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
197
cmd.abm_pause.header.sub_type = DMUB_CMD__ABM_PAUSE;
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
200
cmd.abm_set_level.header.payload_bytes = sizeof(struct dmub_cmd_abm_pause_data);
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
235
cmd.abm_save_restore.header.type = DMUB_CMD__ABM;
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
236
cmd.abm_save_restore.header.sub_type = DMUB_CMD__ABM_SAVE_RESTORE;
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
243
cmd.abm_save_restore.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
265
cmd.abm_set_pipe.header.type = DMUB_CMD__ABM;
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
266
cmd.abm_set_pipe.header.sub_type = DMUB_CMD__ABM_SET_PIPE;
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
272
cmd.abm_set_pipe.header.payload_bytes = sizeof(struct dmub_cmd_abm_set_pipe_data);
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
288
cmd.abm_set_backlight.header.type = DMUB_CMD__ABM;
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
289
cmd.abm_set_backlight.header.sub_type = DMUB_CMD__ABM_SET_BACKLIGHT;
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
294
cmd.abm_set_backlight.header.payload_bytes = sizeof(struct dmub_cmd_abm_set_backlight_data);
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
308
cmd.abm_set_event.header.type = DMUB_CMD__ABM;
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
309
cmd.abm_set_event.header.sub_type = DMUB_CMD__ABM_SET_EVENT;
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
313
cmd.abm_set_event.header.payload_bytes = sizeof(struct dmub_cmd_abm_set_event_data);
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
68
cmd.abm_set_pwm_frac.header.type = DMUB_CMD__ABM;
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
69
cmd.abm_set_pwm_frac.header.sub_type = DMUB_CMD__ABM_SET_PWM_FRAC;
sys/dev/pci/drm/amd/display/dc/dce/dmub_abm_lcd.c
73
cmd.abm_set_pwm_frac.header.payload_bytes = sizeof(struct dmub_cmd_abm_set_pwm_frac_data);
sys/dev/pci/drm/amd/display/dc/dce/dmub_hw_lock_mgr.c
39
cmd.lock_hw.header.type = DMUB_CMD__HW_LOCK;
sys/dev/pci/drm/amd/display/dc/dce/dmub_hw_lock_mgr.c
40
cmd.lock_hw.header.sub_type = 0;
sys/dev/pci/drm/amd/display/dc/dce/dmub_hw_lock_mgr.c
41
cmd.lock_hw.header.payload_bytes = sizeof(struct dmub_cmd_lock_hw_data);
sys/dev/pci/drm/amd/display/dc/dce/dmub_outbox.c
44
cmd.outbox1_enable.header.type = DMUB_CMD__OUTBOX1_ENABLE;
sys/dev/pci/drm/amd/display/dc/dce/dmub_outbox.c
45
cmd.outbox1_enable.header.sub_type = 0;
sys/dev/pci/drm/amd/display/dc/dce/dmub_outbox.c
46
cmd.outbox1_enable.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/dce/dmub_outbox.c
48
sizeof(cmd.outbox1_enable.header);
sys/dev/pci/drm/amd/display/dc/dce/dmub_psr.c
149
cmd.psr_set_version.header.type = DMUB_CMD__PSR;
sys/dev/pci/drm/amd/display/dc/dce/dmub_psr.c
150
cmd.psr_set_version.header.sub_type = DMUB_CMD__PSR_SET_VERSION;
sys/dev/pci/drm/amd/display/dc/dce/dmub_psr.c
169
cmd.psr_set_version.header.payload_bytes = sizeof(struct dmub_cmd_psr_set_version_data);
sys/dev/pci/drm/amd/display/dc/dce/dmub_psr.c
187
cmd.psr_enable.header.type = DMUB_CMD__PSR;
sys/dev/pci/drm/amd/display/dc/dce/dmub_psr.c
193
cmd.psr_enable.header.sub_type = DMUB_CMD__PSR_ENABLE;
sys/dev/pci/drm/amd/display/dc/dce/dmub_psr.c
195
cmd.psr_enable.header.sub_type = DMUB_CMD__PSR_DISABLE;
sys/dev/pci/drm/amd/display/dc/dce/dmub_psr.c
197
cmd.psr_enable.header.payload_bytes = 0; // Send header only
sys/dev/pci/drm/amd/display/dc/dce/dmub_psr.c
242
cmd.psr_set_level.header.type = DMUB_CMD__PSR;
sys/dev/pci/drm/amd/display/dc/dce/dmub_psr.c
243
cmd.psr_set_level.header.sub_type = DMUB_CMD__PSR_SET_LEVEL;
sys/dev/pci/drm/amd/display/dc/dce/dmub_psr.c
244
cmd.psr_set_level.header.payload_bytes = sizeof(struct dmub_cmd_psr_set_level_data);
sys/dev/pci/drm/amd/display/dc/dce/dmub_psr.c
261
cmd.psr_set_vtotal.header.type = DMUB_CMD__PSR;
sys/dev/pci/drm/amd/display/dc/dce/dmub_psr.c
262
cmd.psr_set_vtotal.header.sub_type = DMUB_CMD__SET_SINK_VTOTAL_IN_PSR_ACTIVE;
sys/dev/pci/drm/amd/display/dc/dce/dmub_psr.c
263
cmd.psr_set_vtotal.header.payload_bytes = sizeof(struct dmub_cmd_psr_set_vtotal_data);
sys/dev/pci/drm/amd/display/dc/dce/dmub_psr.c
279
cmd.psr_set_power_opt.header.type = DMUB_CMD__PSR;
sys/dev/pci/drm/amd/display/dc/dce/dmub_psr.c
280
cmd.psr_set_power_opt.header.sub_type = DMUB_CMD__SET_PSR_POWER_OPT;
sys/dev/pci/drm/amd/display/dc/dce/dmub_psr.c
281
cmd.psr_set_power_opt.header.payload_bytes = sizeof(struct dmub_cmd_psr_set_power_opt_data);
sys/dev/pci/drm/amd/display/dc/dce/dmub_psr.c
331
cmd.psr_copy_settings.header.type = DMUB_CMD__PSR;
sys/dev/pci/drm/amd/display/dc/dce/dmub_psr.c
332
cmd.psr_copy_settings.header.sub_type = DMUB_CMD__PSR_COPY_SETTINGS;
sys/dev/pci/drm/amd/display/dc/dce/dmub_psr.c
333
cmd.psr_copy_settings.header.payload_bytes = sizeof(struct dmub_cmd_psr_copy_settings_data);
sys/dev/pci/drm/amd/display/dc/dce/dmub_psr.c
444
cmd.psr_force_static.header.type = DMUB_CMD__PSR;
sys/dev/pci/drm/amd/display/dc/dce/dmub_psr.c
445
cmd.psr_force_static.header.sub_type = DMUB_CMD__PSR_FORCE_STATIC;
sys/dev/pci/drm/amd/display/dc/dce/dmub_psr.c
446
cmd.psr_enable.header.payload_bytes = 0;
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
103
cmd.replay_set_power_opt.header.type = DMUB_CMD__REPLAY;
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
104
cmd.replay_set_power_opt.header.sub_type = DMUB_CMD__SET_REPLAY_POWER_OPT;
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
105
cmd.replay_set_power_opt.header.payload_bytes = sizeof(struct dmub_cmd_replay_set_power_opt_data);
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
144
cmd.replay_copy_settings.header.type = DMUB_CMD__REPLAY;
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
145
cmd.replay_copy_settings.header.sub_type = DMUB_CMD__REPLAY_COPY_SETTINGS;
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
146
cmd.replay_copy_settings.header.payload_bytes = sizeof(struct dmub_cmd_replay_copy_settings_data);
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
225
pCmd->header.type = DMUB_CMD__REPLAY;
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
226
pCmd->header.sub_type = DMUB_CMD__REPLAY_SET_COASTING_VTOTAL;
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
227
pCmd->header.payload_bytes = sizeof(struct dmub_cmd_replay_set_coasting_vtotal_data);
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
295
pCmd->header.type = DMUB_CMD__REPLAY;
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
296
pCmd->header.sub_type = DMUB_CMD__REPLAY_SET_POWER_OPT_AND_COASTING_VTOTAL;
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
297
pCmd->header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
326
cmd.replay_set_timing_sync.header.type = DMUB_CMD__REPLAY;
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
335
cmd.replay_set_timing_sync.header.sub_type =
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
337
cmd.replay_set_timing_sync.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
348
cmd.replay_set_frameupdate_timer.header.sub_type =
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
350
cmd.replay_set_frameupdate_timer.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
363
cmd.replay_set_pseudo_vtotal.header.sub_type =
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
365
cmd.replay_set_pseudo_vtotal.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
376
cmd.replay_disabled_adaptive_sync_sdp.header.sub_type =
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
378
cmd.replay_disabled_adaptive_sync_sdp.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
389
cmd.replay_set_general_cmd.header.sub_type =
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
391
cmd.replay_set_general_cmd.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
55
cmd.replay_enable.header.type = DMUB_CMD__REPLAY;
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
58
cmd.replay_enable.header.sub_type = DMUB_CMD__REPLAY_ENABLE;
sys/dev/pci/drm/amd/display/dc/dce/dmub_replay.c
64
cmd.replay_enable.header.payload_bytes = sizeof(struct dmub_rb_cmd_replay_enable_data);
sys/dev/pci/drm/amd/display/dc/dcn31/dcn31_panel_cntl.c
104
cmd.panel_cntl.header.type = DMUB_CMD__PANEL_CNTL;
sys/dev/pci/drm/amd/display/dc/dcn31/dcn31_panel_cntl.c
105
cmd.panel_cntl.header.sub_type = DMUB_CMD__PANEL_DEBUG_PWM_FREQ;
sys/dev/pci/drm/amd/display/dc/dcn31/dcn31_panel_cntl.c
106
cmd.panel_cntl.header.payload_bytes = sizeof(cmd.panel_cntl.data);
sys/dev/pci/drm/amd/display/dc/dcn31/dcn31_panel_cntl.c
50
cmd->panel_cntl.header.type = DMUB_CMD__PANEL_CNTL;
sys/dev/pci/drm/amd/display/dc/dcn31/dcn31_panel_cntl.c
51
cmd->panel_cntl.header.sub_type = DMUB_CMD__PANEL_CNTL_QUERY_BACKLIGHT_INFO;
sys/dev/pci/drm/amd/display/dc/dcn31/dcn31_panel_cntl.c
52
cmd->panel_cntl.header.payload_bytes = sizeof(cmd->panel_cntl.data);
sys/dev/pci/drm/amd/display/dc/dcn31/dcn31_panel_cntl.c
79
cmd.panel_cntl.header.type = DMUB_CMD__PANEL_CNTL;
sys/dev/pci/drm/amd/display/dc/dcn31/dcn31_panel_cntl.c
80
cmd.panel_cntl.header.sub_type = DMUB_CMD__PANEL_CNTL_HW_INIT;
sys/dev/pci/drm/amd/display/dc/dcn31/dcn31_panel_cntl.c
81
cmd.panel_cntl.header.payload_bytes = sizeof(cmd.panel_cntl.data);
sys/dev/pci/drm/amd/display/dc/dio/dcn31/dcn31_dio_link_encoder.c
122
cmd->query_dp_alt.header.type = DMUB_CMD__VBIOS;
sys/dev/pci/drm/amd/display/dc/dio/dcn31/dcn31_dio_link_encoder.c
123
cmd->query_dp_alt.header.sub_type =
sys/dev/pci/drm/amd/display/dc/dio/dcn31/dcn31_dio_link_encoder.c
125
cmd->query_dp_alt.header.payload_bytes = sizeof(cmd->query_dp_alt.data);
sys/dev/pci/drm/amd/display/dc/dio/dcn31/dcn31_dio_link_encoder.c
430
cmd.dig1_dpia_control.header.type = DMUB_CMD__DPIA;
sys/dev/pci/drm/amd/display/dc/dio/dcn31/dcn31_dio_link_encoder.c
431
cmd.dig1_dpia_control.header.sub_type =
sys/dev/pci/drm/amd/display/dc/dio/dcn31/dcn31_dio_link_encoder.c
433
cmd.dig1_dpia_control.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/dio/dcn31/dcn31_dio_link_encoder.c
435
sizeof(cmd.dig1_dpia_control.header);
sys/dev/pci/drm/amd/display/dc/dio/dcn32/dcn32_dio_link_encoder.c
159
cmd->query_dp_alt.header.type = DMUB_CMD__VBIOS;
sys/dev/pci/drm/amd/display/dc/dio/dcn32/dcn32_dio_link_encoder.c
160
cmd->query_dp_alt.header.sub_type =
sys/dev/pci/drm/amd/display/dc/dio/dcn32/dcn32_dio_link_encoder.c
162
cmd->query_dp_alt.header.payload_bytes = sizeof(cmd->query_dp_alt.data);
sys/dev/pci/drm/amd/display/dc/dio/dcn35/dcn35_dio_link_encoder.c
280
cmd.dig1_dpia_control.header.type = DMUB_CMD__DPIA;
sys/dev/pci/drm/amd/display/dc/dio/dcn35/dcn35_dio_link_encoder.c
281
cmd.dig1_dpia_control.header.sub_type =
sys/dev/pci/drm/amd/display/dc/dio/dcn35/dcn35_dio_link_encoder.c
283
cmd.dig1_dpia_control.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/dio/dcn35/dcn35_dio_link_encoder.c
285
sizeof(cmd.dig1_dpia_control.header);
sys/dev/pci/drm/amd/display/dc/hubp/dcn21/dcn21_hubp.c
677
cmd.PLAT_54186_wa.header.type = DMUB_CMD__PLAT_54186_WA;
sys/dev/pci/drm/amd/display/dc/hubp/dcn21/dcn21_hubp.c
678
cmd.PLAT_54186_wa.header.payload_bytes = sizeof(cmd.PLAT_54186_wa.flip);
sys/dev/pci/drm/amd/display/dc/hwss/dcn21/dcn21_hwseq.c
148
cmd.abm_set_pipe.header.type = DMUB_CMD__ABM;
sys/dev/pci/drm/amd/display/dc/hwss/dcn21/dcn21_hwseq.c
149
cmd.abm_set_pipe.header.sub_type = DMUB_CMD__ABM_SET_PIPE;
sys/dev/pci/drm/amd/display/dc/hwss/dcn21/dcn21_hwseq.c
155
cmd.abm_set_pipe.header.payload_bytes = sizeof(struct dmub_cmd_abm_set_pipe_data);
sys/dev/pci/drm/amd/display/dc/hwss/dcn21/dcn21_hwseq.c
168
cmd.abm_set_backlight.header.type = DMUB_CMD__ABM;
sys/dev/pci/drm/amd/display/dc/hwss/dcn21/dcn21_hwseq.c
169
cmd.abm_set_backlight.header.sub_type = DMUB_CMD__ABM_SET_BACKLIGHT;
sys/dev/pci/drm/amd/display/dc/hwss/dcn21/dcn21_hwseq.c
174
cmd.abm_set_backlight.header.payload_bytes = sizeof(struct dmub_cmd_abm_set_backlight_data);
sys/dev/pci/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c
1037
cmd.mall.header.type = DMUB_CMD__MALL;
sys/dev/pci/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c
1038
cmd.mall.header.sub_type = DMUB_CMD__MALL_ACTION_COPY_CURSOR;
sys/dev/pci/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c
1039
cmd.mall.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c
1040
sizeof(cmd.mall) - sizeof(cmd.mall.header);
sys/dev/pci/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c
1074
cmd.mall.header.type = DMUB_CMD__MALL;
sys/dev/pci/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c
1075
cmd.mall.header.sub_type = DMUB_CMD__MALL_ACTION_ALLOW;
sys/dev/pci/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c
1076
cmd.mall.header.payload_bytes = sizeof(cmd.mall) - sizeof(cmd.mall.header);
sys/dev/pci/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c
1093
cmd.mall.header.type = DMUB_CMD__MALL;
sys/dev/pci/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c
1094
cmd.mall.header.sub_type = DMUB_CMD__MALL_ACTION_DISALLOW;
sys/dev/pci/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c
1095
cmd.mall.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c
1096
sizeof(cmd.mall) - sizeof(cmd.mall.header);
sys/dev/pci/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c
935
cmd.mall.header.type = DMUB_CMD__MALL;
sys/dev/pci/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c
936
cmd.mall.header.sub_type = DMUB_CMD__MALL_ACTION_NO_DF_REQ;
sys/dev/pci/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c
937
cmd.mall.header.payload_bytes = sizeof(cmd.mall) - sizeof(cmd.mall.header);
sys/dev/pci/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c
424
cmd.dcn_restore.header.type = DMUB_CMD__IDLE_OPT;
sys/dev/pci/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c
425
cmd.dcn_restore.header.sub_type = DMUB_CMD__IDLE_OPT_DCN_SAVE_INIT;
sys/dev/pci/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c
442
cmd.dcn_restore.header.type = DMUB_CMD__IDLE_OPT;
sys/dev/pci/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c
443
cmd.dcn_restore.header.sub_type = DMUB_CMD__IDLE_OPT_DCN_RESTORE;
sys/dev/pci/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c
690
cmd.abm_set_backlight.header.type = DMUB_CMD__ABM;
sys/dev/pci/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c
691
cmd.abm_set_backlight.header.sub_type = DMUB_CMD__ABM_SET_BACKLIGHT;
sys/dev/pci/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c
702
cmd.abm_set_backlight.header.payload_bytes = sizeof(struct dmub_cmd_abm_set_backlight_data);
sys/dev/pci/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c
280
cmd.cab.header.type = DMUB_CMD__CAB_FOR_SS;
sys/dev/pci/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c
281
cmd.cab.header.sub_type = DMUB_CMD__CAB_NO_DCN_REQ;
sys/dev/pci/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c
282
cmd.cab.header.payload_bytes = sizeof(cmd.cab) - sizeof(cmd.cab.header);
sys/dev/pci/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c
313
cmd.cab.header.type = DMUB_CMD__CAB_FOR_SS;
sys/dev/pci/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c
314
cmd.cab.header.sub_type = DMUB_CMD__CAB_DCN_SS_FIT_IN_CAB;
sys/dev/pci/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c
315
cmd.cab.header.payload_bytes = sizeof(cmd.cab) - sizeof(cmd.cab.header);
sys/dev/pci/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c
330
cmd.cab.header.type = DMUB_CMD__CAB_FOR_SS;
sys/dev/pci/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c
331
cmd.cab.header.sub_type = DMUB_CMD__CAB_NO_IDLE_OPTIMIZATION;
sys/dev/pci/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c
332
cmd.cab.header.payload_bytes =
sys/dev/pci/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c
333
sizeof(cmd.cab) - sizeof(cmd.cab.header);
sys/dev/pci/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c
1292
cmd.cab.header.type = DMUB_CMD__CAB_FOR_SS;
sys/dev/pci/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c
1293
cmd.cab.header.payload_bytes = sizeof(cmd.cab) - sizeof(cmd.cab.header);
sys/dev/pci/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c
1301
cmd.cab.header.sub_type = DMUB_CMD__CAB_NO_DCN_REQ;
sys/dev/pci/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c
1326
cmd.cab.header.sub_type = DMUB_CMD__CAB_DCN_SS_FIT_IN_CAB;
sys/dev/pci/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c
1330
cmd.cab.header.sub_type = DMUB_CMD__CAB_DCN_SS_NOT_FIT_IN_CAB;
sys/dev/pci/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c
1336
cmd.cab.header.sub_type = DMUB_CMD__CAB_NO_IDLE_OPTIMIZATION;
sys/dev/pci/drm/amd/display/dc/inc/dcn_calcs.h
229
float header;
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_capability.c
1491
cmd.cable_id.header.type = DMUB_CMD_GET_USBC_CABLE_ID;
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_capability.c
1492
cmd.cable_id.header.payload_bytes = sizeof(cmd.cable_id.data);
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_capability.c
1496
cmd.cable_id.header.ret_status == 1) {
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_capability.c
1500
return cmd.cable_id.header.ret_status == 1;
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_dpia.c
120
cmd.query_hpd.header.type = DMUB_CMD__QUERY_HPD_STATE;
sys/dev/pci/drm/amd/display/dc/link/protocols/link_dp_dpia.c
121
cmd.query_hpd.header.payload_bytes = sizeof(cmd.query_hpd.data);
sys/dev/pci/drm/amd/display/dc/link/protocols/link_edp_panel_control.c
1264
cmd.assr_enable.header.type = DMUB_CMD__PSP;
sys/dev/pci/drm/amd/display/dc/link/protocols/link_edp_panel_control.c
1265
cmd.assr_enable.header.sub_type = DMUB_CMD__PSP_ASSR_ENABLE;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
1670
struct dmub_cmd_header header; /**< command header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
1704
struct dmub_cmd_header header; /**< command header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
1728
struct dmub_cmd_header header; /**< command header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
1740
struct dmub_cmd_header header; /**< command header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
1761
struct dmub_cmd_header header; /**< Command header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
1791
struct dmub_cmd_header header; /**< Command header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
1821
struct dmub_cmd_header header; /**< Common command header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
1862
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
1954
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
1983
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2131
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2152
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2390
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2406
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2444
struct dmub_cmd_header header; /**< header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2460
struct dmub_cmd_header header; /**< header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2487
struct dmub_cmd_header header; /**< header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2515
struct dmub_cmd_header header; /**< header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2530
struct dmub_cmd_header header; /**< header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2545
struct dmub_cmd_header header; /**< header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2560
struct dmub_cmd_header header; /**< header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2600
struct dmub_cmd_header header; /**< header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2617
struct dmub_cmd_header header; /**< header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2645
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2681
struct dmub_cmd_header header; /* header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2689
struct dmub_cmd_header header; /* header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2707
struct dmub_cmd_header header; /* header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2725
struct dmub_cmd_header header; /* header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2733
struct dmub_cmd_header header; /* header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2741
struct dmub_cmd_header header; /**< header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2834
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2848
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2908
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
2981
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
3011
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
3076
struct dpia_notification_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
3084
struct dmub_cmd_header header; /**< DPIA notification header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
3106
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
3125
struct dmub_cmd_header header; /**< header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
3460
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
3494
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
3533
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
3569
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
3600
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
3671
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
3822
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
3864
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
3902
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
4207
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
4221
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
4277
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
4383
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
4425
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
4439
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
4457
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
4471
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
4485
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
4499
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
4532
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
4702
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5010
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5108
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5150
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5192
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5235
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5283
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5327
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5372
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5418
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5453
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5488
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5549
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5575
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5599
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5644
struct dmub_cmd_header header; /**< header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5655
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5676
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5698
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5719
struct dmub_cmd_header header; /**< header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5747
struct dmub_cmd_header header; /**< header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5799
struct dmub_cmd_header header; /**< Command header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5834
struct dmub_cmd_header header; /**< Command header */
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5899
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5943
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
5997
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
6048
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
6064
struct dmub_cmd_header header;
sys/dev/pci/drm/amd/display/dmub/inc/dmub_cmd.h
982
struct dmub_shared_state_feature_header header; /**< Shared state header. */
sys/dev/pci/drm/amd/display/dmub/src/dmub_dcn401.c
519
int32_t payload_size_bytes = cmd->cmd_common.header.payload_bytes;
sys/dev/pci/drm/amd/display/dmub/src/dmub_srv.c
1250
dmub->reg_inbox0.is_multi_pending = cmd->cmd_common.header.multi_cmd_pending;
sys/dev/pci/drm/amd/display/dmub/src/dmub_srv_stat.c
71
switch (cmd.cmd_common.header.type) {
sys/dev/pci/drm/amd/display/dmub/src/dmub_srv_stat.c
97
notify->instance = cmd.dpia_notification.payload.header.instance;
sys/dev/pci/drm/amd/display/include/set_mode_types.h
58
struct hdmi_info_frame_header header;
sys/dev/pci/drm/amd/include/atomfirmware.h
3559
struct atom_voltage_object_header_v4 header; // voltage mode = VOLTAGE_OBJ_VR_I2C_INIT_SEQ
sys/dev/pci/drm/amd/include/atomfirmware.h
3586
struct atom_voltage_object_header_v4 header; // voltage mode = VOLTAGE_OBJ_GPIO_LUT or VOLTAGE_OBJ_PHASE_LUT
sys/dev/pci/drm/amd/include/atomfirmware.h
3597
struct atom_voltage_object_header_v4 header; // voltage mode = VOLTAGE_OBJ_SVID2
sys/dev/pci/drm/amd/include/atomfirmware.h
3609
struct atom_voltage_object_header_v4 header; // voltage mode = VOLTAGE_OBJ_MERGED_POWER
sys/dev/pci/drm/amd/include/cik_structs.h
28
uint32_t header;
sys/dev/pci/drm/amd/include/discovery.h
156
ip_discovery_header* header;
sys/dev/pci/drm/amd/include/discovery.h
177
struct gpu_info_header header;
sys/dev/pci/drm/amd/include/discovery.h
201
struct gpu_info_header header;
sys/dev/pci/drm/amd/include/discovery.h
228
struct gpu_info_header header;
sys/dev/pci/drm/amd/include/discovery.h
262
struct gpu_info_header header;
sys/dev/pci/drm/amd/include/discovery.h
304
struct gpu_info_header header;
sys/dev/pci/drm/amd/include/discovery.h
326
struct gpu_info_header header;
sys/dev/pci/drm/amd/include/discovery.h
367
harvest_info_header header;
sys/dev/pci/drm/amd/include/discovery.h
379
struct mall_info_header header;
sys/dev/pci/drm/amd/include/discovery.h
388
struct mall_info_header header;
sys/dev/pci/drm/amd/include/discovery.h
419
struct vcn_info_header header;
sys/dev/pci/drm/amd/include/discovery.h
440
struct nps_info_header header;
sys/dev/pci/drm/amd/include/mes_v11_api_def.h
195
struct MES_LOG_ENTRY_HEADER header;
sys/dev/pci/drm/amd/include/mes_v11_api_def.h
205
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v11_api_def.h
258
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v11_api_def.h
279
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v11_api_def.h
339
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v11_api_def.h
366
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v11_api_def.h
393
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v11_api_def.h
403
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v11_api_def.h
416
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v11_api_def.h
436
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v11_api_def.h
453
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v11_api_def.h
499
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v11_api_def.h
517
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v11_api_def.h
527
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v11_api_def.h
542
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v11_api_def.h
664
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v11_api_def.h
687
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v11_api_def.h
698
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v12_api_def.h
242
struct MES_LOG_ENTRY_HEADER header;
sys/dev/pci/drm/amd/include/mes_v12_api_def.h
252
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v12_api_def.h
307
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v12_api_def.h
330
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v12_api_def.h
393
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v12_api_def.h
422
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v12_api_def.h
448
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v12_api_def.h
459
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v12_api_def.h
481
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v12_api_def.h
512
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v12_api_def.h
532
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v12_api_def.h
589
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v12_api_def.h
626
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v12_api_def.h
642
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v12_api_def.h
789
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v12_api_def.h
813
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v12_api_def.h
826
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v12_api_def.h
845
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v12_api_def.h
867
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/mes_v12_api_def.h
896
union MES_API_HEADER header;
sys/dev/pci/drm/amd/include/umsch_mm_4_0_api_def.h
122
struct UMSCH_LOG_ENTRY_HEADER header;
sys/dev/pci/drm/amd/include/umsch_mm_4_0_api_def.h
212
union UMSCH_API_HEADER header;
sys/dev/pci/drm/amd/include/umsch_mm_4_0_api_def.h
251
union UMSCH_API_HEADER header;
sys/dev/pci/drm/amd/include/umsch_mm_4_0_api_def.h
279
union UMSCH_API_HEADER header;
sys/dev/pci/drm/amd/include/umsch_mm_4_0_api_def.h
315
union UMSCH_API_HEADER header;
sys/dev/pci/drm/amd/include/umsch_mm_4_0_api_def.h
329
union UMSCH_API_HEADER header;
sys/dev/pci/drm/amd/include/umsch_mm_4_0_api_def.h
339
union UMSCH_API_HEADER header;
sys/dev/pci/drm/amd/include/umsch_mm_4_0_api_def.h
358
union UMSCH_API_HEADER header;
sys/dev/pci/drm/amd/include/umsch_mm_4_0_api_def.h
378
union UMSCH_API_HEADER header;
sys/dev/pci/drm/amd/include/umsch_mm_4_0_api_def.h
392
union UMSCH_API_HEADER header;
sys/dev/pci/drm/amd/include/umsch_mm_4_0_api_def.h
410
union UMSCH_API_HEADER header;
sys/dev/pci/drm/amd/include/umsch_mm_4_0_api_def.h
422
union UMSCH_API_HEADER header;
sys/dev/pci/drm/amd/include/umsch_mm_4_0_api_def.h
436
union UMSCH_API_HEADER header;
sys/dev/pci/drm/amd/include/v10_structs.h
676
uint32_t header;
sys/dev/pci/drm/amd/include/v11_structs.h
675
uint32_t header; // offset: 0 (0x0)
sys/dev/pci/drm/amd/include/v12_structs.h
675
uint32_t header; // offset: 0 (0x0)
sys/dev/pci/drm/amd/include/v9_structs.h
160
uint32_t header;
sys/dev/pci/drm/amd/include/vi_structs.h
160
uint32_t header;
sys/dev/pci/drm/amd/pm/legacy-dpm/si_smc.c
245
amdgpu_ucode_print_smc_hdr(&hdr->header);
sys/dev/pci/drm/amd/pm/legacy-dpm/si_smc.c
247
adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version);
sys/dev/pci/drm/amd/pm/legacy-dpm/si_smc.c
249
ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes);
sys/dev/pci/drm/amd/pm/legacy-dpm/si_smc.c
251
(adev->pm.fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/pm/powerplay/hwmgr/ppatomfwctrl.c
43
if (voltage_type == voltage_object->gpio_voltage_obj.header.voltage_type &&
sys/dev/pci/drm/amd/pm/powerplay/hwmgr/ppatomfwctrl.c
44
voltage_mode == voltage_object->gpio_voltage_obj.header.voltage_mode)
sys/dev/pci/drm/amd/pm/powerplay/hwmgr/ppatomfwctrl.c
47
offset += le16_to_cpu(voltage_object->gpio_voltage_obj.header.object_size);
sys/dev/pci/drm/amd/pm/powerplay/hwmgr/processpptables.c
1139
const ATOM_PPLIB_EXTENDEDHEADER *header;
sys/dev/pci/drm/amd/pm/powerplay/hwmgr/processpptables.c
1150
header = (ATOM_PPLIB_EXTENDEDHEADER *)(((unsigned long) powerplay_table) +
sys/dev/pci/drm/amd/pm/powerplay/hwmgr/processpptables.c
1153
hwmgr->platform_descriptor.overdriveLimit.engineClock = le32_to_cpu(header->ulMaxEngineClock);
sys/dev/pci/drm/amd/pm/powerplay/hwmgr/processpptables.c
1154
hwmgr->platform_descriptor.overdriveLimit.memoryClock = le32_to_cpu(header->ulMaxMemoryClock);
sys/dev/pci/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c
123
const Vega10_PPTable_Generic_SubTable_Header *header;
sys/dev/pci/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c
163
header = (const Vega10_PPTable_Generic_SubTable_Header *)
sys/dev/pci/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c
167
if (header->ucRevId == 10) {
sys/dev/pci/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c
168
fan_table_v1 = (ATOM_Vega10_Fan_Table *)header;
sys/dev/pci/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c
211
} else if (header->ucRevId == 0xb) {
sys/dev/pci/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c
212
fan_table_v2 = (ATOM_Vega10_Fan_Table_V2 *)header;
sys/dev/pci/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c
255
} else if (header->ucRevId > 0xb) {
sys/dev/pci/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c
256
fan_table_v3 = (ATOM_Vega10_Fan_Table_V3 *)header;
sys/dev/pci/drm/amd/pm/swsmu/amdgpu_smu.c
639
ATOM_COMMON_TABLE_HEADER *header = (ATOM_COMMON_TABLE_HEADER *)buf;
sys/dev/pci/drm/amd/pm/swsmu/amdgpu_smu.c
645
if (header->usStructureSize != size) {
sys/dev/pci/drm/amd/pm/swsmu/inc/smu_v11_0_7_pptable.h
174
struct atom_common_table_header header; //For sienna_cichlid, header.format_revision = 15, header.content_revision = 0
sys/dev/pci/drm/amd/pm/swsmu/inc/smu_v11_0_pptable.h
138
struct atom_common_table_header header;
sys/dev/pci/drm/amd/pm/swsmu/inc/smu_v13_0_0_pptable.h
173
struct atom_common_table_header header; //For SMU13, header.format_revision = 15, header.content_revision = 0
sys/dev/pci/drm/amd/pm/swsmu/inc/smu_v13_0_7_pptable.h
173
struct atom_common_table_header header; //For PLUM_BONITO, header.format_revision = 15, header.content_revision = 0
sys/dev/pci/drm/amd/pm/swsmu/inc/smu_v13_0_pptable.h
140
struct atom_common_table_header header;
sys/dev/pci/drm/amd/pm/swsmu/inc/smu_v14_0_2_pptable.h
142
struct atom_common_table_header header; // header.format_revision = 3 (HAS TO MATCH SMU_14_0_2_TABLE_FORMAT_REVISION), header.content_revision = ? structuresize is calculated by PPGen.
sys/dev/pci/drm/amd/pm/swsmu/smu11/smu_v11_0.c
114
amdgpu_ucode_print_smc_hdr(&hdr->header);
sys/dev/pci/drm/amd/pm/swsmu/smu11/smu_v11_0.c
115
adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version);
sys/dev/pci/drm/amd/pm/swsmu/smu11/smu_v11_0.c
121
header = (const struct common_firmware_header *)ucode->fw->data;
sys/dev/pci/drm/amd/pm/swsmu/smu11/smu_v11_0.c
123
ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
sys/dev/pci/drm/amd/pm/swsmu/smu11/smu_v11_0.c
152
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/pm/swsmu/smu11/smu_v11_0.c
153
smc_fw_size = hdr->header.ucode_size_bytes;
sys/dev/pci/drm/amd/pm/swsmu/smu11/smu_v11_0.c
326
version_major = le16_to_cpu(hdr->header.header_version_major);
sys/dev/pci/drm/amd/pm/swsmu/smu11/smu_v11_0.c
327
version_minor = le16_to_cpu(hdr->header.header_version_minor);
sys/dev/pci/drm/amd/pm/swsmu/smu11/smu_v11_0.c
531
struct atom_common_table_header *header;
sys/dev/pci/drm/amd/pm/swsmu/smu11/smu_v11_0.c
539
(uint8_t **)&header);
sys/dev/pci/drm/amd/pm/swsmu/smu11/smu_v11_0.c
543
if (header->format_revision != 3) {
sys/dev/pci/drm/amd/pm/swsmu/smu11/smu_v11_0.c
548
switch (header->content_revision) {
sys/dev/pci/drm/amd/pm/swsmu/smu11/smu_v11_0.c
552
v_3_1 = (struct atom_firmware_info_v3_1 *)header;
sys/dev/pci/drm/amd/pm/swsmu/smu11/smu_v11_0.c
569
v_3_3 = (struct atom_firmware_info_v3_3 *)header;
sys/dev/pci/drm/amd/pm/swsmu/smu11/smu_v11_0.c
584
smu->smu_table.boot_values.format_revision = header->format_revision;
sys/dev/pci/drm/amd/pm/swsmu/smu11/smu_v11_0.c
585
smu->smu_table.boot_values.content_revision = header->content_revision;
sys/dev/pci/drm/amd/pm/swsmu/smu11/smu_v11_0.c
99
const struct common_firmware_header *header;
sys/dev/pci/drm/amd/pm/swsmu/smu12/smu_v12_0.c
319
struct atom_common_table_header *header;
sys/dev/pci/drm/amd/pm/swsmu/smu12/smu_v12_0.c
327
(uint8_t **)&header);
sys/dev/pci/drm/amd/pm/swsmu/smu12/smu_v12_0.c
331
if (header->format_revision != 3) {
sys/dev/pci/drm/amd/pm/swsmu/smu12/smu_v12_0.c
336
switch (header->content_revision) {
sys/dev/pci/drm/amd/pm/swsmu/smu12/smu_v12_0.c
340
v_3_1 = (struct atom_firmware_info_v3_1 *)header;
sys/dev/pci/drm/amd/pm/swsmu/smu12/smu_v12_0.c
357
v_3_3 = (struct atom_firmware_info_v3_3 *)header;
sys/dev/pci/drm/amd/pm/swsmu/smu12/smu_v12_0.c
372
smu->smu_table.boot_values.format_revision = header->format_revision;
sys/dev/pci/drm/amd/pm/swsmu/smu12/smu_v12_0.c
373
smu->smu_table.boot_values.content_revision = header->content_revision;
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
118
amdgpu_ucode_print_smc_hdr(&hdr->header);
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
119
adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version);
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
125
header = (const struct common_firmware_header *)ucode->fw->data;
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
127
ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
157
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
158
smc_fw_size = hdr->header.ucode_size_bytes;
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
383
version_major = le16_to_cpu(hdr->header.header_version_major);
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
384
version_minor = le16_to_cpu(hdr->header.header_version_minor);
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
585
struct atom_common_table_header *header;
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
596
(uint8_t **)&header);
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
600
if (header->format_revision != 3) {
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
605
switch (header->content_revision) {
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
609
v_3_1 = (struct atom_firmware_info_v3_1 *)header;
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
623
v_3_3 = (struct atom_firmware_info_v3_3 *)header;
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
638
v_3_4 = (struct atom_firmware_info_v3_4 *)header;
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
653
smu->smu_table.boot_values.format_revision = header->format_revision;
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
654
smu->smu_table.boot_values.content_revision = header->content_revision;
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
659
(uint8_t **)&header)) {
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
662
smu_info_v3_6 = (struct atom_smu_info_v3_6 *)header;
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
671
smu_info_v4_0 = (struct atom_smu_info_v4_0 *)header;
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0.c
99
const struct common_firmware_header *header;
sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0.c
100
header = (const struct common_firmware_header *)ucode->fw->data;
sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0.c
102
ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE);
sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0.c
131
le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0.c
132
smc_fw_size = hdr->header.ucode_size_bytes;
sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0.c
373
version_major = le16_to_cpu(hdr->header.header_version_major);
sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0.c
374
version_minor = le16_to_cpu(hdr->header.header_version_minor);
sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0.c
570
struct atom_common_table_header *header;
sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0.c
581
(uint8_t **)&header);
sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0.c
585
if (header->format_revision != 3) {
sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0.c
590
switch (header->content_revision) {
sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0.c
594
v_3_1 = (struct atom_firmware_info_v3_1 *)header;
sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0.c
608
v_3_3 = (struct atom_firmware_info_v3_3 *)header;
sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0.c
623
v_3_4 = (struct atom_firmware_info_v3_4 *)header;
sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0.c
638
smu->smu_table.boot_values.format_revision = header->format_revision;
sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0.c
639
smu->smu_table.boot_values.content_revision = header->content_revision;
sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0.c
644
(uint8_t **)&header)) {
sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0.c
647
smu_info_v3_6 = (struct atom_smu_info_v3_6 *)header;
sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0.c
656
smu_info_v4_0 = (struct atom_smu_info_v4_0 *)header;
sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0.c
75
const struct common_firmware_header *header;
sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0.c
93
amdgpu_ucode_print_smc_hdr(&hdr->header);
sys/dev/pci/drm/amd/pm/swsmu/smu14/smu_v14_0.c
94
adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version);
sys/dev/pci/drm/amd/pm/swsmu/smu_cmn.h
49
struct metrics_table_header *header = \
sys/dev/pci/drm/amd/pm/swsmu/smu_cmn.h
51
memset(header, 0xFF, sizeof(*tmp)); \
sys/dev/pci/drm/amd/pm/swsmu/smu_cmn.h
52
header->format_revision = frev; \
sys/dev/pci/drm/amd/pm/swsmu/smu_cmn.h
53
header->content_revision = crev; \
sys/dev/pci/drm/amd/pm/swsmu/smu_cmn.h
54
header->structure_size = sizeof(*tmp); \
sys/dev/pci/drm/amd/pm/swsmu/smu_cmn.h
62
struct metrics_table_header *header = \
sys/dev/pci/drm/amd/pm/swsmu/smu_cmn.h
64
memset(header, 0xFF, sizeof(*tmp)); \
sys/dev/pci/drm/amd/pm/swsmu/smu_cmn.h
65
header->format_revision = fr; \
sys/dev/pci/drm/amd/pm/swsmu/smu_cmn.h
66
header->content_revision = cr; \
sys/dev/pci/drm/amd/pm/swsmu/smu_cmn.h
67
header->structure_size = sizeof(*tmp); \
sys/dev/pci/drm/amd/pm/swsmu/smu_cmn.h
75
struct metrics_table_header *header = \
sys/dev/pci/drm/amd/pm/swsmu/smu_cmn.h
77
memset(header, 0xFF, sizeof(*tmp)); \
sys/dev/pci/drm/amd/pm/swsmu/smu_cmn.h
78
header->format_revision = fr; \
sys/dev/pci/drm/amd/pm/swsmu/smu_cmn.h
79
header->content_revision = cr; \
sys/dev/pci/drm/amd/pm/swsmu/smu_cmn.h
80
header->structure_size = sizeof(*tmp); \
sys/dev/pci/drm/amd/pm/swsmu/smu_cmn.h
88
struct metrics_table_header *header = \
sys/dev/pci/drm/amd/pm/swsmu/smu_cmn.h
90
memset(header, 0xFF, sizeof(*tmp)); \
sys/dev/pci/drm/amd/pm/swsmu/smu_cmn.h
91
header->format_revision = fr; \
sys/dev/pci/drm/amd/pm/swsmu/smu_cmn.h
92
header->content_revision = cr; \
sys/dev/pci/drm/amd/pm/swsmu/smu_cmn.h
93
header->structure_size = sizeof(*tmp); \
sys/dev/pci/drm/apple/iomfb.c
163
struct dcp_packet_header header = {
sys/dev/pci/drm/apple/iomfb.c
178
void *out_data = out + sizeof(header);
sys/dev/pci/drm/apple/iomfb.c
179
size_t data_len = sizeof(header) + in_len + out_len;
sys/dev/pci/drm/apple/iomfb.c
181
memcpy(out, &header, sizeof(header));
sys/dev/pci/drm/apple/iomfb.c
190
ch->output[depth] = out + sizeof(header) + in_len;
sys/dev/pci/drm/apple/iomfb.c
292
struct dcp_packet_header *header = data;
sys/dev/pci/drm/apple/iomfb.c
311
cb(dcp, data + sizeof(*header) + header->in_len, cookie);
sys/dev/pci/drm/apple/parser.c
255
const u32 *header;
sys/dev/pci/drm/apple/parser.c
263
header = parse_u32(ctx);
sys/dev/pci/drm/apple/parser.c
264
if (IS_ERR(header))
sys/dev/pci/drm/apple/parser.c
265
return PTR_ERR(header);
sys/dev/pci/drm/apple/parser.c
267
if (*header != DCP_PARSE_HEADER)
sys/dev/pci/drm/drm_buddy.c
127
block->header &= ~DRM_BUDDY_HEADER_CLEAR;
sys/dev/pci/drm/drm_buddy.c
132
block->header |= DRM_BUDDY_HEADER_CLEAR;
sys/dev/pci/drm/drm_buddy.c
138
block->header &= ~DRM_BUDDY_HEADER_STATE;
sys/dev/pci/drm/drm_buddy.c
139
block->header |= DRM_BUDDY_ALLOCATED;
sys/dev/pci/drm/drm_buddy.c
149
block->header &= ~DRM_BUDDY_HEADER_STATE;
sys/dev/pci/drm/drm_buddy.c
150
block->header |= DRM_BUDDY_FREE;
sys/dev/pci/drm/drm_buddy.c
159
block->header &= ~DRM_BUDDY_HEADER_STATE;
sys/dev/pci/drm/drm_buddy.c
160
block->header |= DRM_BUDDY_SPLIT;
sys/dev/pci/drm/drm_buddy.c
45
block->header = offset;
sys/dev/pci/drm/drm_buddy.c
46
block->header |= order;
sys/dev/pci/drm/drm_buddy.c
51
BUG_ON(block->header & DRM_BUDDY_HEADER_UNUSED);
sys/dev/pci/drm/drm_edid.c
1788
if (edid->header[i] == edid_header[i])
sys/dev/pci/drm/drm_mipi_dsi.c
568
packet->header[0] = ((msg->channel & 0x3) << 6) | (msg->type & 0x3f);
sys/dev/pci/drm/drm_mipi_dsi.c
580
packet->header[1] = (msg->tx_len >> 0) & 0xff;
sys/dev/pci/drm/drm_mipi_dsi.c
581
packet->header[2] = (msg->tx_len >> 8) & 0xff;
sys/dev/pci/drm/drm_mipi_dsi.c
588
packet->header[1] = (msg->tx_len > 0) ? tx[0] : 0;
sys/dev/pci/drm/drm_mipi_dsi.c
589
packet->header[2] = (msg->tx_len > 1) ? tx[1] : 0;
sys/dev/pci/drm/drm_mipi_dsi.c
592
packet->size = sizeof(packet->header) + packet->payload_length;
sys/dev/pci/drm/i915/display/icl_dsi.c
1849
ret = sizeof(dsi_pkt.header) + dsi_pkt.payload_length;
sys/dev/pci/drm/i915/display/icl_dsi.c
217
tmp |= ((packet->header[0] & VC_MASK) << VC_SHIFT);
sys/dev/pci/drm/i915/display/icl_dsi.c
218
tmp |= ((packet->header[0] & DT_MASK) << DT_SHIFT);
sys/dev/pci/drm/i915/display/icl_dsi.c
219
tmp |= (packet->header[1] << PARAM_WC_LOWER_SHIFT);
sys/dev/pci/drm/i915/display/icl_dsi.c
220
tmp |= (packet->header[2] << PARAM_WC_UPPER_SHIFT);
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
102
verify_rxcert_in.header.api_version = HDCP_API_VERSION;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
103
verify_rxcert_in.header.command_id = WIRED_VERIFY_RECEIVER_CERT;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
104
verify_rxcert_in.header.status = FW_HDCP_STATUS_SUCCESS;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
105
verify_rxcert_in.header.buffer_len =
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
125
if (verify_rxcert_out.header.status != FW_HDCP_STATUS_SUCCESS) {
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
128
verify_rxcert_out.header.status);
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
171
send_hprime_in.header.api_version = HDCP_API_VERSION;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
172
send_hprime_in.header.command_id = WIRED_AKE_SEND_HPRIME;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
173
send_hprime_in.header.status = FW_HDCP_STATUS_SUCCESS;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
174
send_hprime_in.header.buffer_len = WIRED_CMD_BUF_LEN_AKE_SEND_HPRIME_IN;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
192
if (send_hprime_out.header.status != FW_HDCP_STATUS_SUCCESS) {
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
194
WIRED_AKE_SEND_HPRIME, send_hprime_out.header.status);
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
225
pairing_info_in.header.api_version = HDCP_API_VERSION;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
226
pairing_info_in.header.command_id = WIRED_AKE_SEND_PAIRING_INFO;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
227
pairing_info_in.header.status = FW_HDCP_STATUS_SUCCESS;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
228
pairing_info_in.header.buffer_len =
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
247
if (pairing_info_out.header.status != FW_HDCP_STATUS_SUCCESS) {
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
250
pairing_info_out.header.status);
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
282
lc_init_in.header.api_version = HDCP_API_VERSION;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
283
lc_init_in.header.command_id = WIRED_INIT_LOCALITY_CHECK;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
284
lc_init_in.header.status = FW_HDCP_STATUS_SUCCESS;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
285
lc_init_in.header.buffer_len = WIRED_CMD_BUF_LEN_INIT_LOCALITY_CHECK_IN;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
298
if (lc_init_out.header.status != FW_HDCP_STATUS_SUCCESS) {
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
300
WIRED_INIT_LOCALITY_CHECK, lc_init_out.header.status);
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
334
verify_lprime_in.header.api_version = HDCP_API_VERSION;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
335
verify_lprime_in.header.command_id = WIRED_VALIDATE_LOCALITY;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
336
verify_lprime_in.header.status = FW_HDCP_STATUS_SUCCESS;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
337
verify_lprime_in.header.buffer_len =
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
356
if (verify_lprime_out.header.status != FW_HDCP_STATUS_SUCCESS) {
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
359
verify_lprime_out.header.status);
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
39
session_init_in.header.api_version = HDCP_API_VERSION;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
391
get_skey_in.header.api_version = HDCP_API_VERSION;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
392
get_skey_in.header.command_id = WIRED_GET_SESSION_KEY;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
393
get_skey_in.header.status = FW_HDCP_STATUS_SUCCESS;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
394
get_skey_in.header.buffer_len = WIRED_CMD_BUF_LEN_GET_SESSION_KEY_IN;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
40
session_init_in.header.command_id = WIRED_INITIATE_HDCP2_SESSION;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
407
if (get_skey_out.header.status != FW_HDCP_STATUS_SUCCESS) {
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
409
WIRED_GET_SESSION_KEY, get_skey_out.header.status);
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
41
session_init_in.header.status = FW_HDCP_STATUS_SUCCESS;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
42
session_init_in.header.buffer_len =
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
449
verify_repeater_in.header.api_version = HDCP_API_VERSION;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
450
verify_repeater_in.header.command_id = WIRED_VERIFY_REPEATER;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
451
verify_repeater_in.header.status = FW_HDCP_STATUS_SUCCESS;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
452
verify_repeater_in.header.buffer_len =
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
477
if (verify_repeater_out.header.status != FW_HDCP_STATUS_SUCCESS) {
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
480
verify_repeater_out.header.status);
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
525
verify_mprime_in->header.api_version = HDCP_API_VERSION;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
526
verify_mprime_in->header.command_id = WIRED_REPEATER_AUTH_STREAM_REQ;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
527
verify_mprime_in->header.status = FW_HDCP_STATUS_SUCCESS;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
528
verify_mprime_in->header.buffer_len = cmd_size - sizeof(verify_mprime_in->header);
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
551
if (verify_mprime_out.header.status != FW_HDCP_STATUS_SUCCESS) {
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
554
verify_mprime_out.header.status);
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
584
enable_auth_in.header.api_version = HDCP_API_VERSION;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
585
enable_auth_in.header.command_id = WIRED_ENABLE_AUTH;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
586
enable_auth_in.header.status = FW_HDCP_STATUS_SUCCESS;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
587
enable_auth_in.header.buffer_len = WIRED_CMD_BUF_LEN_ENABLE_AUTH_IN;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
59
if (session_init_out.header.status != FW_HDCP_STATUS_SUCCESS) {
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
603
if (enable_auth_out.header.status != FW_HDCP_STATUS_SUCCESS) {
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
605
WIRED_ENABLE_AUTH, enable_auth_out.header.status);
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
62
session_init_out.header.status);
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
635
session_close_in.header.api_version = HDCP_API_VERSION;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
636
session_close_in.header.command_id = WIRED_CLOSE_SESSION;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
637
session_close_in.header.status = FW_HDCP_STATUS_SUCCESS;
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
638
session_close_in.header.buffer_len =
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
654
if (session_close_out.header.status != FW_HDCP_STATUS_SUCCESS) {
sys/dev/pci/drm/i915/display/intel_hdcp_gsc_message.c
656
session_close_out.header.status);
sys/dev/pci/drm/i915/display/intel_opregion.c
1001
if (opregion->header->over.major > 2 ||
sys/dev/pci/drm/i915/display/intel_opregion.c
1002
opregion->header->over.minor >= 1) {
sys/dev/pci/drm/i915/display/intel_opregion.c
1198
struct opregion_header *header;
sys/dev/pci/drm/i915/display/intel_opregion.c
1203
header = opregion->header;
sys/dev/pci/drm/i915/display/intel_opregion.c
1205
if (!header || header->over.major < 2 ||
sys/dev/pci/drm/i915/display/intel_opregion.c
1206
(header->over.major == 2 && header->over.minor < 3))
sys/dev/pci/drm/i915/display/intel_opregion.c
1209
return opregion->header->pcon & PCON_HEADLESS_SKU;
sys/dev/pci/drm/i915/display/intel_opregion.c
1321
memunmap(opregion->header);
sys/dev/pci/drm/i915/display/intel_opregion.c
1340
seq_write(m, opregion->header, OPREGION_SIZE);
sys/dev/pci/drm/i915/display/intel_opregion.c
262
struct opregion_header *header;
sys/dev/pci/drm/i915/display/intel_opregion.c
938
opregion->header = base;
sys/dev/pci/drm/i915/display/intel_opregion.c
941
opregion->header->over.major,
sys/dev/pci/drm/i915/display/intel_opregion.c
942
opregion->header->over.minor,
sys/dev/pci/drm/i915/display/intel_opregion.c
943
opregion->header->over.revision);
sys/dev/pci/drm/i915/display/intel_opregion.c
945
mboxes = opregion->header->mboxes;
sys/dev/pci/drm/i915/display/intel_opregion.c
959
u8 major = opregion->header->over.major;
sys/dev/pci/drm/i915/display/intel_opregion.c
991
if (opregion->header->over.major >= 2 && opregion->asle &&
sys/dev/pci/drm/i915/display/vlv_dsi.c
141
const u8 *header;
sys/dev/pci/drm/i915/display/vlv_dsi.c
149
header = packet.header;
sys/dev/pci/drm/i915/display/vlv_dsi.c
186
header[2] << 16 | header[1] << 8 | header[0]);
sys/dev/pci/drm/i915/gt/intel_engine.h
267
const char *header, ...);
sys/dev/pci/drm/i915/gt/intel_engine_cs.c
2383
const char *header, ...)
sys/dev/pci/drm/i915/gt/intel_engine_cs.c
2390
if (header) {
sys/dev/pci/drm/i915/gt/intel_engine_cs.c
2393
va_start(ap, header);
sys/dev/pci/drm/i915/gt/intel_engine_cs.c
2394
drm_vprintf(m, header, &ap);
sys/dev/pci/drm/i915/gt/uc/abi/guc_actions_slpc_abi.h
190
struct slpc_shared_data_header header;
sys/dev/pci/drm/i915/gt/uc/guc_capture_fwif.h
127
struct guc_state_capture_header_t header;
sys/dev/pci/drm/i915/gt/uc/guc_capture_fwif.h
75
struct guc_debug_capture_list_header header;
sys/dev/pci/drm/i915/gt/uc/intel_gsc_fw.c
374
struct intel_gsc_mtl_header header;
sys/dev/pci/drm/i915/gt/uc/intel_gsc_fw.c
379
struct intel_gsc_mtl_header header;
sys/dev/pci/drm/i915/gt/uc/intel_gsc_fw.c
410
intel_gsc_uc_heci_cmd_emit_mtl_header(&msg_in->header,
sys/dev/pci/drm/i915/gt/uc/intel_gsc_fw.c
428
if (msg_out->header.message_size != sizeof(*msg_out)) {
sys/dev/pci/drm/i915/gt/uc/intel_gsc_fw.c
430
msg_out->header.message_size, sizeof(*msg_out),
sys/dev/pci/drm/i915/gt/uc/intel_gsc_fw.c
431
msg_out->header.status, msg_out->header.flags, msg_out->mkhi.result);
sys/dev/pci/drm/i915/gt/uc/intel_gsc_proxy.c
131
u32 size = ((struct gsc_proxy_msg *)gsc->proxy.to_gsc)->header.message_size;
sys/dev/pci/drm/i915/gt/uc/intel_gsc_proxy.c
160
static int validate_proxy_header(struct intel_gsc_proxy_header *header,
sys/dev/pci/drm/i915/gt/uc/intel_gsc_proxy.c
163
u32 type = FIELD_GET(GSC_PROXY_TYPE, header->hdr);
sys/dev/pci/drm/i915/gt/uc/intel_gsc_proxy.c
164
u32 length = FIELD_GET(GSC_PROXY_PAYLOAD_LENGTH, header->hdr);
sys/dev/pci/drm/i915/gt/uc/intel_gsc_proxy.c
167
if (header->destination != dest || header->source != source) {
sys/dev/pci/drm/i915/gt/uc/intel_gsc_proxy.c
195
intel_gsc_uc_heci_cmd_emit_mtl_header(&to_gsc->header,
sys/dev/pci/drm/i915/gt/uc/intel_gsc_proxy.c
241
to_gsc->header.message_size = ret + sizeof(struct intel_gsc_mtl_header);
sys/dev/pci/drm/i915/gt/uc/intel_gsc_proxy.c
82
struct intel_gsc_mtl_header header;
sys/dev/pci/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.c
108
void intel_gsc_uc_heci_cmd_emit_mtl_header(struct intel_gsc_mtl_header *header,
sys/dev/pci/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.c
116
header->validity_marker = GSC_HECI_VALIDITY_MARKER;
sys/dev/pci/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.c
117
header->heci_client_id = heci_client_id;
sys/dev/pci/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.c
118
header->host_session_handle = host_session_id;
sys/dev/pci/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.c
119
header->header_version = MTL_GSC_HEADER_VERSION;
sys/dev/pci/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.c
120
header->message_size = message_size;
sys/dev/pci/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.h
70
void intel_gsc_uc_heci_cmd_emit_mtl_header(struct intel_gsc_mtl_header *header,
sys/dev/pci/drm/i915/gt/uc/intel_gsc_uc_heci_cmd_submit.h
84
intel_gsc_uc_heci_cmd_emit_mtl_header(struct intel_gsc_mtl_header *header,
sys/dev/pci/drm/i915/gt/uc/intel_guc.c
515
u32 header;
sys/dev/pci/drm/i915/gt/uc/intel_guc.c
545
10, 10, &header);
sys/dev/pci/drm/i915/gt/uc/intel_guc.c
549
request[0], header);
sys/dev/pci/drm/i915/gt/uc/intel_guc.c
553
if (FIELD_GET(GUC_HXG_MSG_0_TYPE, header) == GUC_HXG_TYPE_NO_RESPONSE_BUSY) {
sys/dev/pci/drm/i915/gt/uc/intel_guc.c
554
#define done ({ header = intel_uncore_read(uncore, guc_send_reg(guc, 0)); \
sys/dev/pci/drm/i915/gt/uc/intel_guc.c
555
FIELD_GET(GUC_HXG_MSG_0_ORIGIN, header) != GUC_HXG_ORIGIN_GUC || \
sys/dev/pci/drm/i915/gt/uc/intel_guc.c
556
FIELD_GET(GUC_HXG_MSG_0_TYPE, header) != GUC_HXG_TYPE_NO_RESPONSE_BUSY; })
sys/dev/pci/drm/i915/gt/uc/intel_guc.c
561
if (unlikely(FIELD_GET(GUC_HXG_MSG_0_ORIGIN, header) !=
sys/dev/pci/drm/i915/gt/uc/intel_guc.c
567
if (FIELD_GET(GUC_HXG_MSG_0_TYPE, header) == GUC_HXG_TYPE_NO_RESPONSE_RETRY) {
sys/dev/pci/drm/i915/gt/uc/intel_guc.c
568
u32 reason = FIELD_GET(GUC_HXG_RETRY_MSG_0_REASON, header);
sys/dev/pci/drm/i915/gt/uc/intel_guc.c
575
if (FIELD_GET(GUC_HXG_MSG_0_TYPE, header) == GUC_HXG_TYPE_RESPONSE_FAILURE) {
sys/dev/pci/drm/i915/gt/uc/intel_guc.c
576
u32 hint = FIELD_GET(GUC_HXG_FAILURE_MSG_0_HINT, header);
sys/dev/pci/drm/i915/gt/uc/intel_guc.c
577
u32 error = FIELD_GET(GUC_HXG_FAILURE_MSG_0_ERROR, header);
sys/dev/pci/drm/i915/gt/uc/intel_guc.c
585
if (FIELD_GET(GUC_HXG_MSG_0_TYPE, header) != GUC_HXG_TYPE_RESPONSE_SUCCESS) {
sys/dev/pci/drm/i915/gt/uc/intel_guc.c
588
request[0], header);
sys/dev/pci/drm/i915/gt/uc/intel_guc.c
598
response_buf[0] = header;
sys/dev/pci/drm/i915/gt/uc/intel_guc.c
608
ret = FIELD_GET(GUC_HXG_RESPONSE_MSG_0_DATA0, header);
sys/dev/pci/drm/i915/gt/uc/intel_guc_capture.c
566
listnode->header.info = FIELD_PREP(GUC_CAPTURELISTHDR_NUMDESCR, (u32)num_regs);
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
440
u32 header;
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
471
header = FIELD_PREP(GUC_CTB_MSG_0_FORMAT, GUC_CTB_FORMAT_HXG) |
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
482
tail, 4, &header, 4, &hxg, 4 * (len - 1), &action[1]);
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
484
cmds[tail] = header;
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
898
u32 header;
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
950
header = cmds[head];
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
954
len = FIELD_GET(GUC_CTB_MSG_0_NUM_DWORDS, header) + GUC_CTB_MSG_MIN_LEN;
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
957
4, &header,
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
969
4, &header,
sys/dev/pci/drm/i915/gt/uc/intel_guc_ct.c
977
(*msg)->msg[0] = header;
sys/dev/pci/drm/i915/gt/uc/intel_guc_fwif.h
201
u32 header;
sys/dev/pci/drm/i915/gt/uc/intel_guc_fwif.h
289
struct guc_update_context_policy_header header;
sys/dev/pci/drm/i915/gt/uc/intel_guc_fwif.h
308
struct guc_update_scheduling_policy_header header;
sys/dev/pci/drm/i915/gt/uc/intel_guc_slpc.c
130
return data->header.global_state;
sys/dev/pci/drm/i915/gt/uc/intel_guc_slpc.c
399
data->header.size = sizeof(struct slpc_shared_data);
sys/dev/pci/drm/i915/gt/uc/intel_guc_submission.c
2673
size_t bytes = sizeof(policy->h2g.header) +
sys/dev/pci/drm/i915/gt/uc/intel_guc_submission.c
2681
policy->h2g.header.action = INTEL_GUC_ACTION_HOST2GUC_UPDATE_CONTEXT_POLICIES;
sys/dev/pci/drm/i915/gt/uc/intel_guc_submission.c
2682
policy->h2g.header.ctx_id = guc_id;
sys/dev/pci/drm/i915/gt/uc/intel_guc_submission.c
4695
policy->h2g.header.action = INTEL_GUC_ACTION_UPDATE_SCHEDULING_POLICIES_KLV;
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
133
const struct intel_gsc_cpd_header_v2 *header = data;
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
135
size_t min_size = sizeof(*header);
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
143
if (size < sizeof(*header)) {
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
18
struct intel_gsc_mtl_header header;
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
191
if (header->header_marker != INTEL_GSC_CPD_HEADER_MARKER) {
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
193
header->header_marker);
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
198
if (header->header_version != 2 || header->entry_version != 1) {
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
200
header->header_version, header->entry_version);
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
204
if (header->header_length < sizeof(struct intel_gsc_cpd_header_v2)) {
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
206
header->header_length);
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
210
min_size = header->header_length + sizeof(*entry) * header->num_of_entries;
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
216
entry = data + header->header_length;
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
218
for (i = 0; i < header->num_of_entries; i++, entry++) {
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
23
struct intel_gsc_mtl_header header;
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
52
intel_gsc_uc_heci_cmd_emit_mtl_header(&msg_in->header,
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
56
msg_in->huc_in.header.api_version = PXP_APIVER(4, 3);
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
57
msg_in->huc_in.header.command_id = PXP43_CMDID_NEW_HUC_AUTH;
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
58
msg_in->huc_in.header.status = 0;
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
59
msg_in->huc_in.header.buffer_len = sizeof(msg_in->huc_in) -
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
60
sizeof(msg_in->huc_in.header);
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
74
if (msg_out->header.flags & GSC_OUTFLAG_MSG_PENDING) {
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
75
msg_in->header.gsc_message_handle = msg_out->header.gsc_message_handle;
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
84
if (msg_out->header.message_size != sizeof(*msg_out)) {
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
86
msg_out->header.message_size, sizeof(*msg_out));
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
96
if (msg_out->huc_out.header.status != PXP_STATUS_SUCCESS &&
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
97
msg_out->huc_out.header.status != PXP_STATUS_OP_NOT_PERMITTED) {
sys/dev/pci/drm/i915/gt/uc/intel_huc_fw.c
99
msg_out->huc_out.header.status);
sys/dev/pci/drm/i915/gvt/kvmgt.c
1224
sparse->header.id = VFIO_REGION_INFO_CAP_SPARSE_MMAP;
sys/dev/pci/drm/i915/gvt/kvmgt.c
1225
sparse->header.version = 1;
sys/dev/pci/drm/i915/gvt/kvmgt.c
1252
.header.id = VFIO_REGION_INFO_CAP_TYPE,
sys/dev/pci/drm/i915/gvt/kvmgt.c
1253
.header.version = 1 };
sys/dev/pci/drm/i915/gvt/kvmgt.c
1274
&cap_type.header,
sys/dev/pci/drm/i915/gvt/kvmgt.c
1285
&sparse->header,
sys/dev/pci/drm/i915/gvt/opregion.c
118
struct vbt_header header;
sys/dev/pci/drm/i915/gvt/opregion.c
142
v->header.signature[0] = '$';
sys/dev/pci/drm/i915/gvt/opregion.c
143
v->header.signature[1] = 'V';
sys/dev/pci/drm/i915/gvt/opregion.c
144
v->header.signature[2] = 'B';
sys/dev/pci/drm/i915/gvt/opregion.c
145
v->header.signature[3] = 'T';
sys/dev/pci/drm/i915/gvt/opregion.c
148
v->header.version = 155;
sys/dev/pci/drm/i915/gvt/opregion.c
149
v->header.header_size = sizeof(v->header);
sys/dev/pci/drm/i915/gvt/opregion.c
150
v->header.vbt_size = sizeof(struct vbt);
sys/dev/pci/drm/i915/gvt/opregion.c
151
v->header.bdb_offset = offsetof(struct vbt, bdb_header);
sys/dev/pci/drm/i915/gvt/opregion.c
223
struct opregion_header *header;
sys/dev/pci/drm/i915/gvt/opregion.c
237
header = (struct opregion_header *)buf;
sys/dev/pci/drm/i915/gvt/opregion.c
239
static_assert(sizeof(header->signature) == sizeof(OPREGION_SIGNATURE) - 1);
sys/dev/pci/drm/i915/gvt/opregion.c
240
memcpy(header->signature, OPREGION_SIGNATURE, sizeof(header->signature));
sys/dev/pci/drm/i915/gvt/opregion.c
242
header->size = 0x8;
sys/dev/pci/drm/i915/gvt/opregion.c
243
header->opregion_ver = 0x02000000;
sys/dev/pci/drm/i915/gvt/opregion.c
244
header->mboxes = MBOX_VBT;
sys/dev/pci/drm/i915/i915_gpu_error.c
531
const char *header,
sys/dev/pci/drm/i915/i915_gpu_error.c
535
header, ctx->comm, ctx->pid, ctx->sched_attr.priority,
sys/dev/pci/drm/i915/i915_perf.c
466
((__s)->oa_buffer.format->header == HDR_64_BIT)
sys/dev/pci/drm/i915/i915_perf.c
643
struct drm_i915_perf_record_header header = { type, 0, sizeof(header) };
sys/dev/pci/drm/i915/i915_perf.c
645
if ((count - *offset) < header.size)
sys/dev/pci/drm/i915/i915_perf.c
648
if (copy_to_user(buf + *offset, &header, sizeof(header)))
sys/dev/pci/drm/i915/i915_perf.c
651
(*offset) += header.size;
sys/dev/pci/drm/i915/i915_perf.c
680
struct drm_i915_perf_record_header header;
sys/dev/pci/drm/i915/i915_perf.c
684
header.type = DRM_I915_PERF_RECORD_SAMPLE;
sys/dev/pci/drm/i915/i915_perf.c
685
header.pad = 0;
sys/dev/pci/drm/i915/i915_perf.c
686
header.size = stream->sample_size;
sys/dev/pci/drm/i915/i915_perf.c
688
if ((count - *offset) < header.size)
sys/dev/pci/drm/i915/i915_perf.c
692
if (copy_to_user(buf, &header, sizeof(header)))
sys/dev/pci/drm/i915/i915_perf.c
694
buf += sizeof(header);
sys/dev/pci/drm/i915/i915_perf.c
711
(*offset) += header.size;
sys/dev/pci/drm/i915/i915_perf_types.h
69
enum report_header header;
sys/dev/pci/drm/i915/pxp/intel_pxp_cmd_interface_42.h
20
struct pxp_cmd_header header;
sys/dev/pci/drm/i915/pxp/intel_pxp_cmd_interface_42.h
28
struct pxp_cmd_header header;
sys/dev/pci/drm/i915/pxp/intel_pxp_cmd_interface_42.h
33
struct pxp_cmd_header header;
sys/dev/pci/drm/i915/pxp/intel_pxp_cmd_interface_42.h
39
struct pxp_cmd_header header;
sys/dev/pci/drm/i915/pxp/intel_pxp_cmd_interface_43.h
25
struct pxp_cmd_header header;
sys/dev/pci/drm/i915/pxp/intel_pxp_cmd_interface_43.h
31
struct pxp_cmd_header header;
sys/dev/pci/drm/i915/pxp/intel_pxp_cmd_interface_43.h
38
struct pxp_cmd_header header;
sys/dev/pci/drm/i915/pxp/intel_pxp_cmd_interface_43.h
43
struct pxp_cmd_header header;
sys/dev/pci/drm/i915/pxp/intel_pxp_cmd_interface_43.h
57
struct pxp_cmd_header header;
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
100
pkt.size_in = header->message_size;
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
102
pkt.size_out = msg_out_size_max + sizeof(*header);
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
110
header = exec_res->pkt_vaddr + PXP43_MAX_HECI_INOUT_SIZE;
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
111
header->validity_marker = 0;
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
122
if (header->validity_marker != GSC_HECI_VALIDITY_MARKER) {
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
127
if (header->status != 0) {
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
129
header->status);
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
133
if (header->flags & GSC_OUTFLAG_MSG_PENDING) {
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
141
*gsc_msg_handle_retry = header->gsc_message_handle;
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
146
reply_size = header->message_size - sizeof(*header);
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
154
memcpy(msg_out, exec_res->pkt_vaddr + PXP43_MAX_HECI_INOUT_SIZE + sizeof(*header),
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
216
msg_in.header.api_version = PXP_APIVER(4, 3);
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
217
msg_in.header.command_id = PXP43_CMDID_INIT_SESSION;
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
218
msg_in.header.stream_id = (FIELD_PREP(PXP43_INIT_SESSION_APPID, arb_session_id) |
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
221
msg_in.header.buffer_len = sizeof(msg_in) - sizeof(msg_in.header);
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
229
} else if (msg_out.header.status != 0) {
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
230
if (is_fw_err_platform_config(pxp, msg_out.header.status)) {
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
233
arb_session_id, msg_out.header.status,
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
234
fw_err_to_string(msg_out.header.status));
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
237
arb_session_id, msg_out.header.status,
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
238
fw_err_to_string(msg_out.header.status));
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
240
msg_in.header.command_id, msg_in.header.api_version);
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
258
msg_in.header.api_version = PXP_APIVER(4, 3);
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
259
msg_in.header.command_id = PXP42_CMDID_INVALIDATE_STREAM_KEY;
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
260
msg_in.header.buffer_len = sizeof(msg_in) - sizeof(msg_in.header);
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
262
msg_in.header.stream_id = FIELD_PREP(PXP_CMDHDR_EXTDATA_SESSION_VALID, 1);
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
263
msg_in.header.stream_id |= FIELD_PREP(PXP_CMDHDR_EXTDATA_APP_TYPE, 0);
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
264
msg_in.header.stream_id |= FIELD_PREP(PXP_CMDHDR_EXTDATA_SESSION_ID, session_id);
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
272
} else if (msg_out.header.status != 0) {
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
273
if (is_fw_err_platform_config(pxp, msg_out.header.status)) {
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
276
session_id, msg_out.header.status,
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
277
fw_err_to_string(msg_out.header.status));
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
280
session_id, msg_out.header.status,
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
281
fw_err_to_string(msg_out.header.status));
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
283
msg_in.header.command_id, msg_in.header.api_version);
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
62
struct intel_gsc_mtl_header *header = exec_res->pkt_vaddr;
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
71
max_msg_size = PXP43_MAX_HECI_INOUT_SIZE - sizeof(*header);
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
83
memset(header, 0, sizeof(*header));
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
84
intel_gsc_uc_heci_cmd_emit_mtl_header(header, HECI_MEADDRESS_PXP,
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
85
msg_in_size + sizeof(*header),
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
90
header->flags |= GSC_INFLAG_MSG_CLEANUP;
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
93
header->gsc_message_handle = *gsc_msg_handle_retry;
sys/dev/pci/drm/i915/pxp/intel_pxp_gsccs.c
97
memcpy(exec_res->pkt_vaddr + sizeof(*header), msg_in, msg_in_size);
sys/dev/pci/drm/i915/pxp/intel_pxp_huc.c
37
huc_in.header.api_version = PXP_APIVER(4, 3);
sys/dev/pci/drm/i915/pxp/intel_pxp_huc.c
38
huc_in.header.command_id = PXP43_CMDID_START_HUC_AUTH;
sys/dev/pci/drm/i915/pxp/intel_pxp_huc.c
39
huc_in.header.status = 0;
sys/dev/pci/drm/i915/pxp/intel_pxp_huc.c
40
huc_in.header.buffer_len = sizeof(huc_in.huc_base_address);
sys/dev/pci/drm/i915/pxp/intel_pxp_huc.c
62
if (huc_out.header.status != PXP_STATUS_SUCCESS &&
sys/dev/pci/drm/i915/pxp/intel_pxp_huc.c
63
huc_out.header.status != PXP_STATUS_OP_NOT_PERMITTED) {
sys/dev/pci/drm/i915/pxp/intel_pxp_huc.c
66
huc_out.header.status);
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
345
msg_in.header.api_version = PXP_APIVER(4, 2);
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
346
msg_in.header.command_id = PXP42_CMDID_INIT_SESSION;
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
347
msg_in.header.buffer_len = sizeof(msg_in) - sizeof(msg_in.header);
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
358
} else if (msg_out.header.status != 0) {
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
359
if (is_fw_err_platform_config(pxp, msg_out.header.status)) {
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
362
arb_session_id, msg_out.header.status,
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
363
fw_err_to_string(msg_out.header.status));
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
366
arb_session_id, msg_out.header.status,
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
367
fw_err_to_string(msg_out.header.status));
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
369
msg_in.header.command_id, msg_in.header.api_version);
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
386
msg_in.header.api_version = PXP_APIVER(4, 2);
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
387
msg_in.header.command_id = PXP42_CMDID_INVALIDATE_STREAM_KEY;
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
388
msg_in.header.buffer_len = sizeof(msg_in) - sizeof(msg_in.header);
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
390
msg_in.header.stream_id = FIELD_PREP(PXP_CMDHDR_EXTDATA_SESSION_VALID, 1);
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
391
msg_in.header.stream_id |= FIELD_PREP(PXP_CMDHDR_EXTDATA_APP_TYPE, 0);
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
392
msg_in.header.stream_id |= FIELD_PREP(PXP_CMDHDR_EXTDATA_SESSION_ID, session_id);
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
400
if ((ret || msg_out.header.status != 0x0) && ++trials < 3)
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
406
} else if (msg_out.header.status != 0) {
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
407
if (is_fw_err_platform_config(pxp, msg_out.header.status)) {
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
410
session_id, msg_out.header.status,
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
411
fw_err_to_string(msg_out.header.status));
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
414
session_id, msg_out.header.status,
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
415
fw_err_to_string(msg_out.header.status));
sys/dev/pci/drm/i915/pxp/intel_pxp_tee.c
417
msg_in.header.command_id, msg_in.header.api_version);
sys/dev/pci/drm/include/drm/drm_buddy.h
101
return block->header & DRM_BUDDY_HEADER_ORDER;
sys/dev/pci/drm/include/drm/drm_buddy.h
107
return block->header & DRM_BUDDY_HEADER_STATE;
sys/dev/pci/drm/include/drm/drm_buddy.h
119
return block->header & DRM_BUDDY_HEADER_CLEAR;
sys/dev/pci/drm/include/drm/drm_buddy.h
34
u64 header;
sys/dev/pci/drm/include/drm/drm_buddy.h
95
return block->header & DRM_BUDDY_HEADER_OFFSET;
sys/dev/pci/drm/include/drm/drm_edid.h
292
u8 header[8];
sys/dev/pci/drm/include/drm/drm_mipi_dsi.h
48
uint8_t header[4];
sys/dev/pci/drm/include/uapi/drm/radeon_drm.h
192
} header;
sys/dev/pci/drm/include/uapi/drm/radeon_drm.h
255
} header;
sys/dev/pci/drm/radeon/ci_smc.c
201
radeon_ucode_print_smc_hdr(&hdr->header);
sys/dev/pci/drm/radeon/ci_smc.c
204
ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes);
sys/dev/pci/drm/radeon/ci_smc.c
206
(rdev->smc_fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/radeon/cik.c
1876
radeon_ucode_print_mc_hdr(&hdr->header);
sys/dev/pci/drm/radeon/cik.c
1881
ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/radeon/cik.c
1883
(rdev->mc_fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/radeon/cik.c
3723
u32 header, control = INDIRECT_BUFFER_VALID;
sys/dev/pci/drm/radeon/cik.c
3730
header = PACKET3(PACKET3_INDIRECT_BUFFER_CONST, 2);
sys/dev/pci/drm/radeon/cik.c
3748
header = PACKET3(PACKET3_INDIRECT_BUFFER, 2);
sys/dev/pci/drm/radeon/cik.c
3753
radeon_ring_write(ring, header);
sys/dev/pci/drm/radeon/cik.c
3903
radeon_ucode_print_gfx_hdr(&pfp_hdr->header);
sys/dev/pci/drm/radeon/cik.c
3904
radeon_ucode_print_gfx_hdr(&ce_hdr->header);
sys/dev/pci/drm/radeon/cik.c
3905
radeon_ucode_print_gfx_hdr(&me_hdr->header);
sys/dev/pci/drm/radeon/cik.c
3909
(rdev->pfp_fw->data + le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/radeon/cik.c
3910
fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/radeon/cik.c
3914
WREG32(CP_PFP_UCODE_ADDR, le32_to_cpu(pfp_hdr->header.ucode_version));
sys/dev/pci/drm/radeon/cik.c
3918
(rdev->ce_fw->data + le32_to_cpu(ce_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/radeon/cik.c
3919
fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/radeon/cik.c
3923
WREG32(CP_CE_UCODE_ADDR, le32_to_cpu(ce_hdr->header.ucode_version));
sys/dev/pci/drm/radeon/cik.c
3927
(rdev->me_fw->data + le32_to_cpu(me_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/radeon/cik.c
3928
fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/radeon/cik.c
3932
WREG32(CP_ME_RAM_WADDR, le32_to_cpu(me_hdr->header.ucode_version));
sys/dev/pci/drm/radeon/cik.c
3933
WREG32(CP_ME_RAM_RADDR, le32_to_cpu(me_hdr->header.ucode_version));
sys/dev/pci/drm/radeon/cik.c
4261
radeon_ucode_print_gfx_hdr(&mec_hdr->header);
sys/dev/pci/drm/radeon/cik.c
4265
(rdev->mec_fw->data + le32_to_cpu(mec_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/radeon/cik.c
4266
fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/radeon/cik.c
4270
WREG32(CP_MEC_ME1_UCODE_ADDR, le32_to_cpu(mec_hdr->header.ucode_version));
sys/dev/pci/drm/radeon/cik.c
4279
le32_to_cpu(mec2_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/radeon/cik.c
4280
fw_size = le32_to_cpu(mec2_hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/radeon/cik.c
4284
WREG32(CP_MEC_ME2_UCODE_ADDR, le32_to_cpu(mec2_hdr->header.ucode_version));
sys/dev/pci/drm/radeon/cik.c
4473
u32 header;
sys/dev/pci/drm/radeon/cik.c
4598
mqd->header = 0xC0310800;
sys/dev/pci/drm/radeon/cik.c
5943
(rdev->rlc_fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/radeon/cik.c
5945
radeon_ucode_print_rlc_hdr(&hdr->header);
sys/dev/pci/drm/radeon/cik.c
5947
size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/radeon/cik.c
5951
WREG32(RLC_GPM_UCODE_ADDR, le32_to_cpu(hdr->header.ucode_version));
sys/dev/pci/drm/radeon/cik.c
6433
(rdev->ce_fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/radeon/cik.c
6439
(rdev->pfp_fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/radeon/cik.c
6445
(rdev->me_fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/radeon/cik.c
6451
(rdev->mec_fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/radeon/cik.c
6457
(rdev->mec2_fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/radeon/cik_sdma.c
477
radeon_ucode_print_sdma_hdr(&hdr->header);
sys/dev/pci/drm/radeon/cik_sdma.c
481
(rdev->sdma_fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/radeon/cik_sdma.c
482
fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/radeon/cik_sdma.c
490
(rdev->sdma_fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/radeon/cik_sdma.c
491
fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/radeon/evergreen_cs.c
2892
u32 header, cmd, count, sub_cmd;
sys/dev/pci/drm/radeon/evergreen_cs.c
2905
header = radeon_get_ib_value(p, idx);
sys/dev/pci/drm/radeon/evergreen_cs.c
2906
cmd = GET_DMA_CMD(header);
sys/dev/pci/drm/radeon/evergreen_cs.c
2907
count = GET_DMA_COUNT(header);
sys/dev/pci/drm/radeon/evergreen_cs.c
2908
sub_cmd = GET_DMA_SUB_CMD(header);
sys/dev/pci/drm/radeon/evergreen_cs.c
2936
dev_warn_once(p->dev, "bad DMA_PACKET_WRITE [%6d] 0x%08x sub cmd is not 0 or 8\n", idx, header);
sys/dev/pci/drm/radeon/evergreen_cs.c
3278
dev_warn_once(p->dev, "bad DMA_PACKET_COPY [%6d] 0x%08x invalid sub cmd\n", idx, header);
sys/dev/pci/drm/radeon/evergreen_cs.c
3665
u32 header, cmd, count, sub_cmd;
sys/dev/pci/drm/radeon/evergreen_cs.c
3668
header = ib->ptr[idx];
sys/dev/pci/drm/radeon/evergreen_cs.c
3669
cmd = GET_DMA_CMD(header);
sys/dev/pci/drm/radeon/evergreen_cs.c
3670
count = GET_DMA_COUNT(header);
sys/dev/pci/drm/radeon/evergreen_cs.c
3671
sub_cmd = GET_DMA_SUB_CMD(header);
sys/dev/pci/drm/radeon/r100.c
1460
uint32_t header, h_idx, reg;
sys/dev/pci/drm/radeon/r100.c
1491
header = radeon_get_ib_value(p, h_idx);
sys/dev/pci/drm/radeon/r100.c
1493
reg = R100_CP_PACKET0_GET_REG(header);
sys/dev/pci/drm/radeon/r100.c
1509
header &= ~R300_CP_PACKET0_REG_MASK;
sys/dev/pci/drm/radeon/r100.c
1510
header |= AVIVO_D2MODE_VLINE_START_END >> 2;
sys/dev/pci/drm/radeon/r100.c
1513
header &= ~R300_CP_PACKET0_REG_MASK;
sys/dev/pci/drm/radeon/r100.c
1514
header |= RADEON_CRTC2_GUI_TRIG_VLINE >> 2;
sys/dev/pci/drm/radeon/r100.c
1520
ib[h_idx] = header;
sys/dev/pci/drm/radeon/r600_cs.c
2389
u32 header, cmd, count, tiled;
sys/dev/pci/drm/radeon/r600_cs.c
2402
header = radeon_get_ib_value(p, idx);
sys/dev/pci/drm/radeon/r600_cs.c
2403
cmd = GET_DMA_CMD(header);
sys/dev/pci/drm/radeon/r600_cs.c
2404
count = GET_DMA_COUNT(header);
sys/dev/pci/drm/radeon/r600_cs.c
2405
tiled = GET_DMA_T(header);
sys/dev/pci/drm/radeon/r600_cs.c
836
uint32_t header, h_idx, reg, wait_reg_mem_info;
sys/dev/pci/drm/radeon/r600_cs.c
888
header = radeon_get_ib_value(p, h_idx);
sys/dev/pci/drm/radeon/r600_cs.c
890
reg = R600_CP_PACKET0_GET_REG(header);
sys/dev/pci/drm/radeon/r600_cs.c
910
header &= ~R600_CP_PACKET0_REG_MASK;
sys/dev/pci/drm/radeon/r600_cs.c
911
header |= vline_start_end[crtc_id] >> 2;
sys/dev/pci/drm/radeon/r600_cs.c
912
ib[h_idx] = header;
sys/dev/pci/drm/radeon/radeon_cs.c
752
uint32_t header;
sys/dev/pci/drm/radeon/radeon_cs.c
760
header = radeon_get_ib_value(p, idx);
sys/dev/pci/drm/radeon/radeon_cs.c
762
pkt->type = RADEON_CP_PACKET_GET_TYPE(header);
sys/dev/pci/drm/radeon/radeon_cs.c
763
pkt->count = RADEON_CP_PACKET_GET_COUNT(header);
sys/dev/pci/drm/radeon/radeon_cs.c
768
pkt->reg = R100_CP_PACKET0_GET_REG(header);
sys/dev/pci/drm/radeon/radeon_cs.c
770
RADEON_CP_PACKET0_GET_ONE_REG_WR(header);
sys/dev/pci/drm/radeon/radeon_cs.c
772
pkt->reg = R600_CP_PACKET0_GET_REG(header);
sys/dev/pci/drm/radeon/radeon_cs.c
775
pkt->opcode = RADEON_CP_PACKET3_GET_OPCODE(header);
sys/dev/pci/drm/radeon/radeon_ucode.c
116
container_of(hdr, struct rlc_firmware_header_v1_0, header);
sys/dev/pci/drm/radeon/radeon_ucode.c
143
container_of(hdr, struct sdma_firmware_header_v1_0, header);
sys/dev/pci/drm/radeon/radeon_ucode.c
56
container_of(hdr, struct mc_firmware_header_v1_0, header);
sys/dev/pci/drm/radeon/radeon_ucode.c
77
container_of(hdr, struct smc_firmware_header_v1_0, header);
sys/dev/pci/drm/radeon/radeon_ucode.c
95
container_of(hdr, struct gfx_firmware_header_v1_0, header);
sys/dev/pci/drm/radeon/radeon_ucode.h
171
struct common_firmware_header header;
sys/dev/pci/drm/radeon/radeon_ucode.h
178
struct common_firmware_header header;
sys/dev/pci/drm/radeon/radeon_ucode.h
184
struct common_firmware_header header;
sys/dev/pci/drm/radeon/radeon_ucode.h
192
struct common_firmware_header header;
sys/dev/pci/drm/radeon/radeon_ucode.h
202
struct common_firmware_header header;
sys/dev/pci/drm/radeon/si.c
1567
radeon_ucode_print_mc_hdr(&hdr->header);
sys/dev/pci/drm/radeon/si.c
1571
ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/radeon/si.c
1573
(rdev->mc_fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/radeon/si.c
3384
u32 header;
sys/dev/pci/drm/radeon/si.c
3391
header = PACKET3(PACKET3_INDIRECT_BUFFER_CONST, 2);
sys/dev/pci/drm/radeon/si.c
3409
header = PACKET3(PACKET3_INDIRECT_BUFFER, 2);
sys/dev/pci/drm/radeon/si.c
3412
radeon_ring_write(ring, header);
sys/dev/pci/drm/radeon/si.c
3475
radeon_ucode_print_gfx_hdr(&pfp_hdr->header);
sys/dev/pci/drm/radeon/si.c
3476
radeon_ucode_print_gfx_hdr(&ce_hdr->header);
sys/dev/pci/drm/radeon/si.c
3477
radeon_ucode_print_gfx_hdr(&me_hdr->header);
sys/dev/pci/drm/radeon/si.c
3481
(rdev->pfp_fw->data + le32_to_cpu(pfp_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/radeon/si.c
3482
fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/radeon/si.c
3490
(rdev->ce_fw->data + le32_to_cpu(ce_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/radeon/si.c
3491
fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/radeon/si.c
3499
(rdev->me_fw->data + le32_to_cpu(me_hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/radeon/si.c
3500
fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/radeon/si.c
5873
u32 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
sys/dev/pci/drm/radeon/si.c
5875
(rdev->rlc_fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/drm/radeon/si.c
5877
radeon_ucode_print_rlc_hdr(&hdr->header);
sys/dev/pci/drm/radeon/si_smc.c
226
radeon_ucode_print_smc_hdr(&hdr->header);
sys/dev/pci/drm/radeon/si_smc.c
229
ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes);
sys/dev/pci/drm/radeon/si_smc.c
231
(rdev->smc_fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes));
sys/dev/pci/if_aq_pci.c
871
struct aq_mailbox_header header;
sys/dev/pci/qle.c
1899
ga->header.ct_revision = 0x01;
sys/dev/pci/qle.c
1900
ga->header.ct_gs_type = 0xfc;
sys/dev/pci/qle.c
1901
ga->header.ct_gs_subtype = 0x02;
sys/dev/pci/qlereg.h
382
struct qle_ct_cmd_hdr header;
sys/dev/pci/qlereg.h
390
struct qle_ct_cmd_hdr header;
sys/dev/pci/qlereg.h
415
struct qle_ct_cmd_hdr header;
sys/dev/pci/qlereg.h
424
struct qle_ct_cmd_hdr header;
sys/dev/pci/vmwpvs.c
246
struct vmwpvs_cfg_pg_header header;
sys/dev/pci/vmwpvs.c
652
hdr = &pg->header;
sys/dev/pv/hypervic.c
176
int i, header = 0;
sys/dev/pv/hypervic.c
214
if (!header) {
sys/dev/pv/hypervic.c
216
header = 1;
sys/dev/pv/hypervic.c
220
if (header)
sys/dev/usb/if_upgt.c
1618
struct upgt_lmac_header *header;
sys/dev/usb/if_upgt.c
1637
header = (struct upgt_lmac_header *)(data_rx->buf + 4);
sys/dev/usb/if_upgt.c
1639
h1_type = header->header1.type;
sys/dev/usb/if_upgt.c
1640
h2_type = letoh16(header->header2.type);
sys/dev/usb/if_upgt.c
1669
upgt_rx(sc, data_rx->buf + 4, letoh16(header->header1.len));
sys/dev/usb/if_upgt.c
1680
sc->sc_dev.dv_xname, header->header1.type);
sys/dev/usb/usps.c
96
uint8_t header; /* should be 0x80 */
sys/dev/usb/uticom.c
842
struct uticom_fw_header *header;
sys/dev/usb/uticom.c
867
header = (struct uticom_fw_header*)buffer;
sys/dev/usb/uticom.c
868
header->length = (uint16_t)(buffer_size -
sys/dev/usb/uticom.c
870
header->checkSum = cs;
sys/dev/usb/uvideo.c
2676
int sample_len, header = 0;
sys/dev/usb/uvideo.c
2683
header = 1;
sys/dev/usb/uvideo.c
2685
header = 1;
sys/dev/usb/uvideo.c
2687
if (header && fb->fid == 0) {
sys/dev/usb/uvideo.c
2692
if (header) {
sys/lib/libsa/bootp.c
72
struct packet_header header;
sys/lib/libsa/bootp.c
76
struct packet_header header;
sys/lib/libsa/rarp.c
65
u_char header[ETHER_SIZE];
sys/lib/libsa/rarp.c
72
u_char header[ETHER_SIZE];
sys/lib/libsa/tftp.c
155
struct packet_header header;
sys/lib/libsa/tftp.c
200
struct packet_header header;
sys/lib/libsa/tftp.c
235
struct packet_header header;
sys/lib/libsa/tftp.c
76
struct packet_header header;
sys/lib/libz/deflate.c
1029
uInt header = (Z_DEFLATED + ((s->w_bits - 8) << 4)) << 8;
sys/lib/libz/deflate.c
1040
header |= (level_flags << 6);
sys/lib/libz/deflate.c
1041
if (s->strstart != 0) header |= PRESET_DICT;
sys/lib/libz/deflate.c
1042
header += 31 - (header % 31);
sys/lib/libz/deflate.c
1044
putShortMSB(s, header);
sys/lib/libz/trees.c
387
FILE *header = fopen("trees.h", "w");
sys/lib/libz/trees.c
390
Assert (header != NULL, "Can't open trees.h");
sys/lib/libz/trees.c
391
fprintf(header,
sys/lib/libz/trees.c
394
fprintf(header, "local const ct_data static_ltree[L_CODES+2] = {\n");
sys/lib/libz/trees.c
396
fprintf(header, "{{%3u},{%3u}}%s", static_ltree[i].Code,
sys/lib/libz/trees.c
400
fprintf(header, "local const ct_data static_dtree[D_CODES] = {\n");
sys/lib/libz/trees.c
402
fprintf(header, "{{%2u},{%2u}}%s", static_dtree[i].Code,
sys/lib/libz/trees.c
406
fprintf(header, "const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = {\n");
sys/lib/libz/trees.c
408
fprintf(header, "%2u%s", _dist_code[i],
sys/lib/libz/trees.c
412
fprintf(header,
sys/lib/libz/trees.c
415
fprintf(header, "%2u%s", _length_code[i],
sys/lib/libz/trees.c
419
fprintf(header, "local const int base_length[LENGTH_CODES] = {\n");
sys/lib/libz/trees.c
421
fprintf(header, "%1u%s", base_length[i],
sys/lib/libz/trees.c
425
fprintf(header, "local const int base_dist[D_CODES] = {\n");
sys/lib/libz/trees.c
427
fprintf(header, "%5u%s", base_dist[i],
sys/lib/libz/trees.c
431
fclose(header);
sys/scsi/cd.c
1147
n = toc->header.ending_track - toc->header.starting_track + 1;
sys/scsi/cd.c
1384
if (++etrack > (toc->header.ending_track+1))
sys/scsi/cd.c
1385
etrack = toc->header.ending_track+1;
sys/scsi/cd.c
1387
strack -= toc->header.starting_track;
sys/scsi/cd.c
1388
etrack -= toc->header.starting_track;
sys/scsi/cd.c
1577
error = cd_read_toc(sc, 0, 0, toc, sizeof(toc->header), 0);
sys/scsi/cd.c
1580
if (toc->header.ending_track < toc->header.starting_track)
sys/scsi/cd.c
1583
n = toc->header.ending_track - toc->header.starting_track + 2;
sys/scsi/cd.c
1584
len = n * sizeof(struct cd_toc_entry) + sizeof(toc->header);
sys/scsi/cd.c
862
len = min(len, _2btol(data->header.data_len) +
sys/scsi/cd.c
87
struct ioc_toc_header header;
sys/scsi/cd.c
898
th = &toc->header;
sys/scsi/cd.c
968
toc->header.len = letoh16(toc->header.len);
sys/scsi/cd.c
970
toc->header.len = betoh16(toc->header.len);
sys/scsi/cd.c
972
*(int *)addr = (toc->header.len >= 10 && cte->track > 1) ?
sys/sys/cdio.h
133
struct cd_sub_channel_header header;
sys/uvm/uvm_meter.c
224
for (map = &p->p_vmspace->vm_map, entry = map->header.next;
sys/uvm/uvm_meter.c
225
entry != &map->header; entry = entry->next) {
usr.bin/calendar/day.c
171
header[5].iov_base = dayname;
usr.bin/calendar/day.c
174
header[5].iov_len = strftime(dayname, sizeof(dayname), "%A", tp);
usr.bin/calendar/day.c
46
extern struct iovec header[];
usr.bin/calendar/io.c
426
header[1].iov_base = header[3].iov_base = pw->pw_name;
usr.bin/calendar/io.c
427
header[1].iov_len = header[3].iov_len = strlen(pw->pw_name);
usr.bin/calendar/io.c
428
writev(pdes[1], header, 8);
usr.bin/calendar/io.c
57
struct iovec header[] = {
usr.bin/cdio/cdio.c
1491
return s.data->header.audio_status;
usr.bin/compress/zopen.c
467
u_char *bp, header[3];
usr.bin/compress/zopen.c
479
header[0] = header[1] = header[2] = '\0';
usr.bin/compress/zopen.c
480
read(zs->zs_fd, header, sizeof(header));
usr.bin/compress/zopen.c
485
header[0] = z_magic[0];
usr.bin/compress/zopen.c
486
header[1] = z_magic[1];
usr.bin/compress/zopen.c
487
header[2] = '\0';
usr.bin/compress/zopen.c
488
read(zs->zs_fd, &header[2], 1);
usr.bin/compress/zopen.c
497
if (header[0] != z_magic[0] || header[1] != z_magic[1]) {
usr.bin/compress/zopen.c
501
zs->zs_maxbits = header[2]; /* Set -b from file. */
usr.bin/compress/zopen.c
502
zs->zs_in_count += sizeof(header);
usr.bin/dig/lib/dns/tsig.c
1051
unsigned char header[DNS_MESSAGE_HEADERLEN];
usr.bin/dig/lib/dns/tsig.c
1177
memmove(header, r.base, DNS_MESSAGE_HEADERLEN);
usr.bin/dig/lib/dns/tsig.c
1186
memmove(&addcount, &header[DNS_MESSAGE_HEADERLEN - 2], 2);
usr.bin/dig/lib/dns/tsig.c
1189
memmove(&header[DNS_MESSAGE_HEADERLEN - 2], &addcount, 2);
usr.bin/dig/lib/dns/tsig.c
1198
memmove(&header[0], &id, 2);
usr.bin/dig/lib/dns/tsig.c
1204
header_r.base = (unsigned char *) header;
usr.bin/dig/lib/dns/tsig.c
471
unsigned char header[DNS_MESSAGE_HEADERLEN];
usr.bin/dig/lib/dns/tsig.c
519
isc_buffer_init(&headerbuf, header, sizeof(header));
usr.bin/dig/lib/dns/tsig.c
715
unsigned char header[DNS_MESSAGE_HEADERLEN];
usr.bin/dig/lib/dns/tsig.c
867
memmove(header, r.base, DNS_MESSAGE_HEADERLEN);
usr.bin/dig/lib/dns/tsig.c
873
memmove(&addcount, &header[DNS_MESSAGE_HEADERLEN - 2], 2);
usr.bin/dig/lib/dns/tsig.c
876
memmove(&header[DNS_MESSAGE_HEADERLEN - 2], &addcount, 2);
usr.bin/dig/lib/dns/tsig.c
882
memmove(&header[0], &id, 2);
usr.bin/dig/lib/dns/tsig.c
887
header_r.base = (unsigned char *) header;
usr.bin/fgen/fgen.h
68
char header;
usr.bin/finger/lprint.c
253
show_text(char *directory, char *file_name, char *header)
usr.bin/finger/lprint.c
262
(void)printf("%s\n", header);
usr.bin/ftp/fetch.c
1158
char *header = NULL, *end, *cp;
usr.bin/ftp/fetch.c
1165
if (getline(&header, &hsize, fin) == -1)
usr.bin/ftp/fetch.c
1168
header[strcspn(header, "; \t\r\n")] = '\0';
usr.bin/ftp/fetch.c
1170
chunksize = strtoul(header, &end, 16);
usr.bin/ftp/fetch.c
1171
if (errno || header[0] == '\0' || *end != '\0' ||
usr.bin/ftp/fetch.c
1173
warnx("Invalid chunk size '%s'", header);
usr.bin/ftp/fetch.c
1174
free(header);
usr.bin/ftp/fetch.c
1180
free(header);
usr.bin/ftp/fetch.c
1194
free(header);
usr.bin/ftp/fetch.c
1207
free(header);
usr.bin/ftp/fetch.c
1211
free(header);
usr.bin/ldap/aldap.h
62
struct ber_element *header;
usr.bin/lex/tables_shared.h
139
%not-for-header
usr.bin/lex/tables_shared.h
143
%ok-for-header
usr.bin/mail/cmd3.c
194
struct header head;
usr.bin/mail/cmd3.c
600
struct header head;
usr.bin/mail/collect.c
57
collect(struct header *hp, int printheaders)
usr.bin/mail/collect.c
600
gethfromtty(struct header *hp, int gflags)
usr.bin/mail/extern.h
125
void fixhead(struct header *, struct name *);
usr.bin/mail/extern.h
134
int gethfromtty(struct header *, int);
usr.bin/mail/extern.h
137
int grabh(struct header *, int);
usr.bin/mail/extern.h
166
void mail1(struct header *, int);
usr.bin/mail/extern.h
193
int puthead(struct header *, FILE *, int);
usr.bin/mail/extern.h
44
struct header;
usr.bin/mail/extern.h
45
struct name *outof(struct name *, FILE *, struct header *);
usr.bin/mail/extern.h
52
FILE *collect(struct header *, int);
usr.bin/mail/extern.h
60
FILE *infix(struct header *, FILE *);
usr.bin/mail/names.c
204
outof(struct name *names, FILE *fo, struct header *hp)
usr.bin/mail/send.c
284
struct header head;
usr.bin/mail/send.c
304
struct header head;
usr.bin/mail/send.c
321
mail1(struct header *hp, int printheaders)
usr.bin/mail/send.c
441
fixhead(struct header *hp, struct name *tolist)
usr.bin/mail/send.c
465
infix(struct header *hp, FILE *fi)
usr.bin/mail/send.c
515
puthead(struct header *hp, FILE *fo, int w)
usr.bin/mail/tty.c
74
grabh(struct header *hp, int gflags)
usr.bin/mandoc/term_ps.c
611
p->ps->header = pagey - (marginy / 2) - (lineheight / 2);
usr.bin/mandoc/term_ps.c
84
size_t header; /* header pos (AFM units) */
usr.bin/mandoc/term_ps.c
864
p->ps->psrow = p->ps->header;
usr.bin/pr/pr.c
114
char *header; /* header name instead of file name */
usr.bin/pr/pr.c
1428
if (header != NULL)
usr.bin/pr/pr.c
1429
*fname = header;
usr.bin/pr/pr.c
1444
if (header != NULL)
usr.bin/pr/pr.c
1445
*fname = header;
usr.bin/pr/pr.c
1465
if (header != NULL)
usr.bin/pr/pr.c
1466
*fname = header;
usr.bin/pr/pr.c
1786
header = eoptarg;
usr.bin/signify/signify.c
228
char *header;
usr.bin/signify/signify.c
233
if (asprintf(&header, "%s%s\n%s\n", COMMENTHDR, comment, b64) == -1)
usr.bin/signify/signify.c
236
return header;
usr.bin/signify/signify.c
243
char *header;
usr.bin/signify/signify.c
247
header = createheader(comment, buf, buflen);
usr.bin/signify/signify.c
248
writeall(fd, header, strlen(header), filename);
usr.bin/signify/signify.c
249
freezero(header, strlen(header));
usr.bin/systat/main.c
130
snprintf(header, sizeof(header), "%-*s %19.19s %s", TIMEPOS - 1,
usr.bin/systat/main.c
134
printf("\n\n%s\n", header);
usr.bin/systat/main.c
136
mvprintw(0, 0, "%s", header);
usr.bin/systat/main.c
99
char header[MAX_LINE_BUF];
usr.bin/top/machine.c
234
ptr = header + UNAME_START;
usr.bin/top/machine.c
237
ptr = header + RTABLE_START;
usr.bin/top/machine.c
240
return (header);
usr.bin/top/machine.c
75
static char header[] =
usr.bin/w/w.c
132
header = 0;
usr.bin/w/w.c
138
header = 0;
usr.bin/w/w.c
215
if (header || wcmd == 0) {
usr.bin/w/w.c
223
if (header)
usr.bin/w/w.c
74
int header = 1; /* true if -h flag: don't print heading */
usr.bin/yacc/defs.h
224
extern char *header[];
usr.bin/yacc/output.c
97
write_section(header);
usr.bin/yacc/skeleton.c
85
char *header[] =
usr.sbin/bgplgd/slowcgi.c
1045
struct fcgi_record_header *header;
usr.sbin/bgplgd/slowcgi.c
1052
header = (struct fcgi_record_header*) resp->data;
usr.sbin/bgplgd/slowcgi.c
1053
header->version = 1;
usr.sbin/bgplgd/slowcgi.c
1054
header->type = type;
usr.sbin/bgplgd/slowcgi.c
1055
header->id = htons(c->id);
usr.sbin/bgplgd/slowcgi.c
1056
header->padding_len = 0;
usr.sbin/bgplgd/slowcgi.c
1057
header->reserved = 0;
usr.sbin/bgplgd/slowcgi.c
1072
header->content_len = htons(n);
usr.sbin/bgplgd/slowcgi.c
1109
struct fcgi_record_header *header;
usr.sbin/bgplgd/slowcgi.c
1118
header = (struct fcgi_record_header*) resp->data;
usr.sbin/bgplgd/slowcgi.c
1119
header->version = 1;
usr.sbin/bgplgd/slowcgi.c
1120
header->type = type;
usr.sbin/bgplgd/slowcgi.c
1121
header->id = htons(c->id);
usr.sbin/bgplgd/slowcgi.c
1122
header->padding_len = 0;
usr.sbin/bgplgd/slowcgi.c
1123
header->reserved = 0;
usr.sbin/bgplgd/slowcgi.c
1128
header->content_len = htons(n);
usr.sbin/bgplgd/slowcgi.c
1142
struct fcgi_record_header *header;
usr.sbin/bgplgd/slowcgi.c
1149
header = (struct fcgi_record_header*) resp->data;
usr.sbin/bgplgd/slowcgi.c
1150
header->version = 1;
usr.sbin/bgplgd/slowcgi.c
1151
header->type = FCGI_END_REQUEST;
usr.sbin/bgplgd/slowcgi.c
1152
header->id = htons(c->id);
usr.sbin/bgplgd/slowcgi.c
1153
header->content_len = htons(sizeof(struct
usr.sbin/bgplgd/slowcgi.c
1155
header->padding_len = 0;
usr.sbin/bgplgd/slowcgi.c
1156
header->reserved = 0;
usr.sbin/bgplgd/slowcgi.c
592
struct fcgi_record_header *header;
usr.sbin/bgplgd/slowcgi.c
595
header = (struct fcgi_record_header*)resp->data;
usr.sbin/bgplgd/slowcgi.c
603
header->padding_len = padded_len - resp->data_len;
usr.sbin/bgplgd/slowcgi.c
615
struct fcgi_record_header *header;
usr.sbin/bgplgd/slowcgi.c
622
header = (struct fcgi_record_header*) resp->data;
usr.sbin/bgplgd/slowcgi.c
624
dump_fcgi_record("resp ", header);
usr.sbin/iostat/iostat.c
108
static void header(void);
usr.sbin/iostat/iostat.c
193
header();
usr.sbin/lpr/common_source/displayq.c
230
header();
usr.sbin/lpr/common_source/displayq.c
81
static void header(void);
usr.sbin/mopd/common/file.c
197
u_char header[512];
usr.sbin/mopd/common/file.c
200
if (read(fd, header, 512) != 512)
usr.sbin/mopd/common/file.c
205
image_type = (u_short)(header[IHD_W_ALIAS+1]*256 + header[IHD_W_ALIAS]);
usr.sbin/mopd/common/file.c
226
u_char header[512];
usr.sbin/mopd/common/file.c
230
if (read(dl->ldfd, header, 512) != 512)
usr.sbin/mopd/common/file.c
233
image_type = (u_short)(header[IHD_W_ALIAS+1]*256 +
usr.sbin/mopd/common/file.c
234
header[IHD_W_ALIAS]);
usr.sbin/mopd/common/file.c
238
isd = (header[IHD_W_SIZE+1]*256 +
usr.sbin/mopd/common/file.c
239
header[IHD_W_SIZE]);
usr.sbin/mopd/common/file.c
240
iha = (header[IHD_W_ACTIVOFF+1]*256 +
usr.sbin/mopd/common/file.c
241
header[IHD_W_ACTIVOFF]);
usr.sbin/mopd/common/file.c
242
hbcnt = (header[IHD_B_HDRBLKCNT]);
usr.sbin/mopd/common/file.c
243
isize = (header[isd+ISD_W_PAGCNT+1]*256 +
usr.sbin/mopd/common/file.c
244
header[isd+ISD_W_PAGCNT]) * 512;
usr.sbin/mopd/common/file.c
245
load_addr = ((header[isd+ISD_V_VPN+1]*256 +
usr.sbin/mopd/common/file.c
246
header[isd+ISD_V_VPN]) & ISD_M_VPN)
usr.sbin/mopd/common/file.c
248
xfr_addr = (header[iha+IHA_L_TFRADR1+3]*0x1000000 +
usr.sbin/mopd/common/file.c
249
header[iha+IHA_L_TFRADR1+2]*0x10000 +
usr.sbin/mopd/common/file.c
250
header[iha+IHA_L_TFRADR1+1]*0x100 +
usr.sbin/mopd/common/file.c
251
header[iha+IHA_L_TFRADR1]) & 0x7fffffff;
usr.sbin/mopd/common/file.c
261
hbcnt = header[L_BBLK+1]*256 + header[L_BBLK];
usr.sbin/mopd/common/file.c
262
isize = (header[L_BLDZ+1]*256 + header[L_BLDZ]) * 64;
usr.sbin/mopd/common/file.c
263
load_addr = header[L_BSA+1]*256 + header[L_BSA];
usr.sbin/mopd/common/file.c
264
xfr_addr = header[L_BXFR+1]*256 + header[L_BXFR];
usr.sbin/mopd/common/file.c
292
isd = (header[IHD_W_SIZE+1]*256 +
usr.sbin/mopd/common/file.c
293
header[IHD_W_SIZE]);
usr.sbin/mopd/common/file.c
294
iha = (header[IHD_W_ACTIVOFF+1]*256 +
usr.sbin/mopd/common/file.c
295
header[IHD_W_ACTIVOFF]);
usr.sbin/mopd/common/file.c
296
hbcnt = (header[IHD_B_HDRBLKCNT]);
usr.sbin/mopd/common/file.c
297
isize = (header[isd+ISD_W_PAGCNT+1]*256 +
usr.sbin/mopd/common/file.c
298
header[isd+ISD_W_PAGCNT]) * 512;
usr.sbin/mopd/common/file.c
299
load_addr = (header[isd+ISD_V_VPN+1]*256 +
usr.sbin/mopd/common/file.c
300
header[isd+ISD_V_VPN]) * 512;
usr.sbin/mopd/common/file.c
301
xfr_addr = (header[iha+IHA_L_TFRADR1+3]*0x1000000 +
usr.sbin/mopd/common/file.c
302
header[iha+IHA_L_TFRADR1+2]*0x10000 +
usr.sbin/mopd/common/file.c
303
header[iha+IHA_L_TFRADR1+1]*0x100 +
usr.sbin/mopd/common/file.c
304
header[iha+IHA_L_TFRADR1]);
usr.sbin/mopd/common/file.c
314
isd = (header[EIHD_L_ISDOFF+3]*0x1000000 +
usr.sbin/mopd/common/file.c
315
header[EIHD_L_ISDOFF+2]*0x10000 +
usr.sbin/mopd/common/file.c
316
header[EIHD_L_ISDOFF+1]*0x100 +
usr.sbin/mopd/common/file.c
317
header[EIHD_L_ISDOFF]);
usr.sbin/mopd/common/file.c
318
hbcnt = (header[EIHD_L_HDRBLKCNT+3]*0x1000000 +
usr.sbin/mopd/common/file.c
319
header[EIHD_L_HDRBLKCNT+2]*0x10000 +
usr.sbin/mopd/common/file.c
320
header[EIHD_L_HDRBLKCNT+1]*0x100 +
usr.sbin/mopd/common/file.c
321
header[EIHD_L_HDRBLKCNT]);
usr.sbin/mopd/common/file.c
322
isize = (header[isd+EISD_L_SECSIZE+3]*0x1000000 +
usr.sbin/mopd/common/file.c
323
header[isd+EISD_L_SECSIZE+2]*0x10000 +
usr.sbin/mopd/common/file.c
324
header[isd+EISD_L_SECSIZE+1]*0x100 +
usr.sbin/mopd/common/file.c
325
header[isd+EISD_L_SECSIZE]);
usr.sbin/mopd/mopa.out/mopa.out.c
166
mopFilePutLX(header, IHD_W_SIZE, 0xd4, 2);
usr.sbin/mopd/mopa.out/mopa.out.c
168
mopFilePutLX(header, IHD_W_ACTIVOFF, 0x30, 2);
usr.sbin/mopd/mopa.out/mopa.out.c
170
mopFilePutLX(header, IHD_W_ALIAS, IHD_C_NATIVE, 2);
usr.sbin/mopd/mopa.out/mopa.out.c
172
mopFilePutLX(header, IHD_B_HDRBLKCNT, 1, 1);
usr.sbin/mopd/mopa.out/mopa.out.c
175
mopFilePutLX(header, 0x30 + IHA_L_TFRADR1, dl.xferaddr, 4);
usr.sbin/mopd/mopa.out/mopa.out.c
178
mopFilePutLX(header, 0xd4 + ISD_V_VPN, dl.loadaddr / 512, 2);
usr.sbin/mopd/mopa.out/mopa.out.c
181
mopFilePutLX(header, 0xd4 + ISD_W_PAGCNT, i, 2);
usr.sbin/mopd/mopa.out/mopa.out.c
185
mopFilePutLX(header, EIHD_L_ISDOFF, 0xd4, 4);
usr.sbin/mopd/mopa.out/mopa.out.c
187
mopFilePutLX(header, IHD_W_ALIAS, IHD_C_ALPHA, 2);
usr.sbin/mopd/mopa.out/mopa.out.c
189
mopFilePutLX(header, EIHD_L_HDRBLKCNT, 1, 4);
usr.sbin/mopd/mopa.out/mopa.out.c
192
mopFilePutLX(header, 0xd4 + EISD_L_SECSIZE, i, 4);
usr.sbin/mopd/mopa.out/mopa.out.c
202
fwrite (header, sizeof (header), 1, out);
usr.sbin/mopd/mopa.out/mopa.out.c
233
while ((i = mopFileRead(&dl,header)) > 0) {
usr.sbin/mopd/mopa.out/mopa.out.c
234
(void)fwrite(header, i, 1, out);
usr.sbin/mopd/mopa.out/mopa.out.c
83
u_char header[512]; /* The MOP header we generate is 1 block. */
usr.sbin/npppd/l2tp/l2tp_ctrl.c
521
struct l2tp_header *header;
usr.sbin/npppd/l2tp/l2tp_ctrl.c
531
header = bytebuffer_pointer(bytebuf);
usr.sbin/npppd/l2tp/l2tp_ctrl.c
532
header->nr = htons(_this->rcv_nxt);
usr.sbin/npppd/l2tp/l2tp_ctrl.c
537
ntohs(header->ns));
usr.sbin/npppd/pptp/pptp_call.c
298
pptp_init_header(&sli->header, sizeof(struct pptp_sli),
usr.sbin/npppd/pptp/pptp_call.c
355
pptp_init_header(&cdn->header, sizeof(struct pptp_cdn),
usr.sbin/npppd/pptp/pptp_call.c
397
pptp_init_header(&ocrp->header, sizeof(struct pptp_ocrp),
usr.sbin/npppd/pptp/pptp_ctrl.c
648
pptp_init_header(&stop_ccrq->header, sizeof(struct pptp_stop_ccrq),
usr.sbin/npppd/pptp/pptp_ctrl.c
698
pptp_init_header(&stop_ccrp->header, sizeof(struct pptp_stop_ccrp),
usr.sbin/npppd/pptp/pptp_ctrl.c
732
pptp_init_header(&scc->header, sizeof(struct pptp_scc),
usr.sbin/npppd/pptp/pptp_ctrl.c
799
pptp_init_header(&echo_rp->header, sizeof(struct pptp_echo_rp),
usr.sbin/npppd/pptp/pptp_ctrl.c
856
pptp_init_header(&echo_rq->header, sizeof(struct pptp_echo_rq),
usr.sbin/npppd/pptp/pptp_ctrl.c
882
pptp_init_header(&cdn->header, sizeof(struct pptp_cdn),
usr.sbin/npppd/pptp/pptp_local.h
105
struct pptp_ctrl_header header;
usr.sbin/npppd/pptp/pptp_local.h
119
struct pptp_ctrl_header header;
usr.sbin/npppd/pptp/pptp_local.h
125
struct pptp_ctrl_header header;
usr.sbin/npppd/pptp/pptp_local.h
134
struct pptp_ctrl_header header;
usr.sbin/npppd/pptp/pptp_local.h
142
struct pptp_ctrl_header header;
usr.sbin/npppd/pptp/pptp_local.h
149
struct pptp_ctrl_header header;
usr.sbin/npppd/pptp/pptp_local.h
158
struct pptp_ctrl_header header;
usr.sbin/npppd/pptp/pptp_local.h
165
struct pptp_ctrl_header header;
usr.sbin/npppd/pptp/pptp_local.h
74
struct pptp_ctrl_header header;
usr.sbin/npppd/pptp/pptp_local.h
88
struct pptp_ctrl_header header;
usr.sbin/npppd/pptp/pptp_subr.c
82
pptp_init_header(struct pptp_ctrl_header *header, int length, int ctrl_mes_type)
usr.sbin/npppd/pptp/pptp_subr.c
84
header->length = htons(length);
usr.sbin/npppd/pptp/pptp_subr.c
85
header->pptp_message_type = htons(PPTP_MES_TYPE_CTRL);
usr.sbin/npppd/pptp/pptp_subr.c
86
header->magic_cookie = htonl(PPTP_MAGIC_COOKIE);
usr.sbin/npppd/pptp/pptp_subr.c
87
header->control_message_type = htons(ctrl_mes_type);
usr.sbin/npppd/pptp/pptp_subr.c
88
header->reserved0 = 0;
usr.sbin/nsd/server.c
4067
struct pp2_header* header;
usr.sbin/nsd/server.c
4074
header = (struct pp2_header*)buffer_begin(buf);
usr.sbin/nsd/server.c
4075
size = PP2_HEADER_SIZE + read_uint16(&header->len);
usr.sbin/nsd/server.c
4081
if((header->ver_cmd & 0xF) == PP2_CMD_LOCAL) {
usr.sbin/nsd/server.c
4086
if(header->fam_prot == PP2_UNSPEC_UNSPEC) {
usr.sbin/nsd/server.c
4093
switch(header->fam_prot) {
usr.sbin/nsd/server.c
4101
&header->addr.addr4.src_addr, 4);
usr.sbin/nsd/server.c
4102
memmove(&addr->sin_port, &header->addr.addr4.src_port,
usr.sbin/nsd/server.c
4117
header->addr.addr6.src_addr, 16);
usr.sbin/nsd/server.c
4118
memmove(&addr->sin6_port, &header->addr.addr6.src_port,
usr.sbin/nsd/server.c
4128
(int)header->fam_prot));
usr.sbin/nsd/server.c
4137
memmove(header, ((char*)header)+size, buffer_limit(buf)-size);
usr.sbin/nsd/server.c
4493
struct pp2_header* header = NULL;
usr.sbin/nsd/server.c
4529
header = (struct pp2_header*)buffer_begin(data->query->packet);
usr.sbin/nsd/server.c
4530
want_read_size = ntohs(header->len);
usr.sbin/nsd/server.c
4556
if(data->pp2_header_state != pp2_header_done || !header) {
usr.sbin/nsd/server.c
5108
struct pp2_header* header = NULL;
usr.sbin/nsd/server.c
5144
header = (struct pp2_header*)buffer_begin(data->query->packet);
usr.sbin/nsd/server.c
5145
want_read_size = ntohs(header->len);
usr.sbin/nsd/server.c
5171
if(data->pp2_header_state != pp2_header_done || !header) {
usr.sbin/nsd/util/proxy_protocol.c
167
struct pp2_header* header = (struct pp2_header*)buf;
usr.sbin/nsd/util/proxy_protocol.c
173
if(memcmp(header, PP2_SIG, PP2_SIG_LEN) != 0 ||
usr.sbin/nsd/util/proxy_protocol.c
174
((header->ver_cmd & 0xF0)>>4) != PP2_VERSION) {
usr.sbin/nsd/util/proxy_protocol.c
178
size = PP2_HEADER_SIZE + ntohs(header->len);
usr.sbin/nsd/util/proxy_protocol.c
183
if((header->ver_cmd & 0xF) != PP2_CMD_LOCAL &&
usr.sbin/nsd/util/proxy_protocol.c
184
(header->ver_cmd & 0xF) != PP2_CMD_PROXY) {
usr.sbin/nsd/util/proxy_protocol.c
188
if(header->fam_prot != PP2_UNSPEC_UNSPEC &&
usr.sbin/nsd/util/proxy_protocol.c
189
header->fam_prot != PP2_INET_STREAM &&
usr.sbin/nsd/util/proxy_protocol.c
190
header->fam_prot != PP2_INET_DGRAM &&
usr.sbin/nsd/util/proxy_protocol.c
191
header->fam_prot != PP2_INET6_STREAM &&
usr.sbin/nsd/util/proxy_protocol.c
192
header->fam_prot != PP2_INET6_DGRAM &&
usr.sbin/nsd/util/proxy_protocol.c
193
header->fam_prot != PP2_UNIX_STREAM &&
usr.sbin/nsd/util/proxy_protocol.c
194
header->fam_prot != PP2_UNIX_DGRAM) {
usr.sbin/ospf6ctl/ospf6ctl.c
1133
char *header, *format, *format2;
usr.sbin/ospf6ctl/ospf6ctl.c
1155
if ((header = strdup("External Routing Table")) == NULL)
usr.sbin/ospf6ctl/ospf6ctl.c
1163
if (asprintf(&header, "%s (Area %s)", format,
usr.sbin/ospf6ctl/ospf6ctl.c
1167
printf("\n%-18s %s\n", "", header);
usr.sbin/ospf6ctl/ospf6ctl.c
1168
free(header);
usr.sbin/ospf6ctl/ospf6ctl.c
563
char *header, *format;
usr.sbin/ospf6ctl/ospf6ctl.c
595
if (asprintf(&header, "%s (Area %s)", format,
usr.sbin/ospf6ctl/ospf6ctl.c
599
if (asprintf(&header, "%s (Area %s Interface %s)", format,
usr.sbin/ospf6ctl/ospf6ctl.c
603
if (asprintf(&header, "%s", format) == -1)
usr.sbin/ospf6ctl/ospf6ctl.c
607
printf("\n%-15s %s\n\n", "", header);
usr.sbin/ospf6ctl/ospf6ctl.c
608
free(header);
usr.sbin/ospfctl/output.c
108
char *header, *format, *format2;
usr.sbin/ospfctl/output.c
130
if ((header = strdup("External Routing Table")) == NULL)
usr.sbin/ospfctl/output.c
138
if (asprintf(&header, "%s (Area %s)", format,
usr.sbin/ospfctl/output.c
142
printf("\n%-18s %s\n", "", header);
usr.sbin/ospfctl/output.c
143
free(header);
usr.sbin/ospfctl/output.c
423
char *header, *format;
usr.sbin/ospfctl/output.c
441
if ((header = strdup("Type-5 AS External Link States")) == NULL)
usr.sbin/ospfctl/output.c
452
if ((header = strdup("Type-11 AS Wide Opaque Link States")) ==
usr.sbin/ospfctl/output.c
463
if (asprintf(&header, "%s (Area %s Interface %s)", format,
usr.sbin/ospfctl/output.c
467
if (asprintf(&header, "%s (Area %s)", format,
usr.sbin/ospfctl/output.c
471
printf("\n%-15s %s\n\n", "", header);
usr.sbin/ospfctl/output.c
472
free(header);
usr.sbin/pstat/pstat.c
1124
char *header;
usr.sbin/pstat/pstat.c
1131
header = "1K-blocks";
usr.sbin/pstat/pstat.c
1133
hlen = strlen(header);
usr.sbin/pstat/pstat.c
1135
header = getbsize(&hlen, &blocksize);
usr.sbin/pstat/pstat.c
1141
"Device", hlen, header,
usr.sbin/pstat/pstat.c
1154
"Device", hlen, header,
usr.sbin/quot/quot.c
548
header = getbsize(&headerlen, &blocksize);
usr.sbin/quot/quot.c
58
static char *header;
usr.sbin/rpki-client/http.c
1522
char *header = buf;
usr.sbin/rpki-client/http.c
1527
header[strcspn(header, "; \t")] = '\0';
usr.sbin/rpki-client/http.c
1529
chunksize = strtoul(header, &end, 16);
usr.sbin/rpki-client/http.c
1530
if (header[0] == '\0' || *end != '\0' || (errno == ERANGE &&
usr.sbin/slowcgi/slowcgi.c
1000
header->version = 1;
usr.sbin/slowcgi/slowcgi.c
1001
header->type = FCGI_END_REQUEST;
usr.sbin/slowcgi/slowcgi.c
1002
header->id = htons(c->id);
usr.sbin/slowcgi/slowcgi.c
1003
header->content_len = htons(sizeof(struct
usr.sbin/slowcgi/slowcgi.c
1005
header->padding_len = 0;
usr.sbin/slowcgi/slowcgi.c
1006
header->reserved = 0;
usr.sbin/slowcgi/slowcgi.c
1024
struct fcgi_record_header *header;
usr.sbin/slowcgi/slowcgi.c
1031
header = (struct fcgi_record_header*) resp->data;
usr.sbin/slowcgi/slowcgi.c
1032
header->version = 1;
usr.sbin/slowcgi/slowcgi.c
1033
header->type = type;
usr.sbin/slowcgi/slowcgi.c
1034
header->id = htons(c->id);
usr.sbin/slowcgi/slowcgi.c
1035
header->padding_len = 0;
usr.sbin/slowcgi/slowcgi.c
1036
header->reserved = 0;
usr.sbin/slowcgi/slowcgi.c
1051
header->content_len = htons(n);
usr.sbin/slowcgi/slowcgi.c
565
struct fcgi_record_header *header;
usr.sbin/slowcgi/slowcgi.c
568
header = (struct fcgi_record_header*)resp->data;
usr.sbin/slowcgi/slowcgi.c
576
header->padding_len = padded_len - resp->data_len;
usr.sbin/slowcgi/slowcgi.c
588
struct fcgi_record_header *header;
usr.sbin/slowcgi/slowcgi.c
595
header = (struct fcgi_record_header*) resp->data;
usr.sbin/slowcgi/slowcgi.c
597
dump_fcgi_record("resp ", header);
usr.sbin/slowcgi/slowcgi.c
992
struct fcgi_record_header *header;
usr.sbin/slowcgi/slowcgi.c
999
header = (struct fcgi_record_header*) resp->data;
usr.sbin/snmpd/ax.c
1109
struct ax_pdu_header header;
usr.sbin/snmpd/ax.c
1113
header.aph_flags = ax->ax_byteorder == AX_BYTE_ORDER_BE ?
usr.sbin/snmpd/ax.c
1115
packetid = ax_pdutoh32(&header, &(ax->ax_wbuf[ax->ax_wblen + 12]));
usr.sbin/snmpd/ax.c
125
header.aph_version = *u8++;
usr.sbin/snmpd/ax.c
126
header.aph_type = *u8++;
usr.sbin/snmpd/ax.c
127
header.aph_flags = *u8++;
usr.sbin/snmpd/ax.c
129
header.aph_sessionid = ax_pdutoh32(&header, u8);
usr.sbin/snmpd/ax.c
131
header.aph_transactionid = ax_pdutoh32(&header, u8);
usr.sbin/snmpd/ax.c
1329
ax_pdutoh16(struct ax_pdu_header *header, uint8_t *buf)
usr.sbin/snmpd/ax.c
133
header.aph_packetid = ax_pdutoh32(&header, u8);
usr.sbin/snmpd/ax.c
1334
if (header->aph_flags & AX_PDU_FLAG_NETWORK_BYTE_ORDER)
usr.sbin/snmpd/ax.c
1340
ax_pdutoh32(struct ax_pdu_header *header, uint8_t *buf)
usr.sbin/snmpd/ax.c
1345
if (header->aph_flags & AX_PDU_FLAG_NETWORK_BYTE_ORDER)
usr.sbin/snmpd/ax.c
135
header.aph_plength = ax_pdutoh32(&header, u8);
usr.sbin/snmpd/ax.c
1351
ax_pdutoh64(struct ax_pdu_header *header, uint8_t *buf)
usr.sbin/snmpd/ax.c
1356
if (header->aph_flags & AX_PDU_FLAG_NETWORK_BYTE_ORDER)
usr.sbin/snmpd/ax.c
1362
ax_pdutooid(struct ax_pdu_header *header, struct ax_oid *oid,
usr.sbin/snmpd/ax.c
137
if (header.aph_version != 1) {
usr.sbin/snmpd/ax.c
1390
oid->aoi_id[i] = ax_pdutoh32(header, buf);
usr.sbin/snmpd/ax.c
1400
ax_pdutoostring(struct ax_pdu_header *header,
usr.sbin/snmpd/ax.c
1408
ostring->aos_slen = ax_pdutoh32(header, buf);
usr.sbin/snmpd/ax.c
141
if (ax->ax_rblen < AX_PDU_HEADER + header.aph_plength) {
usr.sbin/snmpd/ax.c
142
if (AX_PDU_HEADER + header.aph_plength > ax->ax_rbsize) {
usr.sbin/snmpd/ax.c
143
rbsize = (((AX_PDU_HEADER + header.aph_plength)
usr.sbin/snmpd/ax.c
1430
ax_pdutovarbind(struct ax_pdu_header *header,
usr.sbin/snmpd/ax.c
1440
varbind->avb_type = ax_pdutoh16(header, buf);
usr.sbin/snmpd/ax.c
1444
nread = ax_pdutooid(header, &(varbind->avb_oid), buf, rawlen);
usr.sbin/snmpd/ax.c
1455
varbind->avb_data.avb_int32 = ax_pdutoh32(header, buf);
usr.sbin/snmpd/ax.c
1462
varbind->avb_data.avb_uint32 = ax_pdutoh32(header, buf);
usr.sbin/snmpd/ax.c
1467
varbind->avb_data.avb_uint64 = ax_pdutoh64(header, buf);
usr.sbin/snmpd/ax.c
1472
nread = ax_pdutoostring(header,
usr.sbin/snmpd/ax.c
1478
nread = ax_pdutooid(header, &(varbind->avb_data.avb_oid),
usr.sbin/snmpd/ax.c
152
header.aph_plength - (ax->ax_rblen - AX_PDU_HEADER));
usr.sbin/snmpd/ax.c
158
if (ax->ax_rblen < AX_PDU_HEADER + header.aph_plength) {
usr.sbin/snmpd/ax.c
167
memcpy(&(pdu->ap_header), &header, sizeof(header));
usr.sbin/snmpd/ax.c
194
nread = ax_pdutoostring(&header, &(pdu->ap_context), u8,
usr.sbin/snmpd/ax.c
211
if ((nread = ax_pdutooid(&header,
usr.sbin/snmpd/ax.c
216
if ((nread = ax_pdutoostring(&header,
usr.sbin/snmpd/ax.c
250
if ((nread = ax_pdutooid(&header,
usr.sbin/snmpd/ax.c
262
ax_pdutoh32(&header, u8);
usr.sbin/snmpd/ax.c
280
if ((nread = ax_pdutooid(&header,
usr.sbin/snmpd/ax.c
292
ax_pdutoh32(&header, u8);
usr.sbin/snmpd/ax.c
306
ax_pdutoh16(&header, u8);
usr.sbin/snmpd/ax.c
309
ax_pdutoh16(&header, u8);
usr.sbin/snmpd/ax.c
325
if ((nread = ax_pdutooid(&header, &(sr->asr_start),
usr.sbin/snmpd/ax.c
330
if ((nread = ax_pdutooid(&header, &(sr->asr_stop),
usr.sbin/snmpd/ax.c
349
nread = ax_pdutovarbind(&header,
usr.sbin/snmpd/ax.c
368
nread = ax_pdutooid(&header,
usr.sbin/snmpd/ax.c
374
nread = ax_pdutoostring(&header,
usr.sbin/snmpd/ax.c
384
nread = ax_pdutooid(&header,
usr.sbin/snmpd/ax.c
399
response->ap_uptime = ax_pdutoh32(&header, u8);
usr.sbin/snmpd/ax.c
401
response->ap_error = ax_pdutoh16(&header, u8);
usr.sbin/snmpd/ax.c
403
response->ap_index = ax_pdutoh16(&header, u8);
usr.sbin/snmpd/ax.c
413
nread = ax_pdutovarbind(&header,
usr.sbin/snmpd/ax.c
98
struct ax_pdu_header header;
usr.sbin/unbound/util/netevent.c
3600
struct pp2_header* header = NULL;
usr.sbin/unbound/util/netevent.c
3667
header = (struct pp2_header*)sldns_buffer_begin(c->buffer);
usr.sbin/unbound/util/netevent.c
3668
want_read_size = ntohs(header->len);
usr.sbin/unbound/util/netevent.c
3724
if(c->pp2_header_state != pp2_header_done || !header) {
usr.sbin/unbound/util/netevent.c
4024
struct pp2_header* header = NULL;
usr.sbin/unbound/util/netevent.c
4068
header = (struct pp2_header*)sldns_buffer_begin(c->buffer);
usr.sbin/unbound/util/netevent.c
4069
want_read_size = ntohs(header->len);
usr.sbin/unbound/util/netevent.c
4102
if(c->pp2_header_state != pp2_header_done || !header) {
usr.sbin/unbound/util/netevent.c
930
struct pp2_header *header;
usr.sbin/unbound/util/netevent.c
934
header = (struct pp2_header*)sldns_buffer_begin(buf);
usr.sbin/unbound/util/netevent.c
935
size = PP2_HEADER_SIZE + ntohs(header->len);
usr.sbin/unbound/util/netevent.c
936
if((header->ver_cmd & 0xF) == PP2_CMD_LOCAL) {
usr.sbin/unbound/util/netevent.c
941
if(header->fam_prot == PP2_UNSPEC_UNSPEC) {
usr.sbin/unbound/util/netevent.c
948
switch(header->fam_prot) {
usr.sbin/unbound/util/netevent.c
955
addr->sin_addr.s_addr = header->addr.addr4.src_addr;
usr.sbin/unbound/util/netevent.c
956
addr->sin_port = header->addr.addr4.src_port;
usr.sbin/unbound/util/netevent.c
969
header->addr.addr6.src_addr, 16);
usr.sbin/unbound/util/netevent.c
970
addr->sin6_port = header->addr.addr6.src_port;
usr.sbin/unbound/util/netevent.c
977
"protocol 0x%x", (int)header->fam_prot);
usr.sbin/unbound/util/netevent.c
986
memmove(header, ((char*)header)+size,
usr.sbin/unbound/util/proxy_protocol.c
168
struct pp2_header* header = (struct pp2_header*)buf;
usr.sbin/unbound/util/proxy_protocol.c
174
if(memcmp(header, PP2_SIG, PP2_SIG_LEN) != 0 ||
usr.sbin/unbound/util/proxy_protocol.c
175
((header->ver_cmd & 0xF0)>>4) != PP2_VERSION) {
usr.sbin/unbound/util/proxy_protocol.c
179
size = PP2_HEADER_SIZE + ntohs(header->len);
usr.sbin/unbound/util/proxy_protocol.c
184
if((header->ver_cmd & 0xF) != PP2_CMD_LOCAL &&
usr.sbin/unbound/util/proxy_protocol.c
185
(header->ver_cmd & 0xF) != PP2_CMD_PROXY) {
usr.sbin/unbound/util/proxy_protocol.c
189
if(header->fam_prot != PP2_UNSPEC_UNSPEC &&
usr.sbin/unbound/util/proxy_protocol.c
190
header->fam_prot != PP2_INET_STREAM &&
usr.sbin/unbound/util/proxy_protocol.c
191
header->fam_prot != PP2_INET_DGRAM &&
usr.sbin/unbound/util/proxy_protocol.c
192
header->fam_prot != PP2_INET6_STREAM &&
usr.sbin/unbound/util/proxy_protocol.c
193
header->fam_prot != PP2_INET6_DGRAM &&
usr.sbin/unbound/util/proxy_protocol.c
194
header->fam_prot != PP2_UNIX_STREAM &&
usr.sbin/unbound/util/proxy_protocol.c
195
header->fam_prot != PP2_UNIX_DGRAM) {
usr.sbin/vmd/vioqcow2.c
144
struct qcheader header;
usr.sbin/vmd/vioqcow2.c
149
if (pread(fd, &header, sizeof(header), 0) != sizeof(header)) {
usr.sbin/vmd/vioqcow2.c
153
if (strncmp(header.magic, VM_MAGIC_QCOW, strlen(VM_MAGIC_QCOW)) != 0) {
usr.sbin/vmd/vioqcow2.c
157
backingoff = be64toh(header.backingoff);
usr.sbin/vmd/vioqcow2.c
158
backingsz = be32toh(header.backingsz);
usr.sbin/vmd/vioqcow2.c
210
struct qcheader header;
usr.sbin/vmd/vioqcow2.c
221
if (pread(fd, &header, sizeof(header), 0) != sizeof(header))
usr.sbin/vmd/vioqcow2.c
223
if (strncmp(header.magic, VM_MAGIC_QCOW, strlen(VM_MAGIC_QCOW)) != 0)
usr.sbin/vmd/vioqcow2.c
226
disk->clustersz = (1ull << be32toh(header.clustershift));
usr.sbin/vmd/vioqcow2.c
227
disk->disksz = be64toh(header.disksz);
usr.sbin/vmd/vioqcow2.c
228
disk->cryptmethod = be32toh(header.cryptmethod);
usr.sbin/vmd/vioqcow2.c
229
disk->l1sz = be32toh(header.l1sz);
usr.sbin/vmd/vioqcow2.c
230
disk->l1off = be64toh(header.l1off);
usr.sbin/vmd/vioqcow2.c
231
disk->refsz = be32toh(header.refsz);
usr.sbin/vmd/vioqcow2.c
232
disk->refoff = be64toh(header.refoff);
usr.sbin/vmd/vioqcow2.c
233
disk->nsnap = be32toh(header.snapcount);
usr.sbin/vmd/vioqcow2.c
234
disk->snapoff = be64toh(header.snapsz);
usr.sbin/vmd/vioqcow2.c
241
disk->incompatfeatures = be64toh(header.incompatfeatures);
usr.sbin/vmd/vioqcow2.c
242
disk->autoclearfeatures = be64toh(header.autoclearfeatures);
usr.sbin/vmd/vioqcow2.c
243
disk->refssz = be32toh(header.refsz);
usr.sbin/vmd/vioqcow2.c
244
disk->headersz = be32toh(header.headersz);
usr.sbin/vmd/vioqcow2.c
252
if (be32toh(header.reforder) != 4)
usr.sbin/vmd/vioqcow2.c
263
version = be32toh(header.version);
usr.sbin/vmd/vioqcow2.c
267
backingoff = be64toh(header.backingoff);
usr.sbin/vmd/vioqcow2.c
268
backingsz = be32toh(header.backingsz);
usr.sbin/vmd/vioqcow2.c
71
struct qcheader header;
usr.sbin/ypldap/aldap.h
65
struct ber_element *header;