Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_discovery.c345 struct binary_header *bhdr; in amdgpu_discovery_verify_binary_signature() local
346 bhdr = (struct binary_header *)binary; in amdgpu_discovery_verify_binary_signature()
348 return (le32_to_cpu(bhdr->binary_signature) == BINARY_SIGNATURE); in amdgpu_discovery_verify_binary_signature()
377 struct binary_header *bhdr) in amdgpu_discovery_verify_npsinfo() argument
383 info = &bhdr->table_list[NPS_INFO]; in amdgpu_discovery_verify_npsinfo()
408 struct binary_header *bhdr; in amdgpu_discovery_init() local
445 bhdr = (struct binary_header *)adev->mman.discovery_bin; in amdgpu_discovery_init()
448 sizeof(bhdr->binary_checksum); in amdgpu_discovery_init()
449 size = le16_to_cpu(bhdr->binary_size) - offset; in amdgpu_discovery_init()
450 checksum = le16_to_cpu(bhdr->binary_checksum); in amdgpu_discovery_init()
[all …]
/linux-6.12.1/drivers/rapidio/
Drio_cm.c130 struct rio_ch_base_bhdr bhdr; member
404 req->destid = ntohl(hh->bhdr.src_id); in riocm_req_handler()
603 if (hdr->bhdr.type != RIO_CM_CHAN) { in rio_ibmsg_handler()
606 hdr->bhdr.type); in rio_ibmsg_handler()
809 hdr->bhdr.src_id = htonl(ch->loc_destid); in riocm_ch_send()
810 hdr->bhdr.dst_id = htonl(ch->rem_destid); in riocm_ch_send()
811 hdr->bhdr.src_mbox = cmbox; in riocm_ch_send()
812 hdr->bhdr.dst_mbox = cmbox; in riocm_ch_send()
813 hdr->bhdr.type = RIO_CM_CHAN; in riocm_ch_send()
977 hdr->bhdr.src_id = htonl(ch->loc_destid); in riocm_ch_connect()
[all …]