Lines Matching refs:rc

92 	int rc;
94 rc = eig_to_granularity(cxims->hbig, &hbig);
95 if (rc)
96 return rc;
149 int rc, expected_len;
169 rc = eiw_to_ways(cfmws->interleave_ways, &ways);
170 if (rc) {
236 int rc;
246 rc = -ENXIO;
253 rc = -ENXIO;
262 rc = 0;
269 rc = -ENXIO;
280 rc = -ENXIO;
291 rc = count;
295 return rc;
332 int rc;
334 rc = cxl_acpi_cfmws_verify(dev, cfmws);
335 if (rc) {
339 return rc;
342 rc = eiw_to_ways(cfmws->interleave_ways, &ways);
343 if (rc)
344 return rc;
345 rc = eig_to_granularity(cfmws->granularity, &ig);
346 if (rc)
347 return rc;
364 rc = insert_resource(cxl_res, res);
365 if (rc)
399 rc = acpi_table_parse_cedt(ACPI_CEDT_TYPE_CXIMS,
401 if (rc < 0)
405 rc = -EINVAL;
413 rc = cxl_decoder_add(cxld, target_map);
415 if (rc)
418 rc = cxl_decoder_autoremove(dev, cxld);
419 return rc;
434 int rc;
436 rc = __cxl_parse_cfmws(cfmws, ctx);
437 if (rc)
441 cfmws->base_hpa + cfmws->window_size - 1, rc);
503 int rc;
505 rc = acpi_evaluate_integer(hb->handle, METHOD_NAME__UID, NULL, &uid);
506 if (rc != AE_OK) {
538 acpi_status rc;
550 rc = cxl_get_chbs(match, hb, &ctx);
551 if (rc)
552 return rc;
609 int rc;
627 rc = cxl_get_chbs(match, hb, &ctx);
628 if (rc)
629 return rc;
642 rc = devm_cxl_register_pci_bus(host, bridge, pci_root->bus);
643 if (rc)
644 return rc;
805 int rc;
814 rc = devm_add_action_or_reset(&pdev->dev, cxl_acpi_lock_reset_class,
816 if (rc)
817 return rc;
832 rc = bus_for_each_dev(adev->dev.bus, NULL, root_port,
834 if (rc < 0)
835 return rc;
837 rc = devm_add_action_or_reset(host, remove_cxl_resources, cxl_res);
838 if (rc)
839 return rc;
846 rc = acpi_table_parse_cedt(ACPI_CEDT_TYPE_CFMWS, cxl_parse_cfmws, &ctx);
847 if (rc < 0)
850 rc = add_cxl_resources(cxl_res);
851 if (rc)
852 return rc;
864 rc = bus_for_each_dev(adev->dev.bus, NULL, root_port,
866 if (rc < 0)
867 return rc;
870 rc = device_for_each_child(&root_port->dev, root_port,
872 if (rc < 0)
873 return rc;