Searched refs:res_pem (Results 1 – 1 of 1) sorted by relevance
306 struct resource *res_pem) in thunder_pem_init() argument315 pem_pci->pem_reg_base = devm_ioremap(dev, res_pem->start, 0x10000); in thunder_pem_init()325 bar4_start = res_pem->start + 0xf00000; in thunder_pem_init()327 pem_pci->ea_entry[1] = lower_32_bits(res_pem->end - bar4_start) & ~3u; in thunder_pem_init()364 struct resource *res_pem) in thunder_pem_legacy_fw() argument374 res_pem->start = PEM_RES_BASE | FIELD_PREP(PEM_NODE_MASK, node) | in thunder_pem_legacy_fw()376 res_pem->flags = IORESOURCE_MEM; in thunder_pem_legacy_fw()384 struct resource *res_pem; in thunder_pem_acpi_init() local387 res_pem = devm_kzalloc(&adev->dev, sizeof(*res_pem), GFP_KERNEL); in thunder_pem_acpi_init()388 if (!res_pem) in thunder_pem_acpi_init()[all …]