Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_discovery.c257 struct binary_header *bhdr; in amdgpu_discovery_verify_binary_signature() local
258 bhdr = (struct binary_header *)binary; in amdgpu_discovery_verify_binary_signature()
260 return (le32_to_cpu(bhdr->binary_signature) == BINARY_SIGNATURE); in amdgpu_discovery_verify_binary_signature()
290 struct binary_header *bhdr; in amdgpu_discovery_init() local
325 bhdr = (struct binary_header *)adev->mman.discovery_bin; in amdgpu_discovery_init()
328 sizeof(bhdr->binary_checksum); in amdgpu_discovery_init()
329 size = le16_to_cpu(bhdr->binary_size) - offset; in amdgpu_discovery_init()
330 checksum = le16_to_cpu(bhdr->binary_checksum); in amdgpu_discovery_init()
339 info = &bhdr->table_list[IP_DISCOVERY]; in amdgpu_discovery_init()
360 info = &bhdr->table_list[GC]; in amdgpu_discovery_init()
[all …]
/linux-6.1.9/drivers/rapidio/
Drio_cm.c130 struct rio_ch_base_bhdr bhdr; member
402 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 …]