/linux-4.1.27/arch/arm/plat-iop/ |
H A D | adma.c | 178 dma_cap_set(DMA_MEMCPY, iop3xx_dma_0_data.cap_mask); iop3xx_adma_cap_init() 179 dma_cap_set(DMA_INTERRUPT, iop3xx_dma_0_data.cap_mask); iop3xx_adma_cap_init() 181 dma_cap_set(DMA_MEMCPY, iop3xx_dma_0_data.cap_mask); iop3xx_adma_cap_init() 182 dma_cap_set(DMA_INTERRUPT, iop3xx_dma_0_data.cap_mask); iop3xx_adma_cap_init() 186 dma_cap_set(DMA_MEMCPY, iop3xx_dma_1_data.cap_mask); iop3xx_adma_cap_init() 187 dma_cap_set(DMA_INTERRUPT, iop3xx_dma_1_data.cap_mask); iop3xx_adma_cap_init() 189 dma_cap_set(DMA_MEMCPY, iop3xx_dma_1_data.cap_mask); iop3xx_adma_cap_init() 190 dma_cap_set(DMA_INTERRUPT, iop3xx_dma_1_data.cap_mask); iop3xx_adma_cap_init() 194 dma_cap_set(DMA_XOR, iop3xx_aau_data.cap_mask); iop3xx_adma_cap_init() 195 dma_cap_set(DMA_INTERRUPT, iop3xx_aau_data.cap_mask); iop3xx_adma_cap_init() 197 dma_cap_set(DMA_XOR, iop3xx_aau_data.cap_mask); iop3xx_adma_cap_init() 198 dma_cap_set(DMA_XOR_VAL, iop3xx_aau_data.cap_mask); iop3xx_adma_cap_init() 199 dma_cap_set(DMA_INTERRUPT, iop3xx_aau_data.cap_mask); iop3xx_adma_cap_init()
|
/linux-4.1.27/include/linux/platform_data/ |
H A D | dma-mv_xor.h | 14 dma_cap_mask_t cap_mask; member in struct:mv_xor_channel_data
|
H A D | dma-atmel.h | 19 * @cap_mask: dma_capability flags supported by the platform 23 dma_cap_mask_t cap_mask; member in struct:at_dma_platform_data
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
H A D | transmeta.c | 21 unsigned int cap_mask, uk, max, dummy; init_transmeta() local 83 rdmsr(0x80860004, cap_mask, uk); init_transmeta() 86 wrmsr(0x80860004, cap_mask, uk); init_transmeta()
|
/linux-4.1.27/arch/arm/mach-iop13xx/ |
H A D | setup.c | 471 dma_cap_set(DMA_MEMCPY, plat_data->cap_mask); iop13xx_platform_init() 472 dma_cap_set(DMA_XOR, plat_data->cap_mask); iop13xx_platform_init() 473 dma_cap_set(DMA_XOR_VAL, plat_data->cap_mask); iop13xx_platform_init() 474 dma_cap_set(DMA_INTERRUPT, plat_data->cap_mask); iop13xx_platform_init() 480 dma_cap_set(DMA_MEMCPY, plat_data->cap_mask); iop13xx_platform_init() 481 dma_cap_set(DMA_XOR, plat_data->cap_mask); iop13xx_platform_init() 482 dma_cap_set(DMA_XOR_VAL, plat_data->cap_mask); iop13xx_platform_init() 483 dma_cap_set(DMA_INTERRUPT, plat_data->cap_mask); iop13xx_platform_init() 489 dma_cap_set(DMA_MEMCPY, plat_data->cap_mask); iop13xx_platform_init() 490 dma_cap_set(DMA_XOR, plat_data->cap_mask); iop13xx_platform_init() 491 dma_cap_set(DMA_XOR_VAL, plat_data->cap_mask); iop13xx_platform_init() 492 dma_cap_set(DMA_INTERRUPT, plat_data->cap_mask); iop13xx_platform_init() 493 dma_cap_set(DMA_PQ, plat_data->cap_mask); iop13xx_platform_init() 494 dma_cap_set(DMA_PQ_VAL, plat_data->cap_mask); iop13xx_platform_init()
|
/linux-4.1.27/drivers/dma/ |
H A D | dmaengine.c | 187 bitmap_and(has.bits, want->bits, device->cap_mask.bits, __dma_device_satisfies_mask() 240 if (!dma_has_cap(DMA_PRIVATE, chan->device->cap_mask)) dma_chan_get() 364 if (dma_has_cap(DMA_PRIVATE, device->cap_mask)) dma_issue_pending_all() 401 if (!dma_has_cap(cap, device->cap_mask) || min_chan() 402 dma_has_cap(DMA_PRIVATE, device->cap_mask)) min_chan() 446 if (dma_has_cap(DMA_PRIVATE, device->cap_mask)) dma_channel_rebalance() 474 if (!test_bit(DMA_SLAVE, device->cap_mask.bits)) dma_get_slave_caps() 514 if (dev->chancnt > 1 && !dma_has_cap(DMA_PRIVATE, dev->cap_mask)) private_candidate() 578 dma_cap_set(DMA_PRIVATE, device->cap_mask); dma_get_any_slave_channel() 586 dma_cap_clear(DMA_PRIVATE, device->cap_mask); dma_get_any_slave_channel() 621 dma_cap_set(DMA_PRIVATE, device->cap_mask); __dma_request_channel() 635 dma_cap_clear(DMA_PRIVATE, device->cap_mask); __dma_request_channel() 697 dma_cap_clear(DMA_PRIVATE, chan->device->cap_mask); dma_release_channel() 716 if (dma_has_cap(DMA_PRIVATE, device->cap_mask)) dmaengine_get() 753 if (dma_has_cap(DMA_PRIVATE, device->cap_mask)) dmaengine_put() 769 if (!dma_has_cap(DMA_INTERRUPT, device->cap_mask)) device_has_all_tx_types() 774 if (!dma_has_cap(DMA_MEMCPY, device->cap_mask)) device_has_all_tx_types() 779 if (!dma_has_cap(DMA_XOR, device->cap_mask)) device_has_all_tx_types() 783 if (!dma_has_cap(DMA_XOR_VAL, device->cap_mask)) device_has_all_tx_types() 789 if (!dma_has_cap(DMA_PQ, device->cap_mask)) device_has_all_tx_types() 793 if (!dma_has_cap(DMA_PQ_VAL, device->cap_mask)) device_has_all_tx_types() 829 BUG_ON(dma_has_cap(DMA_MEMCPY, device->cap_mask) && dma_async_device_register() 831 BUG_ON(dma_has_cap(DMA_XOR, device->cap_mask) && dma_async_device_register() 833 BUG_ON(dma_has_cap(DMA_XOR_VAL, device->cap_mask) && dma_async_device_register() 835 BUG_ON(dma_has_cap(DMA_PQ, device->cap_mask) && dma_async_device_register() 837 BUG_ON(dma_has_cap(DMA_PQ_VAL, device->cap_mask) && dma_async_device_register() 839 BUG_ON(dma_has_cap(DMA_INTERRUPT, device->cap_mask) && dma_async_device_register() 841 BUG_ON(dma_has_cap(DMA_SG, device->cap_mask) && dma_async_device_register() 843 BUG_ON(dma_has_cap(DMA_CYCLIC, device->cap_mask) && dma_async_device_register() 845 BUG_ON(dma_has_cap(DMA_INTERLEAVE, device->cap_mask) && dma_async_device_register() 856 dma_cap_set(DMA_ASYNC_TX, device->cap_mask); dma_async_device_register() 906 if (dmaengine_ref_count && !dma_has_cap(DMA_PRIVATE, device->cap_mask)) dma_async_device_register() 922 if (dma_has_cap(DMA_PRIVATE, device->cap_mask)) dma_async_device_register()
|
H A D | iop-adma.c | 483 iop_chan->device->common.cap_mask)) iop_adma_alloc_chan_resources() 486 iop_chan->device->common.cap_mask)) iop_adma_alloc_chan_resources() 1014 if (!dma_has_cap(DMA_XOR_VAL, dma_chan->device->cap_mask)) iop_adma_xor_val_self_test() 1318 dma_dev->cap_mask = plat_data->cap_mask; iop_adma_probe() 1333 if (dma_has_cap(DMA_MEMCPY, dma_dev->cap_mask)) iop_adma_probe() 1335 if (dma_has_cap(DMA_XOR, dma_dev->cap_mask)) { iop_adma_probe() 1339 if (dma_has_cap(DMA_XOR_VAL, dma_dev->cap_mask)) iop_adma_probe() 1342 if (dma_has_cap(DMA_PQ, dma_dev->cap_mask)) { iop_adma_probe() 1346 if (dma_has_cap(DMA_PQ_VAL, dma_dev->cap_mask)) iop_adma_probe() 1349 if (dma_has_cap(DMA_INTERRUPT, dma_dev->cap_mask)) iop_adma_probe() 1395 if (dma_has_cap(DMA_MEMCPY, dma_dev->cap_mask)) { iop_adma_probe() 1402 if (dma_has_cap(DMA_XOR, dma_dev->cap_mask)) { iop_adma_probe() 1409 if (dma_has_cap(DMA_PQ, dma_dev->cap_mask) && iop_adma_probe() 1410 dma_has_cap(DMA_PQ_VAL, dma_dev->cap_mask)) { iop_adma_probe() 1416 dma_cap_clear(DMA_PQ, dma_dev->cap_mask); iop_adma_probe() 1417 dma_cap_clear(DMA_PQ_VAL, dma_dev->cap_mask); iop_adma_probe() 1425 dma_has_cap(DMA_PQ, dma_dev->cap_mask) ? "pq " : "", iop_adma_probe() 1426 dma_has_cap(DMA_PQ_VAL, dma_dev->cap_mask) ? "pq_val " : "", iop_adma_probe() 1427 dma_has_cap(DMA_XOR, dma_dev->cap_mask) ? "xor " : "", iop_adma_probe() 1428 dma_has_cap(DMA_XOR_VAL, dma_dev->cap_mask) ? "xor_val " : "", iop_adma_probe() 1429 dma_has_cap(DMA_MEMCPY, dma_dev->cap_mask) ? "cpy " : "", iop_adma_probe() 1430 dma_has_cap(DMA_INTERRUPT, dma_dev->cap_mask) ? "intr " : ""); iop_adma_probe()
|
H A D | mv_xor.c | 974 int idx, dma_cap_mask_t cap_mask, int irq) mv_xor_channel_add() 1010 dma_dev->cap_mask = cap_mask; mv_xor_channel_add() 1022 if (dma_has_cap(DMA_INTERRUPT, dma_dev->cap_mask)) mv_xor_channel_add() 1024 if (dma_has_cap(DMA_MEMCPY, dma_dev->cap_mask)) mv_xor_channel_add() 1026 if (dma_has_cap(DMA_XOR, dma_dev->cap_mask)) { mv_xor_channel_add() 1057 if (dma_has_cap(DMA_MEMCPY, dma_dev->cap_mask)) { mv_xor_channel_add() 1064 if (dma_has_cap(DMA_XOR, dma_dev->cap_mask)) { mv_xor_channel_add() 1072 dma_has_cap(DMA_XOR, dma_dev->cap_mask) ? "xor " : "", mv_xor_channel_add() 1073 dma_has_cap(DMA_MEMCPY, dma_dev->cap_mask) ? "cpy " : "", mv_xor_channel_add() 1074 dma_has_cap(DMA_INTERRUPT, dma_dev->cap_mask) ? "intr " : ""); mv_xor_channel_add() 1174 dma_cap_mask_t cap_mask; mv_xor_probe() local 1177 dma_cap_zero(cap_mask); mv_xor_probe() 1179 dma_cap_set(DMA_MEMCPY, cap_mask); mv_xor_probe() 1181 dma_cap_set(DMA_XOR, cap_mask); mv_xor_probe() 1183 dma_cap_set(DMA_INTERRUPT, cap_mask); mv_xor_probe() 1192 cap_mask, irq); mv_xor_probe() 1221 cd->cap_mask, irq); mv_xor_probe() 972 mv_xor_channel_add(struct mv_xor_device *xordev, struct platform_device *pdev, int idx, dma_cap_mask_t cap_mask, int irq) mv_xor_channel_add() argument
|
H A D | at_hdmac.c | 1533 /* cap_mask is a multi-u32 bitfield, fill it with proper C code. */ 1610 dma_cap_set(DMA_MEMCPY, at91sam9rl_config.cap_mask); at_dma_probe() 1611 dma_cap_set(DMA_SG, at91sam9rl_config.cap_mask); at_dma_probe() 1612 dma_cap_set(DMA_MEMCPY, at91sam9g45_config.cap_mask); at_dma_probe() 1613 dma_cap_set(DMA_SLAVE, at91sam9g45_config.cap_mask); at_dma_probe() 1614 dma_cap_set(DMA_SG, at91sam9g45_config.cap_mask); at_dma_probe() 1636 atdma->dma_common.cap_mask = plat_dat->cap_mask; at_dma_probe() 1716 if (dma_has_cap(DMA_MEMCPY, atdma->dma_common.cap_mask)) at_dma_probe() 1719 if (dma_has_cap(DMA_SLAVE, atdma->dma_common.cap_mask)) { at_dma_probe() 1722 dma_cap_set(DMA_CYCLIC, atdma->dma_common.cap_mask); at_dma_probe() 1734 if (dma_has_cap(DMA_SG, atdma->dma_common.cap_mask)) at_dma_probe() 1740 dma_has_cap(DMA_MEMCPY, atdma->dma_common.cap_mask) ? "cpy " : "", at_dma_probe() 1741 dma_has_cap(DMA_SLAVE, atdma->dma_common.cap_mask) ? "slave " : "", at_dma_probe() 1742 dma_has_cap(DMA_SG, atdma->dma_common.cap_mask) ? "sg-cpy " : "", at_dma_probe()
|
H A D | img-mdc-dma.c | 870 dma_cap_zero(mdma->dma_dev.cap_mask); mdc_dma_probe() 871 dma_cap_set(DMA_SLAVE, mdma->dma_dev.cap_mask); mdc_dma_probe() 872 dma_cap_set(DMA_PRIVATE, mdma->dma_dev.cap_mask); mdc_dma_probe() 873 dma_cap_set(DMA_CYCLIC, mdma->dma_dev.cap_mask); mdc_dma_probe() 874 dma_cap_set(DMA_MEMCPY, mdma->dma_dev.cap_mask); mdc_dma_probe()
|
H A D | bcm2835-dma.c | 585 dma_cap_set(DMA_SLAVE, od->ddev.cap_mask); bcm2835_dma_probe() 586 dma_cap_set(DMA_PRIVATE, od->ddev.cap_mask); bcm2835_dma_probe() 587 dma_cap_set(DMA_CYCLIC, od->ddev.cap_mask); bcm2835_dma_probe()
|
H A D | mmp_tdma.c | 601 dma_cap_mask_t mask = tdev->device.cap_mask; mmp_tdma_xlate() 684 dma_cap_set(DMA_SLAVE, tdev->device.cap_mask); mmp_tdma_probe() 685 dma_cap_set(DMA_CYCLIC, tdev->device.cap_mask); mmp_tdma_probe()
|
H A D | moxart-dma.c | 593 dma_cap_zero(mdc->dma_slave.cap_mask); moxart_probe() 594 dma_cap_set(DMA_SLAVE, mdc->dma_slave.cap_mask); moxart_probe() 595 dma_cap_set(DMA_PRIVATE, mdc->dma_slave.cap_mask); moxart_probe()
|
H A D | xgene-dma.c | 1748 dma_cap_zero(dma_dev->cap_mask); xgene_dma_set_caps() 1751 dma_cap_set(DMA_MEMCPY, dma_dev->cap_mask); xgene_dma_set_caps() 1752 dma_cap_set(DMA_SG, dma_dev->cap_mask); xgene_dma_set_caps() 1765 dma_cap_set(DMA_PQ, dma_dev->cap_mask); xgene_dma_set_caps() 1766 dma_cap_set(DMA_XOR, dma_dev->cap_mask); xgene_dma_set_caps() 1769 dma_cap_set(DMA_XOR, dma_dev->cap_mask); xgene_dma_set_caps() 1781 if (dma_has_cap(DMA_XOR, dma_dev->cap_mask)) { xgene_dma_set_caps() 1787 if (dma_has_cap(DMA_PQ, dma_dev->cap_mask)) { xgene_dma_set_caps() 1832 dma_has_cap(DMA_MEMCPY, dma_dev->cap_mask) ? "MEMCPY " : "", xgene_dma_async_register() 1833 dma_has_cap(DMA_SG, dma_dev->cap_mask) ? "SGCPY " : "", xgene_dma_async_register() 1834 dma_has_cap(DMA_XOR, dma_dev->cap_mask) ? "XOR " : "", xgene_dma_async_register() 1835 dma_has_cap(DMA_PQ, dma_dev->cap_mask) ? "PQ " : ""); xgene_dma_async_register()
|
H A D | dma-jz4780.c | 692 dma_cap_mask_t mask = jzdma->dma_device.cap_mask; jz4780_of_dma_xlate() 773 dma_cap_set(DMA_MEMCPY, dd->cap_mask); jz4780_dma_probe() 774 dma_cap_set(DMA_SLAVE, dd->cap_mask); jz4780_dma_probe() 775 dma_cap_set(DMA_CYCLIC, dd->cap_mask); jz4780_dma_probe()
|
H A D | sirf-dma.c | 722 dma_cap_set(DMA_SLAVE, dma->cap_mask); sirfsoc_dma_probe() 723 dma_cap_set(DMA_CYCLIC, dma->cap_mask); sirfsoc_dma_probe() 724 dma_cap_set(DMA_INTERLEAVE, dma->cap_mask); sirfsoc_dma_probe() 725 dma_cap_set(DMA_PRIVATE, dma->cap_mask); sirfsoc_dma_probe()
|
H A D | ste_dma40.c | 1986 dma_cap_mask_t cap = d40c->chan.device->cap_mask; d40_config_memcpy() 2846 if (dma_has_cap(DMA_SLAVE, dev->cap_mask)) d40_ops_init() 2849 if (dma_has_cap(DMA_MEMCPY, dev->cap_mask)) { d40_ops_init() 2859 if (dma_has_cap(DMA_SG, dev->cap_mask)) d40_ops_init() 2862 if (dma_has_cap(DMA_CYCLIC, dev->cap_mask)) d40_ops_init() 2884 dma_cap_zero(base->dma_slave.cap_mask); d40_dmaengine_init() 2885 dma_cap_set(DMA_SLAVE, base->dma_slave.cap_mask); d40_dmaengine_init() 2886 dma_cap_set(DMA_CYCLIC, base->dma_slave.cap_mask); d40_dmaengine_init() 2900 dma_cap_zero(base->dma_memcpy.cap_mask); d40_dmaengine_init() 2901 dma_cap_set(DMA_MEMCPY, base->dma_memcpy.cap_mask); d40_dmaengine_init() 2902 dma_cap_set(DMA_SG, base->dma_memcpy.cap_mask); d40_dmaengine_init() 2917 dma_cap_zero(base->dma_both.cap_mask); d40_dmaengine_init() 2918 dma_cap_set(DMA_SLAVE, base->dma_both.cap_mask); d40_dmaengine_init() 2919 dma_cap_set(DMA_MEMCPY, base->dma_both.cap_mask); d40_dmaengine_init() 2920 dma_cap_set(DMA_SG, base->dma_both.cap_mask); d40_dmaengine_init() 2921 dma_cap_set(DMA_CYCLIC, base->dma_slave.cap_mask); d40_dmaengine_init()
|
H A D | ep93xx_dma.c | 1318 dma_cap_zero(dma_dev->cap_mask); ep93xx_dma_probe() 1319 dma_cap_set(DMA_SLAVE, dma_dev->cap_mask); ep93xx_dma_probe() 1320 dma_cap_set(DMA_CYCLIC, dma_dev->cap_mask); ep93xx_dma_probe() 1335 dma_cap_set(DMA_MEMCPY, dma_dev->cap_mask); ep93xx_dma_probe() 1343 dma_cap_set(DMA_PRIVATE, dma_dev->cap_mask); ep93xx_dma_probe()
|
H A D | imx-dma.c | 1046 return dma_request_channel(imxdma->dma_device.cap_mask, imxdma_xlate() 1125 dma_cap_set(DMA_SLAVE, imxdma->dma_device.cap_mask); imxdma_probe() 1126 dma_cap_set(DMA_CYCLIC, imxdma->dma_device.cap_mask); imxdma_probe() 1127 dma_cap_set(DMA_MEMCPY, imxdma->dma_device.cap_mask); imxdma_probe() 1128 dma_cap_set(DMA_INTERLEAVE, imxdma->dma_device.cap_mask); imxdma_probe()
|
H A D | s3c24xx-dma.c | 1285 dma_cap_set(DMA_MEMCPY, s3cdma->memcpy.cap_mask); s3c24xx_dma_probe() 1286 dma_cap_set(DMA_PRIVATE, s3cdma->memcpy.cap_mask); s3c24xx_dma_probe() 1297 dma_cap_set(DMA_SLAVE, s3cdma->slave.cap_mask); s3c24xx_dma_probe() 1298 dma_cap_set(DMA_CYCLIC, s3cdma->slave.cap_mask); s3c24xx_dma_probe() 1299 dma_cap_set(DMA_PRIVATE, s3cdma->slave.cap_mask); s3c24xx_dma_probe()
|
H A D | txx9dmac.c | 1112 dma_cap_set(DMA_MEMCPY, dc->dma.cap_mask); txx9dmac_chan_probe() 1115 dma_cap_set(DMA_SLAVE, dc->dma.cap_mask); txx9dmac_chan_probe() 1116 dma_cap_set(DMA_PRIVATE, dc->dma.cap_mask); txx9dmac_chan_probe() 1158 dma_has_cap(DMA_MEMCPY, dc->dma.cap_mask) ? " memcpy" : "", txx9dmac_chan_probe() 1159 dma_has_cap(DMA_SLAVE, dc->dma.cap_mask) ? " slave" : ""); txx9dmac_chan_probe()
|
H A D | mic_x100_dma.c | 574 dma_cap_zero(mic_dma_dev->dma_dev.cap_mask); mic_dma_register_dma_device() 579 dma_cap_set(DMA_MEMCPY, mic_dma_dev->dma_dev.cap_mask); mic_dma_register_dma_device() 582 dma_cap_set(DMA_PRIVATE, mic_dma_dev->dma_dev.cap_mask); mic_dma_register_dma_device()
|
H A D | mxs-dma.c | 756 dma_cap_mask_t mask = mxs_dma->dma_device.cap_mask; mxs_dma_xlate() 810 dma_cap_set(DMA_SLAVE, mxs_dma->dma_device.cap_mask); mxs_dma_probe() 811 dma_cap_set(DMA_CYCLIC, mxs_dma->dma_device.cap_mask); mxs_dma_probe()
|
H A D | pch_dma.c | 922 dma_cap_zero(pd->dma.cap_mask); pch_dma_probe() 923 dma_cap_set(DMA_PRIVATE, pd->dma.cap_mask); pch_dma_probe() 924 dma_cap_set(DMA_SLAVE, pd->dma.cap_mask); pch_dma_probe()
|
H A D | dma-jz4740.c | 535 dma_cap_set(DMA_SLAVE, dd->cap_mask); jz4740_dma_probe() 536 dma_cap_set(DMA_CYCLIC, dd->cap_mask); jz4740_dma_probe()
|
H A D | edma.c | 1035 dma_cap_zero(ecc->dma_slave.cap_mask); edma_probe() 1036 dma_cap_set(DMA_SLAVE, ecc->dma_slave.cap_mask); edma_probe() 1037 dma_cap_set(DMA_CYCLIC, ecc->dma_slave.cap_mask); edma_probe() 1038 dma_cap_set(DMA_MEMCPY, ecc->dma_slave.cap_mask); edma_probe()
|
H A D | mmp_pdma.c | 1060 dma_cap_set(DMA_SLAVE, pdev->device.cap_mask); mmp_pdma_probe() 1061 dma_cap_set(DMA_MEMCPY, pdev->device.cap_mask); mmp_pdma_probe() 1062 dma_cap_set(DMA_CYCLIC, pdev->device.cap_mask); mmp_pdma_probe() 1063 dma_cap_set(DMA_PRIVATE, pdev->device.cap_mask); mmp_pdma_probe()
|
H A D | cppi41.c | 927 dma_cap_set(DMA_SLAVE, cdd->ddev.cap_mask); cppi41_dma_probe() 940 cpp41_dma_info.dma_cap = cdd->ddev.cap_mask; cppi41_dma_probe()
|
H A D | k3dma.c | 723 dma_cap_set(DMA_SLAVE, d->slave.cap_mask); k3_dma_probe() 724 dma_cap_set(DMA_MEMCPY, d->slave.cap_mask); k3_dma_probe()
|
H A D | timb_dma.c | 693 dma_cap_set(DMA_SLAVE, td->dma.cap_mask); td_probe() 694 dma_cap_set(DMA_PRIVATE, td->dma.cap_mask); td_probe()
|
H A D | at_xdmac.c | 1487 dma_cap_set(DMA_CYCLIC, atxdmac->dma.cap_mask); at_xdmac_probe() 1488 dma_cap_set(DMA_MEMCPY, atxdmac->dma.cap_mask); at_xdmac_probe() 1489 dma_cap_set(DMA_SLAVE, atxdmac->dma.cap_mask); at_xdmac_probe() 1494 dma_cap_set(DMA_PRIVATE, atxdmac->dma.cap_mask); at_xdmac_probe()
|
H A D | nbpfaxi.c | 1389 dma_cap_set(DMA_MEMCPY, dma_dev->cap_mask); nbpf_probe() 1390 dma_cap_set(DMA_SLAVE, dma_dev->cap_mask); nbpf_probe() 1391 dma_cap_set(DMA_PRIVATE, dma_dev->cap_mask); nbpf_probe() 1392 dma_cap_set(DMA_SG, dma_dev->cap_mask); nbpf_probe()
|
H A D | dmatest.c | 804 if (dma_has_cap(DMA_MEMCPY, dma_dev->cap_mask)) { dmatest_add_channel() 808 if (dma_has_cap(DMA_XOR, dma_dev->cap_mask)) { dmatest_add_channel() 812 if (dma_has_cap(DMA_PQ, dma_dev->cap_mask)) { dmatest_add_channel()
|
H A D | fsl-edma.c | 903 dma_cap_set(DMA_PRIVATE, fsl_edma->dma_dev.cap_mask); fsl_edma_probe() 904 dma_cap_set(DMA_SLAVE, fsl_edma->dma_dev.cap_mask); fsl_edma_probe() 905 dma_cap_set(DMA_CYCLIC, fsl_edma->dma_dev.cap_mask); fsl_edma_probe()
|
H A D | fsl_raid.c | 802 dma_cap_set(DMA_XOR, dma_dev->cap_mask); fsl_re_probe() 806 dma_cap_set(DMA_PQ, dma_dev->cap_mask); fsl_re_probe() 809 dma_cap_set(DMA_MEMCPY, dma_dev->cap_mask); fsl_re_probe()
|
H A D | omap-dma.c | 1095 dma_cap_set(DMA_SLAVE, od->ddev.cap_mask); omap_dma_probe() 1096 dma_cap_set(DMA_CYCLIC, od->ddev.cap_mask); omap_dma_probe() 1153 omap_dma_info.dma_cap = od->ddev.cap_mask; omap_dma_probe()
|
H A D | sun6i-dma.c | 950 dma_cap_set(DMA_PRIVATE, sdc->slave.cap_mask); sun6i_dma_probe() 951 dma_cap_set(DMA_MEMCPY, sdc->slave.cap_mask); sun6i_dma_probe() 952 dma_cap_set(DMA_SLAVE, sdc->slave.cap_mask); sun6i_dma_probe()
|
H A D | pl330.c | 2869 pd->cap_mask = pdat->cap_mask; pl330_probe() 2871 dma_cap_set(DMA_MEMCPY, pd->cap_mask); pl330_probe() 2873 dma_cap_set(DMA_SLAVE, pd->cap_mask); pl330_probe() 2874 dma_cap_set(DMA_CYCLIC, pd->cap_mask); pl330_probe() 2875 dma_cap_set(DMA_PRIVATE, pd->cap_mask); pl330_probe()
|
H A D | fsldma.c | 1361 dma_cap_set(DMA_MEMCPY, fdev->common.cap_mask); fsldma_of_probe() 1362 dma_cap_set(DMA_SG, fdev->common.cap_mask); fsldma_of_probe() 1363 dma_cap_set(DMA_SLAVE, fdev->common.cap_mask); fsldma_of_probe()
|
H A D | imx-sdma.c | 1438 dma_cap_mask_t mask = sdma->dma_device.cap_mask; sdma_xlate() 1523 dma_cap_set(DMA_SLAVE, sdma->dma_device.cap_mask); sdma_probe() 1524 dma_cap_set(DMA_CYCLIC, sdma->dma_device.cap_mask); sdma_probe()
|
H A D | tegra20-apb-dma.c | 1417 dma_cap_set(DMA_SLAVE, tdma->dma_dev.cap_mask); tegra_dma_probe() 1418 dma_cap_set(DMA_PRIVATE, tdma->dma_dev.cap_mask); tegra_dma_probe() 1419 dma_cap_set(DMA_CYCLIC, tdma->dma_dev.cap_mask); tegra_dma_probe()
|
H A D | coh901318.c | 2693 dma_cap_zero(base->dma_slave.cap_mask); coh901318_probe() 2694 dma_cap_set(DMA_SLAVE, base->dma_slave.cap_mask); coh901318_probe() 2716 dma_cap_zero(base->dma_memcpy.cap_mask); coh901318_probe() 2717 dma_cap_set(DMA_MEMCPY, base->dma_memcpy.cap_mask); coh901318_probe()
|
H A D | mpc512x_dma.c | 956 dma_cap_set(DMA_MEMCPY, dma->cap_mask); mpc_dma_probe() 957 dma_cap_set(DMA_SLAVE, dma->cap_mask); mpc_dma_probe()
|
H A D | qcom_bam_dma.c | 1172 dma_cap_zero(bdev->common.cap_mask); bam_dma_probe() 1173 dma_cap_set(DMA_SLAVE, bdev->common.cap_mask); bam_dma_probe()
|
H A D | sa11x0-dma.c | 941 dma_cap_set(DMA_SLAVE, d->slave.cap_mask); sa11x0_dma_probe() 942 dma_cap_set(DMA_CYCLIC, d->slave.cap_mask); sa11x0_dma_probe()
|
H A D | amba-pl08x.c | 2058 dma_cap_set(DMA_MEMCPY, pl08x->memcpy.cap_mask); pl08x_probe() 2075 dma_cap_set(DMA_SLAVE, pl08x->slave.cap_mask); pl08x_probe() 2076 dma_cap_set(DMA_CYCLIC, pl08x->slave.cap_mask); pl08x_probe()
|
/linux-4.1.27/include/linux/amba/ |
H A D | pl330.h | 29 dma_cap_mask_t cap_mask; member in struct:dma_pl330_platdata
|
/linux-4.1.27/arch/arm/plat-orion/ |
H A D | common.c | 672 dma_cap_set(DMA_MEMCPY, orion_xor0_channels_data[0].cap_mask); orion_xor0_init() 673 dma_cap_set(DMA_XOR, orion_xor0_channels_data[0].cap_mask); orion_xor0_init() 675 dma_cap_set(DMA_MEMCPY, orion_xor0_channels_data[1].cap_mask); orion_xor0_init() 676 dma_cap_set(DMA_XOR, orion_xor0_channels_data[1].cap_mask); orion_xor0_init() 733 dma_cap_set(DMA_MEMCPY, orion_xor1_channels_data[0].cap_mask); orion_xor1_init() 734 dma_cap_set(DMA_XOR, orion_xor1_channels_data[0].cap_mask); orion_xor1_init() 736 dma_cap_set(DMA_MEMCPY, orion_xor1_channels_data[1].cap_mask); orion_xor1_init() 737 dma_cap_set(DMA_XOR, orion_xor1_channels_data[1].cap_mask); orion_xor1_init()
|
/linux-4.1.27/drivers/pci/pcie/ |
H A D | portdrv_core.c | 258 int cap_mask = 0; get_port_device_capability() local 264 cap_mask = PCIE_PORT_SERVICE_PME | PCIE_PORT_SERVICE_HP get_port_device_capability() 267 cap_mask |= PCIE_PORT_SERVICE_AER; get_port_device_capability() 270 err = pcie_port_platform_notify(dev, &cap_mask); get_port_device_capability() 276 if ((cap_mask & PCIE_PORT_SERVICE_HP) && get_port_device_capability() 291 if ((cap_mask & PCIE_PORT_SERVICE_AER) get_port_device_capability() 304 if ((cap_mask & PCIE_PORT_SERVICE_PME) get_port_device_capability()
|
/linux-4.1.27/crypto/async_tx/ |
H A D | async_tx.c | 63 dma_has_cap(tx_type, depend_tx->chan->device->cap_mask)) __async_tx_find_channel() 102 if (dma_has_cap(DMA_INTERRUPT, device->cap_mask)) async_tx_channel_switch() 248 if (device && !dma_has_cap(DMA_INTERRUPT, device->cap_mask)) async_trigger_callback()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_minidump.c | 296 hdr->drv_cap_mask = hdr->cap_mask; qlcnic_82xx_cache_tmpl_hdr_values() 297 fw_dump->cap_mask = hdr->cap_mask; qlcnic_82xx_cache_tmpl_hdr_values() 350 hdr->drv_cap_mask = hdr->cap_mask; qlcnic_83xx_cache_tmpl_hdr_values() 351 fw_dump->cap_mask = hdr->cap_mask; qlcnic_83xx_cache_tmpl_hdr_values() 1278 fw_dump->cap_mask); qlcnic_fw_cmd_get_minidump_temp() 1322 if (i & fw_dump->cap_mask) qlcnic_dump_fw() 1353 if (!(entry->hdr.mask & fw_dump->cap_mask)) { qlcnic_dump_fw()
|
H A D | qlcnic_ethtool.c | 1668 dump->flag = fw_dump->cap_mask; qlcnic_get_dump_flag() 1704 dump->flag = fw_dump->cap_mask; qlcnic_get_dump_data() 1726 fw_dump->cap_mask = mask; qlcnic_set_dump_mask()
|
H A D | qlcnic.h | 413 u32 cap_mask; member in struct:qlcnic_83xx_dump_template_hdr 430 u32 cap_mask; member in struct:qlcnic_82xx_dump_template_hdr 450 u32 cap_mask; /* Current capture mask */ member in struct:qlcnic_fw_dump
|
/linux-4.1.27/include/rdma/ |
H A D | ib_smi.h | 91 __be32 cap_mask; member in struct:ib_port_info
|
/linux-4.1.27/drivers/dma/ioat/ |
H A D | dma_v3.c | 1239 if (!dma_has_cap(DMA_XOR, dma->cap_mask)) ioat_xor_val_self_test() 1343 if (!dma_has_cap(DMA_XOR_VAL, dma_chan->device->cap_mask)) ioat_xor_val_self_test() 1624 dma_cap_set(DMA_INTERRUPT, dma->cap_mask); ioat3_dma_probe() 1640 dma_cap_set(DMA_XOR, dma->cap_mask); ioat3_dma_probe() 1643 dma_cap_set(DMA_XOR_VAL, dma->cap_mask); ioat3_dma_probe() 1652 dma_cap_set(DMA_PQ, dma->cap_mask); ioat3_dma_probe() 1653 dma_cap_set(DMA_PQ_VAL, dma->cap_mask); ioat3_dma_probe() 1664 dma_cap_set(DMA_XOR, dma->cap_mask); ioat3_dma_probe() 1665 dma_cap_set(DMA_XOR_VAL, dma->cap_mask); ioat3_dma_probe()
|
H A D | dma.c | 1039 dma_cap_set(DMA_MEMCPY, dma->cap_mask); ioat_probe() 1115 dma_has_cap(DMA_PQ, dma->cap_mask) ? " pq" : "", cap_show() 1116 dma_has_cap(DMA_PQ_VAL, dma->cap_mask) ? " pq_val" : "", cap_show() 1117 dma_has_cap(DMA_XOR, dma->cap_mask) ? " xor" : "", cap_show() 1118 dma_has_cap(DMA_XOR_VAL, dma->cap_mask) ? " xor_val" : "", cap_show() 1119 dma_has_cap(DMA_INTERRUPT, dma->cap_mask) ? " intr" : ""); cap_show()
|
/linux-4.1.27/arch/arm/include/asm/hardware/ |
H A D | iop_adma.h | 111 dma_cap_mask_t cap_mask; member in struct:iop_adma_platform_data
|
/linux-4.1.27/drivers/dma/hsu/ |
H A D | hsu.c | 448 dma_cap_set(DMA_SLAVE, hsu->dma.cap_mask); hsu_dma_probe() 449 dma_cap_set(DMA_PRIVATE, hsu->dma.cap_mask); hsu_dma_probe()
|
/linux-4.1.27/drivers/dma/ppc4xx/ |
H A D | adma.c | 1414 if (dma_has_cap(cap, ref->chan->device->cap_mask)) { ppc440spe_async_tx_find_best_channel() 3790 dma_cap_set(DMA_MEMCPY, adev->common.cap_mask); ppc440spe_adma_init_capabilities() 3791 dma_cap_set(DMA_INTERRUPT, adev->common.cap_mask); ppc440spe_adma_init_capabilities() 3792 dma_cap_set(DMA_PQ, adev->common.cap_mask); ppc440spe_adma_init_capabilities() 3793 dma_cap_set(DMA_PQ_VAL, adev->common.cap_mask); ppc440spe_adma_init_capabilities() 3794 dma_cap_set(DMA_XOR_VAL, adev->common.cap_mask); ppc440spe_adma_init_capabilities() 3797 dma_cap_set(DMA_XOR, adev->common.cap_mask); ppc440spe_adma_init_capabilities() 3798 dma_cap_set(DMA_PQ, adev->common.cap_mask); ppc440spe_adma_init_capabilities() 3799 dma_cap_set(DMA_INTERRUPT, adev->common.cap_mask); ppc440spe_adma_init_capabilities() 3800 adev->common.cap_mask = adev->common.cap_mask; ppc440spe_adma_init_capabilities() 3813 if (dma_has_cap(DMA_MEMCPY, adev->common.cap_mask)) { ppc440spe_adma_init_capabilities() 3817 if (dma_has_cap(DMA_XOR, adev->common.cap_mask)) { ppc440spe_adma_init_capabilities() 3822 if (dma_has_cap(DMA_PQ, adev->common.cap_mask)) { ppc440spe_adma_init_capabilities() 3839 if (dma_has_cap(DMA_PQ_VAL, adev->common.cap_mask)) { ppc440spe_adma_init_capabilities() 3853 if (dma_has_cap(DMA_XOR_VAL, adev->common.cap_mask)) { ppc440spe_adma_init_capabilities() 3867 if (dma_has_cap(DMA_INTERRUPT, adev->common.cap_mask)) { ppc440spe_adma_init_capabilities() 3874 dma_has_cap(DMA_PQ, adev->common.cap_mask) ? "pq " : "", ppc440spe_adma_init_capabilities() 3875 dma_has_cap(DMA_PQ_VAL, adev->common.cap_mask) ? "pq_val " : "", ppc440spe_adma_init_capabilities() 3876 dma_has_cap(DMA_XOR, adev->common.cap_mask) ? "xor " : "", ppc440spe_adma_init_capabilities() 3877 dma_has_cap(DMA_XOR_VAL, adev->common.cap_mask) ? "xor_val " : "", ppc440spe_adma_init_capabilities() 3878 dma_has_cap(DMA_MEMCPY, adev->common.cap_mask) ? "memcpy " : "", ppc440spe_adma_init_capabilities() 3879 dma_has_cap(DMA_INTERRUPT, adev->common.cap_mask) ? "intr " : ""); ppc440spe_adma_init_capabilities()
|
/linux-4.1.27/drivers/rapidio/devices/ |
H A D | tsi721_dma.c | 890 dma_cap_zero(mport->dma.cap_mask); tsi721_register_dma() 891 dma_cap_set(DMA_PRIVATE, mport->dma.cap_mask); tsi721_register_dma() 892 dma_cap_set(DMA_SLAVE, mport->dma.cap_mask); tsi721_register_dma()
|
/linux-4.1.27/drivers/dma/sh/ |
H A D | rcar-hpbdma.c | 598 dma_cap_set(DMA_MEMCPY, dma_dev->cap_mask); hpb_dmae_probe() 599 dma_cap_set(DMA_SLAVE, dma_dev->cap_mask); hpb_dmae_probe()
|
H A D | shdmac.c | 757 dma_cap_set(DMA_MEMCPY, dma_dev->cap_mask); sh_dmae_probe() 759 dma_cap_set(DMA_SLAVE, dma_dev->cap_mask); sh_dmae_probe()
|
H A D | sudmac.c | 364 dma_cap_set(DMA_SLAVE, dma_dev->cap_mask); sudmac_probe()
|
H A D | usb-dmac.c | 834 dma_cap_set(DMA_SLAVE, engine->cap_mask); usb_dmac_probe()
|
H A D | rcar-dmac.c | 1697 dma_cap_set(DMA_MEMCPY, engine->cap_mask); rcar_dmac_probe() 1698 dma_cap_set(DMA_SLAVE, engine->cap_mask); rcar_dmac_probe()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
H A D | fw.h | 227 u32 cap_mask; member in struct:mlx4_set_ib_param
|
/linux-4.1.27/drivers/infiniband/hw/mthca/ |
H A D | mthca_cmd.h | 241 u32 cap_mask; member in struct:mthca_set_ib_param
|
H A D | mthca_provider.c | 217 set_ib.cap_mask = (attr.port_cap_flags | props->set_port_cap_mask) & mthca_modify_port()
|
H A D | mthca_cmd.c | 1522 MTHCA_PUT(inbox, param->cap_mask, SET_IB_CAP_MASK_OFFSET); mthca_SET_IB()
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
H A D | qib_mad.h | 280 __be16 cap_mask; member in struct:ib_cc_classportinfo_attr
|
H A D | qib_mad.c | 497 pip->cap_mask = cpu_to_be32(ibp->port_cap_flags); subn_get_portinfo() 2101 p->cap_mask = 0; cc_get_classportinfo()
|
/linux-4.1.27/drivers/infiniband/hw/mlx4/ |
H A D | main.c | 573 u32 cap_mask) mlx4_ib_SET_PORT() 584 ((__be32 *) mailbox->buf)[2] = cpu_to_be32(cap_mask); mlx4_ib_SET_PORT() 587 ((__be32 *) mailbox->buf)[1] = cpu_to_be32(cap_mask); mlx4_ib_SET_PORT() 604 u32 cap_mask; mlx4_ib_modify_port() local 620 cap_mask = (attr.port_cap_flags | props->set_port_cap_mask) & mlx4_ib_modify_port() 625 cap_mask); mlx4_ib_modify_port() 572 mlx4_ib_SET_PORT(struct mlx4_ib_dev *dev, u8 port, int reset_qkey_viols, u32 cap_mask) mlx4_ib_SET_PORT() argument
|
/linux-4.1.27/drivers/dma/dw/ |
H A D | core.c | 1656 dma_cap_set(DMA_MEMCPY, dw->dma.cap_mask); dw_dma_probe() 1657 dma_cap_set(DMA_SLAVE, dw->dma.cap_mask); dw_dma_probe() 1659 dma_cap_set(DMA_PRIVATE, dw->dma.cap_mask); dw_dma_probe()
|
/linux-4.1.27/drivers/dma/xilinx/ |
H A D | xilinx_vdma.c | 1277 dma_cap_set(DMA_SLAVE, xdev->common.cap_mask); xilinx_vdma_probe() 1278 dma_cap_set(DMA_PRIVATE, xdev->common.cap_mask); xilinx_vdma_probe()
|
/linux-4.1.27/include/linux/ |
H A D | dmaengine.h | 567 * @cap_mask: one or more dma_capability flags 617 dma_cap_mask_t cap_mask; member in struct:dma_device
|
/linux-4.1.27/drivers/infiniband/core/ |
H A D | sysfs.c | 266 static PORT_ATTR_RO(cap_mask);
|
/linux-4.1.27/drivers/dma/ipu/ |
H A D | ipu_idmac.c | 1618 dma_cap_set(DMA_SLAVE, dma->cap_mask); ipu_idmac_init() 1619 dma_cap_set(DMA_PRIVATE, dma->cap_mask); ipu_idmac_init()
|
/linux-4.1.27/drivers/media/platform/ |
H A D | m2m-deinterlace.c | 1017 if (!dma_has_cap(DMA_INTERLEAVE, pcdev->dma_chan->device->cap_mask)) { deinterlace_probe()
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
H A D | ipath_mad.c | 266 pip->cap_mask = cpu_to_be32(dev->port_cap_flags); recv_subn_get_portinfo()
|