Lines Matching refs:rd_msg_hdr
372 if (!dev->rd_msg_hdr[0]) { in mei_irq_read_handler()
373 dev->rd_msg_hdr[0] = mei_read_hdr(dev); in mei_irq_read_handler()
378 ret = hdr_is_valid(dev->rd_msg_hdr[0]); in mei_irq_read_handler()
381 dev->rd_msg_hdr[0]); in mei_irq_read_handler()
386 mei_hdr = (struct mei_msg_hdr *)dev->rd_msg_hdr; in mei_irq_read_handler()
401 if (!dev->rd_msg_hdr[1]) { in mei_irq_read_handler()
402 dev->rd_msg_hdr[1] = mei_read_hdr(dev); in mei_irq_read_handler()
405 dev_dbg(dev->dev, "extended header is %08x\n", dev->rd_msg_hdr[1]); in mei_irq_read_handler()
407 meta_hdr = ((struct mei_ext_meta_hdr *)&dev->rd_msg_hdr[1]); in mei_irq_read_handler()
424 dev->rd_msg_hdr[i] = mei_read_hdr(dev); in mei_irq_read_handler()
426 dev->rd_msg_hdr[i]); in mei_irq_read_handler()
433 if (hdr_size_left != sizeof(dev->rd_msg_hdr[ext_hdr_end])) { in mei_irq_read_handler()
439 dev->rd_msg_hdr[ext_hdr_end] = mei_read_hdr(dev); in mei_irq_read_handler()
442 mei_hdr->length -= sizeof(dev->rd_msg_hdr[ext_hdr_end]); in mei_irq_read_handler()
477 dev_err(dev->dev, "no destination client found 0x%08X\n", dev->rd_msg_hdr[0]); in mei_irq_read_handler()
483 memset(dev->rd_msg_hdr, 0, sizeof(dev->rd_msg_hdr)); in mei_irq_read_handler()