Lines Matching refs:xferqueue
412 } xferqueue; member
530 struct cdns_i3c_xfer *xfer = master->xferqueue.cur; in cdns_i3c_master_start_xfer_locked()
560 struct cdns_i3c_xfer *xfer = master->xferqueue.cur; in cdns_i3c_master_end_xfer_locked()
622 xfer = list_first_entry_or_null(&master->xferqueue.list, in cdns_i3c_master_end_xfer_locked()
627 master->xferqueue.cur = xfer; in cdns_i3c_master_end_xfer_locked()
637 spin_lock_irqsave(&master->xferqueue.lock, flags); in cdns_i3c_master_queue_xfer()
638 if (master->xferqueue.cur) { in cdns_i3c_master_queue_xfer()
639 list_add_tail(&xfer->node, &master->xferqueue.list); in cdns_i3c_master_queue_xfer()
641 master->xferqueue.cur = xfer; in cdns_i3c_master_queue_xfer()
644 spin_unlock_irqrestore(&master->xferqueue.lock, flags); in cdns_i3c_master_queue_xfer()
652 spin_lock_irqsave(&master->xferqueue.lock, flags); in cdns_i3c_master_unqueue_xfer()
653 if (master->xferqueue.cur == xfer) { in cdns_i3c_master_unqueue_xfer()
661 master->xferqueue.cur = NULL; in cdns_i3c_master_unqueue_xfer()
671 spin_unlock_irqrestore(&master->xferqueue.lock, flags); in cdns_i3c_master_unqueue_xfer()
1399 spin_lock(&master->xferqueue.lock); in cdns_i3c_master_interrupt()
1401 spin_unlock(&master->xferqueue.lock); in cdns_i3c_master_interrupt()
1610 spin_lock_init(&master->xferqueue.lock); in cdns_i3c_master_probe()
1611 INIT_LIST_HEAD(&master->xferqueue.list); in cdns_i3c_master_probe()