Searched refs:mei_hdr (Results 1 – 3 of 3) sorted by relevance
/linux-4.19.296/drivers/misc/mei/ |
D | interrupt.c | 64 struct mei_msg_hdr *mei_hdr) in mei_cl_hbm_equal() argument 66 return mei_cl_host_addr(cl) == mei_hdr->host_addr && in mei_cl_hbm_equal() 67 mei_cl_me_id(cl) == mei_hdr->me_addr; in mei_cl_hbm_equal() 97 struct mei_msg_hdr *mei_hdr, in mei_cl_irq_read_msg() argument 122 buf_sz = mei_hdr->length + cb->buf_idx; in mei_cl_irq_read_msg() 126 mei_hdr->length, cb->buf_idx); in mei_cl_irq_read_msg() 133 cb->buf.size, mei_hdr->length, cb->buf_idx); in mei_cl_irq_read_msg() 138 mei_read_slots(dev, cb->buf.data + cb->buf_idx, mei_hdr->length); in mei_cl_irq_read_msg() 140 cb->buf_idx += mei_hdr->length; in mei_cl_irq_read_msg() 142 if (mei_hdr->msg_complete) { in mei_cl_irq_read_msg() [all …]
|
D | hbm.c | 187 struct mei_msg_hdr mei_hdr; in mei_hbm_cl_write() local 189 mei_hbm_hdr(&mei_hdr, len); in mei_hbm_cl_write() 192 return mei_hbm_write_message(dev, &mei_hdr, buf); in mei_hbm_cl_write() 269 struct mei_msg_hdr mei_hdr; in mei_hbm_start_req() local 276 mei_hbm_hdr(&mei_hdr, len); in mei_hbm_start_req() 285 ret = mei_hbm_write_message(dev, &mei_hdr, &start_req); in mei_hbm_start_req() 307 struct mei_msg_hdr mei_hdr; in mei_hbm_enum_clients_req() local 313 mei_hbm_hdr(&mei_hdr, len); in mei_hbm_enum_clients_req() 322 ret = mei_hbm_write_message(dev, &mei_hdr, &enum_req); in mei_hbm_enum_clients_req() 377 struct mei_msg_hdr mei_hdr; in mei_hbm_add_cl_resp() local [all …]
|
D | client.c | 1549 static void mei_msg_hdr_init(struct mei_msg_hdr *mei_hdr, struct mei_cl_cb *cb) in mei_msg_hdr_init() argument 1551 mei_hdr->host_addr = mei_cl_host_addr(cb->cl); in mei_msg_hdr_init() 1552 mei_hdr->me_addr = mei_cl_me_id(cb->cl); in mei_msg_hdr_init() 1553 mei_hdr->length = 0; in mei_msg_hdr_init() 1554 mei_hdr->reserved = 0; in mei_msg_hdr_init() 1555 mei_hdr->msg_complete = 0; in mei_msg_hdr_init() 1556 mei_hdr->dma_ring = 0; in mei_msg_hdr_init() 1557 mei_hdr->internal = cb->internal; in mei_msg_hdr_init() 1575 struct mei_msg_hdr mei_hdr; in mei_cl_irq_write() local 1576 size_t hdr_len = sizeof(mei_hdr); in mei_cl_irq_write() [all …]
|