Lines Matching refs:coherent
88 static int __init hsdk_tweak_node_coherency(const char *path, bool coherent)
99 prop = fdt_getprop(fdt, node, "dma-coherent", &ret);
106 /* need to remove "dma-coherent" property */
107 if (dt_coh_set && !coherent)
108 ret = fdt_delprop(fdt, node, "dma-coherent");
110 /* need to set "dma-coherent" property */
111 if (!dt_coh_set && coherent)
112 ret = fdt_setprop(fdt, node, "dma-coherent", NULL, 0);
120 pr_err("failed to tweak %s to %scoherent\n", path, coherent ? "" : "non");
191 bool coherent = !!arc_hsdk_axi_dmac_coherent;
198 if (hsdk_tweak_node_coherency("/soc/dmac@80000", coherent))
201 if (coherent) {