Home
last modified time | relevance | path

Searched refs:coherent (Results 1 – 25 of 119) sorted by relevance

12345

/linux/arch/arm/boot/dts/broadcom/
H A Dbcm-nsp-ax.dtsi13 /delete-property/ dma-coherent;
17 /delete-property/ dma-coherent;
21 /delete-property/ dma-coherent;
25 /delete-property/ dma-coherent;
29 /delete-property/ dma-coherent;
33 /delete-property/ dma-coherent;
37 /delete-property/ dma-coherent;
41 /delete-property/ dma-coherent;
45 /delete-property/ dma-coherent;
49 /delete-property/ dma-coherent;
[all …]
H A Dbcm-nsp.dtsi219 dma-coherent;
229 dma-coherent;
239 dma-coherent;
249 dma-coherent;
259 dma-coherent;
270 dma-coherent;
323 dma-coherent;
331 dma-coherent;
339 dma-coherent;
475 dma-coherent;
[all …]
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dicm.c79 void mlx4_free_icm(struct mlx4_dev *dev, struct mlx4_icm *icm, int coherent) in mlx4_free_icm() argument
87 if (coherent) in mlx4_free_icm()
133 gfp_t gfp_mask, int coherent) in mlx4_alloc_icm() argument
142 BUG_ON(coherent && (gfp_mask & __GFP_HIGHMEM)); in mlx4_alloc_icm()
171 chunk->coherent = coherent; in mlx4_alloc_icm()
173 if (!coherent) in mlx4_alloc_icm()
185 if (coherent) in mlx4_alloc_icm()
203 if (coherent) in mlx4_alloc_icm()
220 if (!coherent && chunk) { in mlx4_alloc_icm()
231 mlx4_free_icm(dev, icm, coherent); in mlx4_alloc_icm()
[all …]
H A Dicm.h60 bool coherent; member
81 gfp_t gfp_mask, int coherent);
82 void mlx4_free_icm(struct mlx4_dev *dev, struct mlx4_icm *icm, int coherent);
127 if (iter->chunk->coherent) in mlx4_icm_addr()
135 if (iter->chunk->coherent) in mlx4_icm_size()
/linux/arch/arc/plat-hsdk/
H A Dplatform.c88 static int __init hsdk_tweak_node_coherency(const char *path, bool coherent) in hsdk_tweak_node_coherency() argument
107 if (dt_coh_set && !coherent) in hsdk_tweak_node_coherency()
111 if (!dt_coh_set && coherent) 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()
/linux/arch/arc/boot/dts/
H A Daxc003.dtsi94 * Mark DMA peripherals connected via IOC port as dma-coherent. We do
97 * only AXS103 board has HW-coherent DMA peripherals)
98 * We don't need to mark pgu@17000 as dma-coherent because it uses
103 dma-coherent;
107 dma-coherent;
111 dma-coherent;
115 dma-coherent;
H A Daxc003_idu.dtsi101 * Mark DMA peripherals connected via IOC port as dma-coherent. We do
104 * only AXS103 board has HW-coherent DMA peripherals)
105 * We don't need to mark pgu@17000 as dma-coherent because it uses
110 dma-coherent;
114 dma-coherent;
118 dma-coherent;
122 dma-coherent;
H A Dhsdk.dts221 dma-coherent;
241 dma-coherent;
249 dma-coherent;
262 dma-coherent;
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_memfree.c88 void mthca_free_icm(struct mthca_dev *dev, struct mthca_icm *icm, int coherent) in mthca_free_icm() argument
96 if (coherent) in mthca_free_icm()
138 gfp_t gfp_mask, int coherent) in mthca_alloc_icm() argument
146 BUG_ON(coherent && (gfp_mask & __GFP_HIGHMEM)); in mthca_alloc_icm()
173 if (coherent) in mthca_alloc_icm()
184 if (coherent) in mthca_alloc_icm()
207 if (!coherent && chunk) { in mthca_alloc_icm()
218 mthca_free_icm(dev, icm, coherent); in mthca_alloc_icm()
236 __GFP_NOWARN, table->coherent); in mthca_table_get()
244 mthca_free_icm(dev, table->icm[i], table->coherent); in mthca_table_get()
[all …]
H A Dmthca_memfree.h69 int coherent; member
83 gfp_t gfp_mask, int coherent);
84 void mthca_free_icm(struct mthca_dev *dev, struct mthca_icm *icm, int coherent);
/linux/arch/arm64/boot/dts/marvell/
H A Darmada-ap810-ap0.dtsi76 dma-coherent;
84 dma-coherent;
92 dma-coherent;
100 dma-coherent;
H A Darmada-ap80x.dtsi82 dma-coherent;
181 dma-coherent;
190 dma-coherent;
199 dma-coherent;
208 dma-coherent;
264 dma-coherent;
/linux/arch/arm64/boot/dts/hisilicon/
H A Dhip06.dtsi267 dma-coherent;
276 dma-coherent;
285 dma-coherent;
294 dma-coherent;
387 dma-coherent;
424 dma-coherent;
433 dma-coherent;
572 dma-coherent;
620 dma-coherent;
663 dma-coherent;
[all …]
H A Dhip07.dtsi1022 dma-coherent;
1031 dma-coherent;
1040 dma-coherent;
1049 dma-coherent;
1236 dma-coherent;
1249 dma-coherent;
1261 dma-coherent;
1273 dma-coherent;
1285 dma-coherent;
1324 dma-coherent;
[all …]
/linux/Documentation/devicetree/bindings/xillybus/
H A Dxillybus.txt9 - dma-coherent: Present if DMA operations are coherent
/linux/drivers/of/
H A Ddevice.c89 bool coherent, set_map = false; in of_dma_configure_id() local
147 coherent = of_dma_is_coherent(np); in of_dma_configure_id()
149 coherent ? " " : " not "); in of_dma_configure_id()
163 arch_setup_dma_ops(dev, coherent); in of_dma_configure_id()
/linux/drivers/crypto/ccp/
H A Dsp-platform.c29 int coherent; member
135 sp_platform->coherent = (attr == DEV_DMA_COHERENT); in sp_platform_probe()
136 if (sp_platform->coherent) in sp_platform_probe()
/linux/Documentation/devicetree/bindings/display/hisilicon/
H A Dhisi-ade.txt32 - dma-coherent: Present if dma operations are coherent.
57 dma-coherent;
/linux/Documentation/devicetree/bindings/infiniband/
H A Dhisilicon-hns-roce.txt21 - dma-coherent: Present if DMA operations are coherent.
32 dma-coherent;
/linux/drivers/dma/
H A Darm-dma350.c195 bool coherent; member
250 cmd[8] = dch->coherent ? TRANSCFG_WB : TRANSCFG_NC; in d350_prep_memcpy()
251 cmd[9] = dch->coherent ? TRANSCFG_WB : TRANSCFG_NC; in d350_prep_memcpy()
286 cmd[6] = dch->coherent ? TRANSCFG_WB : TRANSCFG_NC; in d350_prep_memset()
538 bool coherent, memset; in d350_probe() local
557 coherent = device_get_dma_attr(dev) == DEV_DMA_COHERENT; in d350_probe()
622 reg = FIELD_PREP(CH_LINK_SHAREATTR, coherent ? SHAREATTR_ISH : SHAREATTR_OSH); in d350_probe()
623 reg |= FIELD_PREP(CH_LINK_MEMATTR, coherent ? MEMATTR_WB : MEMATTR_NC); in d350_probe()
/linux/arch/arm/boot/dts/calxeda/
H A Decx-common.dtsi29 dma-coherent;
207 dma-coherent;
214 dma-coherent;
/linux/arch/arm64/boot/dts/ti/
H A Dk3-j784s4-evm-pcie0-pcie1-ep.dtso53 dma-coherent;
75 dma-coherent;
/linux/Documentation/driver-api/usb/
H A Ddma.rst56 to use this type of memory ("dma-coherent"), and memory returned from
59 The memory buffer returned is "dma-coherent"; sometimes you might need to
63 Documentation/core-api/dma-api-howto.rst for definitions of "coherent" and
70 semantics of dma-coherent memory require either bypassing CPU caches
/linux/drivers/iommu/
H A Ddma-iommu.c735 static int dma_info_to_prot(enum dma_data_direction dir, bool coherent, in dma_info_to_prot() argument
743 prot = coherent ? IOMMU_CACHE : 0; in dma_info_to_prot()
946 bool coherent = dev_is_dma_coherent(dev); in __iommu_dma_alloc_noncontiguous() local
947 int ioprot = dma_info_to_prot(DMA_BIDIRECTIONAL, coherent, attrs); in __iommu_dma_alloc_noncontiguous()
1220 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_map_phys() local
1221 int prot = dma_info_to_prot(dir, coherent, attrs); in iommu_dma_map_phys()
1241 if (!coherent && !(attrs & (DMA_ATTR_SKIP_CPU_SYNC | DMA_ATTR_MMIO))) { in iommu_dma_map_phys()
1624 bool coherent = dev_is_dma_coherent(dev); in iommu_dma_alloc_pages() local
1636 if (!coherent || PageHighMem(page)) { in iommu_dma_alloc_pages()
1644 if (!coherent) in iommu_dma_alloc_pages()
[all …]
/linux/arch/arm/boot/dts/ti/keystone/
H A Dkeystone-k2g-netcp.dtsi10 dma-coherent;
106 dma-coherent;

12345