Searched refs:bhdr (Results 1 – 2 of 2) sorted by relevance
295 struct binary_header *bhdr; in amdgpu_discovery_verify_binary_signature() local296 bhdr = (struct binary_header *)binary; in amdgpu_discovery_verify_binary_signature()298 return (le32_to_cpu(bhdr->binary_signature) == BINARY_SIGNATURE); in amdgpu_discovery_verify_binary_signature()329 struct binary_header *bhdr; in amdgpu_discovery_init() local366 bhdr = (struct binary_header *)adev->mman.discovery_bin; in amdgpu_discovery_init()369 sizeof(bhdr->binary_checksum); in amdgpu_discovery_init()370 size = le16_to_cpu(bhdr->binary_size) - offset; in amdgpu_discovery_init()371 checksum = le16_to_cpu(bhdr->binary_checksum); in amdgpu_discovery_init()380 info = &bhdr->table_list[IP_DISCOVERY]; in amdgpu_discovery_init()401 info = &bhdr->table_list[GC]; in amdgpu_discovery_init()[all …]
130 struct rio_ch_base_bhdr bhdr; member402 req->destid = ntohl(hh->bhdr.src_id); in riocm_req_handler()601 if (hdr->bhdr.type != RIO_CM_CHAN) { in rio_ibmsg_handler()604 hdr->bhdr.type); in rio_ibmsg_handler()807 hdr->bhdr.src_id = htonl(ch->loc_destid); in riocm_ch_send()808 hdr->bhdr.dst_id = htonl(ch->rem_destid); in riocm_ch_send()809 hdr->bhdr.src_mbox = cmbox; in riocm_ch_send()810 hdr->bhdr.dst_mbox = cmbox; in riocm_ch_send()811 hdr->bhdr.type = RIO_CM_CHAN; in riocm_ch_send()975 hdr->bhdr.src_id = htonl(ch->loc_destid); in riocm_ch_connect()[all …]