Lines Matching refs:rd_msg_hdr
339 if (!dev->rd_msg_hdr[0]) { in mei_irq_read_handler()
340 dev->rd_msg_hdr[0] = mei_read_hdr(dev); in mei_irq_read_handler()
345 ret = hdr_is_valid(dev->rd_msg_hdr[0]); in mei_irq_read_handler()
348 dev->rd_msg_hdr[0]); in mei_irq_read_handler()
353 mei_hdr = (struct mei_msg_hdr *)dev->rd_msg_hdr; in mei_irq_read_handler()
368 if (!dev->rd_msg_hdr[1]) { in mei_irq_read_handler()
369 dev->rd_msg_hdr[1] = mei_read_hdr(dev); in mei_irq_read_handler()
372 dev_dbg(dev->dev, "extended header is %08x\n", dev->rd_msg_hdr[1]); in mei_irq_read_handler()
374 meta_hdr = ((struct mei_ext_meta_hdr *)&dev->rd_msg_hdr[1]); in mei_irq_read_handler()
391 dev->rd_msg_hdr[i] = mei_read_hdr(dev); in mei_irq_read_handler()
393 dev->rd_msg_hdr[i]); in mei_irq_read_handler()
400 if (hdr_size_left != sizeof(dev->rd_msg_hdr[ext_hdr_end])) { in mei_irq_read_handler()
406 dev->rd_msg_hdr[ext_hdr_end] = mei_read_hdr(dev); in mei_irq_read_handler()
409 mei_hdr->length -= sizeof(dev->rd_msg_hdr[ext_hdr_end]); in mei_irq_read_handler()
444 dev_err(dev->dev, "no destination client found 0x%08X\n", dev->rd_msg_hdr[0]); in mei_irq_read_handler()
450 memset(dev->rd_msg_hdr, 0, sizeof(dev->rd_msg_hdr)); in mei_irq_read_handler()