Home
last modified time | relevance | path

Searched refs:bhdr (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_discovery.c402 struct binary_header *bhdr; in amdgpu_discovery_verify_binary_signature() local
403 bhdr = (struct binary_header *)binary; in amdgpu_discovery_verify_binary_signature()
405 return (le32_to_cpu(bhdr->binary_signature) == BINARY_SIGNATURE); in amdgpu_discovery_verify_binary_signature()
434 struct binary_header *bhdr) in amdgpu_discovery_verify_npsinfo() argument
441 info = &bhdr->table_list[NPS_INFO]; in amdgpu_discovery_verify_npsinfo()
497 struct binary_header *bhdr; in amdgpu_discovery_init() local
536 bhdr = (struct binary_header *)discovery_bin; in amdgpu_discovery_init()
539 sizeof(bhdr->binary_checksum); in amdgpu_discovery_init()
540 size = le16_to_cpu(bhdr->binary_size) - offset; in amdgpu_discovery_init()
541 checksum = le16_to_cpu(bhdr->binary_checksum); in amdgpu_discovery_init()
[all …]
/linux/drivers/rapidio/
H A Drio_cm.c130 struct rio_ch_base_bhdr bhdr; member
398 req->destid = ntohl(hh->bhdr.src_id); in riocm_req_handler()
597 if (hdr->bhdr.type != RIO_CM_CHAN) { in rio_ibmsg_handler()
600 hdr->bhdr.type); in rio_ibmsg_handler()
806 hdr->bhdr.src_id = htonl(ch->loc_destid); in riocm_ch_send()
807 hdr->bhdr.dst_id = htonl(ch->rem_destid); in riocm_ch_send()
808 hdr->bhdr.src_mbox = cmbox; in riocm_ch_send()
809 hdr->bhdr.dst_mbox = cmbox; in riocm_ch_send()
810 hdr->bhdr.type = RIO_CM_CHAN; in riocm_ch_send()
974 hdr->bhdr.src_id = htonl(ch->loc_destid); in riocm_ch_connect()
[all …]