Lines Matching refs:slots
259 int slots; in mei_cl_irq_disconnect_rsp() local
263 slots = mei_hbuf_empty_slots(dev); in mei_cl_irq_disconnect_rsp()
264 if (slots < 0) in mei_cl_irq_disconnect_rsp()
267 if ((u32)slots < msg_slots) in mei_cl_irq_disconnect_rsp()
291 int slots; in mei_cl_irq_read() local
298 slots = mei_hbuf_empty_slots(dev); in mei_cl_irq_read()
299 if (slots < 0) in mei_cl_irq_read()
302 if ((u32)slots < msg_slots) in mei_cl_irq_read()
361 struct list_head *cmpl_list, s32 *slots) in mei_irq_read_handler() argument
375 (*slots)--; in mei_irq_read_handler()
376 dev_dbg(dev->dev, "slots =%08x.\n", *slots); in mei_irq_read_handler()
389 if (mei_slots2data(*slots) < mei_hdr->length) { in mei_irq_read_handler()
391 *slots); in mei_irq_read_handler()
404 (*slots)--; in mei_irq_read_handler()
428 (*slots)--; in mei_irq_read_handler()
441 (*slots)--; in mei_irq_read_handler()
485 *slots = mei_count_full_read_slots(dev); in mei_irq_read_handler()
486 if (*slots == -EOVERFLOW) { in mei_irq_read_handler()
513 s32 slots; in mei_irq_write_handler() local
520 slots = mei_hbuf_empty_slots(dev); in mei_irq_write_handler()
521 if (slots < 0) in mei_irq_write_handler()
524 if (slots == 0) in mei_irq_write_handler()