Home
last modified time | relevance | path

Searched refs:xferqueue (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/i3c/master/
H A Dsvc-i3c-master.c208 } xferqueue; member
1051 spin_lock_irqsave(&master->xferqueue.lock, flags); in svc_i3c_master_do_daa()
1053 spin_unlock_irqrestore(&master->xferqueue.lock, flags); in svc_i3c_master_do_daa()
1275 if (master->xferqueue.cur == xfer) in svc_i3c_master_dequeue_xfer_locked()
1276 master->xferqueue.cur = NULL; in svc_i3c_master_dequeue_xfer_locked()
1286 spin_lock_irqsave(&master->xferqueue.lock, flags); in svc_i3c_master_dequeue_xfer()
1288 spin_unlock_irqrestore(&master->xferqueue.lock, flags); in svc_i3c_master_dequeue_xfer()
1293 struct svc_i3c_xfer *xfer = master->xferqueue.cur; in svc_i3c_master_start_xfer_locked()
1323 xfer = list_first_entry_or_null(&master->xferqueue.list, in svc_i3c_master_start_xfer_locked()
1329 master->xferqueue.cur = xfer; in svc_i3c_master_start_xfer_locked()
[all …]
H A Di3c-master-cdns.c412 } 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()
[all …]
H A Ddw-i3c-master.c395 struct dw_i3c_xfer *xfer = master->xferqueue.cur; in dw_i3c_master_start_xfer_locked()
427 spin_lock_irqsave(&master->xferqueue.lock, flags); in dw_i3c_master_enqueue_xfer()
428 if (master->xferqueue.cur) { in dw_i3c_master_enqueue_xfer()
429 list_add_tail(&xfer->node, &master->xferqueue.list); in dw_i3c_master_enqueue_xfer()
431 master->xferqueue.cur = xfer; in dw_i3c_master_enqueue_xfer()
434 spin_unlock_irqrestore(&master->xferqueue.lock, flags); in dw_i3c_master_enqueue_xfer()
440 if (master->xferqueue.cur == xfer) { in dw_i3c_master_dequeue_xfer_locked()
443 master->xferqueue.cur = NULL; in dw_i3c_master_dequeue_xfer_locked()
461 spin_lock_irqsave(&master->xferqueue.lock, flags); in dw_i3c_master_dequeue_xfer()
463 spin_unlock_irqrestore(&master->xferqueue.lock, flags); in dw_i3c_master_dequeue_xfer()
[all …]
H A Ddw-i3c-master.h36 } xferqueue; member