+ .dev = { + .dma_mask = &omap_vout_dma_mask, + .coherent_dma_mask = DMA_BIT_MASK(32), + }, }; int __init omap_init_vout(void) -- 2.20.1
Add check for dma_set_mask() and return the error if it fails. Fixes: 1a6f854 ("spi: cadence-quadspi: Add Xilinx Versal external DMA support") Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn> Link: https://lore.kernel.org/r/20230606093859.27818-1-jiasheng@iscas.ac.cn Signed-...
* Set both the DMA mask and the coherent DMA mask to the same thing. * Note that we don't check the return value from dma_set_coherent_mask() * as the DMA API guarantees that the coherent DMA mask can be set to * the same or smaller than the streaming DMA mask. */ static inli...
>> +static u64 da8xx_edma0_dmamask = DMA_BIT_MASK(32); >> + >> static struct platform_device da8xx_edma0_device = { >> .name = "edma", >> .id = 0, >> .dev = { >> .platform_data = &da8xx_edma0_pdata, >> + .dma_mask = &da8xx_edma0_dmamask, >> + .coherent...
Initialize coherent_dma_mask when creating SM501 subdevices to fix the problem. Fixes: b6d6454 ("mfd: SM501 core driver") Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Lee Jones <lee.jones@linaro.org>groeck authored and Lee Jones committed Aug 16, 2018 1 ...
unable to set coherent dma mask dma test not applicable怎么办 dma_getcurrentmemorytarget dma timeout【乾坤NB分时买卖全息版】●解套降低成本●——【最牛分时T+0高抛低吸利器】 [金钻指标-技术共享交流论坛] 本帖最后由 易指乾坤 于 2024-8-4 17:45 编辑 乾坤NB分时买卖是本人自用分时T+0指标,每天都...
> +static u64 omap_vout_dma_mask = DMA_BIT_MASK(32); > + > static struct platform_device omap_vout_device = { > .name = "omap_vout", > .num_resources = ARRAY_SIZE(omap_vout_resource), > .resource = &omap_vout_resource[0], ...
dev->mt76.dma_dev=wed->dev; ret=dma_set_mask(wed->dev,DMA_BIT_MASK(32)); if(ret) returnret; ret=dma_set_coherent_mask(wed->dev,DMA_BIT_MASK(32)); if(ret) returnret; return1; #else return0; Expand Down 6 changes: 5 additions & 1 deletion6mt7996/pci.c ...
[PATCH v2 10/23] ARM: davinci: Add set dma_mask to eDMA devices The upcoming change to merge the arch/arm/common/edma.c into drivers/dma/edma.c will need this change when booting daVinci devices in no DT mode.
zorro: Set up z->dev.dma_mask for the DMA API Browse files [ Upstream commit 55496d3 ] The generic DMA API uses dev->dma_mask to check the DMA addressable memory bitmask, and warns if no mask is set or even allocated. Set z->dev.dma_coherent_mask on Zorro bus scan, and mak...