Searched refs:num_vmids (Results 1 – 2 of 2) sorted by relevance
179 int num_vmids; in qcom_rmtfs_mem_probe() local230 num_vmids = of_property_count_u32_elems(node, "qcom,vmid"); in qcom_rmtfs_mem_probe()231 if (num_vmids == -EINVAL) { in qcom_rmtfs_mem_probe()233 num_vmids = 0; in qcom_rmtfs_mem_probe()234 } else if (num_vmids < 0) { in qcom_rmtfs_mem_probe()235 dev_err(&pdev->dev, "failed to count qcom,vmid elements: %d\n", num_vmids); in qcom_rmtfs_mem_probe()236 ret = num_vmids; in qcom_rmtfs_mem_probe()238 } else if (num_vmids > NUM_MAX_VMIDS) { in qcom_rmtfs_mem_probe()241 num_vmids, NUM_MAX_VMIDS); in qcom_rmtfs_mem_probe()242 num_vmids = NUM_MAX_VMIDS; in qcom_rmtfs_mem_probe()[all …]
39 int num_vmids = 0; in dc_setup_system_context() local43 num_vmids = dc->hwss.init_sys_ctx(dc->hwseq, dc, pa_config); in dc_setup_system_context()53 return num_vmids; in dc_setup_system_context()