Lines Matching refs:hostif_msg
39 struct hostif_msg *recv_msg = recv_buf; in report_bad_packet()
68 struct hostif_msg *recv_msg; in process_recv()
85 if (cur_pos + sizeof(struct hostif_msg) > total_len) { in process_recv()
95 recv_msg = (struct hostif_msg *)(recv_buf + cur_pos); in process_recv()
99 if (cur_pos + payload_len + sizeof(struct hostif_msg) > in process_recv()
270 recv_msg = (struct hostif_msg *)(reports + in process_recv()
304 sizeof(struct hostif_msg) < total_len) in process_recv()
307 cur_pos += payload_len + sizeof(struct hostif_msg); in process_recv()
308 payload += payload_len + sizeof(struct hostif_msg); in process_recv()
369 struct hostif_msg *msg = (struct hostif_msg *)buf; in hid_ishtp_set_feature()
382 memset(msg, 0, sizeof(struct hostif_msg)); in hid_ishtp_set_feature()
488 struct hostif_msg msg; in ishtp_enum_enum_devices()
494 memset(&msg, 0, sizeof(struct hostif_msg)); in ishtp_enum_enum_devices()
497 sizeof(struct hostif_msg)); in ishtp_enum_enum_devices()
512 sizeof(struct hostif_msg)); in ishtp_enum_enum_devices()
544 struct hostif_msg msg; in ishtp_get_hid_descriptor()
550 memset(&msg, 0, sizeof(struct hostif_msg)); in ishtp_get_hid_descriptor()
554 sizeof(struct hostif_msg)); in ishtp_get_hid_descriptor()
591 struct hostif_msg msg; in ishtp_get_report_descriptor()
597 memset(&msg, 0, sizeof(struct hostif_msg)); in ishtp_get_report_descriptor()
601 sizeof(struct hostif_msg)); in ishtp_get_report_descriptor()