Searched refs:mei_hdr (Results 1 – 3 of 3) sorted by relevance
/drivers/misc/mei/ |
D | interrupt.c | 53 struct mei_msg_hdr *mei_hdr) in mei_cl_hbm_equal() argument 55 return mei_cl_host_addr(cl) == mei_hdr->host_addr && in mei_cl_hbm_equal() 56 mei_cl_me_id(cl) == mei_hdr->me_addr; in mei_cl_hbm_equal() 94 struct mei_msg_hdr *mei_hdr, in mei_cl_irq_read_msg() argument 105 length = mei_hdr->length; in mei_cl_irq_read_msg() 107 if (mei_hdr->extended) { in mei_cl_irq_read_msg() 124 if (mei_hdr->extended) { in mei_cl_irq_read_msg() 166 if (mei_hdr->dma_ring) in mei_cl_irq_read_msg() 167 length = mei_hdr->extension[mei_data2slots(ext_len)]; in mei_cl_irq_read_msg() 185 if (mei_hdr->dma_ring) { in mei_cl_irq_read_msg() [all …]
|
D | hbm.c | 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() [all …]
|
D | client.c | 1754 struct mei_msg_hdr *mei_hdr; in mei_msg_hdr_init() local 1765 hdr_len = sizeof(*mei_hdr); in mei_msg_hdr_init() 1775 mei_hdr = kzalloc(hdr_len, GFP_KERNEL); in mei_msg_hdr_init() 1776 if (!mei_hdr) in mei_msg_hdr_init() 1779 mei_hdr->host_addr = mei_cl_host_addr(cb->cl); in mei_msg_hdr_init() 1780 mei_hdr->me_addr = mei_cl_me_id(cb->cl); in mei_msg_hdr_init() 1781 mei_hdr->internal = cb->internal; in mei_msg_hdr_init() 1782 mei_hdr->extended = is_ext; in mei_msg_hdr_init() 1787 meta = (struct mei_ext_meta_hdr *)mei_hdr->extension; in mei_msg_hdr_init() 1793 mei_hdr->length = hdr_len - sizeof(*mei_hdr); in mei_msg_hdr_init() [all …]
|