Lines Matching defs:map
30 * - Enumerate device's register interface and map them.
470 struct cxl_register_map *map)
476 *map = (struct cxl_register_map) {
492 map->resource = component_reg_phys;
493 map->reg_type = CXL_REGLOC_RBI_COMPONENT;
494 map->max_size = CXL_COMPONENT_REG_BLOCK_SIZE;
500 struct cxl_register_map *map)
504 rc = cxl_find_regblock(pdev, type, map);
512 rc = cxl_rcrb_get_comp_regs(pdev, map);
517 return cxl_setup_regs(map);
785 struct cxl_register_map map;
815 rc = cxl_pci_setup_regs(pdev, CXL_REGLOC_RBI_MEMDEV, &map);
819 rc = cxl_map_device_regs(&map, &cxlds->regs.device_regs);
828 rc = cxl_pci_setup_regs(pdev, CXL_REGLOC_RBI_COMPONENT, &map);
831 else if (!map.component_map.ras.valid)
834 cxlds->component_reg_phys = map.resource;
836 rc = cxl_map_component_regs(&map, &cxlds->regs.component,
839 dev_dbg(&pdev->dev, "Failed to map RAS capability.\n");
891 rc = cxl_find_regblock_instance(pdev, CXL_REGLOC_RBI_PMU, &map, i);
897 rc = cxl_map_pmu_regs(pdev, &pmu_regs, &map);
899 dev_dbg(&pdev->dev, "Could not map PMU regs\n");