Home
last modified time | relevance | path

Searched refs:mei_hdr (Results 1 – 6 of 6) sorted by relevance

/linux-3.4.99/drivers/staging/mei/
Dinterrupt.c117 struct mei_msg_hdr *mei_hdr) in mei_irq_thread_read_amthi_message() argument
123 BUG_ON(mei_hdr->me_addr != dev->iamthif_cl.me_client_id); in mei_irq_thread_read_amthi_message()
127 BUG_ON(dev->iamthif_mtu < dev->iamthif_msg_buf_index + mei_hdr->length); in mei_irq_thread_read_amthi_message()
129 mei_read_slots(dev, buffer, mei_hdr->length); in mei_irq_thread_read_amthi_message()
131 dev->iamthif_msg_buf_index += mei_hdr->length; in mei_irq_thread_read_amthi_message()
133 if (!mei_hdr->msg_complete) in mei_irq_thread_read_amthi_message()
138 mei_hdr->length); in mei_irq_thread_read_amthi_message()
173 struct mei_msg_hdr *mei_hdr) in _mei_irq_thread_state_ok() argument
175 return (cl->host_client_id == mei_hdr->host_addr && in _mei_irq_thread_state_ok()
176 cl->me_client_id == mei_hdr->me_addr && in _mei_irq_thread_state_ok()
[all …]
Dinterface.c315 struct mei_msg_hdr *mei_hdr; in mei_send_flow_control() local
318 mei_hdr = (struct mei_msg_hdr *) &dev->wr_msg_buf[0]; in mei_send_flow_control()
319 mei_hdr->host_addr = 0; in mei_send_flow_control()
320 mei_hdr->me_addr = 0; in mei_send_flow_control()
321 mei_hdr->length = sizeof(struct hbm_flow_control); in mei_send_flow_control()
322 mei_hdr->msg_complete = 1; in mei_send_flow_control()
323 mei_hdr->reserved = 0; in mei_send_flow_control()
335 return mei_write_message(dev, mei_hdr, in mei_send_flow_control()
375 struct mei_msg_hdr *mei_hdr; in mei_disconnect() local
378 mei_hdr = (struct mei_msg_hdr *) &dev->wr_msg_buf[0]; in mei_disconnect()
[all …]
Dwd.c107 struct mei_msg_hdr *mei_hdr; in mei_wd_send() local
109 mei_hdr = (struct mei_msg_hdr *) &dev->wr_msg_buf[0]; in mei_wd_send()
110 mei_hdr->host_addr = dev->wd_cl.host_client_id; in mei_wd_send()
111 mei_hdr->me_addr = dev->wd_cl.me_client_id; in mei_wd_send()
112 mei_hdr->msg_complete = 1; in mei_wd_send()
113 mei_hdr->reserved = 0; in mei_wd_send()
116 mei_hdr->length = MEI_START_WD_DATA_SIZE; in mei_wd_send()
118 mei_hdr->length = MEI_WD_PARAMS_SIZE; in mei_wd_send()
122 return mei_write_message(dev, mei_hdr, dev->wd_data, mei_hdr->length); in mei_wd_send()
Dinit.c351 struct mei_msg_hdr *mei_hdr; in mei_host_start_message() local
355 mei_hdr = (struct mei_msg_hdr *) &dev->wr_msg_buf[0]; in mei_host_start_message()
356 mei_hdr->host_addr = 0; in mei_host_start_message()
357 mei_hdr->me_addr = 0; in mei_host_start_message()
358 mei_hdr->length = sizeof(struct hbm_host_version_request); in mei_host_start_message()
359 mei_hdr->msg_complete = 1; in mei_host_start_message()
360 mei_hdr->reserved = 0; in mei_host_start_message()
369 if (mei_write_message(dev, mei_hdr, (unsigned char *)host_start_req, in mei_host_start_message()
370 mei_hdr->length)) { in mei_host_start_message()
389 struct mei_msg_hdr *mei_hdr; in mei_host_enum_clients_message() local
[all …]
Diorw.c460 struct mei_msg_hdr mei_hdr; in amthi_write() local
487 mei_hdr.length = in amthi_write()
490 mei_hdr.msg_complete = 0; in amthi_write()
492 mei_hdr.length = cb->request_buffer.size; in amthi_write()
493 mei_hdr.msg_complete = 1; in amthi_write()
496 mei_hdr.host_addr = dev->iamthif_cl.host_client_id; in amthi_write()
497 mei_hdr.me_addr = dev->iamthif_cl.me_client_id; in amthi_write()
498 mei_hdr.reserved = 0; in amthi_write()
499 dev->iamthif_msg_buf_index += mei_hdr.length; in amthi_write()
500 if (mei_write_message(dev, &mei_hdr, in amthi_write()
[all …]
Dmain.c538 struct mei_msg_hdr mei_hdr; in mei_write() local
727 mei_hdr.length = in mei_write()
731 mei_hdr.msg_complete = 0; in mei_write()
733 mei_hdr.length = length; in mei_write()
734 mei_hdr.msg_complete = 1; in mei_write()
736 mei_hdr.host_addr = cl->host_client_id; in mei_write()
737 mei_hdr.me_addr = cl->me_client_id; in mei_write()
738 mei_hdr.reserved = 0; in mei_write()
740 *((u32 *) &mei_hdr)); in mei_write()
741 if (mei_write_message(dev, &mei_hdr, in mei_write()
[all …]