Searched refs:xferqueue (Results 1 – 3 of 3) sorted by relevance
/drivers/i3c/master/ |
D | dw-i3c-master.c | 236 } xferqueue; member 380 struct dw_i3c_xfer *xfer = master->xferqueue.cur; in dw_i3c_master_start_xfer_locked() 412 spin_lock_irqsave(&master->xferqueue.lock, flags); in dw_i3c_master_enqueue_xfer() 413 if (master->xferqueue.cur) { in dw_i3c_master_enqueue_xfer() 414 list_add_tail(&xfer->node, &master->xferqueue.list); in dw_i3c_master_enqueue_xfer() 416 master->xferqueue.cur = xfer; in dw_i3c_master_enqueue_xfer() 419 spin_unlock_irqrestore(&master->xferqueue.lock, flags); in dw_i3c_master_enqueue_xfer() 425 if (master->xferqueue.cur == xfer) { in dw_i3c_master_dequeue_xfer_locked() 428 master->xferqueue.cur = NULL; in dw_i3c_master_dequeue_xfer_locked() 446 spin_lock_irqsave(&master->xferqueue.lock, flags); in dw_i3c_master_dequeue_xfer() [all …]
|
D | svc-i3c-master.c | 188 } xferqueue; member 852 spin_lock_irqsave(&master->xferqueue.lock, flags); in svc_i3c_master_do_daa() 854 spin_unlock_irqrestore(&master->xferqueue.lock, flags); in svc_i3c_master_do_daa() 1023 if (master->xferqueue.cur == xfer) in svc_i3c_master_dequeue_xfer_locked() 1024 master->xferqueue.cur = NULL; in svc_i3c_master_dequeue_xfer_locked() 1034 spin_lock_irqsave(&master->xferqueue.lock, flags); in svc_i3c_master_dequeue_xfer() 1036 spin_unlock_irqrestore(&master->xferqueue.lock, flags); in svc_i3c_master_dequeue_xfer() 1041 struct svc_i3c_xfer *xfer = master->xferqueue.cur; in svc_i3c_master_start_xfer_locked() 1064 xfer = list_first_entry_or_null(&master->xferqueue.list, in svc_i3c_master_start_xfer_locked() 1070 master->xferqueue.cur = xfer; in svc_i3c_master_start_xfer_locked() [all …]
|
D | i3c-master-cdns.c | 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() [all …]
|