Home
last modified time | relevance | path

Searched refs:heci_hdr (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/uts/intel/io/heci/
H A Dheci_interface.c401 struct heci_msg_hdr *heci_hdr; in heci_send_flow_control() local
404 heci_hdr = (struct heci_msg_hdr *)&dev->wr_msg_buf[0]; in heci_send_flow_control()
405 heci_hdr->host_addr = 0; in heci_send_flow_control()
406 heci_hdr->me_addr = 0; in heci_send_flow_control()
407 heci_hdr->length = sizeof (struct hbm_flow_control); in heci_send_flow_control()
408 heci_hdr->msg_complete = 1; in heci_send_flow_control()
409 heci_hdr->reserved = 0; in heci_send_flow_control()
420 if (!heci_write_message(dev, heci_hdr, in heci_send_flow_control()
466 struct heci_msg_hdr *heci_hdr; in heci_send_wd() local
468 heci_hdr = (struct heci_msg_hdr *)&dev->wr_msg_buf[0]; in heci_send_wd()
[all …]
H A Dheci_intr.c78 struct heci_msg_hdr *heci_hdr);
81 struct heci_msg_hdr *heci_hdr);
84 struct heci_msg_hdr *heci_hdr);
365 struct heci_msg_hdr *heci_hdr; in heci_bh_read_handler() local
376 heci_hdr = (struct heci_msg_hdr *)&dev->rd_msg_hdr; in heci_bh_read_handler()
377 DBG("heci_hdr->length =%d\n", heci_hdr->length); in heci_bh_read_handler()
379 if ((heci_hdr->reserved) || !(dev->rd_msg_hdr)) { in heci_bh_read_handler()
385 if ((heci_hdr->host_addr) || (heci_hdr->me_addr)) { in heci_bh_read_handler()
392 if ((file_pos->host_client_id == heci_hdr->host_addr) && in heci_bh_read_handler()
393 (file_pos->me_client_id == heci_hdr->me_addr)) in heci_bh_read_handler()
[all …]
H A Dheci_init.c568 struct heci_msg_hdr *heci_hdr; in host_start_message() local
576 heci_hdr = (struct heci_msg_hdr *)&dev->wr_msg_buf[0]; in host_start_message()
577 heci_hdr->host_addr = 0; in host_start_message()
578 heci_hdr->me_addr = 0; in host_start_message()
579 heci_hdr->length = sizeof (struct hbm_host_version_request); in host_start_message()
580 heci_hdr->msg_complete = 1; in host_start_message()
581 heci_hdr->reserved = 0; in host_start_message()
591 if (!heci_write_message(dev, heci_hdr, in host_start_message()
593 heci_hdr->length)) { in host_start_message()
614 heci_hdr->host_addr = 0; in host_start_message()
[all …]
H A Dio_heci.c756 struct heci_msg_hdr heci_hdr; in pthi_write() local
778 heci_hdr.length = in pthi_write()
781 heci_hdr.msg_complete = 0; in pthi_write()
783 heci_hdr.length = priv_cb->request_buffer.size; in pthi_write()
784 heci_hdr.msg_complete = 1; in pthi_write()
787 heci_hdr.host_addr = dev->iamthif_file_ext.host_client_id; in pthi_write()
788 heci_hdr.me_addr = dev->iamthif_file_ext.me_client_id; in pthi_write()
789 heci_hdr.reserved = 0; in pthi_write()
790 dev->iamthif_msg_buf_index += heci_hdr.length; in pthi_write()
791 if (!heci_write_message(dev, &heci_hdr, in pthi_write()
[all …]
H A Dheci_main.c978 struct heci_msg_hdr heci_hdr; in heci_write() local
1182 heci_hdr.length = in heci_write()
1186 heci_hdr.msg_complete = 0; in heci_write()
1188 heci_hdr.length = (uint32_t)length; in heci_write()
1189 heci_hdr.msg_complete = 1; in heci_write()
1191 heci_hdr.host_addr = file_ext->host_client_id; in heci_write()
1192 heci_hdr.me_addr = file_ext->me_client_id; in heci_write()
1193 heci_hdr.reserved = 0; in heci_write()
1195 *((uint32_t *)(void *)&heci_hdr)); in heci_write()
1197 if (!heci_write_message(dev, &heci_hdr, in heci_write()
[all …]