Lines Matching refs:mei_hdr
132 static inline void mei_hbm_hdr(struct mei_msg_hdr *mei_hdr, size_t length) in mei_hbm_hdr() argument
134 memset(mei_hdr, 0, sizeof(*mei_hdr)); in mei_hbm_hdr()
135 mei_hdr->length = length; in mei_hbm_hdr()
136 mei_hdr->msg_complete = 1; in mei_hbm_hdr()
173 struct mei_msg_hdr mei_hdr; in mei_hbm_cl_write() local
175 mei_hbm_hdr(&mei_hdr, len); in mei_hbm_cl_write()
178 return mei_hbm_write_message(dev, &mei_hdr, buf); in mei_hbm_cl_write()
255 struct mei_msg_hdr mei_hdr; in mei_hbm_start_req() local
261 mei_hbm_hdr(&mei_hdr, sizeof(req)); in mei_hbm_start_req()
270 ret = mei_hbm_write_message(dev, &mei_hdr, &req); in mei_hbm_start_req()
291 struct mei_msg_hdr mei_hdr; in mei_hbm_dma_setup_req() local
296 mei_hbm_hdr(&mei_hdr, sizeof(req)); in mei_hbm_dma_setup_req()
311 ret = mei_hbm_write_message(dev, &mei_hdr, &req); in mei_hbm_dma_setup_req()
333 struct mei_msg_hdr mei_hdr; in mei_hbm_capabilities_req() local
337 mei_hbm_hdr(&mei_hdr, sizeof(req)); in mei_hbm_capabilities_req()
344 ret = mei_hbm_write_message(dev, &mei_hdr, &req); in mei_hbm_capabilities_req()
366 struct mei_msg_hdr mei_hdr; in mei_hbm_enum_clients_req() local
371 mei_hbm_hdr(&mei_hdr, sizeof(req)); in mei_hbm_enum_clients_req()
379 ret = mei_hbm_write_message(dev, &mei_hdr, &req); in mei_hbm_enum_clients_req()
434 struct mei_msg_hdr mei_hdr; in mei_hbm_add_cl_resp() local
440 mei_hbm_hdr(&mei_hdr, sizeof(resp)); in mei_hbm_add_cl_resp()
447 ret = mei_hbm_write_message(dev, &mei_hdr, &resp); in mei_hbm_add_cl_resp()
494 struct mei_msg_hdr mei_hdr; in mei_hbm_cl_notify_req() local
498 mei_hbm_hdr(&mei_hdr, sizeof(req)); in mei_hbm_cl_notify_req()
503 ret = mei_hbm_write_message(dev, &mei_hdr, &req); in mei_hbm_cl_notify_req()
605 struct mei_msg_hdr mei_hdr; in mei_hbm_prop_req() local
619 mei_hbm_hdr(&mei_hdr, sizeof(req)); in mei_hbm_prop_req()
626 ret = mei_hbm_write_message(dev, &mei_hdr, &req); in mei_hbm_prop_req()
650 struct mei_msg_hdr mei_hdr; in mei_hbm_pg() local
657 mei_hbm_hdr(&mei_hdr, sizeof(req)); in mei_hbm_pg()
662 ret = mei_hbm_write_message(dev, &mei_hdr, &req); in mei_hbm_pg()
678 struct mei_msg_hdr mei_hdr; in mei_hbm_stop_req() local
681 mei_hbm_hdr(&mei_hdr, sizeof(req)); in mei_hbm_stop_req()
687 return mei_hbm_write_message(dev, &mei_hdr, &req); in mei_hbm_stop_req()