Lines Matching refs:hdr
63 struct ti_sci_msg_hdr *hdr; in ti_sci_setup_one_xfer() local
68 tx_message_size < sizeof(*hdr)) in ti_sci_setup_one_xfer()
71 hdr = (struct ti_sci_msg_hdr *)tx_buf; in ti_sci_setup_one_xfer()
74 hdr->sec_hdr.checksum = 0; in ti_sci_setup_one_xfer()
75 hdr->seq = ++message_sequence; in ti_sci_setup_one_xfer()
76 hdr->type = msg_type; in ti_sci_setup_one_xfer()
77 hdr->host = TI_SCI_HOST_ID; in ti_sci_setup_one_xfer()
78 hdr->flags = msg_flags; in ti_sci_setup_one_xfer()
81 hdr->flags |= TI_SCI_FLAG_REQ_ACK_ON_PROCESSED; in ti_sci_setup_one_xfer()
104 struct ti_sci_msg_hdr *hdr; in ti_sci_get_response() local
117 hdr = (struct ti_sci_msg_hdr *)msg->buf; in ti_sci_get_response()
120 if (hdr->seq == message_sequence) in ti_sci_get_response()
123 WARN("Message with sequence ID %u is not expected\n", hdr->seq); in ti_sci_get_response()
136 if (!(hdr->flags & TI_SCI_FLAG_RESP_GENERIC_ACK)) in ti_sci_get_response()
140 (void)hdr->sec_hdr.checksum; in ti_sci_get_response()
201 struct ti_sci_msg_hdr hdr; in ti_sci_get_revision() local
206 &hdr, sizeof(hdr), in ti_sci_get_revision()
1805 if (msg.hdr.type != TI_SCI_MSG_BOOT_NOTIFICATION) { in ti_sci_boot_notification()
1808 msg.hdr.type); in ti_sci_boot_notification()