Home
last modified time | relevance | path

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

/linux/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
303 struct ocmem *ocmem; in ocmem_dev_probe() local
308 ocmem = devm_kzalloc(dev, sizeof(*ocmem), GFP_KERNEL); in ocmem_dev_probe()
309 if (!ocmem) in ocmem_dev_probe()
363 ocmem->num_ports, ocmem->config->num_regions, in ocmem_dev_probe()
[all …]
A DMakefile9 obj-$(CONFIG_QCOM_OCMEM) += ocmem.o
/linux/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/Documentation/devicetree/bindings/sram/
A Dqcom,ocmem.yaml4 $id: http://devicetree.org/schemas/sram/qcom,ocmem.yaml#
18 const: qcom,msm8974-ocmem
78 ocmem: ocmem@fdd00000 {
79 compatible = "qcom,msm8974-ocmem";
/linux/drivers/gpu/drm/msm/adreno/
A Dadreno_gpu.c887 struct ocmem *ocmem; in adreno_gpu_ocmem_init() local
889 ocmem = of_get_ocmem(dev); in adreno_gpu_ocmem_init()
890 if (IS_ERR(ocmem)) { in adreno_gpu_ocmem_init()
891 if (PTR_ERR(ocmem) == -ENODEV) { in adreno_gpu_ocmem_init()
900 return PTR_ERR(ocmem); in adreno_gpu_ocmem_init()
903 ocmem_hdl = ocmem_allocate(ocmem, OCMEM_GRAPHICS, adreno_gpu->gmem); in adreno_gpu_ocmem_init()
907 adreno_ocmem->ocmem = ocmem; in adreno_gpu_ocmem_init()
918 ocmem_free(adreno_ocmem->ocmem, OCMEM_GRAPHICS, in adreno_gpu_ocmem_cleanup()
A Dadreno_gpu.h122 struct ocmem *ocmem; member
296 struct adreno_ocmem *ocmem);
297 void adreno_gpu_ocmem_cleanup(struct adreno_ocmem *ocmem);
A Da3xx_gpu.c249 if (a3xx_gpu->ocmem.hdl) { in a3xx_hw_init()
251 (unsigned int)(a3xx_gpu->ocmem.base >> 14)); in a3xx_hw_init()
382 adreno_gpu_ocmem_cleanup(&a3xx_gpu->ocmem); in a3xx_destroy()
553 adreno_gpu, &a3xx_gpu->ocmem); in a3xx_gpu_init()
A Da3xx_gpu.h22 struct adreno_ocmem ocmem; member
A Da4xx_gpu.h19 struct adreno_ocmem ocmem; member
A Da4xx_gpu.c241 (unsigned int)(a4xx_gpu->ocmem.base >> 14)); in a4xx_hw_init()
381 adreno_gpu_ocmem_cleanup(&a4xx_gpu->ocmem); in a4xx_destroy()
682 &a4xx_gpu->ocmem); in a4xx_gpu_init()
/linux/Documentation/devicetree/bindings/display/msm/
A Dgpu.yaml58 - const: ocmem
71 Documentation/devicetree/bindings/sram/qcom,ocmem.yaml
196 ocmem@fdd00000 {
197 compatible = "qcom,msm8974-ocmem";
/linux/arch/arm/boot/dts/
A Dqcom-msm8974.dtsi1347 ocmem@fdd00000 {
1348 compatible = "qcom,msm8974-ocmem";
1442 "ocmem";

Completed in 17 milliseconds