Lines Matching full:ocmem
18 #include <soc/qcom/ocmem.h>
1145 struct ocmem *ocmem;
1147 ocmem = of_get_ocmem(dev);
1148 if (IS_ERR(ocmem)) {
1149 if (PTR_ERR(ocmem) == -ENODEV) {
1151 * Return success since either the ocmem property was
1152 * not specified in device tree, or ocmem support is
1158 return PTR_ERR(ocmem);
1161 ocmem_hdl = ocmem_allocate(ocmem, OCMEM_GRAPHICS, adreno_gpu->info->gmem);
1165 adreno_ocmem->ocmem = ocmem;
1178 ocmem_free(adreno_ocmem->ocmem, OCMEM_GRAPHICS,