Home
last modified time | relevance | path

Searched refs:cap_mask (Results 1 – 25 of 125) sorted by relevance

12345

/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()
397 bitmap_and(has.bits, want->bits, device->cap_mask.bits, in dma_device_satisfies_mask()
476 if (!dma_has_cap(DMA_PRIVATE, chan->device->cap_mask)) in dma_chan_get()
561 if (dma_has_cap(DMA_PRIVATE, device->cap_mask)) in dma_issue_pending_all()
581 if (!(test_bit(DMA_SLAVE, device->cap_mask.bits) || in dma_get_slave_caps()
582 test_bit(DMA_CYCLIC, device->cap_mask.bits))) in dma_get_slave_caps()
632 if (dev->chancnt > 1 && !dma_has_cap(DMA_PRIVATE, dev->cap_mask)) in private_candidate()
669 dma_cap_set(DMA_PRIVATE, device->cap_mask); in find_candidate()
[all …]
Diop-adma.c471 iop_chan->device->common.cap_mask)) in iop_adma_alloc_chan_resources()
474 iop_chan->device->common.cap_mask)) 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()
1306 dma_dev->cap_mask = plat_data->cap_mask; in iop_adma_probe()
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()
[all …]
Dmv_xor.c1036 int idx, dma_cap_mask_t cap_mask, int irq) in mv_xor_channel_add() argument
1078 dma_dev->cap_mask = cap_mask; in mv_xor_channel_add()
1089 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()
[all …]
Dat_hdmac.c1753 dma_cap_set(DMA_MEMCPY, at91sam9rl_config.cap_mask); in at_dma_probe()
1754 dma_cap_set(DMA_INTERLEAVE, at91sam9g45_config.cap_mask); in at_dma_probe()
1755 dma_cap_set(DMA_MEMCPY, at91sam9g45_config.cap_mask); in at_dma_probe()
1756 dma_cap_set(DMA_MEMSET, at91sam9g45_config.cap_mask); in at_dma_probe()
1757 dma_cap_set(DMA_MEMSET_SG, at91sam9g45_config.cap_mask); in at_dma_probe()
1758 dma_cap_set(DMA_PRIVATE, at91sam9g45_config.cap_mask); in at_dma_probe()
1759 dma_cap_set(DMA_SLAVE, at91sam9g45_config.cap_mask); in at_dma_probe()
1781 atdma->dma_common.cap_mask = plat_dat->cap_mask; in at_dma_probe()
1869 if (dma_has_cap(DMA_INTERLEAVE, atdma->dma_common.cap_mask)) in at_dma_probe()
1872 if (dma_has_cap(DMA_MEMCPY, atdma->dma_common.cap_mask)) in at_dma_probe()
[all …]
Dbcm-sba-raid.c1561 dma_cap_zero(dma_dev->cap_mask); in sba_async_register()
1562 dma_cap_set(DMA_INTERRUPT, dma_dev->cap_mask); in sba_async_register()
1563 dma_cap_set(DMA_MEMCPY, dma_dev->cap_mask); in sba_async_register()
1564 dma_cap_set(DMA_XOR, dma_dev->cap_mask); in sba_async_register()
1565 dma_cap_set(DMA_PQ, dma_dev->cap_mask); in sba_async_register()
1581 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()
[all …]
Dmcf-edma.c242 dma_cap_set(DMA_PRIVATE, mcf_edma->dma_dev.cap_mask); in mcf_edma_probe()
243 dma_cap_set(DMA_SLAVE, mcf_edma->dma_dev.cap_mask); in mcf_edma_probe()
244 dma_cap_set(DMA_CYCLIC, mcf_edma->dma_dev.cap_mask); in mcf_edma_probe()
Dxgene-dma.c1488 dma_cap_zero(dma_dev->cap_mask); in xgene_dma_set_caps()
1503 dma_cap_set(DMA_PQ, dma_dev->cap_mask); in xgene_dma_set_caps()
1504 dma_cap_set(DMA_XOR, dma_dev->cap_mask); in xgene_dma_set_caps()
1507 dma_cap_set(DMA_XOR, dma_dev->cap_mask); in xgene_dma_set_caps()
1517 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()
Dmv_xor_v2.c837 dma_cap_zero(dma_dev->cap_mask); in mv_xor_v2_probe()
838 dma_cap_set(DMA_MEMCPY, dma_dev->cap_mask); in mv_xor_v2_probe()
839 dma_cap_set(DMA_XOR, dma_dev->cap_mask); in mv_xor_v2_probe()
840 dma_cap_set(DMA_INTERRUPT, dma_dev->cap_mask); in mv_xor_v2_probe()
Dfsl-edma.c372 dma_cap_set(DMA_PRIVATE, fsl_edma->dma_dev.cap_mask); in fsl_edma_probe()
373 dma_cap_set(DMA_SLAVE, fsl_edma->dma_dev.cap_mask); in fsl_edma_probe()
374 dma_cap_set(DMA_CYCLIC, fsl_edma->dma_dev.cap_mask); in fsl_edma_probe()
Ddmatest.c842 dev->cap_mask) && 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()
Dsun4i-dma.c1153 dma_cap_zero(priv->slave.cap_mask); in sun4i_dma_probe()
1154 dma_cap_set(DMA_PRIVATE, priv->slave.cap_mask); in sun4i_dma_probe()
1155 dma_cap_set(DMA_MEMCPY, priv->slave.cap_mask); in sun4i_dma_probe()
1156 dma_cap_set(DMA_CYCLIC, priv->slave.cap_mask); in sun4i_dma_probe()
1157 dma_cap_set(DMA_SLAVE, priv->slave.cap_mask); in sun4i_dma_probe()
Dimg-mdc-dma.c915 dma_cap_zero(mdma->dma_dev.cap_mask); in mdc_dma_probe()
916 dma_cap_set(DMA_SLAVE, mdma->dma_dev.cap_mask); in mdc_dma_probe()
917 dma_cap_set(DMA_PRIVATE, mdma->dma_dev.cap_mask); in mdc_dma_probe()
918 dma_cap_set(DMA_CYCLIC, mdma->dma_dev.cap_mask); in mdc_dma_probe()
919 dma_cap_set(DMA_MEMCPY, mdma->dma_dev.cap_mask); in mdc_dma_probe()
/kernel/linux/linux-5.10/arch/arm/mach-iop32x/
Dadma.c151 dma_cap_set(DMA_MEMCPY, iop3xx_dma_0_data.cap_mask); in iop3xx_adma_cap_init()
152 dma_cap_set(DMA_INTERRUPT, iop3xx_dma_0_data.cap_mask); in iop3xx_adma_cap_init()
154 dma_cap_set(DMA_MEMCPY, iop3xx_dma_1_data.cap_mask); in iop3xx_adma_cap_init()
155 dma_cap_set(DMA_INTERRUPT, iop3xx_dma_1_data.cap_mask); in iop3xx_adma_cap_init()
157 dma_cap_set(DMA_XOR, iop3xx_aau_data.cap_mask); in iop3xx_adma_cap_init()
158 dma_cap_set(DMA_INTERRUPT, iop3xx_aau_data.cap_mask); in iop3xx_adma_cap_init()
/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.c512 dma_cap_set(DMA_MEMCPY, dma->cap_mask); in ioat_probe()
806 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()
1103 dma_cap_set(DMA_INTERRUPT, dma->cap_mask); in ioat3_dma_probe()
1119 dma_cap_set(DMA_XOR, dma->cap_mask); in ioat3_dma_probe()
1122 dma_cap_set(DMA_XOR_VAL, dma->cap_mask); in ioat3_dma_probe()
1130 dma_cap_set(DMA_PQ, dma->cap_mask); in ioat3_dma_probe()
1131 dma_cap_set(DMA_PQ_VAL, dma->cap_mask); in ioat3_dma_probe()
1141 dma_cap_set(DMA_XOR, dma->cap_mask); in ioat3_dma_probe()
1142 dma_cap_set(DMA_XOR_VAL, dma->cap_mask); in ioat3_dma_probe()
[all …]
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
Dtransmeta.c24 unsigned int cap_mask, uk, max, dummy; in init_transmeta() local
86 rdmsr(0x80860004, cap_mask, uk); in init_transmeta()
89 wrmsr(0x80860004, cap_mask, uk); in init_transmeta()
/kernel/linux/linux-5.10/arch/arm/plat-orion/
Dcommon.c645 dma_cap_set(DMA_MEMCPY, orion_xor0_channels_data[0].cap_mask); in orion_xor0_init()
646 dma_cap_set(DMA_XOR, orion_xor0_channels_data[0].cap_mask); in orion_xor0_init()
648 dma_cap_set(DMA_MEMCPY, orion_xor0_channels_data[1].cap_mask); in orion_xor0_init()
649 dma_cap_set(DMA_XOR, orion_xor0_channels_data[1].cap_mask); in orion_xor0_init()
706 dma_cap_set(DMA_MEMCPY, orion_xor1_channels_data[0].cap_mask); in orion_xor1_init()
707 dma_cap_set(DMA_XOR, orion_xor1_channels_data[0].cap_mask); in orion_xor1_init()
709 dma_cap_set(DMA_MEMCPY, orion_xor1_channels_data[1].cap_mask); in orion_xor1_init()
710 dma_cap_set(DMA_XOR, orion_xor1_channels_data[1].cap_mask); in orion_xor1_init()
/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/idxd/
Ddma.c212 dma_cap_set(DMA_INTERRUPT, dma->cap_mask); in idxd_register_dma_device()
213 dma_cap_set(DMA_PRIVATE, dma->cap_mask); in idxd_register_dma_device()
214 dma_cap_set(DMA_COMPLETION_NO_ORDER, dma->cap_mask); in idxd_register_dma_device()
219 dma_cap_set(DMA_MEMCPY, dma->cap_mask); in idxd_register_dma_device()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Ddriver.c97 module_param_cb(cap_mask, &cap_ops, &hfi1_cap_mask, S_IWUSR | S_IRUGO);
98 MODULE_PARM_DESC(cap_mask, "Bit mask of enabled/disabled HW features");
120 cap_mask = *cap_mask_ptr, value, diff, in hfi1_caps_set() local
130 diff = value ^ (cap_mask & ~HFI1_CAP_LOCKED_SMASK); in hfi1_caps_set()
142 cap_mask &= ~diff; in hfi1_caps_set()
144 cap_mask |= (value & diff); in hfi1_caps_set()
146 diff = (cap_mask & (HFI1_CAP_MUST_HAVE_KERN << HFI1_CAP_USER_SHIFT)) ^ in hfi1_caps_set()
147 ((cap_mask & HFI1_CAP_MUST_HAVE_KERN) << HFI1_CAP_USER_SHIFT); in hfi1_caps_set()
148 cap_mask &= ~diff; in hfi1_caps_set()
150 *cap_mask_ptr = cap_mask; in hfi1_caps_set()
[all …]
/kernel/linux/linux-5.10/include/linux/platform_data/
Ddma-mv_xor.h15 dma_cap_mask_t cap_mask; member
Ddma-atmel.h19 dma_cap_mask_t cap_mask; member
Ddma-iop32x.h102 dma_cap_mask_t cap_mask; member
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_minidump.c295 hdr->drv_cap_mask = hdr->cap_mask; in qlcnic_82xx_cache_tmpl_hdr_values()
296 fw_dump->cap_mask = hdr->cap_mask; in qlcnic_82xx_cache_tmpl_hdr_values()
349 hdr->drv_cap_mask = hdr->cap_mask; in qlcnic_83xx_cache_tmpl_hdr_values()
350 fw_dump->cap_mask = hdr->cap_mask; in qlcnic_83xx_cache_tmpl_hdr_values()
1278 fw_dump->cap_mask); in qlcnic_fw_cmd_get_minidump_temp()
1322 if (i & fw_dump->cap_mask) in qlcnic_dump_fw()
1353 if (!(entry->hdr.mask & fw_dump->cap_mask)) { in qlcnic_dump_fw()
1450 fw_dump->cap_mask = 0x1f; in qlcnic_83xx_get_minidump_template()
/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()
3775 dma_cap_set(DMA_MEMCPY, adev->common.cap_mask); in ppc440spe_adma_init_capabilities()
3776 dma_cap_set(DMA_INTERRUPT, adev->common.cap_mask); in ppc440spe_adma_init_capabilities()
3777 dma_cap_set(DMA_PQ, adev->common.cap_mask); in ppc440spe_adma_init_capabilities()
3778 dma_cap_set(DMA_PQ_VAL, adev->common.cap_mask); in ppc440spe_adma_init_capabilities()
3779 dma_cap_set(DMA_XOR_VAL, adev->common.cap_mask); in ppc440spe_adma_init_capabilities()
3782 dma_cap_set(DMA_XOR, adev->common.cap_mask); in ppc440spe_adma_init_capabilities()
3783 dma_cap_set(DMA_PQ, adev->common.cap_mask); in ppc440spe_adma_init_capabilities()
3784 dma_cap_set(DMA_INTERRUPT, adev->common.cap_mask); in ppc440spe_adma_init_capabilities()
3785 adev->common.cap_mask = adev->common.cap_mask; in ppc440spe_adma_init_capabilities()
[all …]

12345