Lines Matching refs:xferqueue
413 } xferqueue; member
531 struct cdns_i3c_xfer *xfer = master->xferqueue.cur; in cdns_i3c_master_start_xfer_locked()
561 struct cdns_i3c_xfer *xfer = master->xferqueue.cur; in cdns_i3c_master_end_xfer_locked()
623 xfer = list_first_entry_or_null(&master->xferqueue.list, in cdns_i3c_master_end_xfer_locked()
628 master->xferqueue.cur = xfer; in cdns_i3c_master_end_xfer_locked()
638 spin_lock_irqsave(&master->xferqueue.lock, flags); in cdns_i3c_master_queue_xfer()
639 if (master->xferqueue.cur) { in cdns_i3c_master_queue_xfer()
640 list_add_tail(&xfer->node, &master->xferqueue.list); in cdns_i3c_master_queue_xfer()
642 master->xferqueue.cur = xfer; in cdns_i3c_master_queue_xfer()
645 spin_unlock_irqrestore(&master->xferqueue.lock, flags); in cdns_i3c_master_queue_xfer()
653 spin_lock_irqsave(&master->xferqueue.lock, flags); in cdns_i3c_master_unqueue_xfer()
654 if (master->xferqueue.cur == xfer) { in cdns_i3c_master_unqueue_xfer()
662 master->xferqueue.cur = NULL; in cdns_i3c_master_unqueue_xfer()
672 spin_unlock_irqrestore(&master->xferqueue.lock, flags); in cdns_i3c_master_unqueue_xfer()
1400 spin_lock(&master->xferqueue.lock); in cdns_i3c_master_interrupt()
1402 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()