Searched refs:mei_hdr (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/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 108 length = mei_hdr->length; in mei_cl_irq_read_msg() 110 if (mei_hdr->extended) { in mei_cl_irq_read_msg() 127 if (mei_hdr->extended) { in mei_cl_irq_read_msg() 199 if (mei_hdr->dma_ring) in mei_cl_irq_read_msg() 200 length = mei_hdr->extension[mei_data2slots(ext_len)]; in mei_cl_irq_read_msg() 218 if (mei_hdr->dma_ring) { in mei_cl_irq_read_msg() [all …]
|
D | hbm.c | 134 static inline void mei_hbm_hdr(struct mei_msg_hdr *mei_hdr, size_t length) in mei_hbm_hdr() argument 136 memset(mei_hdr, 0, sizeof(*mei_hdr)); in mei_hbm_hdr() 137 mei_hdr->length = length; in mei_hbm_hdr() 138 mei_hdr->msg_complete = 1; in mei_hbm_hdr() 175 struct mei_msg_hdr mei_hdr; in mei_hbm_cl_write() local 177 mei_hbm_hdr(&mei_hdr, len); in mei_hbm_cl_write() 180 return mei_hbm_write_message(dev, &mei_hdr, buf); in mei_hbm_cl_write() 257 struct mei_msg_hdr mei_hdr; in mei_hbm_start_req() local 263 mei_hbm_hdr(&mei_hdr, sizeof(req)); in mei_hbm_start_req() 272 ret = mei_hbm_write_message(dev, &mei_hdr, &req); in mei_hbm_start_req() [all …]
|
D | client.c | 1769 struct mei_msg_hdr *mei_hdr; in mei_msg_hdr_init() local 1783 hdr_len = sizeof(*mei_hdr); in mei_msg_hdr_init() 1796 mei_hdr = kzalloc(hdr_len, GFP_KERNEL); in mei_msg_hdr_init() 1797 if (!mei_hdr) in mei_msg_hdr_init() 1800 mei_hdr->host_addr = mei_cl_host_addr(cb->cl); in mei_msg_hdr_init() 1801 mei_hdr->me_addr = mei_cl_me_id(cb->cl); in mei_msg_hdr_init() 1802 mei_hdr->internal = cb->internal; in mei_msg_hdr_init() 1803 mei_hdr->extended = is_ext; in mei_msg_hdr_init() 1808 meta = (struct mei_ext_meta_hdr *)mei_hdr->extension; in mei_msg_hdr_init() 1824 mei_hdr->length = hdr_len - sizeof(*mei_hdr); in mei_msg_hdr_init() [all …]
|