Searched full:ocmem (Results 1 – 8 of 8) sorted by relevance
| /linux/include/soc/qcom/ |
| H A D | ocmem.h | 3 * 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 D | qcom,ocmem.yaml | 4 $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 D | a4xx_gpu.h | 18 /* if OCMEM is used for GMEM: */ 19 struct adreno_ocmem ocmem; member
|
| H A D | a3xx_gpu.h | 21 /* if OCMEM is used for GMEM: */ 22 struct adreno_ocmem ocmem; member
|
| H A D | adreno_gpu.c | 18 #include <soc/qcom/ocmem.h> 1143 struct ocmem *ocmem; in adreno_gpu_ocmem_init() 1145 ocmem = of_get_ocmem(dev); in adreno_gpu_ocmem_init() 1146 if (IS_ERR(ocmem)) { in adreno_gpu_ocmem_init() 1147 if (PTR_ERR(ocmem) == -ENODEV) { in adreno_gpu_ocmem_init() 1149 * Return success since either the ocmem property was in adreno_gpu_ocmem_init() 1150 * not specified in device tree, or ocmem support is in adreno_gpu_ocmem_init() 1156 return PTR_ERR(ocmem); in adreno_gpu_ocmem_init() 1159 ocmem_hdl = ocmem_allocate(ocmem, OCMEM_GRAPHIC in adreno_gpu_ocmem_init() 1144 struct ocmem *ocmem; adreno_gpu_ocmem_init() local [all...] |
| H A D | a3xx_gpu.c | 260 /* Set the OCMEM base address for A330, etc */ in a3xx_hw_init() 261 if (a3xx_gpu->ocmem.hdl) { in a3xx_hw_init() 263 (unsigned int)(a3xx_gpu->ocmem.base >> 14)); in a3xx_hw_init() 390 adreno_gpu_ocmem_cleanup(&a3xx_gpu->ocmem); in a3xx_destroy() 541 adreno_gpu, &a3xx_gpu->ocmem); in a3xx_gpu_init() 552 ocmem_icc_path = devm_of_icc_get(&pdev->dev, "ocmem"); in a3xx_gpu_init() 555 /* allow -ENODATA, ocmem icc is optional */ in a3xx_gpu_init()
|
| /linux/drivers/gpu/drm/msm/registers/ |
| H A D | .gitignore | 4 adreno/ocmem.xml
|
| /linux/drivers/interconnect/qcom/ |
| H A D | msm8974.c | 26 * Peripheral | On Chip | Memory (OCMEM) 932 /* Virtual NoC is needed for connection to OCMEM */
|