COHERENT
if (coherent_flag == COHERENT)
if (coherent_flag == COHERENT)
int coherent_flag = dev->dma_coherent ? COHERENT : NORMAL;
if (coherent_flag == COHERENT || !gfpflags_allow_blocking(gfp))
int coherent_flag = dev->dma_coherent ? COHERENT : NORMAL;
if (coherent_flag == COHERENT || __in_atomic_pool(cpu_addr, size)) {
if (coherent_flag != COHERENT)
if (coherent_flag != COHERENT)
if (coherent_flag != COHERENT) {
page = __dma_alloc_buffer(dev, size, gfp, COHERENT);
.coherent_flag = is_coherent ? COHERENT : NORMAL,
SET_BIT(COHERENT));
SET_BIT(COHERENT));
SET_BIT(COHERENT));