Home
last modified time | relevance | path

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

/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 …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_discovery.c434 struct binary_header *bhdr; in amdgpu_discovery_verify_binary_signature() local
435 bhdr = (struct binary_header *)binary; in amdgpu_discovery_verify_binary_signature()
437 return (le32_to_cpu(bhdr->binary_signature) == BINARY_SIGNATURE); in amdgpu_discovery_verify_binary_signature()
528 struct binary_header *bhdr = in amdgpu_discovery_get_table_info() local
532 switch (bhdr->version_major) { in amdgpu_discovery_get_table_info()
539 *info = &bhdr->table_list[table_id]; in amdgpu_discovery_get_table_info()
542 dev_err(adev->dev, "Invalid ip discovery table version %d\n",bhdr->version_major); in amdgpu_discovery_get_table_info()
636 struct binary_header *bhdr; in amdgpu_discovery_init() local
675 bhdr = (struct binary_header *)discovery_bin; in amdgpu_discovery_init()
678 sizeof(bhdr->binary_checksum); in amdgpu_discovery_init()
[all …]