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