Home
last modified time | relevance | path

Searched refs:dma_has_cap (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/drivers/dma/
Ddmaengine.c328 if (!dma_has_cap(cap, device->cap_mask) || in min_chan()
329 dma_has_cap(DMA_PRIVATE, device->cap_mask)) in min_chan()
374 if (dma_has_cap(DMA_PRIVATE, device->cap_mask)) in dma_channel_rebalance()
473 if (!dma_has_cap(DMA_PRIVATE, chan->device->cap_mask)) in dma_chan_get()
560 if (dma_has_cap(DMA_PRIVATE, device->cap_mask)) in dma_issue_pending_all()
631 if (dev->chancnt > 1 && !dma_has_cap(DMA_PRIVATE, dev->cap_mask)) in private_candidate()
943 if (dma_has_cap(DMA_PRIVATE, device->cap_mask)) in dmaengine_get()
981 if (dma_has_cap(DMA_PRIVATE, device->cap_mask)) in dmaengine_put()
997 if (!dma_has_cap(DMA_INTERRUPT, device->cap_mask)) in device_has_all_tx_types()
1002 if (!dma_has_cap(DMA_MEMCPY, device->cap_mask)) in device_has_all_tx_types()
[all …]
Diop-adma.c470 if (dma_has_cap(DMA_MEMCPY, in iop_adma_alloc_chan_resources()
473 else if (dma_has_cap(DMA_XOR, in iop_adma_alloc_chan_resources()
1002 if (!dma_has_cap(DMA_XOR_VAL, dma_chan->device->cap_mask)) in iop_adma_xor_val_self_test()
1321 if (dma_has_cap(DMA_MEMCPY, dma_dev->cap_mask)) in iop_adma_probe()
1323 if (dma_has_cap(DMA_XOR, dma_dev->cap_mask)) { in iop_adma_probe()
1327 if (dma_has_cap(DMA_XOR_VAL, dma_dev->cap_mask)) in iop_adma_probe()
1330 if (dma_has_cap(DMA_PQ, dma_dev->cap_mask)) { in iop_adma_probe()
1334 if (dma_has_cap(DMA_PQ_VAL, dma_dev->cap_mask)) in iop_adma_probe()
1337 if (dma_has_cap(DMA_INTERRUPT, dma_dev->cap_mask)) in iop_adma_probe()
1384 if (dma_has_cap(DMA_MEMCPY, dma_dev->cap_mask)) { in iop_adma_probe()
[all …]
Dmv_xor.c1089 if (dma_has_cap(DMA_INTERRUPT, dma_dev->cap_mask)) in mv_xor_channel_add()
1091 if (dma_has_cap(DMA_MEMCPY, dma_dev->cap_mask)) in mv_xor_channel_add()
1093 if (dma_has_cap(DMA_XOR, dma_dev->cap_mask)) { in mv_xor_channel_add()
1127 if (dma_has_cap(DMA_MEMCPY, dma_dev->cap_mask)) { in mv_xor_channel_add()
1134 if (dma_has_cap(DMA_XOR, dma_dev->cap_mask)) { in mv_xor_channel_add()
1143 dma_has_cap(DMA_XOR, dma_dev->cap_mask) ? "xor " : "", in mv_xor_channel_add()
1144 dma_has_cap(DMA_MEMCPY, dma_dev->cap_mask) ? "cpy " : "", in mv_xor_channel_add()
1145 dma_has_cap(DMA_INTERRUPT, dma_dev->cap_mask) ? "intr " : ""); in mv_xor_channel_add()
Ddmatest.c841 !(dma_has_cap(DMA_COMPLETION_NO_ORDER, in dmatest_func()
1021 if (dma_has_cap(DMA_COMPLETION_NO_ORDER, dma_dev->cap_mask) && in dmatest_add_channel()
1027 if (dma_has_cap(DMA_MEMCPY, dma_dev->cap_mask)) { in dmatest_add_channel()
1034 if (dma_has_cap(DMA_MEMSET, dma_dev->cap_mask)) { in dmatest_add_channel()
1041 if (dma_has_cap(DMA_XOR, dma_dev->cap_mask)) { in dmatest_add_channel()
1045 if (dma_has_cap(DMA_PQ, dma_dev->cap_mask)) { in dmatest_add_channel()
Dbcm-sba-raid.c1581 if (dma_has_cap(DMA_INTERRUPT, dma_dev->cap_mask)) in sba_async_register()
1585 if (dma_has_cap(DMA_MEMCPY, dma_dev->cap_mask)) in sba_async_register()
1589 if (dma_has_cap(DMA_XOR, dma_dev->cap_mask)) { in sba_async_register()
1595 if (dma_has_cap(DMA_PQ, dma_dev->cap_mask)) { in sba_async_register()
1613 dma_has_cap(DMA_INTERRUPT, dma_dev->cap_mask) ? "interrupt " : "", in sba_async_register()
1614 dma_has_cap(DMA_MEMCPY, dma_dev->cap_mask) ? "memcpy " : "", in sba_async_register()
1615 dma_has_cap(DMA_XOR, dma_dev->cap_mask) ? "xor " : "", in sba_async_register()
1616 dma_has_cap(DMA_PQ, dma_dev->cap_mask) ? "pq " : ""); in sba_async_register()
Dat_hdmac.c1907 if (dma_has_cap(DMA_INTERLEAVE, atdma->dma_common.cap_mask)) in at_dma_probe()
1910 if (dma_has_cap(DMA_MEMCPY, atdma->dma_common.cap_mask)) in at_dma_probe()
1913 if (dma_has_cap(DMA_MEMSET, atdma->dma_common.cap_mask)) { in at_dma_probe()
1919 if (dma_has_cap(DMA_SLAVE, atdma->dma_common.cap_mask)) { in at_dma_probe()
1937 dma_has_cap(DMA_MEMCPY, atdma->dma_common.cap_mask) ? "cpy " : "", in at_dma_probe()
1938 dma_has_cap(DMA_MEMSET, atdma->dma_common.cap_mask) ? "set " : "", in at_dma_probe()
1939 dma_has_cap(DMA_SLAVE, atdma->dma_common.cap_mask) ? "slave " : "", in at_dma_probe()
Dxgene-dma.c1517 if (dma_has_cap(DMA_XOR, dma_dev->cap_mask)) { in xgene_dma_set_caps()
1523 if (dma_has_cap(DMA_PQ, dma_dev->cap_mask)) { in xgene_dma_set_caps()
1567 dma_has_cap(DMA_XOR, dma_dev->cap_mask) ? "XOR " : "", in xgene_dma_async_register()
1568 dma_has_cap(DMA_PQ, dma_dev->cap_mask) ? "PQ " : ""); in xgene_dma_async_register()
Dste_dma40.c1963 if (dma_has_cap(DMA_MEMCPY, cap) && !dma_has_cap(DMA_SLAVE, cap)) { in d40_config_memcpy()
1970 } else if (dma_has_cap(DMA_MEMCPY, cap) && in d40_config_memcpy()
1971 dma_has_cap(DMA_SLAVE, cap)) { in d40_config_memcpy()
2816 if (dma_has_cap(DMA_SLAVE, dev->cap_mask)) { in d40_ops_init()
2821 if (dma_has_cap(DMA_MEMCPY, dev->cap_mask)) { in d40_ops_init()
2831 if (dma_has_cap(DMA_CYCLIC, dev->cap_mask)) in d40_ops_init()
Dtxx9dmac.c1148 dma_has_cap(DMA_MEMCPY, dc->dma.cap_mask) ? " memcpy" : "", in txx9dmac_chan_probe()
1149 dma_has_cap(DMA_SLAVE, dc->dma.cap_mask) ? " slave" : ""); in txx9dmac_chan_probe()
/kernel/linux/linux-5.10/drivers/dma/ioat/
Dsysfs.c22 dma_has_cap(DMA_PQ, dma->cap_mask) ? " pq" : "", in cap_show()
23 dma_has_cap(DMA_PQ_VAL, dma->cap_mask) ? " pq_val" : "", in cap_show()
24 dma_has_cap(DMA_XOR, dma->cap_mask) ? " xor" : "", in cap_show()
25 dma_has_cap(DMA_XOR_VAL, dma->cap_mask) ? " xor_val" : "", in cap_show()
26 dma_has_cap(DMA_INTERRUPT, dma->cap_mask) ? " intr" : ""); in cap_show()
Dinit.c806 if (!dma_has_cap(DMA_XOR, dma->cap_mask)) in ioat_xor_val_self_test()
914 if (!dma_has_cap(DMA_XOR_VAL, dma_chan->device->cap_mask)) in ioat_xor_val_self_test()
/kernel/linux/linux-5.10/crypto/async_tx/
Dasync_tx.c50 dma_has_cap(tx_type, depend_tx->chan->device->cap_mask)) in __async_tx_find_channel()
89 if (dma_has_cap(DMA_INTERRUPT, device->cap_mask)) in async_tx_channel_switch()
235 if (device && !dma_has_cap(DMA_INTERRUPT, device->cap_mask)) in async_trigger_callback()
/kernel/linux/linux-5.10/drivers/dma/ppc4xx/
Dadma.c1402 if (dma_has_cap(cap, ref->chan->device->cap_mask)) { in ppc440spe_async_tx_find_best_channel()
3798 if (dma_has_cap(DMA_MEMCPY, adev->common.cap_mask)) { in ppc440spe_adma_init_capabilities()
3802 if (dma_has_cap(DMA_XOR, adev->common.cap_mask)) { in ppc440spe_adma_init_capabilities()
3807 if (dma_has_cap(DMA_PQ, adev->common.cap_mask)) { in ppc440spe_adma_init_capabilities()
3824 if (dma_has_cap(DMA_PQ_VAL, adev->common.cap_mask)) { in ppc440spe_adma_init_capabilities()
3838 if (dma_has_cap(DMA_XOR_VAL, adev->common.cap_mask)) { in ppc440spe_adma_init_capabilities()
3852 if (dma_has_cap(DMA_INTERRUPT, adev->common.cap_mask)) { in ppc440spe_adma_init_capabilities()
3859 dma_has_cap(DMA_PQ, adev->common.cap_mask) ? "pq " : "", in ppc440spe_adma_init_capabilities()
3860 dma_has_cap(DMA_PQ_VAL, adev->common.cap_mask) ? "pq_val " : "", in ppc440spe_adma_init_capabilities()
3861 dma_has_cap(DMA_XOR, adev->common.cap_mask) ? "xor " : "", in ppc440spe_adma_init_capabilities()
[all …]
/kernel/linux/linux-5.10/include/linux/
Ddmaengine.h1387 #define dma_has_cap(tx, mask) __dma_has_cap((tx), &(mask)) macro
/kernel/linux/linux-5.10/drivers/media/platform/
Dm2m-deinterlace.c938 if (!dma_has_cap(DMA_INTERLEAVE, pcdev->dma_chan->device->cap_mask)) { in deinterlace_probe()