Home
last modified time | relevance | path

Searched full:ocmem (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/soc/qcom/
H A Docmem.c3 * The On Chip Memory (OCMEM) allocator allows various clients to allocate
4 * memory from OCMEM based on performance, latency and power requirements.
25 #include <soc/qcom/ocmem.h>
54 struct ocmem { struct
102 static inline void ocmem_write(struct ocmem *ocmem, u32 reg, u32 data) in ocmem_write() argument
104 writel(data, ocmem->mmio + reg); in ocmem_write()
107 static inline u32 ocmem_read(struct ocmem *ocmem, u32 reg) in ocmem_read() argument
109 return readl(ocmem->mmio + reg); in ocmem_read()
112 static void update_ocmem(struct ocmem *ocmem) in update_ocmem() argument
118 for (i = 0; i < ocmem->config->num_regions; i++) { in update_ocmem()
[all …]
/linux/include/soc/qcom/
H A Docmem.h3 * The On Chip Memory (OCMEM) allocator allows various clients to allocate
4 * memory from OCMEM based on performance, latency and power requirements.
28 struct ocmem;
38 struct ocmem *of_get_ocmem(struct device *dev);
39 struct ocmem_buf *ocmem_allocate(struct ocmem *ocmem, enum ocmem_client client,
41 void ocmem_free(struct ocmem *ocmem, enum ocmem_client client,
46 static inline struct ocmem *of_get_ocmem(struct device *dev) in of_get_ocmem()
51 static inline struct ocmem_buf *ocmem_allocate(struct ocmem *ocmem, in ocmem_allocate() argument
58 static inline void ocmem_free(struct ocmem *ocmem, enum ocmem_client client, in ocmem_free() argument
/linux/Documentation/devicetree/bindings/sram/
H A Dqcom,ocmem.yaml4 $id: http://devicetree.org/schemas/sram/qcom,ocmem.yaml#
7 title: On Chip Memory (OCMEM) that is present on some Qualcomm Snapdragon SoCs.
13 The On Chip Memory (OCMEM) is typically used by the GPU, camera/video, and
19 - qcom,msm8226-ocmem # v1.1.0
20 - qcom,msm8974-ocmem # v1.4.0
25 - description: OCMEM address range
71 - qcom,msm8974-ocmem
104 compatible = "qcom,msm8974-ocmem";
/linux/drivers/gpu/drm/msm/adreno/
H A Da4xx_gpu.h18 /* if OCMEM is used for GMEM: */
19 struct adreno_ocmem ocmem; member
H A Da3xx_gpu.h21 /* if OCMEM is used for GMEM: */
22 struct adreno_ocmem ocmem; member
/linux/drivers/gpu/drm/msm/registers/
H A D.gitignore4 adreno/ocmem.xml
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-msm8974.dtsi2156 interconnect-names = "gfx-mem", "ocmem";
2180 compatible = "qcom,msm8974-ocmem";
H A Dqcom-msm8226.dtsi1348 compatible = "qcom,msm8226-ocmem";