Home
last modified time | relevance | path

Searched refs:ocmem (Results 1 – 14 of 14) sorted by relevance

/linux-6.3-rc2/drivers/soc/qcom/
A Docmem.c52 struct ocmem { struct
109 static inline u32 ocmem_read(struct ocmem *ocmem, u32 reg) in ocmem_read() argument
114 static void update_ocmem(struct ocmem *ocmem) in update_ocmem() argument
145 static unsigned long phys_to_offset(struct ocmem *ocmem, in phys_to_offset() argument
154 static unsigned long device_address(struct ocmem *ocmem, in device_address() argument
192 struct ocmem *ocmem; in of_get_ocmem() local
307 struct ocmem *ocmem; in ocmem_dev_probe() local
312 ocmem = devm_kzalloc(dev, sizeof(*ocmem), GFP_KERNEL); in ocmem_dev_probe()
313 if (!ocmem) in ocmem_dev_probe()
367 ocmem->num_ports, ocmem->config->num_regions, in ocmem_dev_probe()
[all …]
A DMakefile9 obj-$(CONFIG_QCOM_OCMEM) += ocmem.o
/linux-6.3-rc2/include/soc/qcom/
A Docmem.h28 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-6.3-rc2/Documentation/devicetree/bindings/sram/
A Dqcom,ocmem.yaml4 $id: http://devicetree.org/schemas/sram/qcom,ocmem.yaml#
18 const: qcom,msm8974-ocmem
79 compatible = "qcom,msm8974-ocmem";
/linux-6.3-rc2/drivers/gpu/drm/msm/adreno/
A Dadreno_gpu.h122 struct ocmem *ocmem; member
315 struct adreno_ocmem *ocmem);
316 void adreno_gpu_ocmem_cleanup(struct adreno_ocmem *ocmem);
A Dadreno_gpu.c998 struct ocmem *ocmem; in adreno_gpu_ocmem_init() local
1000 ocmem = of_get_ocmem(dev); in adreno_gpu_ocmem_init()
1001 if (IS_ERR(ocmem)) { in adreno_gpu_ocmem_init()
1002 if (PTR_ERR(ocmem) == -ENODEV) { in adreno_gpu_ocmem_init()
1011 return PTR_ERR(ocmem); in adreno_gpu_ocmem_init()
1014 ocmem_hdl = ocmem_allocate(ocmem, OCMEM_GRAPHICS, adreno_gpu->gmem); in adreno_gpu_ocmem_init()
1018 adreno_ocmem->ocmem = ocmem; in adreno_gpu_ocmem_init()
1029 ocmem_free(adreno_ocmem->ocmem, OCMEM_GRAPHICS, in adreno_gpu_ocmem_cleanup()
A Da3xx_gpu.h22 struct adreno_ocmem ocmem; member
A Da4xx_gpu.h19 struct adreno_ocmem ocmem; member
A Da3xx_gpu.c248 if (a3xx_gpu->ocmem.hdl) { in a3xx_hw_init()
250 (unsigned int)(a3xx_gpu->ocmem.base >> 14)); in a3xx_hw_init()
381 adreno_gpu_ocmem_cleanup(&a3xx_gpu->ocmem); in a3xx_destroy()
553 adreno_gpu, &a3xx_gpu->ocmem); in a3xx_gpu_init()
A Da4xx_gpu.c240 (unsigned int)(a4xx_gpu->ocmem.base >> 14)); in a4xx_hw_init()
380 adreno_gpu_ocmem_cleanup(&a4xx_gpu->ocmem); in a4xx_destroy()
681 &a4xx_gpu->ocmem); in a4xx_gpu_init()
/linux-6.3-rc2/Documentation/devicetree/bindings/display/msm/
A Dgpu.yaml58 - const: ocmem
74 Documentation/devicetree/bindings/sram/qcom,ocmem.yaml
202 ocmem@fdd00000 {
203 compatible = "qcom,msm8974-ocmem";
/linux-6.3-rc2/arch/arm64/boot/dts/qcom/
A Dmsm8992.dtsi28 &ocmem {
A Dmsm8994.dtsi1069 ocmem: sram@fdd00000 { label
1070 compatible = "qcom,msm8974-ocmem";
/linux-6.3-rc2/arch/arm/boot/dts/
A Dqcom-msm8974.dtsi2116 interconnect-names = "gfx-mem", "ocmem";
2140 compatible = "qcom,msm8974-ocmem";

Completed in 27 milliseconds